28 lines
710 B
Diff
28 lines
710 B
Diff
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi
|
|
index d9a720bf..55b95569 100644
|
|
--- a/arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi
|
|
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi
|
|
@@ -76,6 +76,23 @@
|
|
};
|
|
};
|
|
|
|
+ iio-hwmon {
|
|
+ compatible = "iio-hwmon";
|
|
+ io-channels = <&ths>;
|
|
+ };
|
|
+
|
|
+ soc {
|
|
+ ths: thermal-sensor@1c25000 {
|
|
+ compatible = "allwinner,sun50i-h5-ths";
|
|
+ reg = <0x01c25000 0x100>;
|
|
+ clocks = <&ccu CLK_BUS_THS>, <&ccu CLK_THS>;
|
|
+ clock-names = "bus", "mod";
|
|
+ resets = <&ccu RST_BUS_THS>;
|
|
+ #thermal-sensor-cells = <0>;
|
|
+ #io-channel-cells = <0>;
|
|
+ };
|
|
+ };
|
|
+
|
|
psci {
|
|
compatible = "arm,psci-0.2";
|
|
method = "smc";
|