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