summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrank Wang <frank.wang@rock-chips.com>2017-07-05 10:32:24 +0200
committerHeiko Stuebner <heiko@sntech.de>2017-07-16 17:08:58 +0200
commitd46c8ef990bd1953fd568e8a479a7e32a4a1cb1e (patch)
tree455b2927bbd44a65d8302e0400aa55c66e2f22a2
parentARM: dts: rockchip: enable eMMC for rk3229-evb (diff)
downloadlinux-d46c8ef990bd1953fd568e8a479a7e32a4a1cb1e.tar.xz
linux-d46c8ef990bd1953fd568e8a479a7e32a4a1cb1e.zip
ARM: dts: rockchip: enable tsadc for rk3229-evb
This patch enables the tsadc for rk3229-evb board. The rk3229 evb board uses the CRU to reset the chip since it has not the PMIC to connect it, and TSHUT is low active on evb board. Signed-off-by: Frank Wang <frank.wang@rock-chips.com> Signed-off-by: Heiko Stuebner <heiko@sntech.de>
-rw-r--r--arch/arm/boot/dts/rk3229-evb.dts5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/rk3229-evb.dts b/arch/arm/boot/dts/rk3229-evb.dts
index d52e4074105d..b20776ad2707 100644
--- a/arch/arm/boot/dts/rk3229-evb.dts
+++ b/arch/arm/boot/dts/rk3229-evb.dts
@@ -204,6 +204,11 @@
status = "okay";
};
+&tsadc {
+ rockchip,hw-tshut-mode = <0>; /* tshut mode 0:CRU 1:GPIO */
+ status = "okay";
+};
+
&uart2 {
status = "okay";
};