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