| 1 |
/* SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause */ |
| 2 |
|
| 3 |
#ifndef _DT_BINDINGS_NVMEM_MICROCHIP_OTPC_H |
| 4 |
#define _DT_BINDINGS_NVMEM_MICROCHIP_OTPC_H |
| 5 |
|
| 6 |
/* |
| 7 |
* Need to have it as a multiple of 4 as NVMEM memory is registered with |
| 8 |
* stride = 4. |
| 9 |
*/ |
| 10 |
#define OTP_PKT(id) ((id) * 4) |
| 11 |
|
| 12 |
#endif |