1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2*f126890aSEmmanuel Vadot/*
3*f126890aSEmmanuel Vadot * Copyright (c) 2016 Protonic Holland
4*f126890aSEmmanuel Vadot * Copyright (c) 2020 Oleksij Rempel <kernel@pengutronix.de>, Pengutronix
5*f126890aSEmmanuel Vadot */
6*f126890aSEmmanuel Vadot
7*f126890aSEmmanuel Vadot/dts-v1/;
8*f126890aSEmmanuel Vadot#include <dt-bindings/display/sdtv-standards.h>
9*f126890aSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
10*f126890aSEmmanuel Vadot#include <dt-bindings/input/input.h>
11*f126890aSEmmanuel Vadot#include <dt-bindings/leds/common.h>
12*f126890aSEmmanuel Vadot#include <dt-bindings/media/tvp5150.h>
13*f126890aSEmmanuel Vadot#include <dt-bindings/sound/fsl-imx-audmux.h>
14*f126890aSEmmanuel Vadot#include "imx6dl.dtsi"
15*f126890aSEmmanuel Vadot
16*f126890aSEmmanuel Vadot/ {
17*f126890aSEmmanuel Vadot	model = "Protonic MVT board";
18*f126890aSEmmanuel Vadot	compatible = "prt,prtmvt", "fsl,imx6dl";
19*f126890aSEmmanuel Vadot
20*f126890aSEmmanuel Vadot	chosen {
21*f126890aSEmmanuel Vadot		stdout-path = &uart4;
22*f126890aSEmmanuel Vadot	};
23*f126890aSEmmanuel Vadot
24*f126890aSEmmanuel Vadot	backlight: backlight {
25*f126890aSEmmanuel Vadot		compatible = "pwm-backlight";
26*f126890aSEmmanuel Vadot		pinctrl-names = "default";
27*f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_backlight>;
28*f126890aSEmmanuel Vadot		pwms = <&pwm1 0 5000000 0>;
29*f126890aSEmmanuel Vadot		brightness-levels = <0 16 64 255>;
30*f126890aSEmmanuel Vadot		num-interpolated-steps = <16>;
31*f126890aSEmmanuel Vadot		default-brightness-level = <1>;
32*f126890aSEmmanuel Vadot		power-supply = <&reg_3v3>;
33*f126890aSEmmanuel Vadot		enable-gpios = <&gpio4 28 GPIO_ACTIVE_HIGH>;
34*f126890aSEmmanuel Vadot	};
35*f126890aSEmmanuel Vadot
36*f126890aSEmmanuel Vadot	connector {
37*f126890aSEmmanuel Vadot		compatible = "composite-video-connector";
38*f126890aSEmmanuel Vadot		label = "Composite0";
39*f126890aSEmmanuel Vadot		sdtv-standards = <SDTV_STD_PAL_B>;
40*f126890aSEmmanuel Vadot
41*f126890aSEmmanuel Vadot		port {
42*f126890aSEmmanuel Vadot			comp0_out: endpoint {
43*f126890aSEmmanuel Vadot				remote-endpoint = <&tvp5150_comp0_in>;
44*f126890aSEmmanuel Vadot			};
45*f126890aSEmmanuel Vadot		};
46*f126890aSEmmanuel Vadot	};
47*f126890aSEmmanuel Vadot
48*f126890aSEmmanuel Vadot	gpio-keys {
49*f126890aSEmmanuel Vadot		compatible = "gpio-keys";
50*f126890aSEmmanuel Vadot		pinctrl-names = "default";
51*f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_gpiokeys>;
52*f126890aSEmmanuel Vadot		autorepeat;
53*f126890aSEmmanuel Vadot
54*f126890aSEmmanuel Vadot		key-power {
55*f126890aSEmmanuel Vadot			label = "Power Button";
56*f126890aSEmmanuel Vadot			gpios = <&gpio2 23 GPIO_ACTIVE_LOW>;
57*f126890aSEmmanuel Vadot			linux,code = <KEY_POWER>;
58*f126890aSEmmanuel Vadot			wakeup-source;
59*f126890aSEmmanuel Vadot		};
60*f126890aSEmmanuel Vadot
61*f126890aSEmmanuel Vadot		key-f1 {
62*f126890aSEmmanuel Vadot			label = "GPIO Key F1";
63*f126890aSEmmanuel Vadot			linux,code = <KEY_F1>;
64*f126890aSEmmanuel Vadot			gpios = <&gpio_pca 0 GPIO_ACTIVE_LOW>;
65*f126890aSEmmanuel Vadot		};
66*f126890aSEmmanuel Vadot
67*f126890aSEmmanuel Vadot		key-f2 {
68*f126890aSEmmanuel Vadot			label = "GPIO Key F2";
69*f126890aSEmmanuel Vadot			linux,code = <KEY_F2>;
70*f126890aSEmmanuel Vadot			gpios = <&gpio_pca 1 GPIO_ACTIVE_LOW>;
71*f126890aSEmmanuel Vadot		};
72*f126890aSEmmanuel Vadot
73*f126890aSEmmanuel Vadot		key-f3 {
74*f126890aSEmmanuel Vadot			label = "GPIO Key F3";
75*f126890aSEmmanuel Vadot			linux,code = <KEY_F3>;
76*f126890aSEmmanuel Vadot			gpios = <&gpio_pca 2 GPIO_ACTIVE_LOW>;
77*f126890aSEmmanuel Vadot		};
78*f126890aSEmmanuel Vadot
79*f126890aSEmmanuel Vadot		key-f4 {
80*f126890aSEmmanuel Vadot			label = "GPIO Key F4";
81*f126890aSEmmanuel Vadot			linux,code = <KEY_F4>;
82*f126890aSEmmanuel Vadot			gpios = <&gpio_pca 3 GPIO_ACTIVE_LOW>;
83*f126890aSEmmanuel Vadot		};
84*f126890aSEmmanuel Vadot
85*f126890aSEmmanuel Vadot		key-f5 {
86*f126890aSEmmanuel Vadot			label = "GPIO Key F5";
87*f126890aSEmmanuel Vadot			linux,code = <KEY_F5>;
88*f126890aSEmmanuel Vadot			gpios = <&gpio_pca 4 GPIO_ACTIVE_LOW>;
89*f126890aSEmmanuel Vadot		};
90*f126890aSEmmanuel Vadot
91*f126890aSEmmanuel Vadot		key-cycle {
92*f126890aSEmmanuel Vadot			label = "GPIO Key CYCLE";
93*f126890aSEmmanuel Vadot			linux,code = <KEY_CYCLEWINDOWS>;
94*f126890aSEmmanuel Vadot			gpios = <&gpio_pca 5 GPIO_ACTIVE_LOW>;
95*f126890aSEmmanuel Vadot		};
96*f126890aSEmmanuel Vadot
97*f126890aSEmmanuel Vadot		key-esc {
98*f126890aSEmmanuel Vadot			label = "GPIO Key ESC";
99*f126890aSEmmanuel Vadot			linux,code = <KEY_ESC>;
100*f126890aSEmmanuel Vadot			gpios = <&gpio_pca 6 GPIO_ACTIVE_LOW>;
101*f126890aSEmmanuel Vadot		};
102*f126890aSEmmanuel Vadot
103*f126890aSEmmanuel Vadot		key-up {
104*f126890aSEmmanuel Vadot			label = "GPIO Key UP";
105*f126890aSEmmanuel Vadot			linux,code = <KEY_UP>;
106*f126890aSEmmanuel Vadot			gpios = <&gpio_pca 7 GPIO_ACTIVE_LOW>;
107*f126890aSEmmanuel Vadot		};
108*f126890aSEmmanuel Vadot
109*f126890aSEmmanuel Vadot		key-down {
110*f126890aSEmmanuel Vadot			label = "GPIO Key DOWN";
111*f126890aSEmmanuel Vadot			linux,code = <KEY_DOWN>;
112*f126890aSEmmanuel Vadot			gpios = <&gpio_pca 8 GPIO_ACTIVE_LOW>;
113*f126890aSEmmanuel Vadot		};
114*f126890aSEmmanuel Vadot
115*f126890aSEmmanuel Vadot		key-ok {
116*f126890aSEmmanuel Vadot			label = "GPIO Key OK";
117*f126890aSEmmanuel Vadot			linux,code = <KEY_OK>;
118*f126890aSEmmanuel Vadot			gpios = <&gpio_pca 9 GPIO_ACTIVE_LOW>;
119*f126890aSEmmanuel Vadot		};
120*f126890aSEmmanuel Vadot
121*f126890aSEmmanuel Vadot		key-f6 {
122*f126890aSEmmanuel Vadot			label = "GPIO Key F6";
123*f126890aSEmmanuel Vadot			linux,code = <KEY_F6>;
124*f126890aSEmmanuel Vadot			gpios = <&gpio_pca 10 GPIO_ACTIVE_LOW>;
125*f126890aSEmmanuel Vadot		};
126*f126890aSEmmanuel Vadot
127*f126890aSEmmanuel Vadot		key-f7 {
128*f126890aSEmmanuel Vadot			label = "GPIO Key F7";
129*f126890aSEmmanuel Vadot			linux,code = <KEY_F7>;
130*f126890aSEmmanuel Vadot			gpios = <&gpio_pca 11 GPIO_ACTIVE_LOW>;
131*f126890aSEmmanuel Vadot		};
132*f126890aSEmmanuel Vadot
133*f126890aSEmmanuel Vadot		key-f8 {
134*f126890aSEmmanuel Vadot			label = "GPIO Key F8";
135*f126890aSEmmanuel Vadot			linux,code = <KEY_F8>;
136*f126890aSEmmanuel Vadot			gpios = <&gpio_pca 12 GPIO_ACTIVE_LOW>;
137*f126890aSEmmanuel Vadot		};
138*f126890aSEmmanuel Vadot
139*f126890aSEmmanuel Vadot		key-f9 {
140*f126890aSEmmanuel Vadot			label = "GPIO Key F9";
141*f126890aSEmmanuel Vadot			linux,code = <KEY_F9>;
142*f126890aSEmmanuel Vadot			gpios = <&gpio_pca 13 GPIO_ACTIVE_LOW>;
143*f126890aSEmmanuel Vadot		};
144*f126890aSEmmanuel Vadot
145*f126890aSEmmanuel Vadot		key-f10 {
146*f126890aSEmmanuel Vadot			label = "GPIO Key F10";
147*f126890aSEmmanuel Vadot			linux,code = <KEY_F10>;
148*f126890aSEmmanuel Vadot			gpios = <&gpio_pca 14 GPIO_ACTIVE_LOW>;
149*f126890aSEmmanuel Vadot		};
150*f126890aSEmmanuel Vadot
151*f126890aSEmmanuel Vadot	};
152*f126890aSEmmanuel Vadot
153*f126890aSEmmanuel Vadot	leds {
154*f126890aSEmmanuel Vadot		compatible = "gpio-leds";
155*f126890aSEmmanuel Vadot		pinctrl-names = "default";
156*f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_leds>;
157*f126890aSEmmanuel Vadot
158*f126890aSEmmanuel Vadot		led-0 {
159*f126890aSEmmanuel Vadot			label = "debug0";
160*f126890aSEmmanuel Vadot			function = LED_FUNCTION_HEARTBEAT;
161*f126890aSEmmanuel Vadot			gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>;
162*f126890aSEmmanuel Vadot			linux,default-trigger = "heartbeat";
163*f126890aSEmmanuel Vadot		};
164*f126890aSEmmanuel Vadot
165*f126890aSEmmanuel Vadot		led-1 {
166*f126890aSEmmanuel Vadot			label = "debug1";
167*f126890aSEmmanuel Vadot			function = LED_FUNCTION_DISK;
168*f126890aSEmmanuel Vadot			gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
169*f126890aSEmmanuel Vadot			linux,default-trigger = "disk-activity";
170*f126890aSEmmanuel Vadot		};
171*f126890aSEmmanuel Vadot
172*f126890aSEmmanuel Vadot		led-2 {
173*f126890aSEmmanuel Vadot			label = "power_led";
174*f126890aSEmmanuel Vadot			function = LED_FUNCTION_POWER;
175*f126890aSEmmanuel Vadot			gpios = <&gpio2 24 GPIO_ACTIVE_HIGH>;
176*f126890aSEmmanuel Vadot			default-state = "on";
177*f126890aSEmmanuel Vadot		};
178*f126890aSEmmanuel Vadot	};
179*f126890aSEmmanuel Vadot
180*f126890aSEmmanuel Vadot	panel {
181*f126890aSEmmanuel Vadot		compatible = "kyo,tcg070wvlq", "lg,lb070wv8";
182*f126890aSEmmanuel Vadot		backlight = <&backlight>;
183*f126890aSEmmanuel Vadot		power-supply = <&reg_3v3>;
184*f126890aSEmmanuel Vadot
185*f126890aSEmmanuel Vadot		port {
186*f126890aSEmmanuel Vadot			panel_in: endpoint {
187*f126890aSEmmanuel Vadot				remote-endpoint = <&lvds0_out>;
188*f126890aSEmmanuel Vadot			};
189*f126890aSEmmanuel Vadot		};
190*f126890aSEmmanuel Vadot	};
191*f126890aSEmmanuel Vadot
192*f126890aSEmmanuel Vadot	clk50m_phy: phy-clock {
193*f126890aSEmmanuel Vadot		compatible = "fixed-clock";
194*f126890aSEmmanuel Vadot		#clock-cells = <0>;
195*f126890aSEmmanuel Vadot		clock-frequency = <50000000>;
196*f126890aSEmmanuel Vadot		clock-output-names = "enet_ref_pad";
197*f126890aSEmmanuel Vadot	};
198*f126890aSEmmanuel Vadot
199*f126890aSEmmanuel Vadot	reg_1v8: regulator-1v8 {
200*f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
201*f126890aSEmmanuel Vadot		regulator-name = "1v8";
202*f126890aSEmmanuel Vadot		regulator-min-microvolt = <1800000>;
203*f126890aSEmmanuel Vadot		regulator-max-microvolt = <1800000>;
204*f126890aSEmmanuel Vadot	};
205*f126890aSEmmanuel Vadot
206*f126890aSEmmanuel Vadot	reg_3v3: regulator-3v3 {
207*f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
208*f126890aSEmmanuel Vadot		regulator-name = "3v3";
209*f126890aSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
210*f126890aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
211*f126890aSEmmanuel Vadot	};
212*f126890aSEmmanuel Vadot
213*f126890aSEmmanuel Vadot	reg_h1_vbus: regulator-h1-vbus {
214*f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
215*f126890aSEmmanuel Vadot		regulator-name = "h1-vbus";
216*f126890aSEmmanuel Vadot		regulator-min-microvolt = <5000000>;
217*f126890aSEmmanuel Vadot		regulator-max-microvolt = <5000000>;
218*f126890aSEmmanuel Vadot		gpio = <&gpio1 0 GPIO_ACTIVE_HIGH>;
219*f126890aSEmmanuel Vadot		enable-active-high;
220*f126890aSEmmanuel Vadot	};
221*f126890aSEmmanuel Vadot
222*f126890aSEmmanuel Vadot	reg_otg_vbus: regulator-otg-vbus {
223*f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
224*f126890aSEmmanuel Vadot		regulator-name = "otg-vbus";
225*f126890aSEmmanuel Vadot		regulator-min-microvolt = <5000000>;
226*f126890aSEmmanuel Vadot		regulator-max-microvolt = <5000000>;
227*f126890aSEmmanuel Vadot		gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>;
228*f126890aSEmmanuel Vadot		enable-active-high;
229*f126890aSEmmanuel Vadot	};
230*f126890aSEmmanuel Vadot
231*f126890aSEmmanuel Vadot	sound {
232*f126890aSEmmanuel Vadot		compatible = "simple-audio-card";
233*f126890aSEmmanuel Vadot		simple-audio-card,name = "prti6q-sgtl5000";
234*f126890aSEmmanuel Vadot		simple-audio-card,format = "i2s";
235*f126890aSEmmanuel Vadot		simple-audio-card,widgets =
236*f126890aSEmmanuel Vadot			"Microphone", "Microphone Jack",
237*f126890aSEmmanuel Vadot			"Line", "Line In Jack",
238*f126890aSEmmanuel Vadot			"Headphone", "Headphone Jack",
239*f126890aSEmmanuel Vadot			"Speaker", "External Speaker";
240*f126890aSEmmanuel Vadot		simple-audio-card,routing =
241*f126890aSEmmanuel Vadot			"MIC_IN", "Microphone Jack",
242*f126890aSEmmanuel Vadot			"LINE_IN", "Line In Jack",
243*f126890aSEmmanuel Vadot			"Headphone Jack", "HP_OUT",
244*f126890aSEmmanuel Vadot			"External Speaker", "LINE_OUT";
245*f126890aSEmmanuel Vadot
246*f126890aSEmmanuel Vadot		simple-audio-card,cpu {
247*f126890aSEmmanuel Vadot			sound-dai = <&ssi1>;
248*f126890aSEmmanuel Vadot			system-clock-frequency = <0>;
249*f126890aSEmmanuel Vadot		};
250*f126890aSEmmanuel Vadot
251*f126890aSEmmanuel Vadot		simple-audio-card,codec {
252*f126890aSEmmanuel Vadot			sound-dai = <&codec>;
253*f126890aSEmmanuel Vadot			bitclock-master;
254*f126890aSEmmanuel Vadot			frame-master;
255*f126890aSEmmanuel Vadot		};
256*f126890aSEmmanuel Vadot	};
257*f126890aSEmmanuel Vadot};
258*f126890aSEmmanuel Vadot
259*f126890aSEmmanuel Vadot&audmux {
260*f126890aSEmmanuel Vadot	pinctrl-names = "default";
261*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_audmux>;
262*f126890aSEmmanuel Vadot	status = "okay";
263*f126890aSEmmanuel Vadot
264*f126890aSEmmanuel Vadot	mux-ssi1 {
265*f126890aSEmmanuel Vadot		fsl,audmux-port = <0>;
266*f126890aSEmmanuel Vadot		fsl,port-config = <
267*f126890aSEmmanuel Vadot			IMX_AUDMUX_V2_PTCR_SYN		0
268*f126890aSEmmanuel Vadot			IMX_AUDMUX_V2_PTCR_TFSEL(2)	0
269*f126890aSEmmanuel Vadot			IMX_AUDMUX_V2_PTCR_TCSEL(2)	0
270*f126890aSEmmanuel Vadot			IMX_AUDMUX_V2_PTCR_TFSDIR	0
271*f126890aSEmmanuel Vadot			IMX_AUDMUX_V2_PTCR_TCLKDIR	IMX_AUDMUX_V2_PDCR_RXDSEL(2)
272*f126890aSEmmanuel Vadot		>;
273*f126890aSEmmanuel Vadot	};
274*f126890aSEmmanuel Vadot
275*f126890aSEmmanuel Vadot	mux-pins3 {
276*f126890aSEmmanuel Vadot		fsl,audmux-port = <2>;
277*f126890aSEmmanuel Vadot		fsl,port-config = <
278*f126890aSEmmanuel Vadot			IMX_AUDMUX_V2_PTCR_SYN		IMX_AUDMUX_V2_PDCR_RXDSEL(0)
279*f126890aSEmmanuel Vadot			0				IMX_AUDMUX_V2_PDCR_TXRXEN
280*f126890aSEmmanuel Vadot		>;
281*f126890aSEmmanuel Vadot	};
282*f126890aSEmmanuel Vadot};
283*f126890aSEmmanuel Vadot
284*f126890aSEmmanuel Vadot&can1 {
285*f126890aSEmmanuel Vadot	pinctrl-names = "default";
286*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_can1>;
287*f126890aSEmmanuel Vadot	status = "okay";
288*f126890aSEmmanuel Vadot};
289*f126890aSEmmanuel Vadot
290*f126890aSEmmanuel Vadot&can2 {
291*f126890aSEmmanuel Vadot	pinctrl-names = "default";
292*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_can2>;
293*f126890aSEmmanuel Vadot	status = "okay";
294*f126890aSEmmanuel Vadot};
295*f126890aSEmmanuel Vadot
296*f126890aSEmmanuel Vadot&clks {
297*f126890aSEmmanuel Vadot	clocks = <&clk50m_phy>;
298*f126890aSEmmanuel Vadot	clock-names = "enet_ref_pad";
299*f126890aSEmmanuel Vadot	assigned-clocks = <&clks IMX6QDL_CLK_LDB_DI0_SEL>, <&clks IMX6QDL_CLK_ENET_REF_SEL>;
300*f126890aSEmmanuel Vadot	assigned-clock-parents = <&clks IMX6QDL_CLK_PLL5_VIDEO_DIV>, <&clk50m_phy>;
301*f126890aSEmmanuel Vadot};
302*f126890aSEmmanuel Vadot
303*f126890aSEmmanuel Vadot&ecspi1 {
304*f126890aSEmmanuel Vadot	cs-gpios = <&gpio3 19 GPIO_ACTIVE_LOW>;
305*f126890aSEmmanuel Vadot	pinctrl-names = "default";
306*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_ecspi1>;
307*f126890aSEmmanuel Vadot	status = "okay";
308*f126890aSEmmanuel Vadot
309*f126890aSEmmanuel Vadot	flash@0 {
310*f126890aSEmmanuel Vadot		compatible = "jedec,spi-nor";
311*f126890aSEmmanuel Vadot		reg = <0>;
312*f126890aSEmmanuel Vadot		spi-max-frequency = <20000000>;
313*f126890aSEmmanuel Vadot	};
314*f126890aSEmmanuel Vadot};
315*f126890aSEmmanuel Vadot
316*f126890aSEmmanuel Vadot&fec {
317*f126890aSEmmanuel Vadot	pinctrl-names = "default";
318*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_enet>;
319*f126890aSEmmanuel Vadot	phy-mode = "rmii";
320*f126890aSEmmanuel Vadot	phy-handle = <&rmii_phy>;
321*f126890aSEmmanuel Vadot	status = "okay";
322*f126890aSEmmanuel Vadot
323*f126890aSEmmanuel Vadot	mdio {
324*f126890aSEmmanuel Vadot		#address-cells = <1>;
325*f126890aSEmmanuel Vadot		#size-cells = <0>;
326*f126890aSEmmanuel Vadot
327*f126890aSEmmanuel Vadot		/* Microchip KSZ8081RNA PHY */
328*f126890aSEmmanuel Vadot		rmii_phy: ethernet-phy@0 {
329*f126890aSEmmanuel Vadot			reg = <0>;
330*f126890aSEmmanuel Vadot			interrupts-extended = <&gpio4 30 IRQ_TYPE_LEVEL_LOW>;
331*f126890aSEmmanuel Vadot			reset-gpios = <&gpio4 26 GPIO_ACTIVE_LOW>;
332*f126890aSEmmanuel Vadot			reset-assert-us = <10000>;
333*f126890aSEmmanuel Vadot			reset-deassert-us = <3000>;
334*f126890aSEmmanuel Vadot		};
335*f126890aSEmmanuel Vadot	};
336*f126890aSEmmanuel Vadot};
337*f126890aSEmmanuel Vadot
338*f126890aSEmmanuel Vadot&gpio1 {
339*f126890aSEmmanuel Vadot	gpio-line-names =
340*f126890aSEmmanuel Vadot		"CAN1_TERM", "SD1_CD", "ITU656_RESET", "CAM1_MIRROR",
341*f126890aSEmmanuel Vadot			"CAM2_MIRROR", "", "", "SMBALERT",
342*f126890aSEmmanuel Vadot		"DEBUG_0", "DEBUG_1", "", "", "", "", "", "",
343*f126890aSEmmanuel Vadot		"SD1_DATA0", "SD1_DATA1", "SD1_CMD", "SD1_DATA2", "SD1_CLK",
344*f126890aSEmmanuel Vadot			"SD1_DATA3", "", "",
345*f126890aSEmmanuel Vadot		"", "", "", "", "", "", "", "";
346*f126890aSEmmanuel Vadot};
347*f126890aSEmmanuel Vadot
348*f126890aSEmmanuel Vadot&gpio2 {
349*f126890aSEmmanuel Vadot	gpio-line-names =
350*f126890aSEmmanuel Vadot		"", "", "", "", "", "", "", "",
351*f126890aSEmmanuel Vadot		"REV_ID0", "REV_ID1", "REV_ID2", "REV_ID3", "REV_ID4",
352*f126890aSEmmanuel Vadot			"BOARD_ID0", "BOARD_ID1", "BOARD_ID2",
353*f126890aSEmmanuel Vadot		"", "", "", "", "", "", "", "ON_SWITCH",
354*f126890aSEmmanuel Vadot		"POWER_LED", "", "", "", "", "", "", "";
355*f126890aSEmmanuel Vadot};
356*f126890aSEmmanuel Vadot
357*f126890aSEmmanuel Vadot&gpio3 {
358*f126890aSEmmanuel Vadot	gpio-line-names =
359*f126890aSEmmanuel Vadot		"", "", "", "", "", "", "", "",
360*f126890aSEmmanuel Vadot		"", "", "", "", "", "", "", "",
361*f126890aSEmmanuel Vadot		"ECSPI1_SCLK", "ECSPI1_MISO", "ECSPI1_MOSI", "ECSPI1_SS1",
362*f126890aSEmmanuel Vadot			"CPU_ON1_FB", "USB_EXT1_OC", "USB_EXT1_PWR", "YACO_IRQ",
363*f126890aSEmmanuel Vadot		"TSS_TXD", "TSS_RXD", "", "", "", "", "YACO_BOOT0",
364*f126890aSEmmanuel Vadot			"YACO_RESET";
365*f126890aSEmmanuel Vadot};
366*f126890aSEmmanuel Vadot
367*f126890aSEmmanuel Vadot&gpio4 {
368*f126890aSEmmanuel Vadot	gpio-line-names =
369*f126890aSEmmanuel Vadot		"", "", "", "", "", "", "", "",
370*f126890aSEmmanuel Vadot		"", "", "", "", "CAN1_SR", "CAN2_SR", "CAN2_TX", "CAN2_RX",
371*f126890aSEmmanuel Vadot		"", "", "DIP1_FB", "", "", "", "", "",
372*f126890aSEmmanuel Vadot		"CPU_LIGHT_ON", "", "ETH_RESET", "", "BL_EN",
373*f126890aSEmmanuel Vadot			"BL_PWM", "ETH_INTRP", "";
374*f126890aSEmmanuel Vadot};
375*f126890aSEmmanuel Vadot
376*f126890aSEmmanuel Vadot&gpio5 {
377*f126890aSEmmanuel Vadot	gpio-line-names =
378*f126890aSEmmanuel Vadot		"", "", "", "", "", "", "", "",
379*f126890aSEmmanuel Vadot		"", "", "", "", "", "", "", "",
380*f126890aSEmmanuel Vadot		"", "", "", "", "", "", "", "",
381*f126890aSEmmanuel Vadot		"I2S_LRCLK", "I2S_DIN", "I2C1_SDA", "I2C1_SCL", "YACO_AUX_RX",
382*f126890aSEmmanuel Vadot			"YACO_AUX_TX", "ITU656_D0", "ITU656_D1";
383*f126890aSEmmanuel Vadot};
384*f126890aSEmmanuel Vadot
385*f126890aSEmmanuel Vadot&i2c1 {
386*f126890aSEmmanuel Vadot	clock-frequency = <100000>;
387*f126890aSEmmanuel Vadot	pinctrl-names = "default";
388*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_i2c1>;
389*f126890aSEmmanuel Vadot	status = "okay";
390*f126890aSEmmanuel Vadot
391*f126890aSEmmanuel Vadot	codec: audio-codec@a {
392*f126890aSEmmanuel Vadot		compatible = "fsl,sgtl5000";
393*f126890aSEmmanuel Vadot		reg = <0xa>;
394*f126890aSEmmanuel Vadot		#sound-dai-cells = <0>;
395*f126890aSEmmanuel Vadot		clocks = <&clks 201>;
396*f126890aSEmmanuel Vadot		VDDA-supply = <&reg_3v3>;
397*f126890aSEmmanuel Vadot		VDDIO-supply = <&reg_3v3>;
398*f126890aSEmmanuel Vadot		VDDD-supply = <&reg_1v8>;
399*f126890aSEmmanuel Vadot	};
400*f126890aSEmmanuel Vadot
401*f126890aSEmmanuel Vadot	video@5c {
402*f126890aSEmmanuel Vadot		compatible = "ti,tvp5150";
403*f126890aSEmmanuel Vadot		reg = <0x5c>;
404*f126890aSEmmanuel Vadot		#address-cells = <1>;
405*f126890aSEmmanuel Vadot		#size-cells = <0>;
406*f126890aSEmmanuel Vadot
407*f126890aSEmmanuel Vadot		port@0 {
408*f126890aSEmmanuel Vadot			reg = <0>;
409*f126890aSEmmanuel Vadot
410*f126890aSEmmanuel Vadot			tvp5150_comp0_in: endpoint {
411*f126890aSEmmanuel Vadot				remote-endpoint = <&comp0_out>;
412*f126890aSEmmanuel Vadot			};
413*f126890aSEmmanuel Vadot		};
414*f126890aSEmmanuel Vadot
415*f126890aSEmmanuel Vadot		/* Output port 2 is video output pad */
416*f126890aSEmmanuel Vadot		port@2 {
417*f126890aSEmmanuel Vadot			reg = <2>;
418*f126890aSEmmanuel Vadot			tvp5151_to_ipu1_csi0_mux: endpoint {
419*f126890aSEmmanuel Vadot				remote-endpoint = <&ipu1_csi0_mux_from_parallel_sensor>;
420*f126890aSEmmanuel Vadot			};
421*f126890aSEmmanuel Vadot		};
422*f126890aSEmmanuel Vadot	};
423*f126890aSEmmanuel Vadot
424*f126890aSEmmanuel Vadot	gpio_pca: gpio@74 {
425*f126890aSEmmanuel Vadot		compatible = "nxp,pca9539";
426*f126890aSEmmanuel Vadot		reg = <0x74>;
427*f126890aSEmmanuel Vadot		pinctrl-names = "default";
428*f126890aSEmmanuel Vadot		pinctrl-0 = <&pinctrl_pca9539>;
429*f126890aSEmmanuel Vadot		interrupt-parent = <&gpio4>;
430*f126890aSEmmanuel Vadot		interrupts = <5 IRQ_TYPE_LEVEL_LOW>;
431*f126890aSEmmanuel Vadot		gpio-controller;
432*f126890aSEmmanuel Vadot		#gpio-cells = <2>;
433*f126890aSEmmanuel Vadot	};
434*f126890aSEmmanuel Vadot
435*f126890aSEmmanuel Vadot	/* additional i2c devices are added automatically by the boot loader */
436*f126890aSEmmanuel Vadot};
437*f126890aSEmmanuel Vadot
438*f126890aSEmmanuel Vadot&i2c3 {
439*f126890aSEmmanuel Vadot	clock-frequency = <100000>;
440*f126890aSEmmanuel Vadot	pinctrl-names = "default";
441*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_i2c3>;
442*f126890aSEmmanuel Vadot	status = "okay";
443*f126890aSEmmanuel Vadot
444*f126890aSEmmanuel Vadot	adc@49 {
445*f126890aSEmmanuel Vadot		compatible = "ti,ads1015";
446*f126890aSEmmanuel Vadot		reg = <0x49>;
447*f126890aSEmmanuel Vadot		#address-cells = <1>;
448*f126890aSEmmanuel Vadot		#size-cells = <0>;
449*f126890aSEmmanuel Vadot
450*f126890aSEmmanuel Vadot		channel@4 {
451*f126890aSEmmanuel Vadot			reg = <4>;
452*f126890aSEmmanuel Vadot			ti,gain = <3>;
453*f126890aSEmmanuel Vadot			ti,datarate = <3>;
454*f126890aSEmmanuel Vadot		};
455*f126890aSEmmanuel Vadot
456*f126890aSEmmanuel Vadot		channel@5 {
457*f126890aSEmmanuel Vadot			reg = <5>;
458*f126890aSEmmanuel Vadot			ti,gain = <3>;
459*f126890aSEmmanuel Vadot			ti,datarate = <3>;
460*f126890aSEmmanuel Vadot		};
461*f126890aSEmmanuel Vadot
462*f126890aSEmmanuel Vadot		channel@6 {
463*f126890aSEmmanuel Vadot			reg = <6>;
464*f126890aSEmmanuel Vadot			ti,gain = <3>;
465*f126890aSEmmanuel Vadot			ti,datarate = <3>;
466*f126890aSEmmanuel Vadot		};
467*f126890aSEmmanuel Vadot
468*f126890aSEmmanuel Vadot		channel@7 {
469*f126890aSEmmanuel Vadot			reg = <7>;
470*f126890aSEmmanuel Vadot			ti,gain = <3>;
471*f126890aSEmmanuel Vadot			ti,datarate = <3>;
472*f126890aSEmmanuel Vadot		};
473*f126890aSEmmanuel Vadot	};
474*f126890aSEmmanuel Vadot
475*f126890aSEmmanuel Vadot	rtc@51 {
476*f126890aSEmmanuel Vadot		compatible = "nxp,pcf8563";
477*f126890aSEmmanuel Vadot		reg = <0x51>;
478*f126890aSEmmanuel Vadot	};
479*f126890aSEmmanuel Vadot
480*f126890aSEmmanuel Vadot	temperature-sensor@70 {
481*f126890aSEmmanuel Vadot		compatible = "ti,tmp103";
482*f126890aSEmmanuel Vadot		reg = <0x70>;
483*f126890aSEmmanuel Vadot	};
484*f126890aSEmmanuel Vadot};
485*f126890aSEmmanuel Vadot
486*f126890aSEmmanuel Vadot&ipu1_csi0 {
487*f126890aSEmmanuel Vadot	pinctrl-names = "default";
488*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_ipu1_csi0>;
489*f126890aSEmmanuel Vadot	status = "okay";
490*f126890aSEmmanuel Vadot};
491*f126890aSEmmanuel Vadot
492*f126890aSEmmanuel Vadot&ipu1_csi0_mux_from_parallel_sensor {
493*f126890aSEmmanuel Vadot	remote-endpoint = <&tvp5151_to_ipu1_csi0_mux>;
494*f126890aSEmmanuel Vadot};
495*f126890aSEmmanuel Vadot
496*f126890aSEmmanuel Vadot&ldb {
497*f126890aSEmmanuel Vadot	status = "okay";
498*f126890aSEmmanuel Vadot
499*f126890aSEmmanuel Vadot	lvds-channel@0 {
500*f126890aSEmmanuel Vadot		status = "okay";
501*f126890aSEmmanuel Vadot
502*f126890aSEmmanuel Vadot		port@4 {
503*f126890aSEmmanuel Vadot			reg = <4>;
504*f126890aSEmmanuel Vadot
505*f126890aSEmmanuel Vadot			lvds0_out: endpoint {
506*f126890aSEmmanuel Vadot				remote-endpoint = <&panel_in>;
507*f126890aSEmmanuel Vadot			};
508*f126890aSEmmanuel Vadot		};
509*f126890aSEmmanuel Vadot	};
510*f126890aSEmmanuel Vadot};
511*f126890aSEmmanuel Vadot
512*f126890aSEmmanuel Vadot&pcie {
513*f126890aSEmmanuel Vadot	status = "okay";
514*f126890aSEmmanuel Vadot};
515*f126890aSEmmanuel Vadot
516*f126890aSEmmanuel Vadot&pwm1 {
517*f126890aSEmmanuel Vadot	pinctrl-names = "default";
518*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_pwm1>;
519*f126890aSEmmanuel Vadot	status = "okay";
520*f126890aSEmmanuel Vadot};
521*f126890aSEmmanuel Vadot
522*f126890aSEmmanuel Vadot&ssi1 {
523*f126890aSEmmanuel Vadot	#sound-dai-cells = <0>;
524*f126890aSEmmanuel Vadot	fsl,mode = "ac97-slave";
525*f126890aSEmmanuel Vadot	status = "okay";
526*f126890aSEmmanuel Vadot};
527*f126890aSEmmanuel Vadot
528*f126890aSEmmanuel Vadot&uart1 {
529*f126890aSEmmanuel Vadot	pinctrl-names = "default";
530*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_uart1>;
531*f126890aSEmmanuel Vadot	status = "okay";
532*f126890aSEmmanuel Vadot};
533*f126890aSEmmanuel Vadot
534*f126890aSEmmanuel Vadot&uart2 {
535*f126890aSEmmanuel Vadot	pinctrl-names = "default";
536*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_uart2>;
537*f126890aSEmmanuel Vadot	status = "okay";
538*f126890aSEmmanuel Vadot};
539*f126890aSEmmanuel Vadot
540*f126890aSEmmanuel Vadot&uart3 {
541*f126890aSEmmanuel Vadot	pinctrl-names = "default";
542*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_uart3>;
543*f126890aSEmmanuel Vadot	status = "okay";
544*f126890aSEmmanuel Vadot};
545*f126890aSEmmanuel Vadot
546*f126890aSEmmanuel Vadot&uart4 {
547*f126890aSEmmanuel Vadot	pinctrl-names = "default";
548*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_uart4>;
549*f126890aSEmmanuel Vadot	status = "okay";
550*f126890aSEmmanuel Vadot};
551*f126890aSEmmanuel Vadot
552*f126890aSEmmanuel Vadot&uart5 {
553*f126890aSEmmanuel Vadot	pinctrl-names = "default";
554*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_uart5>;
555*f126890aSEmmanuel Vadot	status = "okay";
556*f126890aSEmmanuel Vadot};
557*f126890aSEmmanuel Vadot
558*f126890aSEmmanuel Vadot&usbh1 {
559*f126890aSEmmanuel Vadot	vbus-supply = <&reg_h1_vbus>;
560*f126890aSEmmanuel Vadot	pinctrl-names = "default";
561*f126890aSEmmanuel Vadot	phy_type = "utmi";
562*f126890aSEmmanuel Vadot	dr_mode = "host";
563*f126890aSEmmanuel Vadot	disable-over-current;
564*f126890aSEmmanuel Vadot	status = "okay";
565*f126890aSEmmanuel Vadot};
566*f126890aSEmmanuel Vadot
567*f126890aSEmmanuel Vadot&usbotg {
568*f126890aSEmmanuel Vadot	vbus-supply = <&reg_otg_vbus>;
569*f126890aSEmmanuel Vadot	pinctrl-names = "default";
570*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_usbotg>;
571*f126890aSEmmanuel Vadot	phy_type = "utmi";
572*f126890aSEmmanuel Vadot	dr_mode = "host";
573*f126890aSEmmanuel Vadot	over-current-active-low;
574*f126890aSEmmanuel Vadot	status = "okay";
575*f126890aSEmmanuel Vadot};
576*f126890aSEmmanuel Vadot
577*f126890aSEmmanuel Vadot&usbphynop1 {
578*f126890aSEmmanuel Vadot	status = "disabled";
579*f126890aSEmmanuel Vadot};
580*f126890aSEmmanuel Vadot
581*f126890aSEmmanuel Vadot&usbphynop2 {
582*f126890aSEmmanuel Vadot	status = "disabled";
583*f126890aSEmmanuel Vadot};
584*f126890aSEmmanuel Vadot
585*f126890aSEmmanuel Vadot&usdhc1 {
586*f126890aSEmmanuel Vadot	pinctrl-names = "default";
587*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_usdhc1>;
588*f126890aSEmmanuel Vadot	cd-gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;
589*f126890aSEmmanuel Vadot	no-1-8-v;
590*f126890aSEmmanuel Vadot	disable-wp;
591*f126890aSEmmanuel Vadot	cap-sd-highspeed;
592*f126890aSEmmanuel Vadot	no-mmc;
593*f126890aSEmmanuel Vadot	no-sdio;
594*f126890aSEmmanuel Vadot	status = "okay";
595*f126890aSEmmanuel Vadot};
596*f126890aSEmmanuel Vadot
597*f126890aSEmmanuel Vadot&usdhc3 {
598*f126890aSEmmanuel Vadot	pinctrl-names = "default";
599*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_usdhc3>;
600*f126890aSEmmanuel Vadot	bus-width = <8>;
601*f126890aSEmmanuel Vadot	no-1-8-v;
602*f126890aSEmmanuel Vadot	non-removable;
603*f126890aSEmmanuel Vadot	no-sd;
604*f126890aSEmmanuel Vadot	no-sdio;
605*f126890aSEmmanuel Vadot	status = "okay";
606*f126890aSEmmanuel Vadot};
607*f126890aSEmmanuel Vadot
608*f126890aSEmmanuel Vadot&iomuxc {
609*f126890aSEmmanuel Vadot	pinctrl-names = "default";
610*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_hog>;
611*f126890aSEmmanuel Vadot
612*f126890aSEmmanuel Vadot	pinctrl_audmux: audmuxgrp {
613*f126890aSEmmanuel Vadot		fsl,pins = <
614*f126890aSEmmanuel Vadot			/* SGTL5000 sys_mclk */
615*f126890aSEmmanuel Vadot			MX6QDL_PAD_CSI0_MCLK__CCM_CLKO1			0x030b0
616*f126890aSEmmanuel Vadot			MX6QDL_PAD_CSI0_DAT7__AUD3_RXD			0x130b0
617*f126890aSEmmanuel Vadot			MX6QDL_PAD_CSI0_DAT4__AUD3_TXC			0x130b0
618*f126890aSEmmanuel Vadot			MX6QDL_PAD_CSI0_DAT5__AUD3_TXD			0x110b0
619*f126890aSEmmanuel Vadot			MX6QDL_PAD_CSI0_DAT6__AUD3_TXFS			0x130b0
620*f126890aSEmmanuel Vadot		>;
621*f126890aSEmmanuel Vadot	};
622*f126890aSEmmanuel Vadot
623*f126890aSEmmanuel Vadot	pinctrl_backlight: backlightgrp {
624*f126890aSEmmanuel Vadot		fsl,pins = <
625*f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT7__GPIO4_IO28		0x1b0b0
626*f126890aSEmmanuel Vadot		>;
627*f126890aSEmmanuel Vadot	};
628*f126890aSEmmanuel Vadot
629*f126890aSEmmanuel Vadot	pinctrl_can1: can1grp {
630*f126890aSEmmanuel Vadot		fsl,pins = <
631*f126890aSEmmanuel Vadot			MX6QDL_PAD_KEY_ROW2__FLEXCAN1_RX		0x1b000
632*f126890aSEmmanuel Vadot			MX6QDL_PAD_KEY_COL2__FLEXCAN1_TX		0x3008
633*f126890aSEmmanuel Vadot			/* CAN1_SR */
634*f126890aSEmmanuel Vadot			MX6QDL_PAD_KEY_COL3__GPIO4_IO12			0x13008
635*f126890aSEmmanuel Vadot			/* CAN1_TERM */
636*f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_0__GPIO1_IO00			0x1b088
637*f126890aSEmmanuel Vadot		>;
638*f126890aSEmmanuel Vadot	};
639*f126890aSEmmanuel Vadot
640*f126890aSEmmanuel Vadot	pinctrl_can2: can2grp {
641*f126890aSEmmanuel Vadot		fsl,pins = <
642*f126890aSEmmanuel Vadot			MX6QDL_PAD_KEY_ROW4__FLEXCAN2_RX		0x1b000
643*f126890aSEmmanuel Vadot			MX6QDL_PAD_KEY_COL4__FLEXCAN2_TX		0x3008
644*f126890aSEmmanuel Vadot			/* CAN2_SR */
645*f126890aSEmmanuel Vadot			MX6QDL_PAD_KEY_ROW3__GPIO4_IO13			0x13008
646*f126890aSEmmanuel Vadot		>;
647*f126890aSEmmanuel Vadot	};
648*f126890aSEmmanuel Vadot
649*f126890aSEmmanuel Vadot	pinctrl_ecspi1: ecspi1grp {
650*f126890aSEmmanuel Vadot		fsl,pins = <
651*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D17__ECSPI1_MISO			0x100b1
652*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D18__ECSPI1_MOSI			0x100b1
653*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D16__ECSPI1_SCLK			0x100b1
654*f126890aSEmmanuel Vadot			/* CS */
655*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D19__GPIO3_IO19			0x000b1
656*f126890aSEmmanuel Vadot		>;
657*f126890aSEmmanuel Vadot	};
658*f126890aSEmmanuel Vadot
659*f126890aSEmmanuel Vadot	pinctrl_enet: enetgrp {
660*f126890aSEmmanuel Vadot		fsl,pins = <
661*f126890aSEmmanuel Vadot			/* MX6QDL_ENET_PINGRP4 */
662*f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_MDC__ENET_MDC			0x1b0b0
663*f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_MDIO__ENET_MDIO			0x1b0b0
664*f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_RXD0__ENET_RX_DATA0		0x1b0b0
665*f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_RXD1__ENET_RX_DATA1		0x1b0b0
666*f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_RX_ER__ENET_RX_ER		0x1b0b0
667*f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_TX_EN__ENET_TX_EN		0x1b0b0
668*f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_TXD0__ENET_TX_DATA0		0x1b0b0
669*f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_TXD1__ENET_TX_DATA1		0x1b0b0
670*f126890aSEmmanuel Vadot			MX6QDL_PAD_ENET_CRS_DV__ENET_RX_EN		0x1b0b0
671*f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_16__ENET_REF_CLK		0x1b0b0
672*f126890aSEmmanuel Vadot			/* Phy reset */
673*f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT5__GPIO4_IO26		0x1b0b0
674*f126890aSEmmanuel Vadot			/* nINTRP */
675*f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT9__GPIO4_IO30		0x1b0b0
676*f126890aSEmmanuel Vadot		>;
677*f126890aSEmmanuel Vadot	};
678*f126890aSEmmanuel Vadot
679*f126890aSEmmanuel Vadot	pinctrl_gpiokeys: gpiokeygrp {
680*f126890aSEmmanuel Vadot		fsl,pins = <
681*f126890aSEmmanuel Vadot			/* nON_SWITCH */
682*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_CS0__GPIO2_IO23			0x1b0b0
683*f126890aSEmmanuel Vadot		>;
684*f126890aSEmmanuel Vadot	};
685*f126890aSEmmanuel Vadot
686*f126890aSEmmanuel Vadot	pinctrl_hog: hoggrp {
687*f126890aSEmmanuel Vadot		fsl,pins = <
688*f126890aSEmmanuel Vadot			/* ITU656_nRESET */
689*f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_2__GPIO1_IO02			0x1b0b0
690*f126890aSEmmanuel Vadot			/* CAM1_MIRROR */
691*f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_3__GPIO1_IO03			0x130b0
692*f126890aSEmmanuel Vadot			/* CAM2_MIRROR */
693*f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_4__GPIO1_IO04			0x130b0
694*f126890aSEmmanuel Vadot			/* CAM_nDETECT */
695*f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_17__GPIO7_IO12			0x1b0b0
696*f126890aSEmmanuel Vadot			/* ISB_IN1 */
697*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_A16__GPIO2_IO22			0x130b0
698*f126890aSEmmanuel Vadot			/* ISB_nIN2 */
699*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_A17__GPIO2_IO21			0x1b0b0
700*f126890aSEmmanuel Vadot			/* WARN_LIGHT */
701*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_A19__GPIO2_IO19			0x100b0
702*f126890aSEmmanuel Vadot			/* ON2_FB */
703*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_A25__GPIO5_IO02			0x100b0
704*f126890aSEmmanuel Vadot			/* YACO_nIRQ */
705*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D23__GPIO3_IO23			0x1b0b0
706*f126890aSEmmanuel Vadot			/* YACO_BOOT0 */
707*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D30__GPIO3_IO30			0x130b0
708*f126890aSEmmanuel Vadot			/* YACO_nRESET */
709*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D31__GPIO3_IO31			0x1b0b0
710*f126890aSEmmanuel Vadot			/* FORCE_ON1 */
711*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_EB2__GPIO2_IO30			0x1b0b0
712*f126890aSEmmanuel Vadot			/* AUDIO_nRESET */
713*f126890aSEmmanuel Vadot			MX6QDL_PAD_CSI0_VSYNC__GPIO5_IO21		0x1f0b0
714*f126890aSEmmanuel Vadot			/* ITU656_nPDN */
715*f126890aSEmmanuel Vadot			MX6QDL_PAD_CSI0_DATA_EN__GPIO5_IO20		0x1b0b0
716*f126890aSEmmanuel Vadot
717*f126890aSEmmanuel Vadot			/* HW revision detect */
718*f126890aSEmmanuel Vadot			/* REV_ID0 */
719*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD4_DAT0__GPIO2_IO08			0x1b0b0
720*f126890aSEmmanuel Vadot			/* REV_ID1 */
721*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD4_DAT1__GPIO2_IO09			0x1b0b0
722*f126890aSEmmanuel Vadot			/* REV_ID2 */
723*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD4_DAT2__GPIO2_IO10			0x1b0b0
724*f126890aSEmmanuel Vadot			/* REV_ID3 */
725*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD4_DAT3__GPIO2_IO11			0x1b0b0
726*f126890aSEmmanuel Vadot			/* REV_ID4 */
727*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD4_DAT4__GPIO2_IO12			0x1b0b0
728*f126890aSEmmanuel Vadot
729*f126890aSEmmanuel Vadot			/* New in HW revision 1 */
730*f126890aSEmmanuel Vadot			/* ON1_FB */
731*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D20__GPIO3_IO20			0x100b0
732*f126890aSEmmanuel Vadot			/* DIP1_FB */
733*f126890aSEmmanuel Vadot			MX6QDL_PAD_DI0_PIN2__GPIO4_IO18			0x1b0b0
734*f126890aSEmmanuel Vadot		>;
735*f126890aSEmmanuel Vadot	};
736*f126890aSEmmanuel Vadot
737*f126890aSEmmanuel Vadot	pinctrl_i2c1: i2c1grp {
738*f126890aSEmmanuel Vadot		fsl,pins = <
739*f126890aSEmmanuel Vadot			MX6QDL_PAD_CSI0_DAT8__I2C1_SDA		0x4001f8b1
740*f126890aSEmmanuel Vadot			MX6QDL_PAD_CSI0_DAT9__I2C1_SCL		0x4001f8b1
741*f126890aSEmmanuel Vadot		>;
742*f126890aSEmmanuel Vadot	};
743*f126890aSEmmanuel Vadot
744*f126890aSEmmanuel Vadot	pinctrl_i2c3: i2c3grp {
745*f126890aSEmmanuel Vadot		fsl,pins = <
746*f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_5__I2C3_SCL		0x4001b8b1
747*f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_6__I2C3_SDA		0x4001b8b1
748*f126890aSEmmanuel Vadot		>;
749*f126890aSEmmanuel Vadot	};
750*f126890aSEmmanuel Vadot
751*f126890aSEmmanuel Vadot	pinctrl_ipu1_csi0: ipu1csi0grp {
752*f126890aSEmmanuel Vadot		fsl,pins = <
753*f126890aSEmmanuel Vadot			MX6QDL_PAD_CSI0_DAT12__IPU1_CSI0_DATA12		0x1b0b0
754*f126890aSEmmanuel Vadot			MX6QDL_PAD_CSI0_DAT13__IPU1_CSI0_DATA13		0x1b0b0
755*f126890aSEmmanuel Vadot			MX6QDL_PAD_CSI0_DAT14__IPU1_CSI0_DATA14		0x1b0b0
756*f126890aSEmmanuel Vadot			MX6QDL_PAD_CSI0_DAT15__IPU1_CSI0_DATA15		0x1b0b0
757*f126890aSEmmanuel Vadot			MX6QDL_PAD_CSI0_DAT16__IPU1_CSI0_DATA16		0x1b0b0
758*f126890aSEmmanuel Vadot			MX6QDL_PAD_CSI0_DAT17__IPU1_CSI0_DATA17		0x1b0b0
759*f126890aSEmmanuel Vadot			MX6QDL_PAD_CSI0_DAT18__IPU1_CSI0_DATA18		0x1b0b0
760*f126890aSEmmanuel Vadot			MX6QDL_PAD_CSI0_DAT19__IPU1_CSI0_DATA19		0x1b0b0
761*f126890aSEmmanuel Vadot			MX6QDL_PAD_CSI0_PIXCLK__IPU1_CSI0_PIXCLK	0x1b0b0
762*f126890aSEmmanuel Vadot		>;
763*f126890aSEmmanuel Vadot	};
764*f126890aSEmmanuel Vadot
765*f126890aSEmmanuel Vadot	pinctrl_leds: ledsgrp {
766*f126890aSEmmanuel Vadot		fsl,pins = <
767*f126890aSEmmanuel Vadot			/* DEBUG0 */
768*f126890aSEmmanuel Vadot			MX6QDL_PAD_DI0_DISP_CLK__GPIO4_IO16		0x1b0b0
769*f126890aSEmmanuel Vadot			/* DEBUG1 */
770*f126890aSEmmanuel Vadot			MX6QDL_PAD_DI0_PIN15__GPIO4_IO17		0x1b0b0
771*f126890aSEmmanuel Vadot			/* POWER_LED */
772*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_CS1__GPIO2_IO24			0x1b0b0
773*f126890aSEmmanuel Vadot		>;
774*f126890aSEmmanuel Vadot	};
775*f126890aSEmmanuel Vadot
776*f126890aSEmmanuel Vadot	pinctrl_pca9539: pca9539 {
777*f126890aSEmmanuel Vadot		fsl,pins = <
778*f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_19__GPIO4_IO05			0x1b0b0
779*f126890aSEmmanuel Vadot		>;
780*f126890aSEmmanuel Vadot	};
781*f126890aSEmmanuel Vadot
782*f126890aSEmmanuel Vadot	pinctrl_pwm1: pwm1grp {
783*f126890aSEmmanuel Vadot		fsl,pins = <
784*f126890aSEmmanuel Vadot			MX6QDL_PAD_DISP0_DAT8__PWM1_OUT			0x1b0b0
785*f126890aSEmmanuel Vadot		>;
786*f126890aSEmmanuel Vadot	};
787*f126890aSEmmanuel Vadot
788*f126890aSEmmanuel Vadot	/* YaCO AUX Uart */
789*f126890aSEmmanuel Vadot	pinctrl_uart1: uart1grp {
790*f126890aSEmmanuel Vadot		fsl,pins = <
791*f126890aSEmmanuel Vadot			MX6QDL_PAD_CSI0_DAT10__UART1_TX_DATA		0x1b0b1
792*f126890aSEmmanuel Vadot			MX6QDL_PAD_CSI0_DAT11__UART1_RX_DATA		0x1b0b1
793*f126890aSEmmanuel Vadot		>;
794*f126890aSEmmanuel Vadot	};
795*f126890aSEmmanuel Vadot
796*f126890aSEmmanuel Vadot	pinctrl_uart2: uart2grp {
797*f126890aSEmmanuel Vadot		fsl,pins = <
798*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D26__UART2_TX_DATA		0x1b0b1
799*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D27__UART2_RX_DATA		0x1b0b1
800*f126890aSEmmanuel Vadot		>;
801*f126890aSEmmanuel Vadot	};
802*f126890aSEmmanuel Vadot
803*f126890aSEmmanuel Vadot	/* YaCO Touchscreen UART */
804*f126890aSEmmanuel Vadot	pinctrl_uart3: uart3grp {
805*f126890aSEmmanuel Vadot		fsl,pins = <
806*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D24__UART3_TX_DATA		0x1b0b1
807*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D25__UART3_RX_DATA		0x1b0b1
808*f126890aSEmmanuel Vadot		>;
809*f126890aSEmmanuel Vadot	};
810*f126890aSEmmanuel Vadot
811*f126890aSEmmanuel Vadot	pinctrl_uart4: uart4grp {
812*f126890aSEmmanuel Vadot		fsl,pins = <
813*f126890aSEmmanuel Vadot			MX6QDL_PAD_KEY_COL0__UART4_TX_DATA		0x1b0b1
814*f126890aSEmmanuel Vadot			MX6QDL_PAD_KEY_ROW0__UART4_RX_DATA		0x1b0b1
815*f126890aSEmmanuel Vadot		>;
816*f126890aSEmmanuel Vadot	};
817*f126890aSEmmanuel Vadot
818*f126890aSEmmanuel Vadot	pinctrl_uart5: uart5grp {
819*f126890aSEmmanuel Vadot		fsl,pins = <
820*f126890aSEmmanuel Vadot			MX6QDL_PAD_KEY_COL1__UART5_TX_DATA		0x1b0b1
821*f126890aSEmmanuel Vadot			MX6QDL_PAD_KEY_ROW1__UART5_RX_DATA		0x1b0b1
822*f126890aSEmmanuel Vadot		>;
823*f126890aSEmmanuel Vadot	};
824*f126890aSEmmanuel Vadot
825*f126890aSEmmanuel Vadot	pinctrl_usbotg: usbotggrp {
826*f126890aSEmmanuel Vadot		fsl,pins = <
827*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D21__USB_OTG_OC			0x1b0b0
828*f126890aSEmmanuel Vadot			/* power enable, high active */
829*f126890aSEmmanuel Vadot			MX6QDL_PAD_EIM_D22__GPIO3_IO22			0x1b0b0
830*f126890aSEmmanuel Vadot		>;
831*f126890aSEmmanuel Vadot	};
832*f126890aSEmmanuel Vadot
833*f126890aSEmmanuel Vadot	pinctrl_usdhc1: usdhc1grp {
834*f126890aSEmmanuel Vadot		fsl,pins = <
835*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD1_CMD__SD1_CMD			0x170f9
836*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD1_CLK__SD1_CLK			0x100f9
837*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD1_DAT0__SD1_DATA0			0x170f9
838*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD1_DAT1__SD1_DATA1			0x170f9
839*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD1_DAT2__SD1_DATA2			0x170f9
840*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD1_DAT3__SD1_DATA3			0x170f9
841*f126890aSEmmanuel Vadot			MX6QDL_PAD_GPIO_1__GPIO1_IO01			0x1b0b0
842*f126890aSEmmanuel Vadot		>;
843*f126890aSEmmanuel Vadot	};
844*f126890aSEmmanuel Vadot
845*f126890aSEmmanuel Vadot	pinctrl_usdhc3: usdhc3grp {
846*f126890aSEmmanuel Vadot		fsl,pins = <
847*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_CMD__SD3_CMD			0x17099
848*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_CLK__SD3_CLK			0x10099
849*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT0__SD3_DATA0			0x17099
850*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT1__SD3_DATA1			0x17099
851*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT2__SD3_DATA2			0x17099
852*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT3__SD3_DATA3			0x17099
853*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT4__SD3_DATA4			0x17099
854*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT5__SD3_DATA5			0x17099
855*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT6__SD3_DATA6			0x17099
856*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_DAT7__SD3_DATA7			0x17099
857*f126890aSEmmanuel Vadot			MX6QDL_PAD_SD3_RST__SD3_RESET			0x1b0b1
858*f126890aSEmmanuel Vadot		>;
859*f126890aSEmmanuel Vadot	};
860*f126890aSEmmanuel Vadot};
861