arm64: dts: rockchip: enable the tsadc on the
From: Heiko Stuebner <heiko@...> Date: Sun, 21 Jul 2024 10:28:44 +0200
Commit-Message
Enable the tsadc node to allow for temperature measurements of the soc. Tested-by: Uwe Kleine-König <ukleinek@...> Signed-off-by: Heiko Stuebner <heiko@...>
Patch-Comment
arch/arm64/boot/dts/rockchip/rk3568-qnap-ts433.dts | 6 ++++++ 1 file changed, 6 insertions(+)
Statistics
- 6 lines added
- 0 lines removed
Changes
-------------- arch/arm64/boot/dts/rockchip/rk3568-qnap-ts433.dts --------------
index abeb00add42a0..34fc31ea9a39a 100644
@@ -246,6 +246,12 @@ &sdhci {
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.