Skip to content

Commit d8a6511

Browse files
Anson-HuangShawn Guo
authored andcommitted
ARM: dts: imx6qdl: Use nvmem interface to get fuse data
Although ocotp clock is always ON for i.MX6QDL, OCOTP can be accessed directly, but since i.MX6QDL 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]> Reviewed-by: Dong Aisheng <[email protected]> Signed-off-by: Shawn Guo <[email protected]>
1 parent 4792ff6 commit d8a6511

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

arch/arm/boot/dts/imx6qdl.dtsi

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@
7474
interrupt-parent = <&gpc>;
7575
interrupts = <0 49 IRQ_TYPE_LEVEL_HIGH>;
7676
fsl,tempmon = <&anatop>;
77-
fsl,tempmon-data = <&ocotp>;
77+
nvmem-cells = <&tempmon_calib>, <&tempmon_temp_grade>;
78+
nvmem-cell-names = "calib", "temp_grade";
7879
clocks = <&clks IMX6QDL_CLK_PLL3_USB_OTG>;
7980
#thermal-sensor-cells = <0>;
8081
};
@@ -1171,6 +1172,14 @@
11711172
cpu_speed_grade: speed-grade@10 {
11721173
reg = <0x10 4>;
11731174
};
1175+
1176+
tempmon_calib: calib@38 {
1177+
reg = <0x38 4>;
1178+
};
1179+
1180+
tempmon_temp_grade: temp-grade@20 {
1181+
reg = <0x20 4>;
1182+
};
11741183
};
11751184

11761185
tzasc@21d0000 { /* TZASC1 */

0 commit comments

Comments
 (0)