aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaesar Wang <wxt@rock-chips.com>2015-11-08 23:49:02 -0500
committerHeiko Stuebner <heiko@sntech.de>2015-11-21 11:39:17 -0500
commit10a37de377e8c481f5bd0e89ae1c35fc2acdc4b4 (patch)
tree2b3e745d5e6928aa2693e351e633c42df59abd89
parentf990238f859e95841ecd151da258ea999555f609 (diff)
arm64: dts: rockchip: Enable the Thermal on R88 board
This patch enable the TS-ADC. When a thermal temperature is invoked use the CRU to reset the chip on R88 board. TSHUT is low active on this board. Signed-off-by: Caesar Wang <wxt@rock-chips.com> Acked-by: Eduardo Valentin <edubezval@gmail.com> Signed-off-by: Heiko Stuebner <heiko@sntech.de>
-rw-r--r--arch/arm64/boot/dts/rockchip/rk3368-r88.dts6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/rockchip/rk3368-r88.dts b/arch/arm64/boot/dts/rockchip/rk3368-r88.dts
index 401a81231eb9..104cbee762bb 100644
--- a/arch/arm64/boot/dts/rockchip/rk3368-r88.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3368-r88.dts
@@ -336,6 +336,12 @@
336 status = "okay"; 336 status = "okay";
337}; 337};
338 338
339&tsadc {
340 rockchip,hw-tshut-mode = <0>; /* tshut mode 0:CRU 1:GPIO */
341 rockchip,hw-tshut-polarity = <0>; /* tshut polarity 0:LOW 1:HIGH */
342 status = "okay";
343};
344
339&uart2 { 345&uart2 {
340 status = "okay"; 346 status = "okay";
341}; 347};