diff options
author | Oleksii Bidnichenko <oleksii.bidnichenko@toradex.com> | 2021-08-22 13:38:22 +0300 |
---|---|---|
committer | Oleksii Bidnichenko <oleksii.bidnichenko@toradex.com> | 2021-09-02 15:53:44 +0300 |
commit | 653cb21b42a735b8dca99489837c0baa61ec1503 (patch) | |
tree | 96f1a8fdb0dfab2aa8d57f906fde70bdbaa5a0b6 /overlays/colibri-imx6ull_atmel-mxt-adapter_overlay.dts | |
parent | f4b74d8a48e76a626d66cdd9d5e358f630940005 (diff) |
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 <oleksii.bidnichenko@toradex.com>
Diffstat (limited to 'overlays/colibri-imx6ull_atmel-mxt-adapter_overlay.dts')
-rw-r--r-- | overlays/colibri-imx6ull_atmel-mxt-adapter_overlay.dts | 41 |
1 files changed, 41 insertions, 0 deletions
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 <dt-bindings/gpio/gpio.h> +#include <dt-bindings/interrupt-controller/irq.h> + +/ { + 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 <B> */ +&pwm5 { + /* Pin already used by atmel_mxt_ts touchscreen */ + status = "disabled"; +}; + +/* PWM <C> */ +&pwm6 { + /* Pin already used by atmel_mxt_ts touchscreen */ + status = "disabled"; +}; |