ARM: dts: rockchip: enable tsadc for rk3229-evb
authorFrank Wang <frank.wang@rock-chips.com>
Wed, 5 Jul 2017 08:32:24 +0000 (16:32 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Sun, 16 Jul 2017 15:08:58 +0000 (17:08 +0200)
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>
arch/arm/boot/dts/rk3229-evb.dts

index d52e4074105d50f30d9969984f14c2d0c2427d0b..b20776ad27077572136d8eac5b6f04ea4e18bfd9 100644 (file)
        status = "okay";
 };
 
+&tsadc {
+       rockchip,hw-tshut-mode = <0>; /* tshut mode 0:CRU 1:GPIO */
+       status = "okay";
+};
+
 &uart2 {
        status = "okay";
 };