Merge tag 'mips_5.2' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / nvmem / imx-ocotp.txt
1 Freescale i.MX6 On-Chip OTP Controller (OCOTP) device tree bindings
2
3 This binding represents the on-chip eFuse OTP controller found on
4 i.MX6Q/D, i.MX6DL/S, i.MX6SL, i.MX6SX, i.MX6UL, i.MX6ULL/ULZ, i.MX6SLL,
5 i.MX7D/S, i.MX7ULP and i.MX8MQ SoCs.
6
7 Required properties:
8 - compatible: should be one of
9         "fsl,imx6q-ocotp" (i.MX6Q/D/DL/S),
10         "fsl,imx6sl-ocotp" (i.MX6SL), or
11         "fsl,imx6sx-ocotp" (i.MX6SX),
12         "fsl,imx6ul-ocotp" (i.MX6UL),
13         "fsl,imx6ull-ocotp" (i.MX6ULL/ULZ),
14         "fsl,imx7d-ocotp" (i.MX7D/S),
15         "fsl,imx6sll-ocotp" (i.MX6SLL),
16         "fsl,imx7ulp-ocotp" (i.MX7ULP),
17         "fsl,imx8mq-ocotp" (i.MX8MQ),
18         followed by "syscon".
19 - #address-cells : Should be 1
20 - #size-cells : Should be 1
21 - reg: Should contain the register base and length.
22 - clocks: Should contain a phandle pointing to the gated peripheral clock.
23
24 Optional properties:
25 - read-only: disable write access
26
27 Optional Child nodes:
28
29 - Data cells of ocotp:
30   Detailed bindings are described in bindings/nvmem/nvmem.txt
31
32 Example:
33         ocotp: ocotp@21bc000 {
34                 #address-cells = <1>;
35                 #size-cells = <1>;
36                 compatible = "fsl,imx6sx-ocotp", "syscon";
37                 reg = <0x021bc000 0x4000>;
38                 clocks = <&clks IMX6SX_CLK_OCOTP>;
39
40                 tempmon_calib: calib@38 {
41                         reg = <0x38 4>;
42                 };
43
44                 tempmon_temp_grade: temp-grade@20 {
45                         reg = <0x20 4>;
46                 };
47         };