File tree Expand file tree Collapse file tree 1 file changed +19
-4
lines changed
Documentation/devicetree/bindings/nvmem Expand file tree Collapse file tree 1 file changed +19
-4
lines changed Original file line number Diff line number Diff line change @@ -11,17 +11,32 @@ Required properties:
11
11
"fsl,imx6ul-ocotp" (i.MX6UL),
12
12
"fsl,imx7d-ocotp" (i.MX7D/S),
13
13
followed by "syscon".
14
+ - #address-cells : Should be 1
15
+ - #size-cells : Should be 1
14
16
- reg: Should contain the register base and length.
15
17
- clocks: Should contain a phandle pointing to the gated peripheral clock.
16
18
17
19
Optional properties:
18
20
- read-only: disable write access
19
21
20
- Example:
22
+ Optional Child nodes:
23
+
24
+ - Data cells of ocotp:
25
+ Detailed bindings are described in bindings/nvmem/nvmem.txt
21
26
27
+ Example:
22
28
ocotp: ocotp@21bc000 {
23
- compatible = "fsl,imx6q-ocotp", "syscon";
29
+ #address-cells = <1>;
30
+ #size-cells = <1>;
31
+ compatible = "fsl,imx6sx-ocotp", "syscon";
24
32
reg = <0x021bc000 0x4000>;
25
- clocks = <&clks IMX6QDL_CLK_IIM>;
26
- read-only;
33
+ clocks = <&clks IMX6SX_CLK_OCOTP>;
34
+
35
+ tempmon_calib: calib@38 {
36
+ reg = <0x38 4>;
37
+ };
38
+
39
+ tempmon_temp_grade: temp-grade@20 {
40
+ reg = <0x20 4>;
41
+ };
27
42
};
You can’t perform that action at this time.
0 commit comments