From 3f9658a8e5bd689b43712664f6d0982961f6d7fd Mon Sep 17 00:00:00 2001 From: Oleksandr Suvorov Date: Fri, 12 Feb 2021 18:08:18 +0200 Subject: 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 --- overlays/apalis-imx8x_atmel-mxt_overlay.dts | 24 +++++------------------- 1 file 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"; +}; -- cgit v1.2.3