From 653cb21b42a735b8dca99489837c0baa61ec1503 Mon Sep 17 00:00:00 2001 From: Oleksii Bidnichenko Date: Sun, 22 Aug 2021 13:38:22 +0300 Subject: imx6ull-emmc: add overlays Add following overlays: - Parallel RGB support - Parallel RGB LVDS support - Atmel MXT TS for boards with Capacitive Touch Connector - Atmel MXT TS for Capacitive Touch Adapter - Toradex 7" resistive touchscreen ad7879 Related-to: ELB-4065 Related-to: ELB-4080 Signed-off-by: Oleksii Bidnichenko --- .../colibri-imx6ull_atmel-mxt-adapter_overlay.dts | 41 ++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 overlays/colibri-imx6ull_atmel-mxt-adapter_overlay.dts (limited to 'overlays/colibri-imx6ull_atmel-mxt-adapter_overlay.dts') diff --git a/overlays/colibri-imx6ull_atmel-mxt-adapter_overlay.dts b/overlays/colibri-imx6ull_atmel-mxt-adapter_overlay.dts new file mode 100644 index 0000000..5f74742 --- /dev/null +++ b/overlays/colibri-imx6ull_atmel-mxt-adapter_overlay.dts @@ -0,0 +1,41 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2021 Toradex + */ + +// Atmel MXT touchscreen for the 7inch and 10inch display orderable at Toradex. +// Compatible with a Capacitive Touch Adapter. + +/dts-v1/; +/plugin/; + +#include +#include + +/ { + compatible = "toradex,colibri-imx6ull-emmc"; +}; + +&atmel_mxt_ts { + pinctrl-0 = <&pinctrl_atmel_adap>; + interrupt-parent = <&gpio4>; + interrupts = <16 IRQ_TYPE_EDGE_FALLING>; /* SODIMM 28, INT */ + reset-gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>; /* SODIMM 30, RST */ + status = "okay"; +}; + +&i2c1 { + status = "okay"; +}; + +/* PWM */ +&pwm5 { + /* Pin already used by atmel_mxt_ts touchscreen */ + status = "disabled"; +}; + +/* PWM */ +&pwm6 { + /* Pin already used by atmel_mxt_ts touchscreen */ + status = "disabled"; +}; -- cgit v1.2.3