[omap]: fix gpio interrupt-cells property on AM335x
[openwrt.git] / target / linux / omap / patches-3.12 / 901-arm-dts-am335x-sk-add-touchscreen-support.patch
1 From 588b7a5db74c02bcf0b3ac57b6391debffbff74c Mon Sep 17 00:00:00 2001
2 From: Felipe Balbi <balbi@ti.com>
3 Date: Mon, 21 Oct 2013 15:06:54 -0500
4 Subject: [PATCH 582/752] arm: dts: am335x sk: add touchscreen support
5
6 Add missing nodes for the touchscreen available
7 on AM335x EVM SK.
8
9 Signed-off-by: Felipe Balbi <balbi@ti.com>
10 ---
11  arch/arm/boot/dts/am335x-evmsk.dts |   10 ++++++++++
12  1 file changed, 10 insertions(+)
13
14 diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b/arch/arm/boot/dts/am335x-evmsk.dts
15 index 7fae4e0..ddbf6ca 100644
16 --- a/arch/arm/boot/dts/am335x-evmsk.dts
17 +++ b/arch/arm/boot/dts/am335x-evmsk.dts
18 @@ -454,6 +454,16 @@
19         phy-mode = "rgmii-txid";
20  };
21  
22 +&tscadc {
23 +       status = "okay";
24 +       tsc {
25 +               ti,wires = <4>;
26 +               ti,x-plate-resistance = <200>;
27 +               ti,coordinate-readouts = <5>;
28 +               ti,wire-config = <0x00 0x11 0x22 0x33>;
29 +       };
30 +};
31 +
32  &gpio0 {
33         ti,no-reset;
34  };
35 -- 
36 1.7.10.4
37