From: Nikita Kiryanov Date: Tue, 1 Dec 2015 13:55:04 +0000 (+0200) Subject: ARM: dts: am437x: cm-t43: add touchscreen support X-Git-Tag: v4.5-rc1~43^2~34^2~26 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a7c787677461829e22698ca001aedfda4ae06651;p=karo-tx-linux.git ARM: dts: am437x: cm-t43: add touchscreen support AM437x has an internal touchscreen controller. Add support for it on cm-t43. Signed-off-by: Nikita Kiryanov Cc: Tony Lindgren Cc: Benoit Cousson Cc: Rob Herring Cc: Mark Rutland Cc: Pawel Moll Cc: Igor Grinberg Cc: Dmitry Lifshitz Cc: Ian Campbell Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/boot/dts/am437x-cm-t43.dts b/arch/arm/boot/dts/am437x-cm-t43.dts index 1011accb56e6..8677f4cce9e9 100644 --- a/arch/arm/boot/dts/am437x-cm-t43.dts +++ b/arch/arm/boot/dts/am437x-cm-t43.dts @@ -398,6 +398,20 @@ status = "okay"; }; +&tscadc { + status = "okay"; + tsc { + ti,wires = <4>; + ti,x-plate-resistance = <200>; + ti,coordiante-readouts = <5>; + ti,wire-config = <0x00 0x11 0x22 0x33>; + }; + + adc { + ti,adc-channels = <4 5 6 7>; + }; +}; + &cpu { cpu0-supply = <&dcdc2>; operating-points = <1000000 1330000>,