rk3368: add tsadc for p9
authorDavid Wu <wdc@rock-chips.com>
Fri, 6 Mar 2015 13:00:38 +0000 (21:00 +0800)
committerDavid Wu <wdc@rock-chips.com>
Fri, 6 Mar 2015 13:03:39 +0000 (21:03 +0800)
Signed-off-by: David Wu <wdc@rock-chips.com>
arch/arm64/boot/dts/rk3368-p9_818.dts

index ef661fbffc985ef1d63300cf941bf3aaa0ad8f6d..3f7c523732080f998408a18505151e9dcc8510eb 100755 (executable)
        };
 };
 
+&tsadc {
+       tsadc-tshut-mode = <0>; /* tshut mode 0:CRU 1:GPIO */
+       //tsadc-tshut-polarity = <0>; /* tshut polarity 0:LOW 1:HIGH */
+       status = "okay";
+};
+
 &pinctrl {
        //used for init some gpio
        init-gpios = <&gpio0 GPIO_A6 GPIO_ACTIVE_HIGH>;