ARM: dts: imx6: RDU2: add eGalax touchscreen
authorLucas Stach <l.stach@pengutronix.de>
Thu, 12 Apr 2018 13:15:56 +0000 (15:15 +0200)
committerShawn Guo <shawnguo@kernel.org>
Mon, 23 Apr 2018 09:11:11 +0000 (17:11 +0800)
This touchscreen is present instead of the RMI4 touch on some SKUs of
the RDU2. Keep it disabled by default, the bootloader will enable it
instead of the RMI4 touch when running on one of those units.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Tested-by: Chris Healy <cphealy@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi

index ea2093f..2696746 100644 (file)
                };
        };
 
+       touchscreen@2a {
+               compatible = "eeti,egalax_ts";
+               pinctrl-names = "default";
+               pinctrl-0 = <&pinctrl_ts>;
+               reg = <0x2a>;
+               interrupt-parent = <&gpio1>;
+               interrupts = <8 IRQ_TYPE_LEVEL_LOW>;
+               wakeup-gpios = <&gpio1 8 GPIO_ACTIVE_LOW>;
+               status = "disabled";
+       };
+
        hpa1: amp@60 {
                compatible = "ti,tpa6130a2";
                pinctrl-names = "default";