summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeiko Stuebner <heiko@sntech.de>2024-07-23 21:55:33 +0200
committerHeiko Stuebner <heiko@sntech.de>2024-07-30 09:07:00 +0200
commit2dfdddd9d20306fd0d04b88fcbbf36d76fb67f11 (patch)
tree2ac306ad616259bbcdbf2ad3db87e3e52ad5b7a7
parentea91aabf18bcad6f5eceae6848ea6570ea61f126 (diff)
arm64: dts: rockchip: enable the tsadc on the Qnap-TS433
Enable the tsadc node to allow for temperature measurements of the soc. Tested-by: Uwe Kleine-König <ukleinek@debian.org> Signed-off-by: Heiko Stuebner <heiko@sntech.de> Link: https://lore.kernel.org/r/20240723195538.1133436-10-heiko@sntech.de
-rw-r--r--arch/arm64/boot/dts/rockchip/rk3568-qnap-ts433.dts6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/rockchip/rk3568-qnap-ts433.dts b/arch/arm64/boot/dts/rockchip/rk3568-qnap-ts433.dts
index abeb00add42a..34fc31ea9a39 100644
--- a/arch/arm64/boot/dts/rockchip/rk3568-qnap-ts433.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3568-qnap-ts433.dts
@@ -246,6 +246,12 @@
status = "okay";
};
+&tsadc {
+ rockchip,hw-tshut-mode = <1>;
+ rockchip,hw-tshut-polarity = <0>;
+ status = "okay";
+};
+
/*
* Connected to an MCU, that provides access to more LEDs,
* buzzer, fan control and more.