arm64: dts: rockchip: enable tsadc on helios64
authorDennis Gilmore <dgilmore@redhat.com>
Thu, 15 Jul 2021 02:56:31 +0000 (21:56 -0500)
committerHeiko Stuebner <heiko@sntech.de>
Wed, 15 Sep 2021 15:50:17 +0000 (17:50 +0200)
Enable the tsadc thermal controller on the helios64

Signed-off-by: Dennis Gilmore <dgilmore@redhat.com>
Link: https://lore.kernel.org/r/20210715025635.70452-4-dgilmore@redhat.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3399-kobol-helios64.dts

index b275b47..63c7681 100644 (file)
        status = "okay";
 };
 
+&tsadc {
+       /* tshut mode 0:CRU 1:GPIO */
+       rockchip,hw-tshut-mode = <1>;
+       /* tshut polarity 0:LOW 1:HIGH */
+       rockchip,hw-tshut-polarity = <1>;
+       status = "okay";
+};
+
 &u2phy1 {
        status = "okay";