Skip to content

Commit d7e1c2b

Browse files
Anson-HuangShawn Guo
authored andcommitted
ARM: dts: imx6sl: Use nvmem interface to get fuse data
Although ocotp clock is always ON for i.MX6SL, OCOTP can be accessed directly, but since i.MX6SL nvmem interface is supported, and fsl,tempmon-data is deprecated, use it instead of getting fuse data by reading ocotp directly, this makes all i.MX6 SoCs aligned. Signed-off-by: Anson Huang <[email protected]> Signed-off-by: Shawn Guo <[email protected]>
1 parent d8a6511 commit d7e1c2b

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

arch/arm/boot/dts/imx6sl.dtsi

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,8 @@
9898
interrupts = <0 49 IRQ_TYPE_LEVEL_HIGH>;
9999
interrupt-parent = <&gpc>;
100100
fsl,tempmon = <&anatop>;
101-
fsl,tempmon-data = <&ocotp>;
101+
nvmem-cells = <&tempmon_calib>, <&tempmon_temp_grade>;
102+
nvmem-cell-names = "calib", "temp_grade";
102103
clocks = <&clks IMX6SL_CLK_PLL3_USB_OTG>;
103104
};
104105

@@ -961,6 +962,14 @@
961962
cpu_speed_grade: speed-grade@10 {
962963
reg = <0x10 4>;
963964
};
965+
966+
tempmon_calib: calib@38 {
967+
reg = <0x38 4>;
968+
};
969+
970+
tempmon_temp_grade: temp-grade@20 {
971+
reg = <0x20 4>;
972+
};
964973
};
965974

966975
audmux: audmux@21d8000 {

0 commit comments

Comments
 (0)