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