From: Sekhar Nori Date: Wed, 30 Apr 2014 12:43:25 +0000 (+0300) Subject: ARM: dts: am437x: Add touchscreen support for GP EVM X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0ebc1e2519b752ebac52b26793859ebc570ebc8f;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git ARM: dts: am437x: Add touchscreen support for GP EVM Add touchscreen support for AM437x GP EVM using pixcir touchscreen controller. CC: Benoit Cousson CC: Tony Lindgren Signed-off-by: Sekhar Nori Acked-by: Roger Quadros Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/boot/dts/am437x-gp-evm.dts b/arch/arm/boot/dts/am437x-gp-evm.dts index 9e57538bd661..c0cc5251fd47 100644 --- a/arch/arm/boot/dts/am437x-gp-evm.dts +++ b/arch/arm/boot/dts/am437x-gp-evm.dts @@ -81,6 +81,12 @@ 0x164 MUX_MODE0 /* eCAP0_in_PWM0_out.eCAP0_in_PWM0_out MODE0 */ >; }; + + pixcir_ts_pins: pixcir_ts_pins { + pinctrl-single,pins = < + 0x264 (PIN_INPUT_PULLUP | MUX_MODE7) /* spi2_d0.gpio3_22 */ + >; + }; }; &i2c0 { @@ -93,6 +99,20 @@ status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&i2c1_pins>; + + pixcir_ts@5c { + compatible = "pixcir,pixcir_tangoc"; + pinctrl-names = "default"; + pinctrl-0 = <&pixcir_ts_pins>; + reg = <0x5c>; + interrupt-parent = <&gpio3>; + interrupts = <22 0>; + + attb-gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>; + + x-size = <1024>; + y-size = <600>; + }; }; &epwmss0 {