[PATCH 8/9] ARM: at91/dt: at91sam9x5dm: add support for the touschscreen

Alexandre Belloni alexandre.belloni at free-electrons.com
Fri Jul 31 15:58:29 PDT 2015


The display module on the at91sam9x5-ek has a resistive touchscreen, add
it.

Signed-off-by: Alexandre Belloni <alexandre.belloni at free-electrons.com>
---
 arch/arm/boot/dts/at91sam9x5dm.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm/boot/dts/at91sam9x5dm.dtsi b/arch/arm/boot/dts/at91sam9x5dm.dtsi
index 31676f1b6e31..3e6b4a042186 100644
--- a/arch/arm/boot/dts/at91sam9x5dm.dtsi
+++ b/arch/arm/boot/dts/at91sam9x5dm.dtsi
@@ -25,6 +25,12 @@
 					};
 				};
 			};
+
+			adc0: adc at f804c000 {
+				atmel,adc-ts-wires = <4>;
+				atmel,adc-ts-pressure-threshold = <10000>;
+				status = "okay";
+			};
 		};
 	};
 
-- 
2.1.4




More information about the linux-arm-kernel mailing list