imx6_ocotpreg.h revision 1.2 1 /* $NetBSD: imx6_ocotpreg.h,v 1.2 2024/02/07 04:20:27 msaitoh Exp $ */
2
3 /*
4 * Copyright (c) 2014 Ryo Shimizu
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions
9 * are met:
10 * 1. Redistributions of source code must retain the above copyright
11 * notice, this list of conditions and the following disclaimer.
12 * 2. Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the
14 * documentation and/or other materials provided with the distribution.
15 *
16 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
17 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
18 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
19 * DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
20 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
21 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
22 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
24 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
25 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
26 * POSSIBILITY OF SUCH DAMAGE.
27 */
28
29 #ifndef _ARM_NXP_IMX6_OCOTP_H_
30 #define _ARM_NXP_IMX6_OCOTP_H_
31
32 #define OCOTP_CTRL 0x00000000
33 #define OCOTP_CTRL_SET 0x00000004
34 #define OCOTP_CTRL_CLR 0x00000008
35 #define OCOTP_CTRL_TOG 0x0000000c
36 #define OCOTP_TIMING 0x00000010
37 #define OCOTP_DATA 0x00000020
38 #define OCOTP_READ_CTRL 0x00000030
39 #define OCOTP_READ_FUSE_DATA 0x00000040
40 #define OCOTP_SW_STICKY 0x00000050
41 #define OCOTP_SCS 0x00000060
42 #define OCOTP_SCS_SET 0x00000064
43 #define OCOTP_SCS_CLR 0x00000068
44 #define OCOTP_SCS_TOG 0x0000006c
45 #define OCOTP_VERSION 0x00000090
46 #define OCOTP_LOCK 0x00000400
47 #define OCOTP_CFG0 0x00000410
48 #define OCOTP_CFG1 0x00000420
49 #define OCOTP_CFG2 0x00000430
50 #define OCOTP_CFG3 0x00000440
51 #define OCOTP_CFG4 0x00000450
52 #define OCOTP_CFG5 0x00000460
53 #define OCOTP_CFG6 0x00000470
54 #define OCOTP_MEM0 0x00000480
55 #define OCOTP_MEM1 0x00000490
56 #define OCOTP_MEM2 0x000004a0
57 #define OCOTP_MEM3 0x000004b0
58 #define OCOTP_MEM4 0x000004c0
59 #define OCOTP_ANA0 0x000004d0
60 #define OCOTP_ANA1 0x000004e0
61 #define OCOTP_ANA2 0x000004f0
62 #define OCOTP_SRK0 0x00000580
63 #define OCOTP_SRK1 0x00000590
64 #define OCOTP_SRK2 0x000005a0
65 #define OCOTP_SRK3 0x000005b0
66 #define OCOTP_SRK4 0x000005c0
67 #define OCOTP_SRK5 0x000005d0
68 #define OCOTP_SRK6 0x000005e0
69 #define OCOTP_SRK7 0x000005f0
70 #define OCOTP_RESP0 0x00000600
71 #define OCOTP_HSJC_RESP1 0x00000610
72 #define OCOTP_MAC0 0x00000620
73 #define OCOTP_MAC1 0x00000630
74 #define OCOTP_GP1 0x00000660
75 #define OCOTP_GP2 0x00000670
76 #define OCOTP_MISC_CONF 0x000006d0
77 #define OCOTP_FIELD_RETURN 0x000006e0
78 #define OCOTP_SRK_REVOKE 0x000006f0
79
80 #endif /* _ARM_NXP_IMX6_OCOTP_H_ */
81