arm64: dts: rockchip: enable tsadc on rk3399-puma
authorKlaus Goger <klaus.goger@theobroma-systems.com>
Tue, 30 Jan 2018 10:15:55 +0000 (11:15 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 12 Feb 2018 08:40:11 +0000 (09:40 +0100)
Enable the SoC thermal sensor on RK3399-Q7 (Puma).
As we want to do do a full board reset instead of just a SoC one, set
hw-tshut-mode to GPIO.

Signed-off-by: Klaus Goger <klaus.goger@theobroma-systems.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi

index 1fc5060d7027e6e4b852c6cd71d430d2e7ab3990..ce15a57a5b856a4987dceaadde498335f37e026e 100644 (file)
        };
 };
 
+&tsadc {
+       rockchip,hw-tshut-mode = <1>;
+       rockchip,hw-tshut-polarity = <1>;
+       status = "okay";
+};
+
 &u2phy1 {
        status = "okay";