ARM64: dts: rockchip: add gt9xx touchscreen support
authorDavid Wu <david.wu@rock-chips.com>
Sat, 5 Mar 2016 13:43:47 +0000 (21:43 +0800)
committerGerrit Code Review <gerrit@rock-chips.com>
Mon, 7 Mar 2016 07:12:33 +0000 (15:12 +0800)
need to modify the i2c4 scl and sda connection in hardware.

Change-Id: I57981a3891047412b9ea61112fbf5ff4a23223b3
Signed-off-by: David Wu <david.wu@rock-chips.com>
arch/arm64/boot/dts/rockchip/rk3366-tb.dts

index 995a1ae22911afa3219cedbf0479a2e906109552..2221722e947a77769cc8075dfeeaf93957eade99 100644 (file)
        };
 };
 
+&i2c4 {
+       status = "okay";
+
+       gt9xx: gt9xx@14 {
+               compatible = "goodix,gt9xx";
+               reg = <0x14>;
+               touch-gpio = <&gpio5 11 IRQ_TYPE_LEVEL_LOW>;
+               reset-gpio = <&gpio5 10 GPIO_ACTIVE_HIGH>;
+               max-x = <1200>;
+               max-y = <1900>;
+               tp-size = <911>;
+               tp-supply = <&vcc_tp>;
+               status = "okay";
+       };
+};
+
 &i2s_8ch {
        status = "okay";
        rockchip,i2s-broken-burst-len;