summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/rockchip
diff options
context:
space:
mode:
authorCaesar Wang <wxt@rock-chips.com>2015-11-09 07:49:02 +0300
committerHeiko Stuebner <heiko@sntech.de>2015-11-21 19:39:17 +0300
commit10a37de377e8c481f5bd0e89ae1c35fc2acdc4b4 (patch)
tree2b3e745d5e6928aa2693e351e633c42df59abd89 /arch/arm64/boot/dts/rockchip
parentf990238f859e95841ecd151da258ea999555f609 (diff)
downloadlinux-10a37de377e8c481f5bd0e89ae1c35fc2acdc4b4.tar.xz
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>
Diffstat (limited to 'arch/arm64/boot/dts/rockchip')
-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 @@
status = "okay";
};
+&tsadc {
+ rockchip,hw-tshut-mode = <0>; /* tshut mode 0:CRU 1:GPIO */
+ rockchip,hw-tshut-polarity = <0>; /* tshut polarity 0:LOW 1:HIGH */
+ status = "okay";
+};
+
&uart2 {
status = "okay";
};