xref: /freebsd-src/sys/contrib/device-tree/src/arm/nxp/imx/imx6dl-yapp4-common.dtsi (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0
2*f126890aSEmmanuel Vadot//
3*f126890aSEmmanuel Vadot// Copyright (C) 2015-2018 Y Soft Corporation, a.s.
4*f126890aSEmmanuel Vadot
5*f126890aSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
6*f126890aSEmmanuel Vadot#include <dt-bindings/interrupt-controller/irq.h>
7*f126890aSEmmanuel Vadot#include <dt-bindings/input/input.h>
8*f126890aSEmmanuel Vadot#include <dt-bindings/leds/common.h>
9*f126890aSEmmanuel Vadot#include <dt-bindings/pwm/pwm.h>
10*f126890aSEmmanuel Vadot
11*f126890aSEmmanuel Vadot/ {
12*f126890aSEmmanuel Vadot	aliases: aliases {
13*f126890aSEmmanuel Vadot		ethernet1 = &eth1;
14*f126890aSEmmanuel Vadot		ethernet2 = &eth2;
15*f126890aSEmmanuel Vadot		mmc0 = &usdhc3;
16*f126890aSEmmanuel Vadot		mmc1 = &usdhc4;
17*f126890aSEmmanuel Vadot	};
18*f126890aSEmmanuel Vadot
19*f126890aSEmmanuel Vadot	backlight: backlight {
20*f126890aSEmmanuel Vadot		compatible = "pwm-backlight";
21*f126890aSEmmanuel Vadot		pwms = <&pwm1 0 500000 PWM_POLARITY_INVERTED>;
22*f126890aSEmmanuel Vadot		brightness-levels = <0 32 64 128 255>;
23*f126890aSEmmanuel Vadot		default-brightness-level = <32>;
24*f126890aSEmmanuel Vadot		num-interpolated-steps = <8>;
25*f126890aSEmmanuel Vadot		power-supply = <&sw2_reg>;
26*f126890aSEmmanuel Vadot		status = "disabled";
27*f126890aSEmmanuel Vadot	};
28*f126890aSEmmanuel Vadot
29*f126890aSEmmanuel Vadot	lcd_display: display {
30*f126890aSEmmanuel Vadot		compatible = "fsl,imx-parallel-display";
31*f126890aSEmmanuel Vadot		#address-cells = <1>;
32*f126890aSEmmanuel Vadot		#size-cells = <0>;
33*f126890aSEmmanuel Vadot		interface-pix-fmt = "rgb24";
34*f126890aSEmmanuel Vadot		pinctrl-names = "default";
35*f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_ipu1>;
36*f126890aSEmmanuel Vadot		status = "disabled";
37*f126890aSEmmanuel Vadot
38*f126890aSEmmanuel Vadot		port@0 {
39*f126890aSEmmanuel Vadot			reg = <0>;
40*f126890aSEmmanuel Vadot
41*f126890aSEmmanuel Vadot			lcd_display_in: endpoint {
42*f126890aSEmmanuel Vadot				remote-endpoint = <&ipu1_di0_disp0>;
43*f126890aSEmmanuel Vadot			};
44*f126890aSEmmanuel Vadot		};
45*f126890aSEmmanuel Vadot
46*f126890aSEmmanuel Vadot		port@1 {
47*f126890aSEmmanuel Vadot			reg = <1>;
48*f126890aSEmmanuel Vadot
49*f126890aSEmmanuel Vadot			lcd_display_out: endpoint {
50*f126890aSEmmanuel Vadot				remote-endpoint = <&lcd_panel_in>;
51*f126890aSEmmanuel Vadot			};
52*f126890aSEmmanuel Vadot		};
53*f126890aSEmmanuel Vadot	};
54*f126890aSEmmanuel Vadot
55*f126890aSEmmanuel Vadot	panel: panel {
56*f126890aSEmmanuel Vadot		compatible = "dataimage,scf0700c48ggu18";
57*f126890aSEmmanuel Vadot		power-supply = <&sw2_reg>;
58*f126890aSEmmanuel Vadot		backlight = <&backlight>;
59*f126890aSEmmanuel Vadot		status = "disabled";
60*f126890aSEmmanuel Vadot
61*f126890aSEmmanuel Vadot		port {
62*f126890aSEmmanuel Vadot			lcd_panel_in: endpoint {
63*f126890aSEmmanuel Vadot				remote-endpoint = <&lcd_display_out>;
64*f126890aSEmmanuel Vadot			};
65*f126890aSEmmanuel Vadot		};
66*f126890aSEmmanuel Vadot	};
67*f126890aSEmmanuel Vadot
68*f126890aSEmmanuel Vadot	reg_pcie: regulator-pcie {
69*f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
70*f126890aSEmmanuel Vadot		pinctrl-names = "default";
71*f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_pcie_reg>;
72*f126890aSEmmanuel Vadot		regulator-name = "MPCIE_3V3";
73*f126890aSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
74*f126890aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
75*f126890aSEmmanuel Vadot		gpio = <&gpio3 19 GPIO_ACTIVE_HIGH>;
76*f126890aSEmmanuel Vadot		enable-active-high;
77*f126890aSEmmanuel Vadot		status = "disabled";
78*f126890aSEmmanuel Vadot	};
79*f126890aSEmmanuel Vadot
80*f126890aSEmmanuel Vadot	reg_usb_h1_vbus: regulator-usb-h1-vbus {
81*f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
82*f126890aSEmmanuel Vadot		pinctrl-names = "default";
83*f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_usbh1_vbus>;
84*f126890aSEmmanuel Vadot		regulator-name = "usb_h1_vbus";
85*f126890aSEmmanuel Vadot		regulator-min-microvolt = <5000000>;
86*f126890aSEmmanuel Vadot		regulator-max-microvolt = <5000000>;
87*f126890aSEmmanuel Vadot		gpio = <&gpio1 29 GPIO_ACTIVE_HIGH>;
88*f126890aSEmmanuel Vadot		enable-active-high;
89*f126890aSEmmanuel Vadot		status = "disabled";
90*f126890aSEmmanuel Vadot	};
91*f126890aSEmmanuel Vadot
92*f126890aSEmmanuel Vadot	reg_usb_otg_vbus: regulator-usb-otg-vbus {
93*f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
94*f126890aSEmmanuel Vadot		pinctrl-names = "default";
95*f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_usbotg_vbus>;
96*f126890aSEmmanuel Vadot		regulator-name = "usb_otg_vbus";
97*f126890aSEmmanuel Vadot		regulator-min-microvolt = <5000000>;
98*f126890aSEmmanuel Vadot		regulator-max-microvolt = <5000000>;
99*f126890aSEmmanuel Vadot		gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>;
100*f126890aSEmmanuel Vadot		enable-active-high;
101*f126890aSEmmanuel Vadot	};
102*f126890aSEmmanuel Vadot};
103*f126890aSEmmanuel Vadot
104*f126890aSEmmanuel Vadot&fec {
105*f126890aSEmmanuel Vadot	pinctrl-names = "default";
106*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_enet>;
107*f126890aSEmmanuel Vadot	phy-mode = "rgmii-id";
108*f126890aSEmmanuel Vadot	phy-supply = <&sw2_reg>;
109*f126890aSEmmanuel Vadot	status = "okay";
110*f126890aSEmmanuel Vadot
111*f126890aSEmmanuel Vadot	fixed-link {
112*f126890aSEmmanuel Vadot		speed = <1000>;
113*f126890aSEmmanuel Vadot		full-duplex;
114*f126890aSEmmanuel Vadot	};
115*f126890aSEmmanuel Vadot
116*f126890aSEmmanuel Vadot	mdio {
117*f126890aSEmmanuel Vadot		#address-cells = <1>;
118*f126890aSEmmanuel Vadot		#size-cells = <0>;
119*f126890aSEmmanuel Vadot
120*f126890aSEmmanuel Vadot		phy_port2: phy@1 {
121*f126890aSEmmanuel Vadot			reg = <1>;
122*f126890aSEmmanuel Vadot		};
123*f126890aSEmmanuel Vadot
124*f126890aSEmmanuel Vadot		phy_port3: phy@2 {
125*f126890aSEmmanuel Vadot			reg = <2>;
126*f126890aSEmmanuel Vadot		};
127*f126890aSEmmanuel Vadot
128*f126890aSEmmanuel Vadot		switch@10 {
129*f126890aSEmmanuel Vadot			compatible = "qca,qca8334";
130*f126890aSEmmanuel Vadot			reg = <10>;
131*f126890aSEmmanuel Vadot			reset-gpios = <&gpio1 25 GPIO_ACTIVE_LOW>;
132*f126890aSEmmanuel Vadot
133*f126890aSEmmanuel Vadot			switch_ports: ports {
134*f126890aSEmmanuel Vadot				#address-cells = <1>;
135*f126890aSEmmanuel Vadot				#size-cells = <0>;
136*f126890aSEmmanuel Vadot
137*f126890aSEmmanuel Vadot				ethphy0: port@0 {
138*f126890aSEmmanuel Vadot					reg = <0>;
139*f126890aSEmmanuel Vadot					label = "cpu";
140*f126890aSEmmanuel Vadot					phy-mode = "rgmii-id";
141*f126890aSEmmanuel Vadot					ethernet = <&fec>;
142*f126890aSEmmanuel Vadot
143*f126890aSEmmanuel Vadot					fixed-link {
144*f126890aSEmmanuel Vadot						speed = <1000>;
145*f126890aSEmmanuel Vadot						full-duplex;
146*f126890aSEmmanuel Vadot					};
147*f126890aSEmmanuel Vadot				};
148*f126890aSEmmanuel Vadot
149*f126890aSEmmanuel Vadot				eth2: port@2 {
150*f126890aSEmmanuel Vadot					reg = <2>;
151*f126890aSEmmanuel Vadot					label = "eth2";
152*f126890aSEmmanuel Vadot					phy-handle = <&phy_port2>;
153*f126890aSEmmanuel Vadot				};
154*f126890aSEmmanuel Vadot
155*f126890aSEmmanuel Vadot				eth1: port@3 {
156*f126890aSEmmanuel Vadot					reg = <3>;
157*f126890aSEmmanuel Vadot					label = "eth1";
158*f126890aSEmmanuel Vadot					phy-handle = <&phy_port3>;
159*f126890aSEmmanuel Vadot				};
160*f126890aSEmmanuel Vadot			};
161*f126890aSEmmanuel Vadot		};
162*f126890aSEmmanuel Vadot	};
163*f126890aSEmmanuel Vadot};
164*f126890aSEmmanuel Vadot
165*f126890aSEmmanuel Vadot&hdmi {
166*f126890aSEmmanuel Vadot	pinctrl-names = "default";
167*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_hdmi_cec>;
168*f126890aSEmmanuel Vadot	ddc-i2c-bus = <&i2c2>;
169*f126890aSEmmanuel Vadot	status = "disabled";
170*f126890aSEmmanuel Vadot};
171*f126890aSEmmanuel Vadot
172*f126890aSEmmanuel Vadot&i2c2 {
173*f126890aSEmmanuel Vadot	clock-frequency = <100000>;
174*f126890aSEmmanuel Vadot	pinctrl-names = "default";
175*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_i2c2>;
176*f126890aSEmmanuel Vadot	status = "okay";
177*f126890aSEmmanuel Vadot
178*f126890aSEmmanuel Vadot	pmic@8 {
179*f126890aSEmmanuel Vadot		compatible = "fsl,pfuze200";
180*f126890aSEmmanuel Vadot		pinctrl-names = "default";
181*f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_pmic>;
182*f126890aSEmmanuel Vadot		reg = <0x8>;
183*f126890aSEmmanuel Vadot
184*f126890aSEmmanuel Vadot		regulators {
185*f126890aSEmmanuel Vadot			sw1a_reg: sw1ab {
186*f126890aSEmmanuel Vadot				regulator-min-microvolt = <300000>;
187*f126890aSEmmanuel Vadot				regulator-max-microvolt = <1875000>;
188*f126890aSEmmanuel Vadot				regulator-boot-on;
189*f126890aSEmmanuel Vadot				regulator-always-on;
190*f126890aSEmmanuel Vadot				regulator-ramp-delay = <6250>;
191*f126890aSEmmanuel Vadot			};
192*f126890aSEmmanuel Vadot
193*f126890aSEmmanuel Vadot			sw2_reg: sw2 {
194*f126890aSEmmanuel Vadot				regulator-min-microvolt = <800000>;
195*f126890aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
196*f126890aSEmmanuel Vadot				regulator-boot-on;
197*f126890aSEmmanuel Vadot				regulator-always-on;
198*f126890aSEmmanuel Vadot			};
199*f126890aSEmmanuel Vadot
200*f126890aSEmmanuel Vadot			sw3a_reg: sw3a {
201*f126890aSEmmanuel Vadot				regulator-min-microvolt = <400000>;
202*f126890aSEmmanuel Vadot				regulator-max-microvolt = <1975000>;
203*f126890aSEmmanuel Vadot				regulator-boot-on;
204*f126890aSEmmanuel Vadot				regulator-always-on;
205*f126890aSEmmanuel Vadot			};
206*f126890aSEmmanuel Vadot
207*f126890aSEmmanuel Vadot			sw3b_reg: sw3b {
208*f126890aSEmmanuel Vadot				regulator-min-microvolt = <400000>;
209*f126890aSEmmanuel Vadot				regulator-max-microvolt = <1975000>;
210*f126890aSEmmanuel Vadot				regulator-boot-on;
211*f126890aSEmmanuel Vadot				regulator-always-on;
212*f126890aSEmmanuel Vadot			};
213*f126890aSEmmanuel Vadot
214*f126890aSEmmanuel Vadot			swbst_reg: swbst {
215*f126890aSEmmanuel Vadot				regulator-min-microvolt = <5000000>;
216*f126890aSEmmanuel Vadot				regulator-max-microvolt = <5150000>;
217*f126890aSEmmanuel Vadot			};
218*f126890aSEmmanuel Vadot
219*f126890aSEmmanuel Vadot			vgen1_reg: vgen1 {
220*f126890aSEmmanuel Vadot				regulator-min-microvolt = <800000>;
221*f126890aSEmmanuel Vadot				regulator-max-microvolt = <1550000>;
222*f126890aSEmmanuel Vadot			};
223*f126890aSEmmanuel Vadot
224*f126890aSEmmanuel Vadot			vgen2_reg: vgen2 {
225*f126890aSEmmanuel Vadot				regulator-min-microvolt = <800000>;
226*f126890aSEmmanuel Vadot				regulator-max-microvolt = <1550000>;
227*f126890aSEmmanuel Vadot			};
228*f126890aSEmmanuel Vadot
229*f126890aSEmmanuel Vadot			vgen3_reg: vgen3 {
230*f126890aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
231*f126890aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
232*f126890aSEmmanuel Vadot				regulator-always-on;
233*f126890aSEmmanuel Vadot			};
234*f126890aSEmmanuel Vadot
235*f126890aSEmmanuel Vadot			vgen4_reg: vgen4 {
236*f126890aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
237*f126890aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
238*f126890aSEmmanuel Vadot				regulator-always-on;
239*f126890aSEmmanuel Vadot			};
240*f126890aSEmmanuel Vadot
241*f126890aSEmmanuel Vadot			vgen5_reg: vgen5 {
242*f126890aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
243*f126890aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
244*f126890aSEmmanuel Vadot				regulator-always-on;
245*f126890aSEmmanuel Vadot			};
246*f126890aSEmmanuel Vadot
247*f126890aSEmmanuel Vadot			vgen6_reg: vgen6 {
248*f126890aSEmmanuel Vadot				regulator-min-microvolt = <1800000>;
249*f126890aSEmmanuel Vadot				regulator-max-microvolt = <3300000>;
250*f126890aSEmmanuel Vadot				regulator-always-on;
251*f126890aSEmmanuel Vadot			};
252*f126890aSEmmanuel Vadot
253*f126890aSEmmanuel Vadot			vref_reg: vrefddr {
254*f126890aSEmmanuel Vadot				regulator-boot-on;
255*f126890aSEmmanuel Vadot				regulator-always-on;
256*f126890aSEmmanuel Vadot			};
257*f126890aSEmmanuel Vadot
258*f126890aSEmmanuel Vadot			vsnvs_reg: vsnvs {
259*f126890aSEmmanuel Vadot				regulator-min-microvolt = <1000000>;
260*f126890aSEmmanuel Vadot				regulator-max-microvolt = <3000000>;
261*f126890aSEmmanuel Vadot				regulator-boot-on;
262*f126890aSEmmanuel Vadot				regulator-always-on;
263*f126890aSEmmanuel Vadot			};
264*f126890aSEmmanuel Vadot		};
265*f126890aSEmmanuel Vadot	};
266*f126890aSEmmanuel Vadot
267*f126890aSEmmanuel Vadot	leds: led-controller@30 {
268*f126890aSEmmanuel Vadot		compatible = "ti,lp5562";
269*f126890aSEmmanuel Vadot		reg = <0x30>;
270*f126890aSEmmanuel Vadot		clock-mode = /bits/ 8 <1>;
271*f126890aSEmmanuel Vadot		#address-cells = <1>;
272*f126890aSEmmanuel Vadot		#size-cells = <0>;
273*f126890aSEmmanuel Vadot		status = "disabled";
274*f126890aSEmmanuel Vadot
275*f126890aSEmmanuel Vadot		led@0 {
276*f126890aSEmmanuel Vadot			chan-name = "R";
277*f126890aSEmmanuel Vadot			led-cur = /bits/ 8 <0x20>;
278*f126890aSEmmanuel Vadot			max-cur = /bits/ 8 <0x60>;
279*f126890aSEmmanuel Vadot			reg = <0>;
280*f126890aSEmmanuel Vadot			color = <LED_COLOR_ID_RED>;
281*f126890aSEmmanuel Vadot		};
282*f126890aSEmmanuel Vadot
283*f126890aSEmmanuel Vadot		led@1 {
284*f126890aSEmmanuel Vadot			chan-name = "G";
285*f126890aSEmmanuel Vadot			led-cur = /bits/ 8 <0x20>;
286*f126890aSEmmanuel Vadot			max-cur = /bits/ 8 <0x60>;
287*f126890aSEmmanuel Vadot			reg = <1>;
288*f126890aSEmmanuel Vadot			color = <LED_COLOR_ID_GREEN>;
289*f126890aSEmmanuel Vadot		};
290*f126890aSEmmanuel Vadot
291*f126890aSEmmanuel Vadot		led@2 {
292*f126890aSEmmanuel Vadot			chan-name = "B";
293*f126890aSEmmanuel Vadot			led-cur = /bits/ 8 <0x20>;
294*f126890aSEmmanuel Vadot			max-cur = /bits/ 8 <0x60>;
295*f126890aSEmmanuel Vadot			reg = <2>;
296*f126890aSEmmanuel Vadot			color = <LED_COLOR_ID_BLUE>;
297*f126890aSEmmanuel Vadot		};
298*f126890aSEmmanuel Vadot	};
299*f126890aSEmmanuel Vadot
300*f126890aSEmmanuel Vadot	eeprom@57 {
301*f126890aSEmmanuel Vadot		compatible = "atmel,24c128";
302*f126890aSEmmanuel Vadot		reg = <0x57>;
303*f126890aSEmmanuel Vadot		pagesize = <64>;
304*f126890aSEmmanuel Vadot	};
305*f126890aSEmmanuel Vadot
306*f126890aSEmmanuel Vadot	touchscreen: touchscreen@5c {
307*f126890aSEmmanuel Vadot		compatible = "pixcir,pixcir_tangoc";
308*f126890aSEmmanuel Vadot		reg = <0x5c>;
309*f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_touch>;
310*f126890aSEmmanuel Vadot		interrupt-parent = <&gpio4>;
311*f126890aSEmmanuel Vadot		interrupts = <5 IRQ_TYPE_EDGE_FALLING>;
312*f126890aSEmmanuel Vadot		attb-gpio = <&gpio4 5 GPIO_ACTIVE_HIGH>;
313*f126890aSEmmanuel Vadot		reset-gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
314*f126890aSEmmanuel Vadot		touchscreen-size-x = <800>;
315*f126890aSEmmanuel Vadot		touchscreen-size-y = <480>;
316*f126890aSEmmanuel Vadot		status = "disabled";
317*f126890aSEmmanuel Vadot	};
318*f126890aSEmmanuel Vadot};
319*f126890aSEmmanuel Vadot
320*f126890aSEmmanuel Vadot&i2c3 {
321*f126890aSEmmanuel Vadot	clock-frequency = <100000>;
322*f126890aSEmmanuel Vadot	pinctrl-names = "default";
323*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_i2c3>;
324*f126890aSEmmanuel Vadot	status = "okay";
325*f126890aSEmmanuel Vadot
326*f126890aSEmmanuel Vadot	oled_1309: oled@3c {
327*f126890aSEmmanuel Vadot		compatible = "solomon,ssd1309fb-i2c";
328*f126890aSEmmanuel Vadot		reg = <0x3c>;
329*f126890aSEmmanuel Vadot		solomon,height = <64>;
330*f126890aSEmmanuel Vadot		solomon,width = <128>;
331*f126890aSEmmanuel Vadot		solomon,page-offset = <0>;
332*f126890aSEmmanuel Vadot		solomon,segment-no-remap;
333*f126890aSEmmanuel Vadot		solomon,prechargep2 = <15>;
334*f126890aSEmmanuel Vadot		reset-gpios = <&gpio_oled 1 GPIO_ACTIVE_LOW>;
335*f126890aSEmmanuel Vadot		vbat-supply = <&sw2_reg>;
336*f126890aSEmmanuel Vadot		status = "disabled";
337*f126890aSEmmanuel Vadot	};
338*f126890aSEmmanuel Vadot
339*f126890aSEmmanuel Vadot	oled_1305: oled@3d {
340*f126890aSEmmanuel Vadot		compatible = "solomon,ssd1305fb-i2c";
341*f126890aSEmmanuel Vadot		reg = <0x3d>;
342*f126890aSEmmanuel Vadot		solomon,height = <64>;
343*f126890aSEmmanuel Vadot		solomon,width = <128>;
344*f126890aSEmmanuel Vadot		solomon,page-offset = <0>;
345*f126890aSEmmanuel Vadot		solomon,col-offset = <4>;
346*f126890aSEmmanuel Vadot		solomon,prechargep2 = <15>;
347*f126890aSEmmanuel Vadot		reset-gpios = <&gpio_oled 1 GPIO_ACTIVE_LOW>;
348*f126890aSEmmanuel Vadot		vbat-supply = <&sw2_reg>;
349*f126890aSEmmanuel Vadot		status = "disabled";
350*f126890aSEmmanuel Vadot	};
351*f126890aSEmmanuel Vadot
352*f126890aSEmmanuel Vadot	gpio_oled: gpio@41 {
353*f126890aSEmmanuel Vadot		compatible = "nxp,pca9536";
354*f126890aSEmmanuel Vadot		gpio-controller;
355*f126890aSEmmanuel Vadot		#gpio-cells = <2>;
356*f126890aSEmmanuel Vadot		reg = <0x41>;
357*f126890aSEmmanuel Vadot		vcc-supply = <&sw2_reg>;
358*f126890aSEmmanuel Vadot		status = "disabled";
359*f126890aSEmmanuel Vadot	};
360*f126890aSEmmanuel Vadot
361*f126890aSEmmanuel Vadot	touchkeys: keys@5a {
362*f126890aSEmmanuel Vadot		compatible = "fsl,mpr121-touchkey";
363*f126890aSEmmanuel Vadot		reg = <0x5a>;
364*f126890aSEmmanuel Vadot		vdd-supply = <&sw2_reg>;
365*f126890aSEmmanuel Vadot		autorepeat;
366*f126890aSEmmanuel Vadot		linux,keycodes = <KEY_1>, <KEY_2>, <KEY_3>, <KEY_4>, <KEY_5>,
367*f126890aSEmmanuel Vadot				<KEY_6>, <KEY_7>, <KEY_8>, <KEY_9>,
368*f126890aSEmmanuel Vadot				<KEY_BACKSPACE>, <KEY_0>, <KEY_ENTER>;
369*f126890aSEmmanuel Vadot		poll-interval = <50>;
370*f126890aSEmmanuel Vadot		status = "disabled";
371*f126890aSEmmanuel Vadot	};
372*f126890aSEmmanuel Vadot};
373*f126890aSEmmanuel Vadot
374*f126890aSEmmanuel Vadot&iomuxc {
375*f126890aSEmmanuel Vadot	pinctrl_enet: enetgrp {
376*f126890aSEmmanuel Vadot		fsl,pins = <
377*f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_MDIO__ENET_MDIO		0x1b020
378*f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_MDC__ENET_MDC		0x1b020
379*f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_TXC__RGMII_TXC		0x1b020
380*f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_TD0__RGMII_TD0		0x1b020
381*f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_TD1__RGMII_TD1		0x1b020
382*f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_TD2__RGMII_TD2		0x1b020
383*f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_TD3__RGMII_TD3		0x1b020
384*f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_TX_CTL__RGMII_TX_CTL	0x1b020
385*f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_RXC__RGMII_RXC		0x1b020
386*f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_RD0__RGMII_RD0		0x1b020
387*f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_RD1__RGMII_RD1		0x1b020
388*f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_RD2__RGMII_RD2		0x1b020
389*f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_RD3__RGMII_RD3		0x1b020
390*f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL	0x1b020
391*f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK	0x1b010
392*f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_16__ENET_REF_CLK	0x1b010
393*f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_CRS_DV__GPIO1_IO25	0x1b098
394*f126890aSEmmanuel Vadot		>;
395*f126890aSEmmanuel Vadot	};
396*f126890aSEmmanuel Vadot
397*f126890aSEmmanuel Vadot	pinctrl_hdmi_cec: hdmicecgrp {
398*f126890aSEmmanuel Vadot		fsl,pins = <
399*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_A25__HDMI_TX_CEC_LINE	0x1b898
400*f126890aSEmmanuel Vadot		>;
401*f126890aSEmmanuel Vadot	};
402*f126890aSEmmanuel Vadot
403*f126890aSEmmanuel Vadot	pinctrl_i2c2: i2c2grp {
404*f126890aSEmmanuel Vadot		fsl,pins = <
405*f126890aSEmmanuel Vadot			MX6QDL_PAD_KEY_COL3__I2C2_SCL	0x4001b899
406*f126890aSEmmanuel Vadot			MX6QDL_PAD_KEY_ROW3__I2C2_SDA	0x4001b899
407*f126890aSEmmanuel Vadot		>;
408*f126890aSEmmanuel Vadot	};
409*f126890aSEmmanuel Vadot
410*f126890aSEmmanuel Vadot	pinctrl_i2c3: i2c3grp {
411*f126890aSEmmanuel Vadot		fsl,pins = <
412*f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_3__I2C3_SCL	0x4001b899
413*f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_6__I2C3_SDA	0x4001b899
414*f126890aSEmmanuel Vadot		>;
415*f126890aSEmmanuel Vadot	};
416*f126890aSEmmanuel Vadot
417*f126890aSEmmanuel Vadot	pinctrl_ipu1: ipu1grp {
418*f126890aSEmmanuel Vadot		fsl,pins = <
419*f126890aSEmmanuel Vadot			MX6QDL_PAD_DI0_DISP_CLK__IPU1_DI0_DISP_CLK	0x10
420*f126890aSEmmanuel Vadot			MX6QDL_PAD_DI0_PIN2__IPU1_DI0_PIN02		0x10
421*f126890aSEmmanuel Vadot			MX6QDL_PAD_DI0_PIN3__IPU1_DI0_PIN03		0x10
422*f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT0__IPU1_DISP0_DATA00	0x10
423*f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT1__IPU1_DISP0_DATA01	0x10
424*f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT2__IPU1_DISP0_DATA02	0x10
425*f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT3__IPU1_DISP0_DATA03	0x10
426*f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT4__IPU1_DISP0_DATA04	0x10
427*f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT5__IPU1_DISP0_DATA05	0x10
428*f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT6__IPU1_DISP0_DATA06	0x10
429*f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT7__IPU1_DISP0_DATA07	0x10
430*f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT8__IPU1_DISP0_DATA08	0x10
431*f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT9__IPU1_DISP0_DATA09	0x10
432*f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT10__IPU1_DISP0_DATA10	0x10
433*f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT11__IPU1_DISP0_DATA11	0x10
434*f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT12__IPU1_DISP0_DATA12	0x10
435*f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT13__IPU1_DISP0_DATA13	0x10
436*f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT14__IPU1_DISP0_DATA14	0x10
437*f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT15__IPU1_DISP0_DATA15	0x10
438*f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT16__IPU1_DISP0_DATA16	0x10
439*f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT17__IPU1_DISP0_DATA17	0x10
440*f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT18__IPU1_DISP0_DATA18	0x10
441*f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT19__IPU1_DISP0_DATA19	0x10
442*f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT20__IPU1_DISP0_DATA20	0x10
443*f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT21__IPU1_DISP0_DATA21	0x10
444*f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT22__IPU1_DISP0_DATA22	0x10
445*f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT23__IPU1_DISP0_DATA23	0x10
446*f126890aSEmmanuel Vadot		>;
447*f126890aSEmmanuel Vadot	};
448*f126890aSEmmanuel Vadot
449*f126890aSEmmanuel Vadot	pinctrl_pcie: pciegrp {
450*f126890aSEmmanuel Vadot		fsl,pins = <
451*f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_17__GPIO7_IO12		0x1b098
452*f126890aSEmmanuel Vadot			MX6QDL_PAD_KEY_COL4__GPIO4_IO14		0x1b098
453*f126890aSEmmanuel Vadot			MX6QDL_PAD_CSI0_DATA_EN__GPIO5_IO20	0x1b098
454*f126890aSEmmanuel Vadot		>;
455*f126890aSEmmanuel Vadot	};
456*f126890aSEmmanuel Vadot
457*f126890aSEmmanuel Vadot	pinctrl_pcie_reg: pciereggrp {
458*f126890aSEmmanuel Vadot		fsl,pins = <
459*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D19__GPIO3_IO19	0x1b098
460*f126890aSEmmanuel Vadot		>;
461*f126890aSEmmanuel Vadot	};
462*f126890aSEmmanuel Vadot
463*f126890aSEmmanuel Vadot	pinctrl_pmic: pmicgrp {
464*f126890aSEmmanuel Vadot		fsl,pins = <
465*f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_18__GPIO7_IO13	0x1b098
466*f126890aSEmmanuel Vadot		>;
467*f126890aSEmmanuel Vadot	};
468*f126890aSEmmanuel Vadot
469*f126890aSEmmanuel Vadot	pinctrl_pwm1: pwm1grp {
470*f126890aSEmmanuel Vadot		fsl,pins = <
471*f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_9__PWM1_OUT	0x8
472*f126890aSEmmanuel Vadot		>;
473*f126890aSEmmanuel Vadot	};
474*f126890aSEmmanuel Vadot
475*f126890aSEmmanuel Vadot	pinctrl_touch: touchgrp {
476*f126890aSEmmanuel Vadot		fsl,pins = <
477*f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_19__GPIO4_IO05	0x1b098
478*f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_2__GPIO1_IO02	0x1b098
479*f126890aSEmmanuel Vadot		>;
480*f126890aSEmmanuel Vadot	};
481*f126890aSEmmanuel Vadot
482*f126890aSEmmanuel Vadot	pinctrl_uart1: uart1grp {
483*f126890aSEmmanuel Vadot		fsl,pins = <
484*f126890aSEmmanuel Vadot			MX6QDL_PAD_CSI0_DAT10__UART1_TX_DATA	0x1b0a8
485*f126890aSEmmanuel Vadot			MX6QDL_PAD_CSI0_DAT11__UART1_RX_DATA	0x1b0a8
486*f126890aSEmmanuel Vadot		>;
487*f126890aSEmmanuel Vadot	};
488*f126890aSEmmanuel Vadot
489*f126890aSEmmanuel Vadot	pinctrl_uart2: uart2grp {
490*f126890aSEmmanuel Vadot		fsl,pins = <
491*f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_7__UART2_TX_DATA	0x1b098
492*f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_8__UART2_RX_DATA	0x1b098
493*f126890aSEmmanuel Vadot		>;
494*f126890aSEmmanuel Vadot	};
495*f126890aSEmmanuel Vadot
496*f126890aSEmmanuel Vadot	pinctrl_usbh1: usbh1grp {
497*f126890aSEmmanuel Vadot		fsl,pins = <
498*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D30__USB_H1_OC	0x1b098
499*f126890aSEmmanuel Vadot		>;
500*f126890aSEmmanuel Vadot	};
501*f126890aSEmmanuel Vadot
502*f126890aSEmmanuel Vadot	pinctrl_usbh1_vbus: usbh1-vbus {
503*f126890aSEmmanuel Vadot		fsl,pins = <
504*f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_TXD1__GPIO1_IO29	0x98
505*f126890aSEmmanuel Vadot		>;
506*f126890aSEmmanuel Vadot	};
507*f126890aSEmmanuel Vadot
508*f126890aSEmmanuel Vadot	pinctrl_usbotg: usbotggrp {
509*f126890aSEmmanuel Vadot		fsl,pins = <
510*f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_RX_ER__USB_OTG_ID	0x1b098
511*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D21__USB_OTG_OC		0x1b098
512*f126890aSEmmanuel Vadot		>;
513*f126890aSEmmanuel Vadot	};
514*f126890aSEmmanuel Vadot
515*f126890aSEmmanuel Vadot	pinctrl_usbotg_vbus: usbotg-vbus {
516*f126890aSEmmanuel Vadot		fsl,pins = <
517*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D22__GPIO3_IO22	0x98
518*f126890aSEmmanuel Vadot		>;
519*f126890aSEmmanuel Vadot	};
520*f126890aSEmmanuel Vadot
521*f126890aSEmmanuel Vadot	pinctrl_usdhc3: usdhc3grp {
522*f126890aSEmmanuel Vadot		fsl,pins = <
523*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_A16__GPIO2_IO22	0x1b018
524*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_RST__GPIO7_IO08	0x1b018
525*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_CMD__SD3_CMD	0x17059
526*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_CLK__SD3_CLK	0x10059
527*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT0__SD3_DATA0	0x17059
528*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT1__SD3_DATA1	0x17059
529*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT2__SD3_DATA2	0x17059
530*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT3__SD3_DATA3	0x17059
531*f126890aSEmmanuel Vadot		>;
532*f126890aSEmmanuel Vadot	};
533*f126890aSEmmanuel Vadot
534*f126890aSEmmanuel Vadot	pinctrl_usdhc4: usdhc4grp {
535*f126890aSEmmanuel Vadot		fsl,pins = <
536*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD4_CMD__SD4_CMD	0x1f069
537*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD4_CLK__SD4_CLK	0x10069
538*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD4_DAT0__SD4_DATA0	0x17069
539*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD4_DAT1__SD4_DATA1	0x17069
540*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD4_DAT2__SD4_DATA2	0x17069
541*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD4_DAT3__SD4_DATA3	0x17069
542*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD4_DAT4__SD4_DATA4	0x17069
543*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD4_DAT5__SD4_DATA5	0x17069
544*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD4_DAT6__SD4_DATA6	0x17069
545*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD4_DAT7__SD4_DATA7	0x17069
546*f126890aSEmmanuel Vadot		>;
547*f126890aSEmmanuel Vadot	};
548*f126890aSEmmanuel Vadot
549*f126890aSEmmanuel Vadot	pinctrl_wdog: wdoggrp {
550*f126890aSEmmanuel Vadot		fsl,pins = <
551*f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_1__WDOG2_B	0x1b0b0
552*f126890aSEmmanuel Vadot		>;
553*f126890aSEmmanuel Vadot	};
554*f126890aSEmmanuel Vadot};
555*f126890aSEmmanuel Vadot
556*f126890aSEmmanuel Vadot&ipu1_di0_disp0 {
557*f126890aSEmmanuel Vadot	remote-endpoint = <&lcd_display_in>;
558*f126890aSEmmanuel Vadot};
559*f126890aSEmmanuel Vadot
560*f126890aSEmmanuel Vadot&pcie {
561*f126890aSEmmanuel Vadot	pinctrl-names = "default";
562*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_pcie>;
563*f126890aSEmmanuel Vadot	reset-gpio = <&gpio7 12 GPIO_ACTIVE_LOW>;
564*f126890aSEmmanuel Vadot	vpcie-supply = <&reg_pcie>;
565*f126890aSEmmanuel Vadot	status = "disabled";
566*f126890aSEmmanuel Vadot};
567*f126890aSEmmanuel Vadot
568*f126890aSEmmanuel Vadot&pwm1 {
569*f126890aSEmmanuel Vadot	pinctrl-names = "default";
570*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_pwm1>;
571*f126890aSEmmanuel Vadot	status = "disabled";
572*f126890aSEmmanuel Vadot};
573*f126890aSEmmanuel Vadot
574*f126890aSEmmanuel Vadot&uart1 {
575*f126890aSEmmanuel Vadot	pinctrl-names = "default";
576*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_uart1>;
577*f126890aSEmmanuel Vadot	status = "okay";
578*f126890aSEmmanuel Vadot};
579*f126890aSEmmanuel Vadot
580*f126890aSEmmanuel Vadot&uart2 {
581*f126890aSEmmanuel Vadot	pinctrl-names = "default";
582*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_uart2>;
583*f126890aSEmmanuel Vadot	status = "okay";
584*f126890aSEmmanuel Vadot};
585*f126890aSEmmanuel Vadot
586*f126890aSEmmanuel Vadot&usbh1 {
587*f126890aSEmmanuel Vadot	pinctrl-names = "default";
588*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_usbh1>;
589*f126890aSEmmanuel Vadot	vbus-supply = <&reg_usb_h1_vbus>;
590*f126890aSEmmanuel Vadot	over-current-active-low;
591*f126890aSEmmanuel Vadot	status = "disabled";
592*f126890aSEmmanuel Vadot};
593*f126890aSEmmanuel Vadot
594*f126890aSEmmanuel Vadot&usbotg {
595*f126890aSEmmanuel Vadot	pinctrl-names = "default";
596*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_usbotg>;
597*f126890aSEmmanuel Vadot	vbus-supply = <&reg_usb_otg_vbus>;
598*f126890aSEmmanuel Vadot	over-current-active-low;
599*f126890aSEmmanuel Vadot	srp-disable;
600*f126890aSEmmanuel Vadot	hnp-disable;
601*f126890aSEmmanuel Vadot	adp-disable;
602*f126890aSEmmanuel Vadot	status = "okay";
603*f126890aSEmmanuel Vadot};
604*f126890aSEmmanuel Vadot
605*f126890aSEmmanuel Vadot&usbphy1 {
606*f126890aSEmmanuel Vadot	fsl,tx-d-cal = <106>;
607*f126890aSEmmanuel Vadot	status = "okay";
608*f126890aSEmmanuel Vadot};
609*f126890aSEmmanuel Vadot
610*f126890aSEmmanuel Vadot&usbphy2 {
611*f126890aSEmmanuel Vadot	fsl,tx-d-cal = <109>;
612*f126890aSEmmanuel Vadot	status = "disabled";
613*f126890aSEmmanuel Vadot};
614*f126890aSEmmanuel Vadot
615*f126890aSEmmanuel Vadot&usdhc3 {
616*f126890aSEmmanuel Vadot	pinctrl-names = "default";
617*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_usdhc3>;
618*f126890aSEmmanuel Vadot	bus-width = <4>;
619*f126890aSEmmanuel Vadot	cd-gpios = <&gpio7 8 GPIO_ACTIVE_LOW>;
620*f126890aSEmmanuel Vadot	wp-gpios = <&gpio2 22 GPIO_ACTIVE_HIGH>;
621*f126890aSEmmanuel Vadot	no-1-8-v;
622*f126890aSEmmanuel Vadot	keep-power-in-suspend;
623*f126890aSEmmanuel Vadot	wakeup-source;
624*f126890aSEmmanuel Vadot	vmmc-supply = <&sw2_reg>;
625*f126890aSEmmanuel Vadot	status = "disabled";
626*f126890aSEmmanuel Vadot};
627*f126890aSEmmanuel Vadot
628*f126890aSEmmanuel Vadot&usdhc4 {
629*f126890aSEmmanuel Vadot	pinctrl-names = "default";
630*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_usdhc4>;
631*f126890aSEmmanuel Vadot	bus-width = <8>;
632*f126890aSEmmanuel Vadot	non-removable;
633*f126890aSEmmanuel Vadot	no-1-8-v;
634*f126890aSEmmanuel Vadot	keep-power-in-suspend;
635*f126890aSEmmanuel Vadot	vmmc-supply = <&sw2_reg>;
636*f126890aSEmmanuel Vadot	status = "okay";
637*f126890aSEmmanuel Vadot};
638*f126890aSEmmanuel Vadot
639*f126890aSEmmanuel Vadot&wdog1 {
640*f126890aSEmmanuel Vadot	status = "disabled";
641*f126890aSEmmanuel Vadot};
642*f126890aSEmmanuel Vadot
643*f126890aSEmmanuel Vadot&wdog2 {
644*f126890aSEmmanuel Vadot	pinctrl-names = "default";
645*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_wdog>;
646*f126890aSEmmanuel Vadot	fsl,ext-reset-output;
647*f126890aSEmmanuel Vadot	status = "okay";
648*f126890aSEmmanuel Vadot};
649