ARM: dts: cpuimx35 Add touchscreen support.
authorDenis Carikli <denis@eukrea.com>
Tue, 8 Apr 2014 16:22:41 +0000 (18:22 +0200)
committerShawn Guo <shawn.guo@freescale.com>
Fri, 16 May 2014 15:01:50 +0000 (23:01 +0800)
Signed-off-by: Denis Carikli <denis@eukrea.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
arch/arm/boot/dts/imx35-eukrea-cpuimx35.dtsi

index 906ae937b01366e2b8f3060920bf70086104600e..9c2b715ab8bfd9463dbc0768f6e5284302385c8a 100644 (file)
                compatible = "nxp,pcf8563";
                reg = <0x51>;
        };
+
+       tsc2007: tsc2007@48 {
+               compatible = "ti,tsc2007";
+               gpios = <&gpio3 2 0>;
+               interrupt-parent = <&gpio3>;
+               interrupts = <0x2 0x8>;
+               pinctrl-names = "default";
+               pinctrl-0 = <&pinctrl_tsc2007_1>;
+               reg = <0x48>;
+               ti,x-plate-ohms = <180>;
+       };
 };
 
 &iomuxc {
                                MX35_PAD_I2C1_DAT__I2C1_SDA             0x80000000
                        >;
                };
+
+               pinctrl_tsc2007_1: tsc2007grp-1 {
+                       fsl,pins = <MX35_PAD_ATA_DA2__GPIO3_2 0x80000000>;
+               };
        };
 };