blob: 29f4fcf3d97b4b97d3ecc69a541ecc1b6829f8da (
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
40
41
42
43
44
45
46
47
48
49
50
51
|
// 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-imx7d-emmc";
};
&i2c4 {
#address-cells = <1>;
#size-cells = <0>;
atmel_mxt_ts: atmel_mxt_ts@4a {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_atmel_mxt_ts>;
compatible = "atmel,maxtouch";
reg = <0x4a>;
interrupt-parent = <&gpio1>;
interrupts = <9 IRQ_TYPE_EDGE_FALLING>;
reset-gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;
status = "okay";
};
};
&iomuxc {
pinctrl_atmel_mxt_ts: atmelmxttsgrp {
fsl,pins = <
MX7D_PAD_GPIO1_IO09__GPIO1_IO9 0x59
MX7D_PAD_GPIO1_IO10__GPIO1_IO10 0x59
>;
};
};
&pwm2 {
status = "disabled";
};
&pwm3 {
status = "disabled";
};
|