summaryrefslogtreecommitdiff
path: root/overlays
diff options
context:
space:
mode:
authorPhilippe Schenker <philippe.schenker@toradex.com>2020-08-24 16:37:05 +0200
committerPhilippe Schenker <philippe.schenker@toradex.com>2020-08-24 16:37:05 +0200
commit63848b57417bb80c369b7abfa699e5023e277f37 (patch)
treef5cbf62ae92809979475d098058fd74bf052bed7 /overlays
parent97700bb3a5c498e78a50c764e2c280250034e3c0 (diff)
Revert "apalis-imx6: convert atmel mxt to syntactic sugar"
This reverts commit cc4da4e6c797a117ad8493e63a6781f8c0e664da. Syntactic sugar is not fully supported on 4.14 kernel revert all overlays for this branch Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
Diffstat (limited to 'overlays')
-rw-r--r--overlays/apalis-imx6_atmel-mxt_overlay.dts32
1 files changed, 13 insertions, 19 deletions
diff --git a/overlays/apalis-imx6_atmel-mxt_overlay.dts b/overlays/apalis-imx6_atmel-mxt_overlay.dts
index 2ad3e19..6fae23b 100644
--- a/overlays/apalis-imx6_atmel-mxt_overlay.dts
+++ b/overlays/apalis-imx6_atmel-mxt_overlay.dts
@@ -3,26 +3,20 @@
/dts-v1/;
/plugin/;
-#include <dt-bindings/gpio/gpio.h>
-#include <dt-bindings/interrupt-controller/irq.h>
-
/ {
compatible = "toradex,apalis_imx6q";
-};
-
-&i2c1 {
- #address-cells = <1>;
- #size-cells = <0>;
-
- status = "okay";
-
- atmel_mxt_ts: atmel_mxt_ts@4a {
- compatible = "atmel,maxtouch";
- reg = <0x4a>;
- interrupt-parent = <&gpio6>;
- interrupts = <10 IRQ_TYPE_EDGE_FALLING>;
- reset-gpios = <&gpio6 9 GPIO_ACTIVE_HIGH>;
- status = "okay";
+ fragment@0 {
+ target-path="/soc/aips-bus@2100000/i2c@21a0000";
+ __overlay__ {
+ status = "okay";
+ atmel_mxt_ts: atmel_mxt_ts@4a {
+ compatible = "atmel,maxtouch";
+ reg = <0x4a>;
+ interrupt-parent = <&gpio6>;
+ interrupts = <10 2>;
+ reset-gpios = <&gpio6 9 0>;
+ status = "okay";
+ };
+ };
};
};
-