rk3368: add tsadc for p9
[firefly-linux-kernel-4.4.55.git] / 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>;