summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/imx6q-apalis-ixora.dts
diff options
context:
space:
mode:
authorPhilippe Schenker <philippe.schenker@toradex.com>2019-08-27 16:18:28 +0300
committerShawn Guo <shawnguo@kernel.org>2019-10-02 04:09:50 +0300
commit24ffaa23cec6e12663633271056c3ba49c291802 (patch)
tree18fdc6a1563ed220f4a3ea7f11ff71b94d2409ed /arch/arm/boot/dts/imx6q-apalis-ixora.dts
parente01f0fe3136bd75b0e9ecb5dd453c0d9826a9005 (diff)
downloadlinux-24ffaa23cec6e12663633271056c3ba49c291802.tar.xz
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-ixora.dts')
-rw-r--r--arch/arm/boot/dts/imx6q-apalis-ixora.dts13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6q-apalis-ixora.dts b/arch/arm/boot/dts/imx6q-apalis-ixora.dts
index 302fd6adc8a7..5ba49d0f4880 100644
--- a/arch/arm/boot/dts/imx6q-apalis-ixora.dts
+++ b/arch/arm/boot/dts/imx6q-apalis-ixora.dts
@@ -171,6 +171,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";
+ };
+
eeprom@50 {
compatible = "atmel,24c02";
reg = <0x50>;