summaryrefslogtreecommitdiff
path: root/overlays/apalis-imx6_atmel-mxt_overlay.dts
blob: 505dcb757fbc1326c277fc7892814bdada6775ed (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
// Atmel MXT touchscreen for the 7inch and 10inch display orderable at Toradex.

/dts-v1/;
/plugin/;

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

/ {
	compatible = "toradex,apalis_imx6q";
};

&i2c0 {
	#address-cells = <1>;
	#size-cells = <0>;
	status = "okay";

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