summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/rockchip/rk3366-tb.dts
diff options
context:
space:
mode:
authorDavid Wu <david.wu@rock-chips.com>2016-03-05 21:43:47 +0800
committerGerrit Code Review <gerrit@rock-chips.com>2016-03-07 15:12:33 +0800
commitbd9e614eb81c04506fb1163e2d90cf65a46afff1 (patch)
tree13cbc892c9f5a6d154db939fbccb9d5c1c5381c3 /arch/arm64/boot/dts/rockchip/rk3366-tb.dts
parent8d9ad6296b2ae9e40b7e2dceefdfa58dfc079b69 (diff)
ARM64: dts: rockchip: add gt9xx touchscreen support
need to modify the i2c4 scl and sda connection in hardware. Change-Id: I57981a3891047412b9ea61112fbf5ff4a23223b3 Signed-off-by: David Wu <david.wu@rock-chips.com>
Diffstat (limited to 'arch/arm64/boot/dts/rockchip/rk3366-tb.dts')
-rw-r--r--arch/arm64/boot/dts/rockchip/rk3366-tb.dts16
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/rockchip/rk3366-tb.dts b/arch/arm64/boot/dts/rockchip/rk3366-tb.dts
index 995a1ae22911..2221722e947a 100644
--- a/arch/arm64/boot/dts/rockchip/rk3366-tb.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3366-tb.dts
@@ -532,6 +532,22 @@
};
};
+&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;