summaryrefslogtreecommitdiff
path: root/overlays/colibri-imx7-aster_atmel-mxt_overlay.dts
blob: 7527480bc10a0ddba57a0bf3aea683d2d2e9de3a (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
// 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 Aster board.

/dts-v1/;
/plugin/;

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

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

&i2c4 {
	#address-cells = <1>;
	#size-cells = <0>;

	atmel_mxt_ts: atmel_mxt_ts@4a {
		compatible = "atmel,maxtouch";
		reg = <0x4a>;
		interrupt-parent = <&gpio2>;
		interrupts = <15 IRQ_TYPE_EDGE_FALLING>;
		reset-gpios = <&gpio2 28 GPIO_ACTIVE_HIGH>;
		status = "okay";
	};
};

&pwm2 {
	status = "disabled";
};

&pwm3 {
	status = "disabled";
};