aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/imx6q-apalis-eval.dts
diff options
context:
space:
mode:
authorPhilippe Schenker <philippe.schenker@toradex.com>2019-08-27 13:18:28 +0000
committerShawn Guo <shawnguo@kernel.org>2019-10-02 09:09:50 +0800
commit24ffaa23cec6e12663633271056c3ba49c291802 (patch)
tree18fdc6a1563ed220f4a3ea7f11ff71b94d2409ed /arch/arm/boot/dts/imx6q-apalis-eval.dts
parentARM: dts: imx6qdl-apalis: Add sleep state to can interfaces (diff)
downloadlinux-dev-24ffaa23cec6e12663633271056c3ba49c291802.tar.xz
linux-dev-24ffaa23cec6e12663633271056c3ba49c291802.zip
ARM: dts: imx6-apalis: Add touchscreens used on Toradex eval boards
This commit adds the touchscreen from Toradex so one can enable it. It is disabled by default because the pins are also used for PWM<B>, PWM<C>, aka pwm2, pwm3 which is the standard use for colibri boards. Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Reviewed-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/imx6q-apalis-eval.dts')
-rw-r--r--arch/arm/boot/dts/imx6q-apalis-eval.dts13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6q-apalis-eval.dts b/arch/arm/boot/dts/imx6q-apalis-eval.dts
index 0edd3043d9c1..4665e15b196d 100644
--- a/arch/arm/boot/dts/imx6q-apalis-eval.dts
+++ b/arch/arm/boot/dts/imx6q-apalis-eval.dts
@@ -167,6 +167,19 @@
&i2c1 {
status = "okay";
+ /*
+ * Touchscreen is using SODIMM 28/30, also used for PWM<B>, PWM<C>,
+ * aka pwm2, pwm3. so if you enable touchscreen, disable the pwms
+ */
+ touchscreen@4a {
+ compatible = "atmel,maxtouch";
+ reg = <0x4a>;
+ interrupt-parent = <&gpio6>;
+ interrupts = <10 IRQ_TYPE_EDGE_FALLING>;
+ reset-gpios = <&gpio6 9 GPIO_ACTIVE_HIGH>; /* SODIMM 13 */
+ status = "disabled";
+ };
+
pcie-switch@58 {
compatible = "plx,pex8605";
reg = <0x58>;