xref: /freebsd/sys/contrib/device-tree/include/dt-bindings/nvmem/microchip,sama7g5-otpc.h (revision b97ee269eae3cbaf35c18f51a459aea581c2a7dc)
1*b97ee269SEmmanuel Vadot /* SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause */
2*b97ee269SEmmanuel Vadot 
3*b97ee269SEmmanuel Vadot #ifndef _DT_BINDINGS_NVMEM_MICROCHIP_OTPC_H
4*b97ee269SEmmanuel Vadot #define _DT_BINDINGS_NVMEM_MICROCHIP_OTPC_H
5*b97ee269SEmmanuel Vadot 
6*b97ee269SEmmanuel Vadot /*
7*b97ee269SEmmanuel Vadot  * Need to have it as a multiple of 4 as NVMEM memory is registered with
8*b97ee269SEmmanuel Vadot  * stride = 4.
9*b97ee269SEmmanuel Vadot  */
10*b97ee269SEmmanuel Vadot #define OTP_PKT(id)			((id) * 4)
11*b97ee269SEmmanuel Vadot 
12*b97ee269SEmmanuel Vadot #endif
13