ARM64: dts: rk3399-monkey: support the gt9xx touchscreen
[firefly-linux-kernel-4.4.55.git] / arch / arm64 / boot / dts / rockchip / rk3399-tb.dtsi
index 68391d23e5c2f6281129e5c24b29a5d41dd7af44..8e0a4a9d3346c17c6204e41b7e4d63e965a24a39 100644 (file)
        };
 };
 
+&i2c4 {
+       status = "okay";
+
+       gt9xx: gt9xx@14 {
+               compatible = "goodix,gt9xx";
+               reg = <0x14>;
+               touch-gpio = <&gpio1 20 IRQ_TYPE_LEVEL_LOW>;
+               reset-gpio = <&gpio4 22 GPIO_ACTIVE_HIGH>;
+               max-x = <1200>;
+               max-y = <1900>;
+               tp-size = <911>;
+               tp-supply = <&vcc3v0_tp>;
+               status = "disabled";
+       };
+};
+
 &pwm2 {
        status = "okay";
 };