ARM: dts: rockchip: Enable thermal on rk3288-vyasa board
authorMichael Trimarchi <michael@amarulasolutions.com>
Fri, 13 Oct 2017 17:33:32 +0000 (23:03 +0530)
committerHeiko Stuebner <heiko@sntech.de>
Sat, 14 Oct 2017 19:10:31 +0000 (21:10 +0200)
Enable thermal on rk3288-vyasa board, TSHUT is high active.

Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm/boot/dts/rk3288-vyasa.dts

index 932311c..3546eb8 100644 (file)
        status = "okay";
 };
 
+&tsadc {
+       rockchip,hw-tshut-mode = <1>; /* tshut mode 0:CRU 1:GPIO */
+       rockchip,hw-tshut-polarity = <1>; /* tshut polarity 0:LOW 1:HIGH */
+       status = "okay";
+};
+
 &uart2 {
        status = "okay";
 };