OSDN Git Service

ARM: at91/dt: at91sam9x5dm: add support for the touschscreen
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Fri, 31 Jul 2015 21:17:10 +0000 (23:17 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Fri, 7 Aug 2015 15:33:53 +0000 (17:33 +0200)
The display module on the at91sam9x5-ek has a resistive touchscreen, add
it.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
arch/arm/boot/dts/at91sam9x5dm.dtsi

index 31676f1..3e6b4a0 100644 (file)
                                        };
                                };
                        };
+
+                       adc0: adc@f804c000 {
+                               atmel,adc-ts-wires = <4>;
+                               atmel,adc-ts-pressure-threshold = <10000>;
+                               status = "okay";
+                       };
                };
        };