diff options
author | Philippe Schenker <philippe.schenker@toradex.com> | 2020-08-24 16:37:47 +0200 |
---|---|---|
committer | Philippe Schenker <philippe.schenker@toradex.com> | 2020-08-24 16:37:47 +0200 |
commit | 47691cfd30f499affcee92504106da4520508b51 (patch) | |
tree | 6fbb95b910ce9b4f1523e5a0cf9f2a180feb1587 | |
parent | ba560059bcdd4eb56de8921d9b031340cce01d8b (diff) |
Revert "colibri-imx6: eval: convert atmel mxt to syntactic sugar"
This reverts commit db4d2a50d81b311707dcf1ead9324e47a181ac99.
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>
-rw-r--r-- | overlays/colibri-imx6-eval_atmel-mxt_overlay.dts | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/overlays/colibri-imx6-eval_atmel-mxt_overlay.dts b/overlays/colibri-imx6-eval_atmel-mxt_overlay.dts index 6abcae7..fac62f0 100644 --- a/overlays/colibri-imx6-eval_atmel-mxt_overlay.dts +++ b/overlays/colibri-imx6-eval_atmel-mxt_overlay.dts @@ -3,31 +3,31 @@ /dts-v1/; /plugin/; -#include <dt-bindings/gpio/gpio.h> -#include <dt-bindings/interrupt-controller/irq.h> - / { compatible = "toradex,colibri_imx6dl"; -}; - -&i2c3 { - #address-cells = <1>; - #size-cells = <0>; - - atmel_mxt_ts: atmel_mxt_ts@4a { - compatible = "atmel,maxtouch"; - reg = <0x4a>; - interrupt-parent = <&gpio1>; - interrupts = <9 IRQ_TYPE_EDGE_FALLING>; - reset-gpios = <&gpio2 10 GPIO_ACTIVE_HIGH>; - status = "okay"; + fragment@0 { + target = <&i2c3>; + __overlay__ { + atmel_mxt_ts: atmel_mxt_ts@4a { + compatible = "atmel,maxtouch"; + reg = <0x4a>; + interrupt-parent = <&gpio1>; + interrupts = <9 2>; + reset-gpios = <&gpio2 10 0>; + status = "okay"; + }; + }; + }; + fragment@1 { + target = <&pwm1>; + __overlay__ { + status = "disabled"; + }; + }; + fragment@2 { + target = <&pwm4>; + __overlay__{ + status = "disabled"; + }; }; -}; - -&pwm1 { - status = "disabled"; -}; - -&pwm4{ - status = "disabled"; }; |