summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/rk3228-evb.dts
diff options
context:
space:
mode:
authorCaesar Wang <wxt@rock-chips.com>2016-02-15 15:33:33 +0800
committerHeiko Stuebner <heiko@sntech.de>2016-03-27 00:54:13 +0100
commit26f5e19dfb07de627112074721f254482f941dab (patch)
treea6150de301055e28d97d3e03459a0a2617eec84d /arch/arm/boot/dts/rk3228-evb.dts
parent7796031eec9e41099af35bc531f04843358fa3f1 (diff)
ARM: dts: rockchip: enable the tsadc for rk3228 evb
This patch enables the tsadc for rk3228 evb board. The rk3228 evb board uses the CRU to reset the chip since it hasn't the PMIC to connect it, and TSHUT is low active on evb board. Signed-off-by: Caesar Wang <wxt@rock-chips.com> Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Diffstat (limited to 'arch/arm/boot/dts/rk3228-evb.dts')
-rw-r--r--arch/arm/boot/dts/rk3228-evb.dts7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/rk3228-evb.dts b/arch/arm/boot/dts/rk3228-evb.dts
index e3898b810150..c75cc41d8c1f 100644
--- a/arch/arm/boot/dts/rk3228-evb.dts
+++ b/arch/arm/boot/dts/rk3228-evb.dts
@@ -61,6 +61,13 @@
status = "okay";
};
+&tsadc {
+ status = "okay";
+
+ rockchip,hw-tshut-mode = <0>; /* tshut mode 0:CRU 1:GPIO */
+ rockchip,hw-tshut-polarity = <1>; /* tshut polarity 0:LOW 1:HIGH */
+};
+
&uart2 {
status = "okay";
};