arm64: dts: rockchip: add touch panel gslx680 for 3399 vr board
authorjerry.zhang <jerry.zhang@rock-chips.com>
Tue, 19 Jul 2016 06:09:27 +0000 (14:09 +0800)
committerGerrit Code Review <gerrit@rock-chips.com>
Tue, 19 Jul 2016 09:33:04 +0000 (17:33 +0800)
Change-Id: I8d106b2146c01371bae8952e3926e44d86df464a
Signed-off-by: jerry.zhang <jerry.zhang@rock-chips.com>
arch/arm64/boot/dts/rockchip/rk3399-vr-android.dts

index fc778289a2b38d15d7211bf9b055563a09e39994..013eb1522dab03a705b1a05672b9ce717467a5a9 100644 (file)
        };
 };
 
+&i2c5 {
+       status = "okay";
+
+       touch@40 {
+               compatible = "gslX680";
+               reg = <0x40>;
+               touch-gpio = <&gpio1 20 IRQ_TYPE_LEVEL_LOW>;
+               reset-gpio = <&gpio4 22 GPIO_ACTIVE_LOW>;
+               max-x = <1280>;
+               max-y = <600>;
+               status = "okay";
+       };
+};
+
 &spi1 {
        status = "okay";
        max-freq = <50000000>;