diff options
author | Sekhar Nori <nsekhar@ti.com> | 2014-04-30 08:43:25 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2014-05-06 13:20:14 -0400 |
commit | 0ebc1e2519b752ebac52b26793859ebc570ebc8f (patch) | |
tree | 195c8e99f9a63744f9448c4a51deafb4162ff3a8 /arch/arm/boot/dts/am437x-gp-evm.dts | |
parent | 6cfcb5be9540074d40c34de78cc624adeea649f8 (diff) |
ARM: dts: am437x: Add touchscreen support for GP EVM
Add touchscreen support for AM437x GP EVM using pixcir
touchscreen controller.
CC: Benoit Cousson <bcousson@baylibre.com>
CC: Tony Lindgren <tony@atomide.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Acked-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/am437x-gp-evm.dts')
-rw-r--r-- | arch/arm/boot/dts/am437x-gp-evm.dts | 20 |
1 files changed, 20 insertions, 0 deletions
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 @@ | |||
81 | 0x164 MUX_MODE0 /* eCAP0_in_PWM0_out.eCAP0_in_PWM0_out MODE0 */ | 81 | 0x164 MUX_MODE0 /* eCAP0_in_PWM0_out.eCAP0_in_PWM0_out MODE0 */ |
82 | >; | 82 | >; |
83 | }; | 83 | }; |
84 | |||
85 | pixcir_ts_pins: pixcir_ts_pins { | ||
86 | pinctrl-single,pins = < | ||
87 | 0x264 (PIN_INPUT_PULLUP | MUX_MODE7) /* spi2_d0.gpio3_22 */ | ||
88 | >; | ||
89 | }; | ||
84 | }; | 90 | }; |
85 | 91 | ||
86 | &i2c0 { | 92 | &i2c0 { |
@@ -93,6 +99,20 @@ | |||
93 | status = "okay"; | 99 | status = "okay"; |
94 | pinctrl-names = "default"; | 100 | pinctrl-names = "default"; |
95 | pinctrl-0 = <&i2c1_pins>; | 101 | pinctrl-0 = <&i2c1_pins>; |
102 | |||
103 | pixcir_ts@5c { | ||
104 | compatible = "pixcir,pixcir_tangoc"; | ||
105 | pinctrl-names = "default"; | ||
106 | pinctrl-0 = <&pixcir_ts_pins>; | ||
107 | reg = <0x5c>; | ||
108 | interrupt-parent = <&gpio3>; | ||
109 | interrupts = <22 0>; | ||
110 | |||
111 | attb-gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>; | ||
112 | |||
113 | x-size = <1024>; | ||
114 | y-size = <600>; | ||
115 | }; | ||
96 | }; | 116 | }; |
97 | 117 | ||
98 | &epwmss0 { | 118 | &epwmss0 { |