xref: /freebsd-src/sys/contrib/device-tree/src/arm/nxp/imx/imx6-logicpd-baseboard.dtsi (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0
2*f126890aSEmmanuel Vadot//
3*f126890aSEmmanuel Vadot// Copyright (C) 2019 Logic PD, Inc.
4*f126890aSEmmanuel Vadot
5*f126890aSEmmanuel Vadot/ {
6*f126890aSEmmanuel Vadot	keyboard {
7*f126890aSEmmanuel Vadot		compatible = "gpio-keys";
8*f126890aSEmmanuel Vadot
9*f126890aSEmmanuel Vadot		button-0 {
10*f126890aSEmmanuel Vadot			gpios = <&pcf8575 0 GPIO_ACTIVE_LOW>;
11*f126890aSEmmanuel Vadot			label = "btn0";
12*f126890aSEmmanuel Vadot			linux,code = <KEY_WAKEUP>;
13*f126890aSEmmanuel Vadot			debounce-interval = <10>;
14*f126890aSEmmanuel Vadot			wakeup-source;
15*f126890aSEmmanuel Vadot		};
16*f126890aSEmmanuel Vadot
17*f126890aSEmmanuel Vadot		button-1 {
18*f126890aSEmmanuel Vadot			gpios = <&pcf8575 1 GPIO_ACTIVE_LOW>;
19*f126890aSEmmanuel Vadot			label = "btn1";
20*f126890aSEmmanuel Vadot			linux,code = <KEY_WAKEUP>;
21*f126890aSEmmanuel Vadot			debounce-interval = <10>;
22*f126890aSEmmanuel Vadot			wakeup-source;
23*f126890aSEmmanuel Vadot		};
24*f126890aSEmmanuel Vadot
25*f126890aSEmmanuel Vadot		button-2 {
26*f126890aSEmmanuel Vadot			gpios = <&pcf8575 2 GPIO_ACTIVE_LOW>;
27*f126890aSEmmanuel Vadot			label = "btn2";
28*f126890aSEmmanuel Vadot			linux,code = <KEY_WAKEUP>;
29*f126890aSEmmanuel Vadot			debounce-interval = <10>;
30*f126890aSEmmanuel Vadot			wakeup-source;
31*f126890aSEmmanuel Vadot		};
32*f126890aSEmmanuel Vadot
33*f126890aSEmmanuel Vadot		button-3 {
34*f126890aSEmmanuel Vadot			gpios = <&pcf8575 3 GPIO_ACTIVE_LOW>;
35*f126890aSEmmanuel Vadot			label = "btn3";
36*f126890aSEmmanuel Vadot			linux,code = <KEY_WAKEUP>;
37*f126890aSEmmanuel Vadot			debounce-interval = <10>;
38*f126890aSEmmanuel Vadot			wakeup-source;
39*f126890aSEmmanuel Vadot		};
40*f126890aSEmmanuel Vadot
41*f126890aSEmmanuel Vadot	};
42*f126890aSEmmanuel Vadot
43*f126890aSEmmanuel Vadot	leds {
44*f126890aSEmmanuel Vadot		compatible = "gpio-leds";
45*f126890aSEmmanuel Vadot
46*f126890aSEmmanuel Vadot		gen-led0 {
47*f126890aSEmmanuel Vadot			label = "led0";
48*f126890aSEmmanuel Vadot			pinctrl-names = "default";
49*f126890aSEmmanuel Vadot			pinctrl-0 = <&pinctrl_led0>;
50*f126890aSEmmanuel Vadot			gpios = <&gpio1 30 GPIO_ACTIVE_HIGH>;
51*f126890aSEmmanuel Vadot			linux,default-trigger = "cpu0";
52*f126890aSEmmanuel Vadot		};
53*f126890aSEmmanuel Vadot
54*f126890aSEmmanuel Vadot		gen-led1 {
55*f126890aSEmmanuel Vadot			label = "led1";
56*f126890aSEmmanuel Vadot			gpios = <&pcf8575 8 GPIO_ACTIVE_HIGH>;
57*f126890aSEmmanuel Vadot		};
58*f126890aSEmmanuel Vadot
59*f126890aSEmmanuel Vadot		gen-led2 {
60*f126890aSEmmanuel Vadot			label = "led2";
61*f126890aSEmmanuel Vadot			gpios = <&pcf8575 9 GPIO_ACTIVE_HIGH>;
62*f126890aSEmmanuel Vadot			linux,default-trigger = "heartbeat";
63*f126890aSEmmanuel Vadot		};
64*f126890aSEmmanuel Vadot
65*f126890aSEmmanuel Vadot		gen-led3 {
66*f126890aSEmmanuel Vadot			label = "led3";
67*f126890aSEmmanuel Vadot			gpios = <&pcf8575 10 GPIO_ACTIVE_HIGH>;
68*f126890aSEmmanuel Vadot			linux,default-trigger = "default-on";
69*f126890aSEmmanuel Vadot		};
70*f126890aSEmmanuel Vadot	};
71*f126890aSEmmanuel Vadot
72*f126890aSEmmanuel Vadot	reg_usb_otg_vbus: regulator-otg-vbus {
73*f126890aSEmmanuel Vadot		pinctrl-names = "default";
74*f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_reg_usb_otg>;
75*f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
76*f126890aSEmmanuel Vadot		regulator-name = "usb_otg_vbus";
77*f126890aSEmmanuel Vadot		regulator-min-microvolt = <5000000>;
78*f126890aSEmmanuel Vadot		regulator-max-microvolt = <5000000>;
79*f126890aSEmmanuel Vadot		gpio = <&gpio4 15 GPIO_ACTIVE_HIGH>;
80*f126890aSEmmanuel Vadot		enable-active-high;
81*f126890aSEmmanuel Vadot	};
82*f126890aSEmmanuel Vadot
83*f126890aSEmmanuel Vadot	reg_usb_h1_vbus: regulator-usb-h1-vbus {
84*f126890aSEmmanuel Vadot		pinctrl-names = "default";
85*f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_reg_usb_h1_vbus>;
86*f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
87*f126890aSEmmanuel Vadot		regulator-name = "usb_h1_vbus";
88*f126890aSEmmanuel Vadot		regulator-min-microvolt = <5000000>;
89*f126890aSEmmanuel Vadot		regulator-max-microvolt = <5000000>;
90*f126890aSEmmanuel Vadot		gpio = <&gpio7 12 GPIO_ACTIVE_HIGH>;
91*f126890aSEmmanuel Vadot		startup-delay-us = <70000>;
92*f126890aSEmmanuel Vadot		enable-active-high;
93*f126890aSEmmanuel Vadot	};
94*f126890aSEmmanuel Vadot
95*f126890aSEmmanuel Vadot	reg_3v3: regulator-3v3 {
96*f126890aSEmmanuel Vadot		pinctrl-names = "default";
97*f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_reg_3v3>;
98*f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
99*f126890aSEmmanuel Vadot		regulator-name = "reg_3v3";
100*f126890aSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
101*f126890aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
102*f126890aSEmmanuel Vadot		gpio = <&gpio1 26 GPIO_ACTIVE_HIGH>;
103*f126890aSEmmanuel Vadot		startup-delay-us = <70000>;
104*f126890aSEmmanuel Vadot		enable-active-high;
105*f126890aSEmmanuel Vadot		regulator-always-on;
106*f126890aSEmmanuel Vadot	};
107*f126890aSEmmanuel Vadot
108*f126890aSEmmanuel Vadot	reg_enet: regulator-ethernet {
109*f126890aSEmmanuel Vadot		pinctrl-names = "default";
110*f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_reg_enet>;
111*f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
112*f126890aSEmmanuel Vadot		regulator-name = "ethernet-supply";
113*f126890aSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
114*f126890aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
115*f126890aSEmmanuel Vadot		gpio = <&gpio3 31 GPIO_ACTIVE_HIGH>;
116*f126890aSEmmanuel Vadot		startup-delay-us = <70000>;
117*f126890aSEmmanuel Vadot		enable-active-high;
118*f126890aSEmmanuel Vadot		vin-supply = <&sw4_reg>;
119*f126890aSEmmanuel Vadot	};
120*f126890aSEmmanuel Vadot
121*f126890aSEmmanuel Vadot	reg_audio: regulator-audio {
122*f126890aSEmmanuel Vadot		pinctrl-names = "default";
123*f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_reg_audio>;
124*f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
125*f126890aSEmmanuel Vadot		regulator-name = "3v3_aud";
126*f126890aSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
127*f126890aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
128*f126890aSEmmanuel Vadot		gpio = <&gpio1 29 GPIO_ACTIVE_HIGH>;
129*f126890aSEmmanuel Vadot		enable-active-high;
130*f126890aSEmmanuel Vadot		vin-supply = <&reg_3v3>;
131*f126890aSEmmanuel Vadot	};
132*f126890aSEmmanuel Vadot
133*f126890aSEmmanuel Vadot	reg_hdmi: regulator-hdmi {
134*f126890aSEmmanuel Vadot		pinctrl-names = "default";
135*f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_reg_hdmi>;
136*f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
137*f126890aSEmmanuel Vadot		regulator-name = "hdmi-supply";
138*f126890aSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
139*f126890aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
140*f126890aSEmmanuel Vadot		gpio = <&gpio3 20 GPIO_ACTIVE_HIGH>;
141*f126890aSEmmanuel Vadot		enable-active-high;
142*f126890aSEmmanuel Vadot		vin-supply = <&reg_3v3>;
143*f126890aSEmmanuel Vadot	};
144*f126890aSEmmanuel Vadot
145*f126890aSEmmanuel Vadot	reg_uart3: regulator-uart3 {
146*f126890aSEmmanuel Vadot		pinctrl-names = "default";
147*f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_reg_uart3>;
148*f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
149*f126890aSEmmanuel Vadot		regulator-name = "uart3-supply";
150*f126890aSEmmanuel Vadot		gpio = <&gpio1 28 GPIO_ACTIVE_HIGH>;
151*f126890aSEmmanuel Vadot		enable-active-high;
152*f126890aSEmmanuel Vadot		regulator-always-on;
153*f126890aSEmmanuel Vadot		vin-supply = <&reg_3v3>;
154*f126890aSEmmanuel Vadot	};
155*f126890aSEmmanuel Vadot
156*f126890aSEmmanuel Vadot	reg_1v8: regulator-1v8 {
157*f126890aSEmmanuel Vadot		pinctrl-names = "default";
158*f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_reg_1v8>;
159*f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
160*f126890aSEmmanuel Vadot		regulator-name = "1v8-supply";
161*f126890aSEmmanuel Vadot		gpio = <&gpio3 30 GPIO_ACTIVE_HIGH>;
162*f126890aSEmmanuel Vadot		enable-active-high;
163*f126890aSEmmanuel Vadot		regulator-always-on;
164*f126890aSEmmanuel Vadot		vin-supply = <&reg_3v3>;
165*f126890aSEmmanuel Vadot	};
166*f126890aSEmmanuel Vadot
167*f126890aSEmmanuel Vadot	reg_pcie: regulator-pcie {
168*f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
169*f126890aSEmmanuel Vadot		pinctrl-names = "default";
170*f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_reg_pcie>;
171*f126890aSEmmanuel Vadot		regulator-name = "mpcie_3v3";
172*f126890aSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
173*f126890aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
174*f126890aSEmmanuel Vadot		gpio = <&gpio1 2 GPIO_ACTIVE_HIGH>;
175*f126890aSEmmanuel Vadot		enable-active-high;
176*f126890aSEmmanuel Vadot	};
177*f126890aSEmmanuel Vadot
178*f126890aSEmmanuel Vadot	reg_mipi: regulator-mipi {
179*f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
180*f126890aSEmmanuel Vadot		pinctrl-names = "default";
181*f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_reg_mipi>;
182*f126890aSEmmanuel Vadot		regulator-name = "mipi_pwr_en";
183*f126890aSEmmanuel Vadot		regulator-min-microvolt = <2800000>;
184*f126890aSEmmanuel Vadot		regulator-max-microvolt = <2800000>;
185*f126890aSEmmanuel Vadot		gpio = <&gpio3 19 GPIO_ACTIVE_HIGH>;
186*f126890aSEmmanuel Vadot		enable-active-high;
187*f126890aSEmmanuel Vadot	};
188*f126890aSEmmanuel Vadot
189*f126890aSEmmanuel Vadot	sound {
190*f126890aSEmmanuel Vadot		compatible = "fsl,imx-audio-wm8962";
191*f126890aSEmmanuel Vadot		model = "wm8962-audio";
192*f126890aSEmmanuel Vadot		ssi-controller = <&ssi2>;
193*f126890aSEmmanuel Vadot		audio-codec = <&wm8962>;
194*f126890aSEmmanuel Vadot		audio-routing =
195*f126890aSEmmanuel Vadot			"Headphone Jack", "HPOUTL",
196*f126890aSEmmanuel Vadot			"Headphone Jack", "HPOUTR",
197*f126890aSEmmanuel Vadot			"Ext Spk", "SPKOUTL",
198*f126890aSEmmanuel Vadot			"Ext Spk", "SPKOUTR",
199*f126890aSEmmanuel Vadot			"AMIC", "MICBIAS",
200*f126890aSEmmanuel Vadot			"IN3R", "AMIC";
201*f126890aSEmmanuel Vadot		mux-int-port = <2>;
202*f126890aSEmmanuel Vadot		mux-ext-port = <4>;
203*f126890aSEmmanuel Vadot	};
204*f126890aSEmmanuel Vadot};
205*f126890aSEmmanuel Vadot
206*f126890aSEmmanuel Vadot&audmux {
207*f126890aSEmmanuel Vadot	pinctrl-names = "default";
208*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_audmux>;
209*f126890aSEmmanuel Vadot	status = "okay";
210*f126890aSEmmanuel Vadot};
211*f126890aSEmmanuel Vadot
212*f126890aSEmmanuel Vadot&ecspi1 {
213*f126890aSEmmanuel Vadot	pinctrl-names = "default";
214*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_ecspi1>;
215*f126890aSEmmanuel Vadot	cs-gpios = <&gpio4 9 GPIO_ACTIVE_LOW>;
216*f126890aSEmmanuel Vadot	status = "disabled";
217*f126890aSEmmanuel Vadot};
218*f126890aSEmmanuel Vadot
219*f126890aSEmmanuel Vadot&fec {
220*f126890aSEmmanuel Vadot	pinctrl-names = "default";
221*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_enet>;
222*f126890aSEmmanuel Vadot	phy-mode = "rgmii-id";
223*f126890aSEmmanuel Vadot	phy-reset-duration = <10>;
224*f126890aSEmmanuel Vadot	phy-reset-gpios = <&gpio1 24 GPIO_ACTIVE_LOW>;
225*f126890aSEmmanuel Vadot	phy-supply = <&reg_enet>;
226*f126890aSEmmanuel Vadot	interrupt-parent = <&gpio1>;
227*f126890aSEmmanuel Vadot	interrupts = <25 IRQ_TYPE_EDGE_FALLING>;
228*f126890aSEmmanuel Vadot	status = "okay";
229*f126890aSEmmanuel Vadot};
230*f126890aSEmmanuel Vadot
231*f126890aSEmmanuel Vadot&i2c1 {
232*f126890aSEmmanuel Vadot	pinctrl-names = "default";
233*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_i2c1>;
234*f126890aSEmmanuel Vadot	clock-frequency = <400000>;
235*f126890aSEmmanuel Vadot	status = "okay";
236*f126890aSEmmanuel Vadot
237*f126890aSEmmanuel Vadot	wm8962: audio-codec@1a {
238*f126890aSEmmanuel Vadot		compatible = "wlf,wm8962";
239*f126890aSEmmanuel Vadot		reg = <0x1a>;
240*f126890aSEmmanuel Vadot		clocks = <&clks IMX6QDL_CLK_CKO>;
241*f126890aSEmmanuel Vadot		DCVDD-supply = <&reg_audio>;
242*f126890aSEmmanuel Vadot		DBVDD-supply = <&reg_audio>;
243*f126890aSEmmanuel Vadot		AVDD-supply = <&reg_audio>;
244*f126890aSEmmanuel Vadot		CPVDD-supply = <&reg_audio>;
245*f126890aSEmmanuel Vadot		MICVDD-supply = <&reg_audio>;
246*f126890aSEmmanuel Vadot		PLLVDD-supply = <&reg_audio>;
247*f126890aSEmmanuel Vadot		SPKVDD1-supply = <&reg_audio>;
248*f126890aSEmmanuel Vadot		SPKVDD2-supply = <&reg_audio>;
249*f126890aSEmmanuel Vadot		gpio-cfg = <
250*f126890aSEmmanuel Vadot			0x0000 /* 0:Default */
251*f126890aSEmmanuel Vadot			0x0000 /* 1:Default */
252*f126890aSEmmanuel Vadot			0x0000 /* 2:FN_DMICCLK */
253*f126890aSEmmanuel Vadot			0x0000 /* 3:Default */
254*f126890aSEmmanuel Vadot			0x0000 /* 4:FN_DMICCDAT */
255*f126890aSEmmanuel Vadot			0x0000 /* 5:Default */
256*f126890aSEmmanuel Vadot		>;
257*f126890aSEmmanuel Vadot	};
258*f126890aSEmmanuel Vadot};
259*f126890aSEmmanuel Vadot
260*f126890aSEmmanuel Vadot&i2c3 {
261*f126890aSEmmanuel Vadot	ov5640: camera@10 {
262*f126890aSEmmanuel Vadot		compatible = "ovti,ov5640";
263*f126890aSEmmanuel Vadot		pinctrl-names = "default";
264*f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_ov5640>;
265*f126890aSEmmanuel Vadot		reg = <0x10>;
266*f126890aSEmmanuel Vadot		clocks = <&clks IMX6QDL_CLK_CKO>;
267*f126890aSEmmanuel Vadot		clock-names = "xclk";
268*f126890aSEmmanuel Vadot		DOVDD-supply = <&reg_mipi>;
269*f126890aSEmmanuel Vadot		AVDD-supply = <&reg_mipi>;
270*f126890aSEmmanuel Vadot		DVDD-supply = <&reg_mipi>;
271*f126890aSEmmanuel Vadot		reset-gpios = <&gpio3 26 GPIO_ACTIVE_LOW>;
272*f126890aSEmmanuel Vadot		powerdown-gpios = <&gpio3 27 GPIO_ACTIVE_HIGH>;
273*f126890aSEmmanuel Vadot
274*f126890aSEmmanuel Vadot		port {
275*f126890aSEmmanuel Vadot			ov5640_to_mipi_csi2: endpoint {
276*f126890aSEmmanuel Vadot				remote-endpoint = <&mipi_csi2_in>;
277*f126890aSEmmanuel Vadot				clock-lanes = <0>;
278*f126890aSEmmanuel Vadot				data-lanes = <1 2>;
279*f126890aSEmmanuel Vadot			};
280*f126890aSEmmanuel Vadot		};
281*f126890aSEmmanuel Vadot	};
282*f126890aSEmmanuel Vadot
283*f126890aSEmmanuel Vadot	pcf8575: gpio@20 {
284*f126890aSEmmanuel Vadot		pinctrl-names = "default";
285*f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_pcf8574>;
286*f126890aSEmmanuel Vadot		compatible = "nxp,pcf8575";
287*f126890aSEmmanuel Vadot		reg = <0x20>;
288*f126890aSEmmanuel Vadot		interrupt-parent = <&gpio6>;
289*f126890aSEmmanuel Vadot		interrupts = <31 IRQ_TYPE_EDGE_FALLING>;
290*f126890aSEmmanuel Vadot		gpio-controller;
291*f126890aSEmmanuel Vadot		#gpio-cells = <2>;
292*f126890aSEmmanuel Vadot		interrupt-controller;
293*f126890aSEmmanuel Vadot		#interrupt-cells = <2>;
294*f126890aSEmmanuel Vadot		lines-initial-states = <0x0710>;
295*f126890aSEmmanuel Vadot		wakeup-source;
296*f126890aSEmmanuel Vadot	};
297*f126890aSEmmanuel Vadot};
298*f126890aSEmmanuel Vadot
299*f126890aSEmmanuel Vadot&ipu1_csi1_from_mipi_vc1 {
300*f126890aSEmmanuel Vadot	clock-lanes = <0>;
301*f126890aSEmmanuel Vadot	data-lanes = <1 2>;
302*f126890aSEmmanuel Vadot};
303*f126890aSEmmanuel Vadot
304*f126890aSEmmanuel Vadot&mipi_csi {
305*f126890aSEmmanuel Vadot	status = "okay";
306*f126890aSEmmanuel Vadot
307*f126890aSEmmanuel Vadot	port@0 {
308*f126890aSEmmanuel Vadot		reg = <0>;
309*f126890aSEmmanuel Vadot
310*f126890aSEmmanuel Vadot		mipi_csi2_in: endpoint {
311*f126890aSEmmanuel Vadot			remote-endpoint = <&ov5640_to_mipi_csi2>;
312*f126890aSEmmanuel Vadot			clock-lanes = <0>;
313*f126890aSEmmanuel Vadot			data-lanes = <1 2>;
314*f126890aSEmmanuel Vadot		};
315*f126890aSEmmanuel Vadot	};
316*f126890aSEmmanuel Vadot};
317*f126890aSEmmanuel Vadot
318*f126890aSEmmanuel Vadot&pcie {
319*f126890aSEmmanuel Vadot	pinctrl-names = "default";
320*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_pcie>;
321*f126890aSEmmanuel Vadot	reset-gpio = <&gpio1 9 GPIO_ACTIVE_LOW>;
322*f126890aSEmmanuel Vadot	vpcie-supply = <&reg_pcie>;
323*f126890aSEmmanuel Vadot	status = "okay";
324*f126890aSEmmanuel Vadot};
325*f126890aSEmmanuel Vadot
326*f126890aSEmmanuel Vadot&pwm3 {
327*f126890aSEmmanuel Vadot	pinctrl-names = "default";
328*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_pwm3>;
329*f126890aSEmmanuel Vadot};
330*f126890aSEmmanuel Vadot
331*f126890aSEmmanuel Vadot&snvs_pwrkey {
332*f126890aSEmmanuel Vadot	status = "okay";
333*f126890aSEmmanuel Vadot};
334*f126890aSEmmanuel Vadot
335*f126890aSEmmanuel Vadot&ssi2 {
336*f126890aSEmmanuel Vadot	status = "okay";
337*f126890aSEmmanuel Vadot};
338*f126890aSEmmanuel Vadot
339*f126890aSEmmanuel Vadot&uart3 {
340*f126890aSEmmanuel Vadot	pinctrl-names = "default";
341*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_uart3>;
342*f126890aSEmmanuel Vadot	status = "okay";
343*f126890aSEmmanuel Vadot};
344*f126890aSEmmanuel Vadot
345*f126890aSEmmanuel Vadot&usbh1 {
346*f126890aSEmmanuel Vadot	vbus-supply = <&reg_usb_h1_vbus>;
347*f126890aSEmmanuel Vadot	status = "okay";
348*f126890aSEmmanuel Vadot};
349*f126890aSEmmanuel Vadot
350*f126890aSEmmanuel Vadot&usbotg {
351*f126890aSEmmanuel Vadot	vbus-supply = <&reg_usb_otg_vbus>;
352*f126890aSEmmanuel Vadot	pinctrl-names = "default";
353*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_usbotg>;
354*f126890aSEmmanuel Vadot	disable-over-current;
355*f126890aSEmmanuel Vadot	dr_mode = "otg";
356*f126890aSEmmanuel Vadot	status = "okay";
357*f126890aSEmmanuel Vadot};
358*f126890aSEmmanuel Vadot
359*f126890aSEmmanuel Vadot&usdhc2 {
360*f126890aSEmmanuel Vadot	pinctrl-names = "default";
361*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_usdhc2>;
362*f126890aSEmmanuel Vadot	pinctrl-1 = <&pinctrl_usdhc2_100mhz>;
363*f126890aSEmmanuel Vadot	pinctrl-2 = <&pinctrl_usdhc2_200mhz>;
364*f126890aSEmmanuel Vadot	vmmc-supply = <&reg_3v3>;
365*f126890aSEmmanuel Vadot	no-1-8-v;
366*f126890aSEmmanuel Vadot	keep-power-in-suspend;
367*f126890aSEmmanuel Vadot	cd-gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
368*f126890aSEmmanuel Vadot	status = "okay";
369*f126890aSEmmanuel Vadot};
370*f126890aSEmmanuel Vadot
371*f126890aSEmmanuel Vadot&iomuxc {
372*f126890aSEmmanuel Vadot	pinctrl_audmux: audmuxgrp {
373*f126890aSEmmanuel Vadot		fsl,pins = <
374*f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT20__AUD4_TXC  0x130b0
375*f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT21__AUD4_TXD  0x110b0
376*f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT22__AUD4_TXFS 0x130b0
377*f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT23__AUD4_RXD  0x130b0
378*f126890aSEmmanuel Vadot		>;
379*f126890aSEmmanuel Vadot	};
380*f126890aSEmmanuel Vadot
381*f126890aSEmmanuel Vadot	pinctrl_ecspi1: ecspi1grp {
382*f126890aSEmmanuel Vadot		fsl,pins = <
383*f126890aSEmmanuel Vadot			MX6QDL_PAD_KEY_COL0__ECSPI1_SCLK	0x100b1
384*f126890aSEmmanuel Vadot			MX6QDL_PAD_KEY_ROW0__ECSPI1_MOSI	0x100b1
385*f126890aSEmmanuel Vadot			MX6QDL_PAD_KEY_COL1__ECSPI1_MISO	0x100b1
386*f126890aSEmmanuel Vadot			MX6QDL_PAD_KEY_ROW1__GPIO4_IO09		0x1b0b0
387*f126890aSEmmanuel Vadot		>;
388*f126890aSEmmanuel Vadot	};
389*f126890aSEmmanuel Vadot
390*f126890aSEmmanuel Vadot	pinctrl_enet: enetgrp {
391*f126890aSEmmanuel Vadot		fsl,pins = <
392*f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_MDIO__ENET_MDIO		0x1b8b0
393*f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_MDC__ENET_MDC		0x1b0b0
394*f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_TXC__RGMII_TXC		0x1b030
395*f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_TD0__RGMII_TD0		0x1b030
396*f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_TD1__RGMII_TD1		0x1b030
397*f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_TD2__RGMII_TD2		0x1b030
398*f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_TD3__RGMII_TD3		0x1b030
399*f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK	0x100b0
400*f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_TX_CTL__RGMII_TX_CTL	0x1b030
401*f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_16__ENET_REF_CLK	0x4001b0a8
402*f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_RXC__RGMII_RXC		0x1b030
403*f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_RD0__RGMII_RD0		0x13030
404*f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_RD1__RGMII_RD1		0x13030
405*f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_RD2__RGMII_RD2		0x1b030
406*f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_RD3__RGMII_RD3		0x1b030
407*f126890aSEmmanuel Vadot			MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL	0x13030
408*f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_CRS_DV__GPIO1_IO25	0x1b0b0	/* ENET_INT */
409*f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_RX_ER__GPIO1_IO24	0x1b0b0	/* ETHR_nRST */
410*f126890aSEmmanuel Vadot		>;
411*f126890aSEmmanuel Vadot	};
412*f126890aSEmmanuel Vadot
413*f126890aSEmmanuel Vadot	pinctrl_i2c1: i2c1grp {
414*f126890aSEmmanuel Vadot		fsl,pins = <
415*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D21__I2C1_SCL	0x4001b8b1
416*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D28__I2C1_SDA	0x4001b8b1
417*f126890aSEmmanuel Vadot		>;
418*f126890aSEmmanuel Vadot	};
419*f126890aSEmmanuel Vadot
420*f126890aSEmmanuel Vadot	pinctrl_led0: led0grp {
421*f126890aSEmmanuel Vadot	    fsl,pins = <
422*f126890aSEmmanuel Vadot		MX6QDL_PAD_ENET_TXD0__GPIO1_IO30	0x1b0b0
423*f126890aSEmmanuel Vadot	    >;
424*f126890aSEmmanuel Vadot	};
425*f126890aSEmmanuel Vadot
426*f126890aSEmmanuel Vadot	pinctrl_ov5640: ov5640grp {
427*f126890aSEmmanuel Vadot		fsl,pins = <
428*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D26__GPIO3_IO26	0x1b0b1
429*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D27__GPIO3_IO27	0x1b0b1
430*f126890aSEmmanuel Vadot		>;
431*f126890aSEmmanuel Vadot	};
432*f126890aSEmmanuel Vadot
433*f126890aSEmmanuel Vadot	pinctrl_pcf8574: pcf8575grp {
434*f126890aSEmmanuel Vadot		fsl,pins = <
435*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_BCLK__GPIO6_IO31 0x1b0b0
436*f126890aSEmmanuel Vadot		>;
437*f126890aSEmmanuel Vadot	};
438*f126890aSEmmanuel Vadot
439*f126890aSEmmanuel Vadot	pinctrl_pcie: pciegrp {
440*f126890aSEmmanuel Vadot		fsl,pins = <
441*f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_8__GPIO1_IO08 0x1b0b0
442*f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_9__GPIO1_IO09 0x1b0b0
443*f126890aSEmmanuel Vadot		>;
444*f126890aSEmmanuel Vadot	};
445*f126890aSEmmanuel Vadot
446*f126890aSEmmanuel Vadot	pinctrl_pwm3: pwm3grp {
447*f126890aSEmmanuel Vadot	    fsl,pins = <
448*f126890aSEmmanuel Vadot		MX6QDL_PAD_SD4_DAT1__PWM3_OUT		0x1b0b1
449*f126890aSEmmanuel Vadot	    >;
450*f126890aSEmmanuel Vadot	};
451*f126890aSEmmanuel Vadot
452*f126890aSEmmanuel Vadot	pinctrl_reg_1v8: reg1v8grp {
453*f126890aSEmmanuel Vadot	    fsl,pins = <
454*f126890aSEmmanuel Vadot		MX6QDL_PAD_EIM_D30__GPIO3_IO30		0x1b0b0
455*f126890aSEmmanuel Vadot	    >;
456*f126890aSEmmanuel Vadot	};
457*f126890aSEmmanuel Vadot
458*f126890aSEmmanuel Vadot	pinctrl_reg_3v3: reg3v3grp {
459*f126890aSEmmanuel Vadot	    fsl,pins = <
460*f126890aSEmmanuel Vadot		MX6QDL_PAD_ENET_RXD1__GPIO1_IO26	0x1b0b0
461*f126890aSEmmanuel Vadot	    >;
462*f126890aSEmmanuel Vadot	};
463*f126890aSEmmanuel Vadot
464*f126890aSEmmanuel Vadot	pinctrl_reg_audio: reg-audiogrp {
465*f126890aSEmmanuel Vadot		fsl,pins = <
466*f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_TXD1__GPIO1_IO29 0x1b0b0
467*f126890aSEmmanuel Vadot		>;
468*f126890aSEmmanuel Vadot	};
469*f126890aSEmmanuel Vadot
470*f126890aSEmmanuel Vadot	pinctrl_reg_enet: reg-enetgrp {
471*f126890aSEmmanuel Vadot		fsl,pins = <
472*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D31__GPIO3_IO31	0x1b0b0
473*f126890aSEmmanuel Vadot		>;
474*f126890aSEmmanuel Vadot	};
475*f126890aSEmmanuel Vadot
476*f126890aSEmmanuel Vadot	pinctrl_reg_hdmi: reg-hdmigrp {
477*f126890aSEmmanuel Vadot		fsl,pins = <
478*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D20__GPIO3_IO20	0x1b0b0
479*f126890aSEmmanuel Vadot		>;
480*f126890aSEmmanuel Vadot	};
481*f126890aSEmmanuel Vadot
482*f126890aSEmmanuel Vadot	pinctrl_reg_mipi: reg-mipigrp {
483*f126890aSEmmanuel Vadot		fsl,pins = <MX6QDL_PAD_EIM_D19__GPIO3_IO19 0x1b0b1>;
484*f126890aSEmmanuel Vadot	};
485*f126890aSEmmanuel Vadot
486*f126890aSEmmanuel Vadot	pinctrl_reg_pcie: reg-pciegrp {
487*f126890aSEmmanuel Vadot		fsl,pins = <
488*f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_2__GPIO1_IO02	0x1b0b0
489*f126890aSEmmanuel Vadot			>;
490*f126890aSEmmanuel Vadot	};
491*f126890aSEmmanuel Vadot
492*f126890aSEmmanuel Vadot	pinctrl_reg_uart3: reguart3grp {
493*f126890aSEmmanuel Vadot	    fsl,pins = <
494*f126890aSEmmanuel Vadot		MX6QDL_PAD_ENET_TX_EN__GPIO1_IO28	0x1b0b0
495*f126890aSEmmanuel Vadot	    >;
496*f126890aSEmmanuel Vadot	};
497*f126890aSEmmanuel Vadot
498*f126890aSEmmanuel Vadot	pinctrl_reg_usb_h1_vbus: usbh1grp {
499*f126890aSEmmanuel Vadot		fsl,pins = <
500*f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_17__GPIO7_IO12		0x1b0b0
501*f126890aSEmmanuel Vadot		>;
502*f126890aSEmmanuel Vadot	};
503*f126890aSEmmanuel Vadot
504*f126890aSEmmanuel Vadot	pinctrl_reg_usb_otg: reg-usb-otggrp {
505*f126890aSEmmanuel Vadot		fsl,pins = <
506*f126890aSEmmanuel Vadot			MX6QDL_PAD_KEY_ROW4__GPIO4_IO15		0x1b0b0
507*f126890aSEmmanuel Vadot		>;
508*f126890aSEmmanuel Vadot	};
509*f126890aSEmmanuel Vadot
510*f126890aSEmmanuel Vadot	pinctrl_uart3: uart3grp {
511*f126890aSEmmanuel Vadot		fsl,pins = <
512*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D23__UART3_CTS_B		0x1b0b1
513*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D24__UART3_TX_DATA	0x1b0b1
514*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D25__UART3_RX_DATA	0x1b0b1
515*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_EB3__UART3_RTS_B		0x1b0b1
516*f126890aSEmmanuel Vadot		>;
517*f126890aSEmmanuel Vadot	};
518*f126890aSEmmanuel Vadot
519*f126890aSEmmanuel Vadot	pinctrl_usbotg: usbotggrp {
520*f126890aSEmmanuel Vadot		fsl,pins = <
521*f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_1__USB_OTG_ID	0xd17059
522*f126890aSEmmanuel Vadot		>;
523*f126890aSEmmanuel Vadot	};
524*f126890aSEmmanuel Vadot
525*f126890aSEmmanuel Vadot	pinctrl_usdhc2: usdhc2grp {
526*f126890aSEmmanuel Vadot		fsl,pins = <
527*f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_4__GPIO1_IO04		0x1b0b0	/* CD */
528*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD2_CMD__SD2_CMD		0x17069
529*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD2_CLK__SD2_CLK		0x10069
530*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD2_DAT0__SD2_DATA0		0x17069
531*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD2_DAT1__SD2_DATA1		0x17069
532*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD2_DAT2__SD2_DATA2		0x17069
533*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD2_DAT3__SD2_DATA3		0x17069
534*f126890aSEmmanuel Vadot		>;
535*f126890aSEmmanuel Vadot	};
536*f126890aSEmmanuel Vadot
537*f126890aSEmmanuel Vadot	pinctrl_usdhc2_100mhz: h100-usdhc2-100mhz {
538*f126890aSEmmanuel Vadot		fsl,pins = <
539*f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_4__GPIO1_IO04		0x1b0b0	/* CD */
540*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD2_CMD__SD2_CMD		0x170b9
541*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD2_CLK__SD2_CLK		0x100b9
542*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD2_DAT0__SD2_DATA0		0x170b9
543*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD2_DAT1__SD2_DATA1		0x170b9
544*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD2_DAT2__SD2_DATA2		0x170b9
545*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD2_DAT3__SD2_DATA3		0x170b9
546*f126890aSEmmanuel Vadot		>;
547*f126890aSEmmanuel Vadot	};
548*f126890aSEmmanuel Vadot
549*f126890aSEmmanuel Vadot	pinctrl_usdhc2_200mhz: h100-usdhc2-200mhz {
550*f126890aSEmmanuel Vadot		fsl,pins = <
551*f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_4__GPIO1_IO04		0x1b0b0	/* CD */
552*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD2_CMD__SD2_CMD		0x170f9
553*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD2_CLK__SD2_CLK		0x100f9
554*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD2_DAT0__SD2_DATA0		0x170f9
555*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD2_DAT1__SD2_DATA1		0x170f9
556*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD2_DAT2__SD2_DATA2		0x170f9
557*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD2_DAT3__SD2_DATA3		0x170f9
558*f126890aSEmmanuel Vadot		>;
559*f126890aSEmmanuel Vadot	};
560*f126890aSEmmanuel Vadot
561*f126890aSEmmanuel Vadot};
562