arm64: dts: rockchip: add touscreen for excavator linux
authorJacob Chen <jacob2.chen@rock-chips.com>
Thu, 17 Nov 2016 02:16:47 +0000 (10:16 +0800)
committerJacob Chen <jacob2.chen@rock-chips.com>
Thu, 17 Nov 2016 02:17:23 +0000 (10:17 +0800)
Change-Id: I8fb62eea9667c6c1c646b70fd9d10671b07957a2
Signed-off-by: Jacob Chen <jacob2.chen@rock-chips.com>
arch/arm64/boot/dts/rockchip/rk3399-sapphire-excavator-linux.dts

index a82c7d24f55c2208c9c7ae52b00ae754243a07ca..80bb7fb86e4ebdd941a8370847610690c5d8ef21 100644 (file)
        status = "okay";
 };
 
+&i2c1 {
+       status = "okay";
+
+       gsl3673: gsl3673@40 {
+               compatible = "GSL,GSL3673";
+               reg = <0x40>;
+               screen_max_x = <1536>;
+               screen_max_y = <2048>;
+               irq_gpio_number = <&gpio1 20 IRQ_TYPE_LEVEL_LOW>;
+               rst_gpio_number = <&gpio4 22 GPIO_ACTIVE_HIGH>;
+       };
+};
+
 &i2c3 {
        status = "okay";
        i2c-scl-rising-time-ns = <450>;