diff options
author | Oleksandr Suvorov <oleksandr.suvorov@toradex.com> | 2021-02-12 18:08:18 +0200 |
---|---|---|
committer | Oleksandr Suvorov <oleksandr.suvorov@toradex.com> | 2021-02-16 14:07:58 +0000 |
commit | 3f9658a8e5bd689b43712664f6d0982961f6d7fd (patch) | |
tree | 2420adb8945cb18aae5e4b08d92e948f3a4af2d8 | |
parent | bfd003da30d436c78728d0451db7c8058685b23d (diff) |
overlays: apalis-imx8x: ATMEL MXT: remove settings
Move common settings of Atmel maxtouch controller and related stuff
to the main devicetree to keep the overlay as simple as possible.
Realted-to: ELB-3242
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
-rw-r--r-- | overlays/apalis-imx8x_atmel-mxt_overlay.dts | 24 |
1 files changed, 5 insertions, 19 deletions
diff --git a/overlays/apalis-imx8x_atmel-mxt_overlay.dts b/overlays/apalis-imx8x_atmel-mxt_overlay.dts index 77572e1..f64d41b 100644 --- a/overlays/apalis-imx8x_atmel-mxt_overlay.dts +++ b/overlays/apalis-imx8x_atmel-mxt_overlay.dts @@ -3,28 +3,14 @@ /dts-v1/; /plugin/; -#include "dt-bindings/interrupt-controller/irq.h" -#include "dt-bindings/gpio/gpio.h" -#include "dt-bindings/pinctrl/pads-imx8qxp.h" - / { compatible = "toradex,apalis-imx8x"; }; -&i2c1 { - #address-cells = <1>; - #size-cells = <0>; - - /* Atmel maxtouch controller */ - atmel_mxt_ts: atmel_mxt_ts@4a { - compatible = "atmel,maxtouch"; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_gpio5>, <&pinctrl_gpio6>; - reg = <0x4a>; - interrupt-parent = <&lsio_gpio3>; - interrupts = <17 IRQ_TYPE_EDGE_FALLING>; /* Apalis GPIO5 */ - reset-gpios = <&lsio_gpio3 18 GPIO_ACTIVE_HIGH>; /* Apalis GPIO6 */ - status = "okay"; - }; +&atmel_mxt_ts { + status = "okay"; }; +&i2c1 { + status = "okay"; +}; |