summaryrefslogtreecommitdiff
path: root/overlays/colibri-imx7_atmel-mxt-adapter_overlay.dts
blob: 6a331e60f1faed7f7da00ae9a81fe6aa93333830 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
/*
 * Copyright 2020-2021 Toradex
 */

// Atmel touchscreen for the 7inch capacitive display orderable at Toradex. Use this devicetree on the Evaluation or Iris board.

/dts-v1/;
/plugin/;

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <imx7d-pinfunc.h>

/ {
	compatible = "toradex,colibri-imx7d",
		     "toradex,colibri-imx7s",
		     "toradex,colibri-imx7d-emmc";
};

&atmel_mxt_ts {
	pinctrl-0 = <&pinctrl_atmel_adapter>;
	interrupt-parent = <&gpio1>;
	interrupts = <9 IRQ_TYPE_EDGE_FALLING>;
	reset-gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;
	status = "okay";
};

&i2c4 {
	status = "okay";
};

&pwm2 {
	status = "disabled";
};

&pwm3 {
	status = "disabled";
};