1// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2/*
3 * Copyright 2016-2022 Toradex
4 */
5
6/dts-v1/;
7#include "imx7d-colibri.dtsi"
8#include "imx7-colibri-eval-v3.dtsi"
9
10/ {
11	model = "Toradex Colibri iMX7D on Colibri Evaluation Board V3";
12	compatible = "toradex,colibri-imx7d-eval-v3",
13		     "toradex,colibri-imx7d",
14		     "fsl,imx7d";
15};
16
17&ad7879_ts {
18	status = "okay";
19};
20
21/*
22 * The Atmel maxtouch controller uses SODIMM 28/30, also used for PWM<B>, PWM<C>, aka pwm2, pwm3.
23 * So if you enable following capacitive touch controller, disable pwm2/pwm3 first.
24 */
25&atmel_mxt_ts {
26	status = "disabled";
27};
28
29&backlight {
30	status = "okay";
31};
32
33&lcdif {
34	status = "okay";
35};
36
37&panel_dpi {
38	status = "okay";
39};
40
41/* Colibri PWM<B> */
42&pwm2 {
43	/* The pwm2 should be disabled to enable atmel_mxt_ts touchscreen for adapter. */
44	status = "okay";
45};
46
47/* Colibri PWM<C> */
48&pwm3 {
49	/* The pwm3 should be disabled to enable atmel_mxt_ts touchscreen for adapter. */
50	status = "okay";
51};
52
53/* Colibri USBH */
54&usbotg2 {
55	disable-over-current;
56	status = "okay";
57};
58