@@ -145,6 +145,25 @@
sid: eeprom@1c14000 {
compatible = "allwinner,sun8i-h3-sid";
reg = <0x1c14000 0x400>;
+
+ ths_calib: calib@234 {
+ reg = <0x234 0x2>;
+ };
+ };
+
+ ths: thermal_sensor@1c25000 {
+ compatible = "allwinner,sun8i-h3-ths";
+ reg = <0x01c25000 0x100>;
+ interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&ccu CLK_BUS_THS>, <&ccu CLK_THS>;
+ clock-names = "apb", "ths";
+ resets = <&ccu RST_BUS_THS>;
+ reset-names = "apb";
+ #thermal-sensor-cells = <0>;
+ status = "disabled";
+
+ nvmem-cells = <&ths_calib>;
+ nvmem-cell-names = "ths-calib";
};
mali: gpu@1c40000 {
This add the ths controller for the H3 and the nvmem cell for the calibration data on the sid node. Signed-off-by: Emmanuel Vadot <manu@freebsd.org> --- arch/arm/boot/dts/sun8i-h3.dtsi | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+)