summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2022-06-29 18:21:17 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2022-06-29 18:38:50 +0200
commit1c4c2bd1280b16da3fe482ab441696a61c494ebe (patch)
tree4eb462f2ad88bb4bae232941afefaedb3365a643
parent588cf1466217e823a48152edf6b0116f3499b6dd (diff)
colibri-imx6ull: atmel-mxt: connector: fully specify the used pins
Depending on the carrier board the full device tree either configures the touscreen for use with the adapter or the dedicated connector. Thus the overlay should not assume that the configuration is already done for the connector pinout. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
-rw-r--r--overlays/colibri-imx6ull_atmel-mxt-connector_overlay.dts7
1 files changed, 7 insertions, 0 deletions
diff --git a/overlays/colibri-imx6ull_atmel-mxt-connector_overlay.dts b/overlays/colibri-imx6ull_atmel-mxt-connector_overlay.dts
index 0487541..4aea144 100644
--- a/overlays/colibri-imx6ull_atmel-mxt-connector_overlay.dts
+++ b/overlays/colibri-imx6ull_atmel-mxt-connector_overlay.dts
@@ -9,11 +9,18 @@
/dts-v1/;
/plugin/;
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/interrupt-controller/irq.h>
+
/ {
compatible = "toradex,colibri-imx6ull-emmc";
};
&atmel_mxt_ts {
+ pinctrl-0 = <&pinctrl_atmel_conn &pinctrl_atmel_snvs_conn>;
+ interrupt-parent = <&gpio5>;
+ interrupts = <4 IRQ_TYPE_EDGE_FALLING>; /* SODIMM_107, INT */
+ reset-gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>; /* SODIMM_106, RST */
status = "okay";
};