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