arm: dts: rk3288-evb: add support for GSL3673
authorJianqun Xu <jay.xu@rock-chips.com>
Mon, 27 Mar 2017 08:51:50 +0000 (16:51 +0800)
committerJianqun Xu <jay.xu@rock-chips.com>
Mon, 27 Mar 2017 09:13:10 +0000 (17:13 +0800)
GSL3673 is a touchscreen device, let support it.

Change-Id: I4bf302c395491ca49a1874c8984caa0b49cfb326
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
arch/arm/boot/dts/rk3288-evb.dtsi

index d8981b7e1fcac1680b527fa5fc82c724d4f99d56..e3ac6c5e717f2fe7021ebba66ee57ee89cc5f5a8 100644 (file)
        };
 };
 
+&i2c4 {
+       status = "okay";
+
+       gsl3673@40 {
+               compatible = "GSL,GSL3673";
+               reg = <0x40>;
+               screen_max_x = <1536>;
+               screen_max_y = <2048>;
+               irq_gpio_number = <&gpio7 6 IRQ_TYPE_LEVEL_LOW>;
+               rst_gpio_number = <&gpio7 5 GPIO_ACTIVE_HIGH>;
+               status = "okay";
+       };
+};
+
 &i2s {
        #sound-dai-cells = <0>;
        status = "okay";