ARM64: dts: rk3399-monkey: support the gt9xx touchscreen
authorCaesar Wang <wxt@rock-chips.com>
Sat, 26 Mar 2016 06:01:58 +0000 (14:01 +0800)
committerJianqun Xu <jay.xu@rock-chips.com>
Mon, 28 Mar 2016 08:48:41 +0000 (16:48 +0800)
Change-Id: Iabe2264bf9cffe09259b17912d6391dfb87ee4dd
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
arch/arm64/boot/dts/rockchip/rk3399-monkey.dts
arch/arm64/boot/dts/rockchip/rk3399-tb.dtsi

index 9ba5aa63494c82caa6339ed364b6b4caf89e529f..8dde9f2fe348126e2f294a1fd3b2726a66dc222d 100644 (file)
        };
 };
 
+&gt9xx {
+       status = "okay";
+};
+
 &saradc {
-        status = "okay";
+       status = "okay";
 };
 
 &usbdrd_dwc3_0 {
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";
 };