From: jerry.zhang Date: Tue, 19 Jul 2016 06:09:27 +0000 (+0800) Subject: arm64: dts: rockchip: add touch panel gslx680 for 3399 vr board X-Git-Tag: firefly_0821_release~2123 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=dbc9efa8142fde3a89ceb32f5dd8fe0c0600d6e6;p=firefly-linux-kernel-4.4.55.git arm64: dts: rockchip: add touch panel gslx680 for 3399 vr board Change-Id: I8d106b2146c01371bae8952e3926e44d86df464a Signed-off-by: jerry.zhang --- diff --git a/arch/arm64/boot/dts/rockchip/rk3399-vr-android.dts b/arch/arm64/boot/dts/rockchip/rk3399-vr-android.dts index fc778289a2b3..013eb1522dab 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-vr-android.dts +++ b/arch/arm64/boot/dts/rockchip/rk3399-vr-android.dts @@ -547,6 +547,20 @@ }; }; +&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>;