fsl_ocotpreg.h revision 261938
1/*-
2 * Copyright (c) 2014 Steven Lawrance <stl@koffein.net>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright
9 *    notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright
11 *    notice, this list of conditions and the following disclaimer in the
12 *    documentation and/or other materials provided with the distribution.
13 *
14 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17 * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
26 * $FreeBSD: head/sys/arm/freescale/imx/imx6_ocotpreg.h 261938 2014-02-15 17:19:55Z ian $
27 */
28
29#ifndef	IMX6_OCOTPREG_H
30#define	IMX6_OCOTPREG_H
31
32#define	IMX6_OCOTP_CTRL				0x000
33#define	IMX6_OCOTP_CTRL_SET			0x004
34#define	IMX6_OCOTP_CTRL_CLR			0x008
35#define	IMX6_OCOTP_CTRL_TOG			0x00C
36#define	IMX6_OCOTP_TIMING			0x010
37#define	IMX6_OCOTP_DATA				0x020
38#define	IMX6_OCOTP_READ_CTRL			0x030
39#define	IMX6_OCOTP_READ_FUSE_DATA		0x040
40#define	IMX6_OCOTP_SW_STICKY			0x050
41#define	IMX6_OCOTP_SCS				0x060
42#define	IMX6_OCOTP_SCS_SET			0x064
43#define	IMX6_OCOTP_SCS_CLR			0x068
44#define	IMX6_OCOTP_SCS_TOG			0x06C
45#define	IMX6_OCOTP_VERSION			0x090
46#define	IMX6_OCOTP_LOCK				0x400
47#define	IMX6_OCOTP_CFG0				0x410
48#define	IMX6_OCOTP_CFG1				0x420
49#define	IMX6_OCOTP_CFG2				0x430
50#define	IMX6_OCOTP_CFG3				0x440
51#define	IMX6_OCOTP_CFG4				0x450
52#define	IMX6_OCOTP_CFG5				0x460
53#define	IMX6_OCOTP_CFG6				0x470
54#define	IMX6_OCOTP_MEM0				0x480
55#define	IMX6_OCOTP_MEM1				0x490
56#define	IMX6_OCOTP_MEM2				0x4A0
57#define	IMX6_OCOTP_MEM3				0x4B0
58#define	IMX6_OCOTP_ANA0				0x4D0
59#define	IMX6_OCOTP_ANA1				0x4E0
60#define	IMX6_OCOTP_ANA2				0x4F0
61#define	IMX6_OCOTP_SRK0				0x580
62#define	IMX6_OCOTP_SRK1				0x590
63#define	IMX6_OCOTP_SRK2				0x5A0
64#define	IMX6_OCOTP_SRK3				0x5B0
65#define	IMX6_OCOTP_SRK4				0x5C0
66#define	IMX6_OCOTP_SRK5				0x5D0
67#define	IMX6_OCOTP_SRK6				0x5E0
68#define	IMX6_OCOTP_SRK7				0x5F0
69#define	IMX6_OCOTP_HSJC_RESP0			0x600
70#define	IMX6_OCOTP_HSJC_RESP1			0x610
71#define	IMX6_OCOTP_MAC0				0x620
72#define	IMX6_OCOTP_MAC1				0x630
73#define	IMX6_OCOTP_GP1				0x660
74#define	IMX6_OCOTP_GP2				0x670
75#define	IMX6_OCOTP_MISC_CONF			0x6D0
76#define	IMX6_OCOTP_FIELD_RETURN			0x6E0
77#define	IMX6_OCOTP_SRK_REVOKE			0x6F0
78
79#define	IMX6_OCOTP_LAST_REG			IMX6_OCOTP_SRK_REVOKE
80
81#endif
82