summaryrefslogtreecommitdiff
path: root/overlays/colibri-imx6-aster_atmel-mxt_overlay.dts
diff options
context:
space:
mode:
authorIgor Opaniuk <igor.opaniuk@toradex.com>2020-05-26 13:23:43 +0300
committerIgor Opaniuk <igor.opaniuk@toradex.com>2020-05-26 13:27:27 +0300
commitf73d8b1caf5b6b837ed39e2bdd60040163d43c56 (patch)
tree997294252e044269e1e2621e2b04847d2af2af54 /overlays/colibri-imx6-aster_atmel-mxt_overlay.dts
overlays: add initial overlays
Naming format: <machine>_<function>_overlay.dts Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
Diffstat (limited to 'overlays/colibri-imx6-aster_atmel-mxt_overlay.dts')
-rw-r--r--overlays/colibri-imx6-aster_atmel-mxt_overlay.dts40
1 files changed, 40 insertions, 0 deletions
diff --git a/overlays/colibri-imx6-aster_atmel-mxt_overlay.dts b/overlays/colibri-imx6-aster_atmel-mxt_overlay.dts
new file mode 100644
index 0000000..11fd1ea
--- /dev/null
+++ b/overlays/colibri-imx6-aster_atmel-mxt_overlay.dts
@@ -0,0 +1,40 @@
+// Atmel touchscreen for the 7inch capacitive display orderable at Toradex. Use this devicetree on the Aster board.
+
+/dts-v1/;
+/plugin/;
+
+/ {
+ compatible = "toradex,colibri_imx6dl";
+ fragment@0 {
+ target = <&weim>;
+ __overlay__{
+ status = "disabled";
+ };
+ };
+ fragment@1 {
+ target = <&iomuxc>;
+ __overlay__ {
+ pinctrl_atmel_mxt_ts: atmelmxttsgrp {
+ fsl,pins = <
+ 0x300 0x6e8 0x000 0x5 0x0 0x1b0b1
+ 0x140 0x510 0x000 0x5 0x0 0x1b0b1
+ >;
+ };
+ };
+ };
+ fragment@2 {
+ target = <&i2c3>;
+ __overlay__ {
+ atmel_mxt_ts: atmel_mxt_ts@4a {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_atmel_mxt_ts>;
+ compatible = "atmel,maxtouch";
+ reg = <0x4a>;
+ interrupt-parent = <&gpio2>;
+ interrupts = <24 2>;
+ reset-gpios = <&gpio1 14 0>;
+ status = "okay";
+ };
+ };
+ };
+};