ARM64: dts: rockchip: enable the tsadc for rk3399 chrome
authorCaesar Wang <wxt@rock-chips.com>
Thu, 10 Mar 2016 10:18:32 +0000 (18:18 +0800)
committerCaesar Wang <wxt@rock-chips.com>
Mon, 14 Mar 2016 03:16:08 +0000 (11:16 +0800)
This patch enables the tsadc for rk3399 evb board.

The rk3399 evb board uses the gpio to reset the chip since it connects the
PMIC to work, and TSHUT is low active on evb board.

Change-Id: Ibd4fc2c752fe1f34cc231385ee314e4b9a32e970
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
arch/arm64/boot/dts/rockchip/rk3399-chrome.dts

index 62f009f62a5faaac14270bb0fc290700d7ece0ff..4ef705663bcbce8ab05b96e24a696c221589d105 100644 (file)
        status = "okay";
 };
 
+&tsadc {
+       rockchip,hw-tshut-mode = <1>; /* tshut mode 0:CRU 1:GPIO */
+       rockchip,hw-tshut-polarity = <0>; /* tshut polarity 0:LOW 1:HIGH */
+       status = "okay";
+};
+
 &uart2 {
        status = "okay";
 };