xref: /linux/arch/arm/boot/dts/nxp/imx/imx6qdl-apalis.dtsi (revision 3a39d672e7f48b8d6b91a09afa4b55352773b4b5)
1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2724ba675SRob Herring/*
3724ba675SRob Herring * Copyright 2014-2022 Toradex
4724ba675SRob Herring * Copyright 2012 Freescale Semiconductor, Inc.
5724ba675SRob Herring * Copyright 2011 Linaro Ltd.
6724ba675SRob Herring */
7724ba675SRob Herring
8724ba675SRob Herring#include <dt-bindings/gpio/gpio.h>
9724ba675SRob Herring#include <dt-bindings/pwm/pwm.h>
10724ba675SRob Herring
11724ba675SRob Herring/ {
12724ba675SRob Herring	model = "Toradex Apalis iMX6Q/D Module";
13724ba675SRob Herring	compatible = "toradex,apalis_imx6q", "fsl,imx6q";
14724ba675SRob Herring
15cdb7389aSHiago De Franco	aliases {
16cdb7389aSHiago De Franco		mmc0 = &usdhc3; /* eMMC */
17cdb7389aSHiago De Franco		mmc1 = &usdhc1; /* MMC1 slot */
18cdb7389aSHiago De Franco		mmc2 = &usdhc2; /* SD1 slot */
19cdb7389aSHiago De Franco		/delete-property/ mmc3;
20cdb7389aSHiago De Franco	};
21cdb7389aSHiago De Franco
22724ba675SRob Herring	/* Will be filled by the bootloader */
23724ba675SRob Herring	memory@10000000 {
24724ba675SRob Herring		device_type = "memory";
25724ba675SRob Herring		reg = <0x10000000 0>;
26724ba675SRob Herring	};
27724ba675SRob Herring
28724ba675SRob Herring	backlight: backlight {
29724ba675SRob Herring		compatible = "pwm-backlight";
30724ba675SRob Herring		brightness-levels = <0 45 63 88 119 158 203 255>;
31724ba675SRob Herring		default-brightness-level = <4>;
32724ba675SRob Herring		enable-gpios = <&gpio3 13 GPIO_ACTIVE_HIGH>;
33724ba675SRob Herring		pinctrl-names = "default";
34724ba675SRob Herring		pinctrl-0 = <&pinctrl_gpio_bl_on>;
35724ba675SRob Herring		power-supply = <&reg_module_3v3>;
36724ba675SRob Herring		pwms = <&pwm4 0 5000000 PWM_POLARITY_INVERTED>;
37724ba675SRob Herring		status = "disabled";
38724ba675SRob Herring	};
39724ba675SRob Herring
40724ba675SRob Herring	clk_ov5640_osc: clk-ov5640-osc {
41724ba675SRob Herring		compatible = "fixed-clock";
42724ba675SRob Herring		#clock-cells = <0>;
43724ba675SRob Herring		clock-frequency = <24000000>;
44724ba675SRob Herring	};
45724ba675SRob Herring
46724ba675SRob Herring	gpio-keys {
47724ba675SRob Herring		compatible = "gpio-keys";
48724ba675SRob Herring		pinctrl-names = "default";
49724ba675SRob Herring		pinctrl-0 = <&pinctrl_gpio_keys>;
50724ba675SRob Herring
51724ba675SRob Herring		key-wakeup {
52724ba675SRob Herring			debounce-interval = <10>;
53724ba675SRob Herring			gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
54724ba675SRob Herring			label = "Wake-Up";
55724ba675SRob Herring			linux,code = <KEY_WAKEUP>;
56724ba675SRob Herring			wakeup-source;
57724ba675SRob Herring		};
58724ba675SRob Herring	};
59724ba675SRob Herring
60724ba675SRob Herring	lcd_display: disp0 {
61724ba675SRob Herring		compatible = "fsl,imx-parallel-display";
62724ba675SRob Herring		#address-cells = <1>;
63724ba675SRob Herring		#size-cells = <0>;
64724ba675SRob Herring		interface-pix-fmt = "rgb24";
65724ba675SRob Herring		pinctrl-names = "default";
66724ba675SRob Herring		pinctrl-0 = <&pinctrl_ipu1_lcdif>;
67724ba675SRob Herring		status = "disabled";
68724ba675SRob Herring
69724ba675SRob Herring		port@0 {
70724ba675SRob Herring			reg = <0>;
71724ba675SRob Herring
72724ba675SRob Herring			lcd_display_in: endpoint {
73724ba675SRob Herring				remote-endpoint = <&ipu1_di1_disp1>;
74724ba675SRob Herring			};
75724ba675SRob Herring		};
76724ba675SRob Herring
77724ba675SRob Herring		port@1 {
78724ba675SRob Herring			reg = <1>;
79724ba675SRob Herring
80724ba675SRob Herring			lcd_display_out: endpoint {
81724ba675SRob Herring				remote-endpoint = <&lcd_panel_in>;
82724ba675SRob Herring			};
83724ba675SRob Herring		};
84724ba675SRob Herring	};
85724ba675SRob Herring
86724ba675SRob Herring	panel_dpi: panel-dpi {
87724ba675SRob Herring		compatible = "edt,et057090dhu";
88724ba675SRob Herring		backlight = <&backlight>;
89724ba675SRob Herring
90724ba675SRob Herring		status = "disabled";
91724ba675SRob Herring
92724ba675SRob Herring		port {
93724ba675SRob Herring			lcd_panel_in: endpoint {
94724ba675SRob Herring				remote-endpoint = <&lcd_display_out>;
95724ba675SRob Herring			};
96724ba675SRob Herring		};
97724ba675SRob Herring	};
98724ba675SRob Herring
99724ba675SRob Herring	panel_lvds: panel-lvds {
100724ba675SRob Herring		compatible = "panel-lvds";
101724ba675SRob Herring		backlight = <&backlight>;
102724ba675SRob Herring		status = "disabled";
103724ba675SRob Herring
104724ba675SRob Herring		port {
105724ba675SRob Herring			lvds_panel_in: endpoint {
106724ba675SRob Herring				remote-endpoint = <&lvds0_out>;
107724ba675SRob Herring			};
108724ba675SRob Herring		};
109724ba675SRob Herring	};
110724ba675SRob Herring
111724ba675SRob Herring	reg_module_3v3: regulator-module-3v3 {
112724ba675SRob Herring		compatible = "regulator-fixed";
113724ba675SRob Herring		regulator-always-on;
114724ba675SRob Herring		regulator-max-microvolt = <3300000>;
115724ba675SRob Herring		regulator-min-microvolt = <3300000>;
116724ba675SRob Herring		regulator-name = "+V3.3";
117724ba675SRob Herring	};
118724ba675SRob Herring
119724ba675SRob Herring	reg_module_3v3_audio: regulator-module-3v3-audio {
120724ba675SRob Herring		compatible = "regulator-fixed";
121724ba675SRob Herring		regulator-always-on;
122724ba675SRob Herring		regulator-max-microvolt = <3300000>;
123724ba675SRob Herring		regulator-min-microvolt = <3300000>;
124724ba675SRob Herring		regulator-name = "+V3.3_AUDIO";
125724ba675SRob Herring	};
126724ba675SRob Herring
127724ba675SRob Herring	reg_ov5640_1v8_d_o_vdd: regulator-ov5640-1v8-d-o-vdd {
128724ba675SRob Herring		compatible = "regulator-fixed";
129724ba675SRob Herring		regulator-always-on;
130724ba675SRob Herring		regulator-max-microvolt = <1800000>;
131724ba675SRob Herring		regulator-min-microvolt = <1800000>;
132724ba675SRob Herring		regulator-name = "DOVDD/DVDD_1.8V";
133724ba675SRob Herring		/* Note: The CSI module uses on-board 3.3V_SW supply */
134724ba675SRob Herring		vin-supply = <&reg_module_3v3>;
135724ba675SRob Herring	};
136724ba675SRob Herring
137724ba675SRob Herring	reg_ov5640_2v8_a_vdd: regulator-ov5640-2v8-a-vdd {
138724ba675SRob Herring		compatible = "regulator-fixed";
139724ba675SRob Herring		regulator-always-on;
140724ba675SRob Herring		regulator-max-microvolt = <2800000>;
141724ba675SRob Herring		regulator-min-microvolt = <2800000>;
142724ba675SRob Herring		regulator-name = "AVDD/AFVDD_2.8V";
143724ba675SRob Herring		/* Note: The CSI module uses on-board 3.3V_SW supply */
144724ba675SRob Herring		vin-supply = <&reg_module_3v3>;
145724ba675SRob Herring	};
146724ba675SRob Herring
147724ba675SRob Herring	reg_usb_otg_vbus: regulator-usb-otg-vbus {
148724ba675SRob Herring		compatible = "regulator-fixed";
149724ba675SRob Herring		enable-active-high;
150724ba675SRob Herring		gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>;
151724ba675SRob Herring		pinctrl-names = "default";
152724ba675SRob Herring		pinctrl-0 = <&pinctrl_regulator_usbotg_pwr>;
153724ba675SRob Herring		regulator-max-microvolt = <5000000>;
154724ba675SRob Herring		regulator-min-microvolt = <5000000>;
155724ba675SRob Herring		regulator-name = "usb_otg_vbus";
156724ba675SRob Herring		status = "disabled";
157724ba675SRob Herring	};
158724ba675SRob Herring
159724ba675SRob Herring	/* on module USB hub */
160724ba675SRob Herring	reg_usb_host_vbus_hub: regulator-usb-host-vbus-hub {
161724ba675SRob Herring		compatible = "regulator-fixed";
162724ba675SRob Herring		enable-active-high;
163724ba675SRob Herring		gpio = <&gpio3 28 GPIO_ACTIVE_HIGH>;
164724ba675SRob Herring		pinctrl-names = "default";
165724ba675SRob Herring		pinctrl-0 = <&pinctrl_regulator_usbhub_pwr>;
166724ba675SRob Herring		regulator-max-microvolt = <5000000>;
167724ba675SRob Herring		regulator-min-microvolt = <5000000>;
168724ba675SRob Herring		regulator-name = "usb_host_vbus_hub";
169724ba675SRob Herring		startup-delay-us = <2000>;
170724ba675SRob Herring		status = "okay";
171724ba675SRob Herring	};
172724ba675SRob Herring
173724ba675SRob Herring	reg_usb_host_vbus: regulator-usb-host-vbus {
174724ba675SRob Herring		compatible = "regulator-fixed";
175724ba675SRob Herring		enable-active-high;
176724ba675SRob Herring		gpio = <&gpio1 0 GPIO_ACTIVE_HIGH>;
177724ba675SRob Herring		pinctrl-names = "default";
178724ba675SRob Herring		pinctrl-0 = <&pinctrl_regulator_usbh_pwr>;
179724ba675SRob Herring		regulator-max-microvolt = <5000000>;
180724ba675SRob Herring		regulator-min-microvolt = <5000000>;
181724ba675SRob Herring		regulator-name = "usb_host_vbus";
182724ba675SRob Herring		vin-supply = <&reg_usb_host_vbus_hub>;
183724ba675SRob Herring		status = "disabled";
184724ba675SRob Herring	};
185724ba675SRob Herring
186724ba675SRob Herring	sound {
187724ba675SRob Herring		compatible = "fsl,imx-audio-sgtl5000";
188724ba675SRob Herring		audio-codec = <&codec>;
189724ba675SRob Herring		audio-routing =
190724ba675SRob Herring			"LINE_IN", "Line In Jack",
191724ba675SRob Herring			"MIC_IN", "Mic Jack",
192724ba675SRob Herring			"Mic Jack", "Mic Bias",
193724ba675SRob Herring			"Headphone Jack", "HP_OUT";
194724ba675SRob Herring		model = "imx6q-apalis-sgtl5000";
195724ba675SRob Herring		mux-ext-port = <4>;
196724ba675SRob Herring		mux-int-port = <1>;
197724ba675SRob Herring		ssi-controller = <&ssi1>;
198724ba675SRob Herring	};
199724ba675SRob Herring
200*d469b771SElinor Montmasson	spdif_out: spdif-out {
201*d469b771SElinor Montmasson		compatible = "linux,spdif-dit";
202*d469b771SElinor Montmasson		#sound-dai-cells = <0>;
203*d469b771SElinor Montmasson	};
204*d469b771SElinor Montmasson
205*d469b771SElinor Montmasson	spdif_in: spdif-in {
206*d469b771SElinor Montmasson		compatible = "linux,spdif-dir";
207*d469b771SElinor Montmasson		#sound-dai-cells = <0>;
208*d469b771SElinor Montmasson	};
209*d469b771SElinor Montmasson
210724ba675SRob Herring	sound_spdif: sound-spdif {
211724ba675SRob Herring		compatible = "fsl,imx-audio-spdif";
212*d469b771SElinor Montmasson		audio-cpu = <&spdif>;
213*d469b771SElinor Montmasson		audio-codec = <&spdif_out>, <&spdif_in>;
214724ba675SRob Herring		model = "imx-spdif";
215724ba675SRob Herring		status = "disabled";
216724ba675SRob Herring	};
217724ba675SRob Herring};
218724ba675SRob Herring
219724ba675SRob Herring&audmux {
220724ba675SRob Herring	pinctrl-names = "default";
221724ba675SRob Herring	pinctrl-0 = <&pinctrl_audmux>;
222724ba675SRob Herring	status = "okay";
223724ba675SRob Herring};
224724ba675SRob Herring
225724ba675SRob Herring&can1 {
226724ba675SRob Herring	pinctrl-names = "default", "sleep";
227724ba675SRob Herring	pinctrl-0 = <&pinctrl_flexcan1_default>;
228724ba675SRob Herring	pinctrl-1 = <&pinctrl_flexcan1_sleep>;
229724ba675SRob Herring	status = "disabled";
230724ba675SRob Herring};
231724ba675SRob Herring
232724ba675SRob Herring&can2 {
233724ba675SRob Herring	pinctrl-names = "default", "sleep";
234724ba675SRob Herring	pinctrl-0 = <&pinctrl_flexcan2_default>;
235724ba675SRob Herring	pinctrl-1 = <&pinctrl_flexcan2_sleep>;
236724ba675SRob Herring	status = "disabled";
237724ba675SRob Herring};
238724ba675SRob Herring
239724ba675SRob Herring&clks {
240724ba675SRob Herring	fsl,pmic-stby-poweroff;
241724ba675SRob Herring};
242724ba675SRob Herring
243724ba675SRob Herring/* Apalis SPI1 */
244724ba675SRob Herring&ecspi1 {
245724ba675SRob Herring	cs-gpios = <&gpio5 25 GPIO_ACTIVE_LOW>;
246724ba675SRob Herring	pinctrl-names = "default";
247724ba675SRob Herring	pinctrl-0 = <&pinctrl_ecspi1>;
248724ba675SRob Herring	status = "disabled";
249724ba675SRob Herring};
250724ba675SRob Herring
251724ba675SRob Herring/* Apalis SPI2 */
252724ba675SRob Herring&ecspi2 {
253724ba675SRob Herring	cs-gpios = <&gpio2 26 GPIO_ACTIVE_LOW>;
254724ba675SRob Herring	pinctrl-names = "default";
255724ba675SRob Herring	pinctrl-0 = <&pinctrl_ecspi2>;
256724ba675SRob Herring	status = "disabled";
257724ba675SRob Herring};
258724ba675SRob Herring
259724ba675SRob Herring&gpio1 {
260724ba675SRob Herring	gpio-line-names = "MXM3_84",
261724ba675SRob Herring			  "MXM3_4",
262724ba675SRob Herring			  "MXM3_15/GPIO7",
263724ba675SRob Herring			  "MXM3_96",
264724ba675SRob Herring			  "MXM3_37",
265724ba675SRob Herring			  "",
266724ba675SRob Herring			  "MXM3_17/GPIO8",
267724ba675SRob Herring			  "MXM3_14",
268724ba675SRob Herring			  "MXM3_12",
269724ba675SRob Herring			  "MXM3_2",
270724ba675SRob Herring			  "MXM3_184",
271724ba675SRob Herring			  "MXM3_180",
272724ba675SRob Herring			  "MXM3_178",
273724ba675SRob Herring			  "MXM3_176",
274724ba675SRob Herring			  "MXM3_188",
275724ba675SRob Herring			  "MXM3_186",
276724ba675SRob Herring			  "MXM3_160",
277724ba675SRob Herring			  "MXM3_162",
278724ba675SRob Herring			  "MXM3_150",
279724ba675SRob Herring			  "MXM3_144",
280724ba675SRob Herring			  "MXM3_154",
281724ba675SRob Herring			  "MXM3_146",
282724ba675SRob Herring			  "",
283724ba675SRob Herring			  "",
284724ba675SRob Herring			  "MXM3_72";
285724ba675SRob Herring};
286724ba675SRob Herring
287724ba675SRob Herring&gpio2 {
288724ba675SRob Herring	gpio-line-names = "MXM3_148",
289724ba675SRob Herring			  "MXM3_152",
290724ba675SRob Herring			  "MXM3_156",
291724ba675SRob Herring			  "MXM3_158",
292724ba675SRob Herring			  "MXM3_1/GPIO1",
293724ba675SRob Herring			  "MXM3_3/GPIO2",
294724ba675SRob Herring			  "MXM3_5/GPIO3",
295724ba675SRob Herring			  "MXM3_7/GPIO4",
296724ba675SRob Herring			  "MXM3_95",
297724ba675SRob Herring			  "MXM3_6",
298724ba675SRob Herring			  "MXM3_8",
299724ba675SRob Herring			  "MXM3_123",
300724ba675SRob Herring			  "MXM3_126",
301724ba675SRob Herring			  "MXM3_128",
302724ba675SRob Herring			  "MXM3_130",
303724ba675SRob Herring			  "MXM3_132",
304724ba675SRob Herring			  "MXM3_253",
305724ba675SRob Herring			  "MXM3_251",
306724ba675SRob Herring			  "MXM3_283",
307724ba675SRob Herring			  "MXM3_281",
308724ba675SRob Herring			  "MXM3_279",
309724ba675SRob Herring			  "MXM3_277",
310724ba675SRob Herring			  "MXM3_243",
311724ba675SRob Herring			  "MXM3_235",
312724ba675SRob Herring			  "MXM3_231",
313724ba675SRob Herring			  "MXM3_229",
314724ba675SRob Herring			  "MXM3_233",
315724ba675SRob Herring			  "MXM3_198",
316724ba675SRob Herring			  "MXM3_275",
317724ba675SRob Herring			  "MXM3_273",
318724ba675SRob Herring			  "MXM3_207",
319724ba675SRob Herring			  "MXM3_122";
320724ba675SRob Herring};
321724ba675SRob Herring
322724ba675SRob Herring&gpio3 {
323724ba675SRob Herring	gpio-line-names = "MXM3_271",
324724ba675SRob Herring			  "MXM3_269",
325724ba675SRob Herring			  "MXM3_301",
326724ba675SRob Herring			  "MXM3_299",
327724ba675SRob Herring			  "MXM3_297",
328724ba675SRob Herring			  "MXM3_295",
329724ba675SRob Herring			  "MXM3_293",
330724ba675SRob Herring			  "MXM3_291",
331724ba675SRob Herring			  "MXM3_289",
332724ba675SRob Herring			  "MXM3_287",
333724ba675SRob Herring			  "MXM3_249",
334724ba675SRob Herring			  "MXM3_247",
335724ba675SRob Herring			  "MXM3_245",
336724ba675SRob Herring			  "MXM3_286",
337724ba675SRob Herring			  "MXM3_239",
338724ba675SRob Herring			  "MXM3_35",
339724ba675SRob Herring			  "MXM3_205",
340724ba675SRob Herring			  "MXM3_203",
341724ba675SRob Herring			  "MXM3_201",
342724ba675SRob Herring			  "MXM3_116",
343724ba675SRob Herring			  "MXM3_114",
344724ba675SRob Herring			  "MXM3_262",
345724ba675SRob Herring			  "MXM3_274",
346724ba675SRob Herring			  "MXM3_124",
347724ba675SRob Herring			  "MXM3_110",
348724ba675SRob Herring			  "MXM3_120",
349724ba675SRob Herring			  "MXM3_263",
350724ba675SRob Herring			  "MXM3_265",
351724ba675SRob Herring			  "",
352724ba675SRob Herring			  "MXM3_135",
353724ba675SRob Herring			  "MXM3_261",
354724ba675SRob Herring			  "MXM3_259";
355724ba675SRob Herring};
356724ba675SRob Herring
357724ba675SRob Herring&gpio4 {
358724ba675SRob Herring	gpio-line-names = "",
359724ba675SRob Herring			  "",
360724ba675SRob Herring			  "",
361724ba675SRob Herring			  "",
362724ba675SRob Herring			  "",
363724ba675SRob Herring			  "MXM3_194",
364724ba675SRob Herring			  "MXM3_136",
365724ba675SRob Herring			  "MXM3_134",
366724ba675SRob Herring			  "MXM3_140",
367724ba675SRob Herring			  "MXM3_138",
368724ba675SRob Herring			  "",
369724ba675SRob Herring			  "MXM3_220",
370724ba675SRob Herring			  "",
371724ba675SRob Herring			  "",
372724ba675SRob Herring			  "MXM3_18",
373724ba675SRob Herring			  "MXM3_16",
374724ba675SRob Herring			  "",
375724ba675SRob Herring			  "",
376724ba675SRob Herring			  "MXM3_214",
377724ba675SRob Herring			  "MXM3_216",
378724ba675SRob Herring			  "MXM3_164";
379724ba675SRob Herring};
380724ba675SRob Herring
381724ba675SRob Herring&gpio5 {
382724ba675SRob Herring	gpio-line-names = "MXM3_159",
383724ba675SRob Herring			  "",
384724ba675SRob Herring			  "",
385724ba675SRob Herring			  "",
386724ba675SRob Herring			  "MXM3_257",
387724ba675SRob Herring			  "",
388724ba675SRob Herring			  "",
389724ba675SRob Herring			  "",
390724ba675SRob Herring			  "",
391724ba675SRob Herring			  "",
392724ba675SRob Herring			  "MXM3_200",
393724ba675SRob Herring			  "MXM3_196",
394724ba675SRob Herring			  "MXM3_204",
395724ba675SRob Herring			  "MXM3_202",
396724ba675SRob Herring			  "",
397724ba675SRob Herring			  "",
398724ba675SRob Herring			  "",
399724ba675SRob Herring			  "",
400724ba675SRob Herring			  "MXM3_191",
401724ba675SRob Herring			  "MXM3_197",
402724ba675SRob Herring			  "MXM3_77",
403724ba675SRob Herring			  "MXM3_195",
404724ba675SRob Herring			  "MXM3_221",
405724ba675SRob Herring			  "MXM3_225",
406724ba675SRob Herring			  "MXM3_223",
407724ba675SRob Herring			  "MXM3_227",
408724ba675SRob Herring			  "MXM3_209",
409724ba675SRob Herring			  "MXM3_211",
410724ba675SRob Herring			  "MXM3_118",
411724ba675SRob Herring			  "MXM3_112",
412724ba675SRob Herring			  "MXM3_187",
413724ba675SRob Herring			  "MXM3_185";
414724ba675SRob Herring};
415724ba675SRob Herring
416724ba675SRob Herring&gpio6 {
417724ba675SRob Herring	gpio-line-names = "MXM3_183",
418724ba675SRob Herring			  "MXM3_181",
419724ba675SRob Herring			  "MXM3_179",
420724ba675SRob Herring			  "MXM3_177",
421724ba675SRob Herring			  "MXM3_175",
422724ba675SRob Herring			  "MXM3_173",
423724ba675SRob Herring			  "MXM3_255",
424724ba675SRob Herring			  "MXM3_83",
425724ba675SRob Herring			  "MXM3_91",
426724ba675SRob Herring			  "MXM3_13/GPIO6",
427724ba675SRob Herring			  "MXM3_11/GPIO5",
428724ba675SRob Herring			  "MXM3_79",
429724ba675SRob Herring			  "",
430724ba675SRob Herring			  "",
431724ba675SRob Herring			  "MXM3_190",
432724ba675SRob Herring			  "MXM3_193",
433724ba675SRob Herring			  "MXM3_89";
434724ba675SRob Herring};
435724ba675SRob Herring
436724ba675SRob Herring&gpio7 {
437724ba675SRob Herring	gpio-line-names = "",
438724ba675SRob Herring			  "",
439724ba675SRob Herring			  "",
440724ba675SRob Herring			  "",
441724ba675SRob Herring			  "",
442724ba675SRob Herring			  "",
443724ba675SRob Herring			  "",
444724ba675SRob Herring			  "",
445724ba675SRob Herring			  "",
446724ba675SRob Herring			  "MXM3_99",
447724ba675SRob Herring			  "MXM3_85",
448724ba675SRob Herring			  "MXM3_217",
449724ba675SRob Herring			  "MXM3_215";
450724ba675SRob Herring};
451724ba675SRob Herring
452724ba675SRob Herring&gpr {
453724ba675SRob Herring	ipu1_csi0_mux {
454724ba675SRob Herring		#address-cells = <1>;
455724ba675SRob Herring		#size-cells = <0>;
456724ba675SRob Herring		status = "disabled";
457724ba675SRob Herring
458724ba675SRob Herring		port@1 {
459724ba675SRob Herring			reg = <1>;
460724ba675SRob Herring			ipu1_csi0_mux_from_parallel_sensor: endpoint {
461724ba675SRob Herring				remote-endpoint = <&adv7280_to_ipu1_csi0_mux>;
462724ba675SRob Herring			};
463724ba675SRob Herring		};
464724ba675SRob Herring	};
465724ba675SRob Herring};
466724ba675SRob Herring
467724ba675SRob Herring&fec {
468724ba675SRob Herring	pinctrl-names = "default";
469724ba675SRob Herring	pinctrl-0 = <&pinctrl_enet>;
470724ba675SRob Herring	phy-mode = "rgmii-id";
471724ba675SRob Herring	phy-handle = <&ethphy>;
472724ba675SRob Herring	phy-reset-duration = <10>;
473724ba675SRob Herring	phy-reset-gpios = <&gpio1 25 GPIO_ACTIVE_LOW>;
474724ba675SRob Herring	status = "okay";
475724ba675SRob Herring
476724ba675SRob Herring	mdio {
477724ba675SRob Herring		#address-cells = <1>;
478724ba675SRob Herring		#size-cells = <0>;
479724ba675SRob Herring
480724ba675SRob Herring		ethphy: ethernet-phy@7 {
481724ba675SRob Herring			interrupt-parent = <&gpio1>;
482724ba675SRob Herring			interrupts = <30 IRQ_TYPE_LEVEL_LOW>;
483724ba675SRob Herring			reg = <7>;
484724ba675SRob Herring		};
485724ba675SRob Herring	};
486724ba675SRob Herring};
487724ba675SRob Herring
488724ba675SRob Herring&hdmi {
489724ba675SRob Herring	pinctrl-names = "default";
490724ba675SRob Herring	pinctrl-0 = <&pinctrl_hdmi_ddc &pinctrl_hdmi_cec>;
491724ba675SRob Herring	status = "disabled";
492724ba675SRob Herring};
493724ba675SRob Herring
494724ba675SRob Herring/* I2C1_SDA/SCL on MXM3 209/211 (e.g. RTC on carrier board) */
495724ba675SRob Herring&i2c1 {
496724ba675SRob Herring	clock-frequency = <100000>;
497724ba675SRob Herring	pinctrl-names = "default", "gpio";
498724ba675SRob Herring	pinctrl-0 = <&pinctrl_i2c1>;
499724ba675SRob Herring	pinctrl-1 = <&pinctrl_i2c1_gpio>;
500724ba675SRob Herring	scl-gpios = <&gpio5 27 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
501724ba675SRob Herring	sda-gpios = <&gpio5 26 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
502724ba675SRob Herring	status = "disabled";
503724ba675SRob Herring
504724ba675SRob Herring	atmel_mxt_ts: touchscreen@4a {
505724ba675SRob Herring		compatible = "atmel,maxtouch";
506724ba675SRob Herring		/* These GPIOs are muxed with the iomuxc node */
507724ba675SRob Herring		interrupt-parent = <&gpio6>;
508724ba675SRob Herring		interrupts = <10 IRQ_TYPE_EDGE_FALLING>;	/* MXM3_11 */
509724ba675SRob Herring		reg = <0x4a>;
510724ba675SRob Herring		reset-gpios = <&gpio6 9 GPIO_ACTIVE_LOW>;	/* MXM3_13 */
511724ba675SRob Herring		status = "disabled";
512724ba675SRob Herring	};
513724ba675SRob Herring};
514724ba675SRob Herring
515724ba675SRob Herring/*
516724ba675SRob Herring * PWR_I2C: power I2C to audio codec, PMIC, temperature sensor and
517724ba675SRob Herring * touch screen controller
518724ba675SRob Herring */
519724ba675SRob Herring&i2c2 {
520724ba675SRob Herring	clock-frequency = <100000>;
521724ba675SRob Herring	pinctrl-names = "default", "gpio";
522724ba675SRob Herring	pinctrl-0 = <&pinctrl_i2c2>;
523724ba675SRob Herring	pinctrl-1 = <&pinctrl_i2c2_gpio>;
524724ba675SRob Herring	scl-gpios = <&gpio4 12 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
525724ba675SRob Herring	sda-gpios = <&gpio4 13 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
526724ba675SRob Herring	status = "okay";
527724ba675SRob Herring
528724ba675SRob Herring	pmic: pmic@8 {
529724ba675SRob Herring		compatible = "fsl,pfuze100";
530724ba675SRob Herring		fsl,pmic-stby-poweroff;
531724ba675SRob Herring		reg = <0x08>;
532724ba675SRob Herring
533724ba675SRob Herring		regulators {
534724ba675SRob Herring			sw1a_reg: sw1ab {
535724ba675SRob Herring				regulator-always-on;
536724ba675SRob Herring				regulator-boot-on;
537724ba675SRob Herring				regulator-max-microvolt = <1875000>;
538724ba675SRob Herring				regulator-min-microvolt = <300000>;
539724ba675SRob Herring				regulator-ramp-delay = <6250>;
540724ba675SRob Herring			};
541724ba675SRob Herring
542724ba675SRob Herring			sw1c_reg: sw1c {
543724ba675SRob Herring				regulator-always-on;
544724ba675SRob Herring				regulator-boot-on;
545724ba675SRob Herring				regulator-max-microvolt = <1875000>;
546724ba675SRob Herring				regulator-min-microvolt = <300000>;
547724ba675SRob Herring				regulator-ramp-delay = <6250>;
548724ba675SRob Herring			};
549724ba675SRob Herring
550724ba675SRob Herring			sw3a_reg: sw3a {
551724ba675SRob Herring				regulator-always-on;
552724ba675SRob Herring				regulator-boot-on;
553724ba675SRob Herring				regulator-max-microvolt = <1975000>;
554724ba675SRob Herring				regulator-min-microvolt = <400000>;
555724ba675SRob Herring			};
556724ba675SRob Herring
557724ba675SRob Herring			swbst_reg: swbst {
558724ba675SRob Herring				regulator-always-on;
559724ba675SRob Herring				regulator-boot-on;
560724ba675SRob Herring				regulator-max-microvolt = <5150000>;
561724ba675SRob Herring				regulator-min-microvolt = <5000000>;
562724ba675SRob Herring			};
563724ba675SRob Herring
564724ba675SRob Herring			snvs_reg: vsnvs {
565724ba675SRob Herring				regulator-always-on;
566724ba675SRob Herring				regulator-boot-on;
567724ba675SRob Herring				regulator-max-microvolt = <3000000>;
568724ba675SRob Herring				regulator-min-microvolt = <1000000>;
569724ba675SRob Herring			};
570724ba675SRob Herring
571724ba675SRob Herring			vref_reg: vrefddr {
572724ba675SRob Herring				regulator-always-on;
573724ba675SRob Herring				regulator-boot-on;
574724ba675SRob Herring			};
575724ba675SRob Herring
576724ba675SRob Herring			vgen1_reg: vgen1 {
577724ba675SRob Herring				regulator-always-on;
578724ba675SRob Herring				regulator-boot-on;
579724ba675SRob Herring				regulator-max-microvolt = <1550000>;
580724ba675SRob Herring				regulator-min-microvolt = <800000>;
581724ba675SRob Herring			};
582724ba675SRob Herring
583724ba675SRob Herring			vgen2_reg: vgen2 {
584724ba675SRob Herring				regulator-always-on;
585724ba675SRob Herring				regulator-boot-on;
586724ba675SRob Herring				regulator-max-microvolt = <1550000>;
587724ba675SRob Herring				regulator-min-microvolt = <800000>;
588724ba675SRob Herring			};
589724ba675SRob Herring
590724ba675SRob Herring			vgen3_reg: vgen3 {
591724ba675SRob Herring				regulator-always-on;
592724ba675SRob Herring				regulator-boot-on;
593724ba675SRob Herring				regulator-max-microvolt = <3300000>;
594724ba675SRob Herring				regulator-min-microvolt = <1800000>;
595724ba675SRob Herring			};
596724ba675SRob Herring
597724ba675SRob Herring			vgen4_reg: vgen4 {
598724ba675SRob Herring				regulator-always-on;
599724ba675SRob Herring				regulator-boot-on;
600724ba675SRob Herring				regulator-max-microvolt = <1800000>;
601724ba675SRob Herring				regulator-min-microvolt = <1800000>;
602724ba675SRob Herring			};
603724ba675SRob Herring
604724ba675SRob Herring			vgen5_reg: vgen5 {
605724ba675SRob Herring				regulator-always-on;
606724ba675SRob Herring				regulator-boot-on;
607724ba675SRob Herring				regulator-max-microvolt = <3300000>;
608724ba675SRob Herring				regulator-min-microvolt = <1800000>;
609724ba675SRob Herring			};
610724ba675SRob Herring
611724ba675SRob Herring			vgen6_reg: vgen6 {
612724ba675SRob Herring				regulator-always-on;
613724ba675SRob Herring				regulator-boot-on;
614724ba675SRob Herring				regulator-max-microvolt = <3300000>;
615724ba675SRob Herring				regulator-min-microvolt = <1800000>;
616724ba675SRob Herring			};
617724ba675SRob Herring		};
618724ba675SRob Herring	};
619724ba675SRob Herring
620724ba675SRob Herring	codec: sgtl5000@a {
621724ba675SRob Herring		compatible = "fsl,sgtl5000";
622724ba675SRob Herring		#sound-dai-cells = <0>;
623724ba675SRob Herring		clocks = <&clks IMX6QDL_CLK_CKO>;
624724ba675SRob Herring		pinctrl-names = "default";
625724ba675SRob Herring		pinctrl-0 = <&pinctrl_sgtl5000>;
626724ba675SRob Herring		reg = <0x0a>;
627724ba675SRob Herring		VDDA-supply = <&reg_module_3v3_audio>;
628724ba675SRob Herring		VDDIO-supply = <&reg_module_3v3>;
629724ba675SRob Herring		VDDD-supply = <&vgen4_reg>;
630724ba675SRob Herring	};
631724ba675SRob Herring
632724ba675SRob Herring	/* STMPE811 touch screen controller */
633724ba675SRob Herring	stmpe811@41 {
634724ba675SRob Herring		compatible = "st,stmpe811";
635724ba675SRob Herring		blocks = <0x5>;
636724ba675SRob Herring		id = <0>;
637724ba675SRob Herring		interrupts = <10 IRQ_TYPE_LEVEL_LOW>;
638724ba675SRob Herring		interrupt-parent = <&gpio4>;
639724ba675SRob Herring		irq-trigger = <0x1>;
640724ba675SRob Herring		pinctrl-names = "default";
641724ba675SRob Herring		pinctrl-0 = <&pinctrl_touch_int>;
642724ba675SRob Herring		reg = <0x41>;
643724ba675SRob Herring		/* 3.25 MHz ADC clock speed */
644724ba675SRob Herring		st,adc-freq = <1>;
645724ba675SRob Herring		/* 12-bit ADC */
646724ba675SRob Herring		st,mod-12b = <1>;
647724ba675SRob Herring		/* internal ADC reference */
648724ba675SRob Herring		st,ref-sel = <0>;
649724ba675SRob Herring		/* ADC conversion time: 80 clocks */
650724ba675SRob Herring		st,sample-time = <4>;
651724ba675SRob Herring
652724ba675SRob Herring		stmpe_ts: stmpe_touchscreen {
653724ba675SRob Herring			compatible = "st,stmpe-ts";
654724ba675SRob Herring			/* 8 sample average control */
655724ba675SRob Herring			st,ave-ctrl = <3>;
656724ba675SRob Herring			/* 7 length fractional part in z */
657724ba675SRob Herring			st,fraction-z = <7>;
658724ba675SRob Herring			/*
659724ba675SRob Herring			 * 50 mA typical 80 mA max touchscreen drivers
660724ba675SRob Herring			 * current limit value
661724ba675SRob Herring			 */
662724ba675SRob Herring			st,i-drive = <1>;
663724ba675SRob Herring			/* 1 ms panel driver settling time */
664724ba675SRob Herring			st,settling = <3>;
665724ba675SRob Herring			/* 5 ms touch detect interrupt delay */
666724ba675SRob Herring			st,touch-det-delay = <5>;
667724ba675SRob Herring			status = "disabled";
668724ba675SRob Herring		};
669724ba675SRob Herring
670724ba675SRob Herring		stmpe_adc: stmpe_adc {
671724ba675SRob Herring			compatible = "st,stmpe-adc";
672724ba675SRob Herring			#io-channel-cells = <1>;
673724ba675SRob Herring			/* forbid to use ADC channels 3-0 (touch) */
674724ba675SRob Herring			st,norequest-mask = <0x0F>;
675724ba675SRob Herring		};
676724ba675SRob Herring	};
677724ba675SRob Herring};
678724ba675SRob Herring
679724ba675SRob Herring/*
680724ba675SRob Herring * I2C3_SDA/SCL (CAM) on MXM3 pin 201/203 (e.g. camera sensor on carrier
681724ba675SRob Herring * board)
682724ba675SRob Herring */
683724ba675SRob Herring&i2c3 {
684724ba675SRob Herring	clock-frequency = <100000>;
685724ba675SRob Herring	pinctrl-names = "default", "gpio";
686724ba675SRob Herring	pinctrl-0 = <&pinctrl_i2c3>;
687724ba675SRob Herring	pinctrl-1 = <&pinctrl_i2c3_gpio>;
688724ba675SRob Herring	scl-gpios = <&gpio3 17 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
689724ba675SRob Herring	sda-gpios = <&gpio3 18 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
690724ba675SRob Herring	status = "disabled";
691724ba675SRob Herring
692724ba675SRob Herring	adv_7280: adv7280@21 {
693724ba675SRob Herring		compatible = "adi,adv7280";
694724ba675SRob Herring		adv,force-bt656-4;
695724ba675SRob Herring		pinctrl-names = "default";
696724ba675SRob Herring		pinctrl-0 = <&pinctrl_ipu1_csi0>;
697724ba675SRob Herring		reg = <0x21>;
698724ba675SRob Herring		status = "disabled";
699724ba675SRob Herring
700724ba675SRob Herring		port {
701724ba675SRob Herring			adv7280_to_ipu1_csi0_mux: endpoint {
702724ba675SRob Herring				bus-width = <8>;
703724ba675SRob Herring				remote-endpoint = <&ipu1_csi0_mux_from_parallel_sensor>;
704724ba675SRob Herring			};
705724ba675SRob Herring		};
706724ba675SRob Herring	};
707724ba675SRob Herring
708724ba675SRob Herring	ov5640_csi_cam: ov5640_mipi@3c {
709724ba675SRob Herring		compatible = "ovti,ov5640";
710724ba675SRob Herring		AVDD-supply = <&reg_ov5640_2v8_a_vdd>;
711724ba675SRob Herring		DOVDD-supply = <&reg_ov5640_1v8_d_o_vdd>;
712724ba675SRob Herring		DVDD-supply = <&reg_ov5640_1v8_d_o_vdd>;
713724ba675SRob Herring		clock-names = "xclk";
714724ba675SRob Herring		clocks = <&clks IMX6QDL_CLK_CKO2>;
715724ba675SRob Herring		pinctrl-names = "default";
716724ba675SRob Herring		pinctrl-0 = <&pinctrl_cam_mclk>;
717724ba675SRob Herring		/* These GPIOs are muxed with the iomuxc node */
718724ba675SRob Herring		powerdown-gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>;
719724ba675SRob Herring		reg = <0x3c>;
720724ba675SRob Herring		reset-gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
721724ba675SRob Herring		status = "disabled";
722724ba675SRob Herring
723724ba675SRob Herring		port {
724724ba675SRob Herring			ov5640_to_mipi_csi2: endpoint {
725724ba675SRob Herring				clock-lanes = <0>;
726724ba675SRob Herring				data-lanes = <1 2>;
727724ba675SRob Herring				remote-endpoint = <&mipi_csi_from_ov5640>;
728724ba675SRob Herring			};
729724ba675SRob Herring		};
730724ba675SRob Herring	};
731724ba675SRob Herring};
732724ba675SRob Herring
733724ba675SRob Herring&ipu1_di1_disp1 {
734724ba675SRob Herring	remote-endpoint = <&lcd_display_in>;
735724ba675SRob Herring};
736724ba675SRob Herring
737724ba675SRob Herring&ldb {
738724ba675SRob Herring	lvds-channel@0 {
739724ba675SRob Herring		port@4 {
740724ba675SRob Herring			reg = <4>;
741724ba675SRob Herring
742724ba675SRob Herring			lvds0_out: endpoint {
743724ba675SRob Herring				remote-endpoint = <&lvds_panel_in>;
744724ba675SRob Herring			};
745724ba675SRob Herring		};
746724ba675SRob Herring	};
747724ba675SRob Herring
748724ba675SRob Herring	lvds-channel@1 {
749724ba675SRob Herring		fsl,data-mapping = "spwg";
750724ba675SRob Herring		fsl,data-width = <18>;
751724ba675SRob Herring
752724ba675SRob Herring		port@4 {
753724ba675SRob Herring			reg = <4>;
754724ba675SRob Herring
755724ba675SRob Herring			lvds1_out: endpoint {
756724ba675SRob Herring			};
757724ba675SRob Herring		};
758724ba675SRob Herring	};
759724ba675SRob Herring};
760724ba675SRob Herring
761724ba675SRob Herring&mipi_csi {
762724ba675SRob Herring	#address-cells = <1>;
763724ba675SRob Herring	#size-cells = <0>;
764724ba675SRob Herring	status = "disabled";
765724ba675SRob Herring
766724ba675SRob Herring	port@0 {
767724ba675SRob Herring		reg = <0>;
768724ba675SRob Herring
769724ba675SRob Herring		mipi_csi_from_ov5640: endpoint {
770724ba675SRob Herring			clock-lanes = <0>;
771724ba675SRob Herring			data-lanes = <1 2>;
772724ba675SRob Herring			remote-endpoint = <&ov5640_to_mipi_csi2>;
773724ba675SRob Herring		};
774724ba675SRob Herring	};
775724ba675SRob Herring};
776724ba675SRob Herring
777724ba675SRob Herring&pwm1 {
778724ba675SRob Herring	pinctrl-names = "default";
779724ba675SRob Herring	pinctrl-0 = <&pinctrl_pwm1>;
780724ba675SRob Herring	status = "disabled";
781724ba675SRob Herring};
782724ba675SRob Herring
783724ba675SRob Herring&pwm2 {
784724ba675SRob Herring	pinctrl-names = "default";
785724ba675SRob Herring	pinctrl-0 = <&pinctrl_pwm2>;
786724ba675SRob Herring	status = "disabled";
787724ba675SRob Herring};
788724ba675SRob Herring
789724ba675SRob Herring&pwm3 {
790724ba675SRob Herring	pinctrl-names = "default";
791724ba675SRob Herring	pinctrl-0 = <&pinctrl_pwm3>;
792724ba675SRob Herring	status = "disabled";
793724ba675SRob Herring};
794724ba675SRob Herring
795724ba675SRob Herring&pwm4 {
796724ba675SRob Herring	pinctrl-names = "default";
797724ba675SRob Herring	pinctrl-0 = <&pinctrl_pwm4>;
798724ba675SRob Herring	status = "disabled";
799724ba675SRob Herring};
800724ba675SRob Herring
801724ba675SRob Herring&spdif {
802724ba675SRob Herring	pinctrl-names = "default";
803724ba675SRob Herring	pinctrl-0 = <&pinctrl_spdif>;
804724ba675SRob Herring	status = "disabled";
805724ba675SRob Herring};
806724ba675SRob Herring
807724ba675SRob Herring&ssi1 {
808724ba675SRob Herring	status = "okay";
809724ba675SRob Herring};
810724ba675SRob Herring
811724ba675SRob Herring&uart1 {
812724ba675SRob Herring	fsl,dte-mode;
813724ba675SRob Herring	pinctrl-names = "default";
814724ba675SRob Herring	pinctrl-0 = <&pinctrl_uart1_dte &pinctrl_uart1_ctrl>;
815724ba675SRob Herring	uart-has-rtscts;
816724ba675SRob Herring	status = "disabled";
817724ba675SRob Herring};
818724ba675SRob Herring
819724ba675SRob Herring&uart2 {
820724ba675SRob Herring	fsl,dte-mode;
821724ba675SRob Herring	pinctrl-names = "default";
822724ba675SRob Herring	pinctrl-0 = <&pinctrl_uart2_dte>;
823724ba675SRob Herring	uart-has-rtscts;
824724ba675SRob Herring	status = "disabled";
825724ba675SRob Herring};
826724ba675SRob Herring
827724ba675SRob Herring&uart4 {
828724ba675SRob Herring	fsl,dte-mode;
829724ba675SRob Herring	pinctrl-names = "default";
830724ba675SRob Herring	pinctrl-0 = <&pinctrl_uart4_dte>;
831724ba675SRob Herring	status = "disabled";
832724ba675SRob Herring};
833724ba675SRob Herring
834724ba675SRob Herring&uart5 {
835724ba675SRob Herring	fsl,dte-mode;
836724ba675SRob Herring	pinctrl-names = "default";
837724ba675SRob Herring	pinctrl-0 = <&pinctrl_uart5_dte>;
838724ba675SRob Herring	status = "disabled";
839724ba675SRob Herring};
840724ba675SRob Herring
841724ba675SRob Herring&usbotg {
842724ba675SRob Herring	pinctrl-names = "default";
843724ba675SRob Herring	pinctrl-0 = <&pinctrl_usbotg>;
844724ba675SRob Herring	status = "disabled";
845724ba675SRob Herring};
846724ba675SRob Herring
847724ba675SRob Herring/* MMC1 */
848724ba675SRob Herring&usdhc1 {
849724ba675SRob Herring	bus-width = <8>;
850724ba675SRob Herring	cd-gpios = <&gpio4 20 GPIO_ACTIVE_LOW>;
851724ba675SRob Herring	disable-wp;
852724ba675SRob Herring	no-1-8-v;
853724ba675SRob Herring	pinctrl-names = "default";
854724ba675SRob Herring	pinctrl-0 = <&pinctrl_usdhc1_4bit &pinctrl_usdhc1_8bit &pinctrl_mmc_cd>;
855724ba675SRob Herring	vqmmc-supply = <&reg_module_3v3>;
856724ba675SRob Herring	status = "disabled";
857724ba675SRob Herring};
858724ba675SRob Herring
859724ba675SRob Herring/* SD1 */
860724ba675SRob Herring&usdhc2 {
861724ba675SRob Herring	bus-width = <4>;
862724ba675SRob Herring	disable-wp;
863724ba675SRob Herring	no-1-8-v;
864724ba675SRob Herring	pinctrl-names = "default";
865724ba675SRob Herring	pinctrl-0 = <&pinctrl_usdhc2>;
866724ba675SRob Herring	vqmmc-supply = <&reg_module_3v3>;
867724ba675SRob Herring	status = "disabled";
868724ba675SRob Herring};
869724ba675SRob Herring
870724ba675SRob Herring/* eMMC */
871724ba675SRob Herring&usdhc3 {
872724ba675SRob Herring	bus-width = <8>;
873724ba675SRob Herring	no-1-8-v;
874724ba675SRob Herring	non-removable;
875724ba675SRob Herring	pinctrl-names = "default";
876724ba675SRob Herring	pinctrl-0 = <&pinctrl_usdhc3>;
877724ba675SRob Herring	vqmmc-supply = <&reg_module_3v3>;
878724ba675SRob Herring	status = "okay";
879724ba675SRob Herring};
880724ba675SRob Herring
881724ba675SRob Herring&weim {
882724ba675SRob Herring	status = "disabled";
883724ba675SRob Herring};
884724ba675SRob Herring
885724ba675SRob Herring&iomuxc {
886724ba675SRob Herring	/* Mux the Apalis GPIOs */
887724ba675SRob Herring	pinctrl-names = "default";
888724ba675SRob Herring	pinctrl-0 = <&pinctrl_apalis_gpio1 &pinctrl_apalis_gpio2
889724ba675SRob Herring		     &pinctrl_apalis_gpio3 &pinctrl_apalis_gpio4
890724ba675SRob Herring		     &pinctrl_apalis_gpio5 &pinctrl_apalis_gpio6
891724ba675SRob Herring		     &pinctrl_apalis_gpio7 &pinctrl_apalis_gpio8
892724ba675SRob Herring		    >;
893724ba675SRob Herring
894724ba675SRob Herring	pinctrl_apalis_gpio1: apalisgpio1grp {
895724ba675SRob Herring		fsl,pins = <
896724ba675SRob Herring			MX6QDL_PAD_NANDF_D4__GPIO2_IO04 0x130b0
897724ba675SRob Herring		>;
898724ba675SRob Herring	};
899724ba675SRob Herring
900724ba675SRob Herring	pinctrl_apalis_gpio2: apalisgpio2grp {
901724ba675SRob Herring		fsl,pins = <
902724ba675SRob Herring			MX6QDL_PAD_NANDF_D5__GPIO2_IO05 0x130b0
903724ba675SRob Herring		>;
904724ba675SRob Herring	};
905724ba675SRob Herring
906724ba675SRob Herring	pinctrl_apalis_gpio3: apalisgpio3grp {
907724ba675SRob Herring		fsl,pins = <
908724ba675SRob Herring			MX6QDL_PAD_NANDF_D6__GPIO2_IO06 0x130b0
909724ba675SRob Herring		>;
910724ba675SRob Herring	};
911724ba675SRob Herring
912724ba675SRob Herring	pinctrl_apalis_gpio4: apalisgpio4grp {
913724ba675SRob Herring		fsl,pins = <
914724ba675SRob Herring			MX6QDL_PAD_NANDF_D7__GPIO2_IO07 0x130b0
915724ba675SRob Herring		>;
916724ba675SRob Herring	};
917724ba675SRob Herring
918724ba675SRob Herring	pinctrl_apalis_gpio5: apalisgpio5grp {
919724ba675SRob Herring		fsl,pins = <
920724ba675SRob Herring			MX6QDL_PAD_NANDF_RB0__GPIO6_IO10 0x130b0
921724ba675SRob Herring		>;
922724ba675SRob Herring	};
923724ba675SRob Herring
924724ba675SRob Herring	pinctrl_apalis_gpio6: apalisgpio6grp {
925724ba675SRob Herring		fsl,pins = <
926724ba675SRob Herring			MX6QDL_PAD_NANDF_WP_B__GPIO6_IO09 0x130b0
927724ba675SRob Herring		>;
928724ba675SRob Herring	};
929724ba675SRob Herring
930724ba675SRob Herring	pinctrl_apalis_gpio7: apalisgpio7grp {
931724ba675SRob Herring		fsl,pins = <
932724ba675SRob Herring			MX6QDL_PAD_GPIO_2__GPIO1_IO02 0x130b0
933724ba675SRob Herring		>;
934724ba675SRob Herring	};
935724ba675SRob Herring
936724ba675SRob Herring	pinctrl_apalis_gpio8: apalisgpio8grp {
937724ba675SRob Herring		fsl,pins = <
938724ba675SRob Herring			MX6QDL_PAD_GPIO_6__GPIO1_IO06 0x130b0
939724ba675SRob Herring		>;
940724ba675SRob Herring	};
941724ba675SRob Herring
942724ba675SRob Herring	pinctrl_audmux: audmuxgrp {
943724ba675SRob Herring		fsl,pins = <
944724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT20__AUD4_TXC	0x130b0
945724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT21__AUD4_TXD	0x130b0
946724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT22__AUD4_TXFS	0x130b0
947724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT23__AUD4_RXD	0x130b0
948724ba675SRob Herring		>;
949724ba675SRob Herring	};
950724ba675SRob Herring
951724ba675SRob Herring	pinctrl_cam_mclk: cammclkgrp {
952724ba675SRob Herring		fsl,pins = <
953724ba675SRob Herring			/* CAM sys_mclk */
954724ba675SRob Herring			MX6QDL_PAD_NANDF_CS2__CCM_CLKO2 0x00b0
955724ba675SRob Herring		>;
956724ba675SRob Herring	};
957724ba675SRob Herring
958724ba675SRob Herring	pinctrl_ecspi1: ecspi1grp {
959724ba675SRob Herring		fsl,pins = <
960724ba675SRob Herring			MX6QDL_PAD_CSI0_DAT6__ECSPI1_MISO 0x100b1
961724ba675SRob Herring			MX6QDL_PAD_CSI0_DAT5__ECSPI1_MOSI 0x100b1
962724ba675SRob Herring			MX6QDL_PAD_CSI0_DAT4__ECSPI1_SCLK 0x100b1
963724ba675SRob Herring			/* SPI1 cs */
964724ba675SRob Herring			MX6QDL_PAD_CSI0_DAT7__GPIO5_IO25 0x000b1
965724ba675SRob Herring		>;
966724ba675SRob Herring	};
967724ba675SRob Herring
968724ba675SRob Herring	pinctrl_ecspi2: ecspi2grp {
969724ba675SRob Herring		fsl,pins = <
970724ba675SRob Herring			MX6QDL_PAD_EIM_OE__ECSPI2_MISO 0x100b1
971724ba675SRob Herring			MX6QDL_PAD_EIM_CS1__ECSPI2_MOSI 0x100b1
972724ba675SRob Herring			MX6QDL_PAD_EIM_CS0__ECSPI2_SCLK 0x100b1
973724ba675SRob Herring			/* SPI2 cs */
974724ba675SRob Herring			MX6QDL_PAD_EIM_RW__GPIO2_IO26 0x000b1
975724ba675SRob Herring		>;
976724ba675SRob Herring	};
977724ba675SRob Herring
978724ba675SRob Herring	pinctrl_enet: enetgrp {
979724ba675SRob Herring		fsl,pins = <
980724ba675SRob Herring			MX6QDL_PAD_ENET_MDIO__ENET_MDIO		0x100b0
981724ba675SRob Herring			MX6QDL_PAD_ENET_MDC__ENET_MDC		0x100b0
982724ba675SRob Herring			MX6QDL_PAD_RGMII_TXC__RGMII_TXC		0x10030
983724ba675SRob Herring			MX6QDL_PAD_RGMII_TD0__RGMII_TD0		0x10030
984724ba675SRob Herring			MX6QDL_PAD_RGMII_TD1__RGMII_TD1		0x10030
985724ba675SRob Herring			MX6QDL_PAD_RGMII_TD2__RGMII_TD2		0x10030
986724ba675SRob Herring			MX6QDL_PAD_RGMII_TD3__RGMII_TD3		0x10030
987724ba675SRob Herring			MX6QDL_PAD_RGMII_TX_CTL__RGMII_TX_CTL	0x10030
988724ba675SRob Herring			MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK	0x100b0
989724ba675SRob Herring			MX6QDL_PAD_RGMII_RXC__RGMII_RXC		0x1b030
990724ba675SRob Herring			MX6QDL_PAD_RGMII_RD0__RGMII_RD0		0x1b030
991724ba675SRob Herring			MX6QDL_PAD_RGMII_RD1__RGMII_RD1		0x1b030
992724ba675SRob Herring			MX6QDL_PAD_RGMII_RD2__RGMII_RD2		0x1b030
993724ba675SRob Herring			MX6QDL_PAD_RGMII_RD3__RGMII_RD3		0x1b030
994724ba675SRob Herring			MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL	0x1b030
995724ba675SRob Herring			/* Ethernet PHY reset */
996724ba675SRob Herring			MX6QDL_PAD_ENET_CRS_DV__GPIO1_IO25	0x000b0
997724ba675SRob Herring			/* Ethernet PHY interrupt */
998724ba675SRob Herring			MX6QDL_PAD_ENET_TXD0__GPIO1_IO30	0x000b1
999724ba675SRob Herring		>;
1000724ba675SRob Herring	};
1001724ba675SRob Herring
1002724ba675SRob Herring	pinctrl_flexcan1_default: flexcan1defgrp {
1003724ba675SRob Herring		fsl,pins = <
1004724ba675SRob Herring			MX6QDL_PAD_GPIO_7__FLEXCAN1_TX 0x1b0b0
1005724ba675SRob Herring			MX6QDL_PAD_GPIO_8__FLEXCAN1_RX 0x1b0b0
1006724ba675SRob Herring		>;
1007724ba675SRob Herring	};
1008724ba675SRob Herring
1009724ba675SRob Herring	pinctrl_flexcan1_sleep: flexcan1slpgrp {
1010724ba675SRob Herring		fsl,pins = <
1011724ba675SRob Herring			MX6QDL_PAD_GPIO_7__GPIO1_IO07 0x0
1012724ba675SRob Herring			MX6QDL_PAD_GPIO_8__GPIO1_IO08 0x0
1013724ba675SRob Herring		>;
1014724ba675SRob Herring	};
1015724ba675SRob Herring
1016724ba675SRob Herring	pinctrl_flexcan2_default: flexcan2defgrp {
1017724ba675SRob Herring		fsl,pins = <
1018724ba675SRob Herring			MX6QDL_PAD_KEY_COL4__FLEXCAN2_TX 0x1b0b0
1019724ba675SRob Herring			MX6QDL_PAD_KEY_ROW4__FLEXCAN2_RX 0x1b0b0
1020724ba675SRob Herring		>;
1021724ba675SRob Herring	};
1022724ba675SRob Herring	pinctrl_flexcan2_sleep: flexcan2slpgrp {
1023724ba675SRob Herring		fsl,pins = <
1024724ba675SRob Herring			MX6QDL_PAD_KEY_COL4__GPIO4_IO14 0x0
1025724ba675SRob Herring			MX6QDL_PAD_KEY_ROW4__GPIO4_IO15 0x0
1026724ba675SRob Herring		>;
1027724ba675SRob Herring	};
1028724ba675SRob Herring
1029724ba675SRob Herring	pinctrl_gpio_bl_on: gpioblongrp {
1030724ba675SRob Herring		fsl,pins = <
1031724ba675SRob Herring			MX6QDL_PAD_EIM_DA13__GPIO3_IO13 0x1b0b0
1032724ba675SRob Herring		>;
1033724ba675SRob Herring	};
1034724ba675SRob Herring
1035724ba675SRob Herring	pinctrl_gpio_keys: gpio1io04grp {
1036724ba675SRob Herring		fsl,pins = <
1037724ba675SRob Herring			/* Power button */
1038724ba675SRob Herring			MX6QDL_PAD_GPIO_4__GPIO1_IO04 0x1b0b0
1039724ba675SRob Herring		>;
1040724ba675SRob Herring	};
1041724ba675SRob Herring
1042724ba675SRob Herring	pinctrl_hdmi_cec: hdmicecgrp {
1043724ba675SRob Herring		fsl,pins = <
1044724ba675SRob Herring			MX6QDL_PAD_KEY_ROW2__HDMI_TX_CEC_LINE 0x1f8b0
1045724ba675SRob Herring		>;
1046724ba675SRob Herring	};
1047724ba675SRob Herring
1048724ba675SRob Herring	pinctrl_hdmi_ddc: hdmiddcgrp {
1049724ba675SRob Herring		fsl,pins = <
1050724ba675SRob Herring			MX6QDL_PAD_EIM_EB2__HDMI_TX_DDC_SCL 0x4001b8b1
1051724ba675SRob Herring			MX6QDL_PAD_EIM_D16__HDMI_TX_DDC_SDA 0x4001b8b1
1052724ba675SRob Herring		>;
1053724ba675SRob Herring	};
1054724ba675SRob Herring
1055724ba675SRob Herring	pinctrl_i2c1: i2c1grp {
1056724ba675SRob Herring		fsl,pins = <
1057724ba675SRob Herring			MX6QDL_PAD_CSI0_DAT8__I2C1_SDA 0x4001b8b1
1058724ba675SRob Herring			MX6QDL_PAD_CSI0_DAT9__I2C1_SCL 0x4001b8b1
1059724ba675SRob Herring		>;
1060724ba675SRob Herring	};
1061724ba675SRob Herring
1062724ba675SRob Herring	pinctrl_i2c1_gpio: i2c1gpiogrp {
1063724ba675SRob Herring		fsl,pins = <
1064724ba675SRob Herring			MX6QDL_PAD_CSI0_DAT8__GPIO5_IO26 0x4001b8b1
1065724ba675SRob Herring			MX6QDL_PAD_CSI0_DAT9__GPIO5_IO27 0x4001b8b1
1066724ba675SRob Herring		>;
1067724ba675SRob Herring	};
1068724ba675SRob Herring
1069724ba675SRob Herring	pinctrl_i2c2: i2c2grp {
1070724ba675SRob Herring		fsl,pins = <
1071724ba675SRob Herring			MX6QDL_PAD_KEY_COL3__I2C2_SCL 0x4001b8b1
1072724ba675SRob Herring			MX6QDL_PAD_KEY_ROW3__I2C2_SDA 0x4001b8b1
1073724ba675SRob Herring		>;
1074724ba675SRob Herring	};
1075724ba675SRob Herring
1076724ba675SRob Herring	pinctrl_i2c2_gpio: i2c2gpiogrp {
1077724ba675SRob Herring		fsl,pins = <
1078724ba675SRob Herring			MX6QDL_PAD_KEY_COL3__GPIO4_IO12 0x4001b8b1
1079724ba675SRob Herring			MX6QDL_PAD_KEY_ROW3__GPIO4_IO13 0x4001b8b1
1080724ba675SRob Herring		>;
1081724ba675SRob Herring	};
1082724ba675SRob Herring
1083724ba675SRob Herring	pinctrl_i2c3: i2c3grp {
1084724ba675SRob Herring		fsl,pins = <
1085724ba675SRob Herring			MX6QDL_PAD_EIM_D17__I2C3_SCL 0x4001b8b1
1086724ba675SRob Herring			MX6QDL_PAD_EIM_D18__I2C3_SDA 0x4001b8b1
1087724ba675SRob Herring		>;
1088724ba675SRob Herring	};
1089724ba675SRob Herring
1090724ba675SRob Herring	pinctrl_i2c3_gpio: i2c3gpiogrp {
1091724ba675SRob Herring		fsl,pins = <
1092724ba675SRob Herring			MX6QDL_PAD_EIM_D17__GPIO3_IO17 0x4001b8b1
1093724ba675SRob Herring			MX6QDL_PAD_EIM_D18__GPIO3_IO18 0x4001b8b1
1094724ba675SRob Herring		>;
1095724ba675SRob Herring	};
1096724ba675SRob Herring
1097724ba675SRob Herring	pinctrl_ipu1_csi0: ipu1csi0grp { /* parallel camera */
1098724ba675SRob Herring		fsl,pins = <
1099724ba675SRob Herring			MX6QDL_PAD_CSI0_DAT12__IPU1_CSI0_DATA12  0xb0b1
1100724ba675SRob Herring			MX6QDL_PAD_CSI0_DAT13__IPU1_CSI0_DATA13  0xb0b1
1101724ba675SRob Herring			MX6QDL_PAD_CSI0_DAT14__IPU1_CSI0_DATA14  0xb0b1
1102724ba675SRob Herring			MX6QDL_PAD_CSI0_DAT15__IPU1_CSI0_DATA15  0xb0b1
1103724ba675SRob Herring			MX6QDL_PAD_CSI0_DAT16__IPU1_CSI0_DATA16  0xb0b1
1104724ba675SRob Herring			MX6QDL_PAD_CSI0_DAT17__IPU1_CSI0_DATA17  0xb0b1
1105724ba675SRob Herring			MX6QDL_PAD_CSI0_DAT18__IPU1_CSI0_DATA18  0xb0b1
1106724ba675SRob Herring			MX6QDL_PAD_CSI0_DAT19__IPU1_CSI0_DATA19  0xb0b1
1107724ba675SRob Herring			MX6QDL_PAD_CSI0_PIXCLK__IPU1_CSI0_PIXCLK 0xb0b1
1108724ba675SRob Herring			MX6QDL_PAD_CSI0_MCLK__IPU1_CSI0_HSYNC    0xb0b1
1109724ba675SRob Herring			MX6QDL_PAD_CSI0_VSYNC__IPU1_CSI0_VSYNC   0xb0b1
1110724ba675SRob Herring		>;
1111724ba675SRob Herring	};
1112724ba675SRob Herring
1113724ba675SRob Herring	pinctrl_ipu1_lcdif: ipu1lcdifgrp {
1114724ba675SRob Herring		fsl,pins = <
1115724ba675SRob Herring			MX6QDL_PAD_EIM_A16__IPU1_DI1_DISP_CLK	0x61
1116724ba675SRob Herring			/* DE */
1117724ba675SRob Herring			MX6QDL_PAD_EIM_DA10__IPU1_DI1_PIN15	0x61
1118724ba675SRob Herring			/* HSync */
1119724ba675SRob Herring			MX6QDL_PAD_EIM_DA11__IPU1_DI1_PIN02	0x61
1120724ba675SRob Herring			/* VSync */
1121724ba675SRob Herring			MX6QDL_PAD_EIM_DA12__IPU1_DI1_PIN03	0x61
1122724ba675SRob Herring			MX6QDL_PAD_EIM_DA9__IPU1_DISP1_DATA00	0x61
1123724ba675SRob Herring			MX6QDL_PAD_EIM_DA8__IPU1_DISP1_DATA01	0x61
1124724ba675SRob Herring			MX6QDL_PAD_EIM_DA7__IPU1_DISP1_DATA02	0x61
1125724ba675SRob Herring			MX6QDL_PAD_EIM_DA6__IPU1_DISP1_DATA03	0x61
1126724ba675SRob Herring			MX6QDL_PAD_EIM_DA5__IPU1_DISP1_DATA04	0x61
1127724ba675SRob Herring			MX6QDL_PAD_EIM_DA4__IPU1_DISP1_DATA05	0x61
1128724ba675SRob Herring			MX6QDL_PAD_EIM_DA3__IPU1_DISP1_DATA06	0x61
1129724ba675SRob Herring			MX6QDL_PAD_EIM_DA2__IPU1_DISP1_DATA07	0x61
1130724ba675SRob Herring			MX6QDL_PAD_EIM_DA1__IPU1_DISP1_DATA08	0x61
1131724ba675SRob Herring			MX6QDL_PAD_EIM_DA0__IPU1_DISP1_DATA09	0x61
1132724ba675SRob Herring			MX6QDL_PAD_EIM_EB1__IPU1_DISP1_DATA10	0x61
1133724ba675SRob Herring			MX6QDL_PAD_EIM_EB0__IPU1_DISP1_DATA11	0x61
1134724ba675SRob Herring			MX6QDL_PAD_EIM_A17__IPU1_DISP1_DATA12	0x61
1135724ba675SRob Herring			MX6QDL_PAD_EIM_A18__IPU1_DISP1_DATA13	0x61
1136724ba675SRob Herring			MX6QDL_PAD_EIM_A19__IPU1_DISP1_DATA14	0x61
1137724ba675SRob Herring			MX6QDL_PAD_EIM_A20__IPU1_DISP1_DATA15	0x61
1138724ba675SRob Herring			MX6QDL_PAD_EIM_A21__IPU1_DISP1_DATA16	0x61
1139724ba675SRob Herring			MX6QDL_PAD_EIM_A22__IPU1_DISP1_DATA17	0x61
1140724ba675SRob Herring			MX6QDL_PAD_EIM_A23__IPU1_DISP1_DATA18	0x61
1141724ba675SRob Herring			MX6QDL_PAD_EIM_A24__IPU1_DISP1_DATA19	0x61
1142724ba675SRob Herring			MX6QDL_PAD_EIM_D31__IPU1_DISP1_DATA20	0x61
1143724ba675SRob Herring			MX6QDL_PAD_EIM_D30__IPU1_DISP1_DATA21	0x61
1144724ba675SRob Herring			MX6QDL_PAD_EIM_D26__IPU1_DISP1_DATA22	0x61
1145724ba675SRob Herring			MX6QDL_PAD_EIM_D27__IPU1_DISP1_DATA23	0x61
1146724ba675SRob Herring		>;
1147724ba675SRob Herring	};
1148724ba675SRob Herring
1149724ba675SRob Herring	pinctrl_ipu2_vdac: ipu2vdacgrp {
1150724ba675SRob Herring		fsl,pins = <
1151724ba675SRob Herring			MX6QDL_PAD_DI0_DISP_CLK__IPU2_DI0_DISP_CLK 0xd1
1152724ba675SRob Herring			MX6QDL_PAD_DI0_PIN15__IPU2_DI0_PIN15       0xd1
1153724ba675SRob Herring			MX6QDL_PAD_DI0_PIN2__IPU2_DI0_PIN02        0xd1
1154724ba675SRob Herring			MX6QDL_PAD_DI0_PIN3__IPU2_DI0_PIN03        0xd1
1155724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT0__IPU2_DISP0_DATA00   0xf9
1156724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT1__IPU2_DISP0_DATA01   0xf9
1157724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT2__IPU2_DISP0_DATA02   0xf9
1158724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT3__IPU2_DISP0_DATA03   0xf9
1159724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT4__IPU2_DISP0_DATA04   0xf9
1160724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT5__IPU2_DISP0_DATA05   0xf9
1161724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT6__IPU2_DISP0_DATA06   0xf9
1162724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT7__IPU2_DISP0_DATA07   0xf9
1163724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT8__IPU2_DISP0_DATA08   0xf9
1164724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT9__IPU2_DISP0_DATA09   0xf9
1165724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT10__IPU2_DISP0_DATA10  0xf9
1166724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT11__IPU2_DISP0_DATA11  0xf9
1167724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT12__IPU2_DISP0_DATA12  0xf9
1168724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT13__IPU2_DISP0_DATA13  0xf9
1169724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT14__IPU2_DISP0_DATA14  0xf9
1170724ba675SRob Herring			MX6QDL_PAD_DISP0_DAT15__IPU2_DISP0_DATA15  0xf9
1171724ba675SRob Herring		>;
1172724ba675SRob Herring	};
1173724ba675SRob Herring
1174724ba675SRob Herring	pinctrl_mmc_cd: mmccdgrp {
1175724ba675SRob Herring		fsl,pins = <
1176724ba675SRob Herring			 /* MMC1 CD */
1177724ba675SRob Herring			MX6QDL_PAD_DI0_PIN4__GPIO4_IO20 0x000b0
1178724ba675SRob Herring		>;
1179724ba675SRob Herring	};
1180724ba675SRob Herring
1181724ba675SRob Herring	pinctrl_pwm1: pwm1grp {
1182724ba675SRob Herring		fsl,pins = <
1183724ba675SRob Herring			MX6QDL_PAD_GPIO_9__PWM1_OUT 0x1b0b1
1184724ba675SRob Herring		>;
1185724ba675SRob Herring	};
1186724ba675SRob Herring
1187724ba675SRob Herring	pinctrl_pwm2: pwm2grp {
1188724ba675SRob Herring		fsl,pins = <
1189724ba675SRob Herring			MX6QDL_PAD_GPIO_1__PWM2_OUT 0x1b0b1
1190724ba675SRob Herring		>;
1191724ba675SRob Herring	};
1192724ba675SRob Herring
1193724ba675SRob Herring	pinctrl_pwm3: pwm3grp {
1194724ba675SRob Herring		fsl,pins = <
1195724ba675SRob Herring			MX6QDL_PAD_SD4_DAT1__PWM3_OUT 0x1b0b1
1196724ba675SRob Herring		>;
1197724ba675SRob Herring	};
1198724ba675SRob Herring
1199724ba675SRob Herring	pinctrl_pwm4: pwm4grp {
1200724ba675SRob Herring		fsl,pins = <
1201724ba675SRob Herring			MX6QDL_PAD_SD4_DAT2__PWM4_OUT 0x1b0b1
1202724ba675SRob Herring		>;
1203724ba675SRob Herring	};
1204724ba675SRob Herring
1205724ba675SRob Herring	pinctrl_regulator_usbh_pwr: regusbhpwrgrp {
1206724ba675SRob Herring		fsl,pins = <
1207724ba675SRob Herring			/* USBH_EN */
1208724ba675SRob Herring			MX6QDL_PAD_GPIO_0__GPIO1_IO00 0x0f058
1209724ba675SRob Herring		>;
1210724ba675SRob Herring	};
1211724ba675SRob Herring
1212724ba675SRob Herring	pinctrl_regulator_usbhub_pwr: regusbhubpwrgrp {
1213724ba675SRob Herring		fsl,pins = <
1214724ba675SRob Herring			/* USBH_HUB_EN */
1215724ba675SRob Herring			MX6QDL_PAD_EIM_D28__GPIO3_IO28 0x0f058
1216724ba675SRob Herring		>;
1217724ba675SRob Herring	};
1218724ba675SRob Herring
1219724ba675SRob Herring	pinctrl_regulator_usbotg_pwr: regusbotgpwrgrp {
1220724ba675SRob Herring		fsl,pins = <
1221724ba675SRob Herring			/* USBO1 power en */
1222724ba675SRob Herring			MX6QDL_PAD_EIM_D22__GPIO3_IO22 0x0f058
1223724ba675SRob Herring		>;
1224724ba675SRob Herring	};
1225724ba675SRob Herring
1226724ba675SRob Herring	pinctrl_reset_moci: resetmocigrp {
1227724ba675SRob Herring		fsl,pins = <
1228724ba675SRob Herring			/* RESET_MOCI control */
1229724ba675SRob Herring			MX6QDL_PAD_ENET_TX_EN__GPIO1_IO28 0x0f058
1230724ba675SRob Herring		>;
1231724ba675SRob Herring	};
1232724ba675SRob Herring
1233724ba675SRob Herring	pinctrl_sd_cd: sdcdgrp {
1234724ba675SRob Herring		fsl,pins = <
1235724ba675SRob Herring			/* SD1 CD */
1236724ba675SRob Herring			MX6QDL_PAD_NANDF_CS1__GPIO6_IO14 0x000b0
1237724ba675SRob Herring		>;
1238724ba675SRob Herring	};
1239724ba675SRob Herring
1240724ba675SRob Herring	pinctrl_sgtl5000: sgtl5000grp {
1241724ba675SRob Herring		fsl,pins = <
1242724ba675SRob Herring			MX6QDL_PAD_GPIO_5__CCM_CLKO1	0x130b0
1243724ba675SRob Herring		>;
1244724ba675SRob Herring	};
1245724ba675SRob Herring
1246724ba675SRob Herring	pinctrl_spdif: spdifgrp {
1247724ba675SRob Herring		fsl,pins = <
1248724ba675SRob Herring			MX6QDL_PAD_GPIO_16__SPDIF_IN  0x1b0b0
1249724ba675SRob Herring			MX6QDL_PAD_GPIO_17__SPDIF_OUT 0x1b0b0
1250724ba675SRob Herring		>;
1251724ba675SRob Herring	};
1252724ba675SRob Herring
1253724ba675SRob Herring	pinctrl_touch_int: touchintgrp {
1254724ba675SRob Herring		fsl,pins = <
1255724ba675SRob Herring			/* STMPE811 interrupt */
1256724ba675SRob Herring			MX6QDL_PAD_KEY_COL2__GPIO4_IO10 0x1b0b0
1257724ba675SRob Herring		>;
1258724ba675SRob Herring	};
1259724ba675SRob Herring
1260724ba675SRob Herring	/* Additional DTR, DSR, DCD */
1261724ba675SRob Herring	pinctrl_uart1_ctrl: uart1ctrlgrp {
1262724ba675SRob Herring		fsl,pins = <
1263724ba675SRob Herring			MX6QDL_PAD_EIM_D23__UART1_DCD_B 0x1b0b0
1264724ba675SRob Herring			MX6QDL_PAD_EIM_D24__UART1_DTR_B 0x1b0b0
1265724ba675SRob Herring			MX6QDL_PAD_EIM_D25__UART1_DSR_B 0x1b0b0
1266724ba675SRob Herring		>;
1267724ba675SRob Herring	};
1268724ba675SRob Herring
1269724ba675SRob Herring	pinctrl_uart1_dce: uart1dcegrp {
1270724ba675SRob Herring		fsl,pins = <
1271724ba675SRob Herring			MX6QDL_PAD_CSI0_DAT10__UART1_TX_DATA 0x1b0b1
1272724ba675SRob Herring			MX6QDL_PAD_CSI0_DAT11__UART1_RX_DATA 0x1b0b1
1273724ba675SRob Herring		>;
1274724ba675SRob Herring	};
1275724ba675SRob Herring
1276724ba675SRob Herring	/* DTE mode */
1277724ba675SRob Herring	pinctrl_uart1_dte: uart1dtegrp {
1278724ba675SRob Herring		fsl,pins = <
1279724ba675SRob Herring			MX6QDL_PAD_CSI0_DAT10__UART1_RX_DATA 0x1b0b1
1280724ba675SRob Herring			MX6QDL_PAD_CSI0_DAT11__UART1_TX_DATA 0x1b0b1
1281724ba675SRob Herring			MX6QDL_PAD_EIM_D19__UART1_RTS_B 0x1b0b1
1282724ba675SRob Herring			MX6QDL_PAD_EIM_D20__UART1_CTS_B 0x1b0b1
1283724ba675SRob Herring		>;
1284724ba675SRob Herring	};
1285724ba675SRob Herring
1286724ba675SRob Herring	pinctrl_uart2_dce: uart2dcegrp {
1287724ba675SRob Herring		fsl,pins = <
1288724ba675SRob Herring			MX6QDL_PAD_SD4_DAT4__UART2_RX_DATA	0x1b0b1
1289724ba675SRob Herring			MX6QDL_PAD_SD4_DAT7__UART2_TX_DATA	0x1b0b1
1290724ba675SRob Herring		>;
1291724ba675SRob Herring	};
1292724ba675SRob Herring
1293724ba675SRob Herring	/* DTE mode */
1294724ba675SRob Herring	pinctrl_uart2_dte: uart2dtegrp {
1295724ba675SRob Herring		fsl,pins = <
1296724ba675SRob Herring			MX6QDL_PAD_SD4_DAT4__UART2_TX_DATA	0x1b0b1
1297724ba675SRob Herring			MX6QDL_PAD_SD4_DAT7__UART2_RX_DATA	0x1b0b1
1298724ba675SRob Herring			MX6QDL_PAD_SD4_DAT6__UART2_RTS_B	0x1b0b1
1299724ba675SRob Herring			MX6QDL_PAD_SD4_DAT5__UART2_CTS_B	0x1b0b1
1300724ba675SRob Herring		>;
1301724ba675SRob Herring	};
1302724ba675SRob Herring
1303724ba675SRob Herring	pinctrl_uart4_dce: uart4dcegrp {
1304724ba675SRob Herring		fsl,pins = <
1305724ba675SRob Herring			MX6QDL_PAD_KEY_COL0__UART4_TX_DATA 0x1b0b1
1306724ba675SRob Herring			MX6QDL_PAD_KEY_ROW0__UART4_RX_DATA 0x1b0b1
1307724ba675SRob Herring		>;
1308724ba675SRob Herring	};
1309724ba675SRob Herring
1310724ba675SRob Herring	/* DTE mode */
1311724ba675SRob Herring	pinctrl_uart4_dte: uart4dtegrp {
1312724ba675SRob Herring		fsl,pins = <
1313724ba675SRob Herring			MX6QDL_PAD_KEY_COL0__UART4_RX_DATA 0x1b0b1
1314724ba675SRob Herring			MX6QDL_PAD_KEY_ROW0__UART4_TX_DATA 0x1b0b1
1315724ba675SRob Herring		>;
1316724ba675SRob Herring	};
1317724ba675SRob Herring
1318724ba675SRob Herring	pinctrl_uart5_dce: uart5dcegrp {
1319724ba675SRob Herring		fsl,pins = <
1320724ba675SRob Herring			MX6QDL_PAD_KEY_COL1__UART5_TX_DATA 0x1b0b1
1321724ba675SRob Herring			MX6QDL_PAD_KEY_ROW1__UART5_RX_DATA 0x1b0b1
1322724ba675SRob Herring		>;
1323724ba675SRob Herring	};
1324724ba675SRob Herring
1325724ba675SRob Herring	/* DTE mode */
1326724ba675SRob Herring	pinctrl_uart5_dte: uart5dtegrp {
1327724ba675SRob Herring		fsl,pins = <
1328724ba675SRob Herring			MX6QDL_PAD_KEY_COL1__UART5_RX_DATA 0x1b0b1
1329724ba675SRob Herring			MX6QDL_PAD_KEY_ROW1__UART5_TX_DATA 0x1b0b1
1330724ba675SRob Herring		>;
1331724ba675SRob Herring	};
1332724ba675SRob Herring
1333724ba675SRob Herring	pinctrl_usbotg: usbotggrp {
1334724ba675SRob Herring		fsl,pins = <
1335724ba675SRob Herring			MX6QDL_PAD_ENET_RX_ER__USB_OTG_ID 0x17059
1336724ba675SRob Herring		>;
1337724ba675SRob Herring	};
1338724ba675SRob Herring
1339724ba675SRob Herring	pinctrl_usdhc1_4bit: usdhc1-4bitgrp {
1340724ba675SRob Herring		fsl,pins = <
1341724ba675SRob Herring			MX6QDL_PAD_SD1_CMD__SD1_CMD    0x17071
1342724ba675SRob Herring			MX6QDL_PAD_SD1_CLK__SD1_CLK    0x10071
1343724ba675SRob Herring			MX6QDL_PAD_SD1_DAT0__SD1_DATA0 0x17071
1344724ba675SRob Herring			MX6QDL_PAD_SD1_DAT1__SD1_DATA1 0x17071
1345724ba675SRob Herring			MX6QDL_PAD_SD1_DAT2__SD1_DATA2 0x17071
1346724ba675SRob Herring			MX6QDL_PAD_SD1_DAT3__SD1_DATA3 0x17071
1347724ba675SRob Herring		>;
1348724ba675SRob Herring	};
1349724ba675SRob Herring
1350724ba675SRob Herring	pinctrl_usdhc1_8bit: usdhc1-8bitgrp {
1351724ba675SRob Herring		fsl,pins = <
1352724ba675SRob Herring			MX6QDL_PAD_NANDF_D0__SD1_DATA4 0x17071
1353724ba675SRob Herring			MX6QDL_PAD_NANDF_D1__SD1_DATA5 0x17071
1354724ba675SRob Herring			MX6QDL_PAD_NANDF_D2__SD1_DATA6 0x17071
1355724ba675SRob Herring			MX6QDL_PAD_NANDF_D3__SD1_DATA7 0x17071
1356724ba675SRob Herring		>;
1357724ba675SRob Herring	};
1358724ba675SRob Herring
1359724ba675SRob Herring	pinctrl_usdhc2: usdhc2grp {
1360724ba675SRob Herring		fsl,pins = <
1361724ba675SRob Herring			MX6QDL_PAD_SD2_CMD__SD2_CMD    0x17071
1362724ba675SRob Herring			MX6QDL_PAD_SD2_CLK__SD2_CLK    0x10071
1363724ba675SRob Herring			MX6QDL_PAD_SD2_DAT0__SD2_DATA0 0x17071
1364724ba675SRob Herring			MX6QDL_PAD_SD2_DAT1__SD2_DATA1 0x17071
1365724ba675SRob Herring			MX6QDL_PAD_SD2_DAT2__SD2_DATA2 0x17071
1366724ba675SRob Herring			MX6QDL_PAD_SD2_DAT3__SD2_DATA3 0x17071
1367724ba675SRob Herring		>;
1368724ba675SRob Herring	};
1369724ba675SRob Herring
1370724ba675SRob Herring	pinctrl_usdhc3: usdhc3grp {
1371724ba675SRob Herring		fsl,pins = <
1372724ba675SRob Herring			MX6QDL_PAD_SD3_CMD__SD3_CMD    0x17059
1373724ba675SRob Herring			MX6QDL_PAD_SD3_CLK__SD3_CLK    0x10059
1374724ba675SRob Herring			MX6QDL_PAD_SD3_DAT0__SD3_DATA0 0x17059
1375724ba675SRob Herring			MX6QDL_PAD_SD3_DAT1__SD3_DATA1 0x17059
1376724ba675SRob Herring			MX6QDL_PAD_SD3_DAT2__SD3_DATA2 0x17059
1377724ba675SRob Herring			MX6QDL_PAD_SD3_DAT3__SD3_DATA3 0x17059
1378724ba675SRob Herring			MX6QDL_PAD_SD3_DAT4__SD3_DATA4 0x17059
1379724ba675SRob Herring			MX6QDL_PAD_SD3_DAT5__SD3_DATA5 0x17059
1380724ba675SRob Herring			MX6QDL_PAD_SD3_DAT6__SD3_DATA6 0x17059
1381724ba675SRob Herring			MX6QDL_PAD_SD3_DAT7__SD3_DATA7 0x17059
1382724ba675SRob Herring			/* eMMC reset */
1383724ba675SRob Herring			MX6QDL_PAD_SD3_RST__SD3_RESET  0x17059
1384724ba675SRob Herring		>;
1385724ba675SRob Herring	};
1386724ba675SRob Herring};
1387