xref: /linux/arch/arm/boot/dts/nxp/imx/imx6qdl-nitrogen6_max.dtsi (revision 7f71507851fc7764b36a3221839607d3a45c2025)
1// SPDX-License-Identifier: GPL-2.0 OR X11
2/*
3 * Copyright 2015 Boundary Devices, Inc.
4 */
5#include <dt-bindings/gpio/gpio.h>
6#include <dt-bindings/input/input.h>
7
8/ {
9	chosen {
10		stdout-path = &uart2;
11	};
12
13	memory@10000000 {
14		device_type = "memory";
15		reg = <0x10000000 0xF0000000>;
16	};
17
18	reg_1p8v: regulator-1p8v {
19		compatible = "regulator-fixed";
20		regulator-name = "1P8V";
21		regulator-min-microvolt = <1800000>;
22		regulator-max-microvolt = <1800000>;
23		regulator-always-on;
24	};
25
26	reg_2p5v: regulator-2p5v {
27		compatible = "regulator-fixed";
28		regulator-name = "2P5V";
29		regulator-min-microvolt = <2500000>;
30		regulator-max-microvolt = <2500000>;
31		regulator-always-on;
32	};
33
34	reg_3p3v: regulator-3p3v {
35		compatible = "regulator-fixed";
36		regulator-name = "3P3V";
37		regulator-min-microvolt = <3300000>;
38		regulator-max-microvolt = <3300000>;
39		regulator-always-on;
40	};
41
42	reg_usb_otg_vbus: regulator-usb-otg {
43		compatible = "regulator-fixed";
44		regulator-name = "usb_otg_vbus";
45		regulator-min-microvolt = <5000000>;
46		regulator-max-microvolt = <5000000>;
47		gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>;
48		enable-active-high;
49	};
50
51	reg_usb_h1_vbus: regulator-usb-h1-vbus {
52		compatible = "regulator-fixed";
53		pinctrl-names = "default";
54		pinctrl-0 = <&pinctrl_usbh1>;
55		regulator-name = "usb_h1_vbus";
56		regulator-min-microvolt = <3300000>;
57		regulator-max-microvolt = <3300000>;
58		gpio = <&gpio7 12 GPIO_ACTIVE_HIGH>;
59		enable-active-high;
60	};
61
62	reg_wlan_vmmc: regulator-wlan-vmmc {
63		compatible = "regulator-fixed";
64		pinctrl-names = "default";
65		pinctrl-0 = <&pinctrl_wlan_vmmc>;
66		regulator-name = "reg_wlan_vmmc";
67		regulator-min-microvolt = <3300000>;
68		regulator-max-microvolt = <3300000>;
69		gpio = <&gpio6 15 GPIO_ACTIVE_HIGH>;
70		startup-delay-us = <70000>;
71		enable-active-high;
72	};
73
74	reg_can_xcvr: regulator-can-xcvr {
75		compatible = "regulator-fixed";
76		regulator-name = "CAN XCVR";
77		regulator-min-microvolt = <3300000>;
78		regulator-max-microvolt = <3300000>;
79		pinctrl-names = "default";
80		pinctrl-0 = <&pinctrl_can_xcvr>;
81		gpio = <&gpio1 2 GPIO_ACTIVE_LOW>;
82	};
83
84	gpio-keys {
85		compatible = "gpio-keys";
86		pinctrl-names = "default";
87		pinctrl-0 = <&pinctrl_gpio_keys>;
88
89		power {
90			label = "Power Button";
91			gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
92			linux,code = <KEY_POWER>;
93			wakeup-source;
94		};
95
96		menu {
97			label = "Menu";
98			gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
99			linux,code = <KEY_MENU>;
100		};
101
102		home {
103			label = "Home";
104			gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
105			linux,code = <KEY_HOME>;
106		};
107
108		back {
109			label = "Back";
110			gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
111			linux,code = <KEY_BACK>;
112		};
113
114		volume-up {
115			label = "Volume Up";
116			gpios = <&gpio7 13 GPIO_ACTIVE_LOW>;
117			linux,code = <KEY_VOLUMEUP>;
118		};
119
120		volume-down {
121			label = "Volume Down";
122			gpios = <&gpio7 1 GPIO_ACTIVE_LOW>;
123			linux,code = <KEY_VOLUMEDOWN>;
124		};
125	};
126
127	i2c2mux {
128		compatible = "i2c-mux-gpio";
129		pinctrl-names = "default";
130		pinctrl-0 = <&pinctrl_i2c2mux>;
131		#address-cells = <1>;
132		#size-cells = <0>;
133		mux-gpios = <&gpio3 20 GPIO_ACTIVE_HIGH
134			     &gpio4 15 GPIO_ACTIVE_HIGH>;
135		i2c-parent = <&i2c2>;
136		idle-state = <0>;
137
138		i2c2mux@1 {
139			reg = <1>;
140			#address-cells = <1>;
141			#size-cells = <0>;
142		};
143
144		i2c2mux@2 {
145			reg = <2>;
146			#address-cells = <1>;
147			#size-cells = <0>;
148		};
149	};
150
151	i2c3mux {
152		compatible = "i2c-mux-gpio";
153		pinctrl-names = "default";
154		pinctrl-0 = <&pinctrl_i2c3mux>;
155		#address-cells = <1>;
156		#size-cells = <0>;
157		mux-gpios = <&gpio2 25 GPIO_ACTIVE_HIGH>;
158		i2c-parent = <&i2c3>;
159		idle-state = <0>;
160
161		i2c3mux@1 {
162			reg = <1>;
163			#address-cells = <1>;
164			#size-cells = <0>;
165		};
166	};
167
168	leds {
169		compatible = "gpio-leds";
170
171		led-speaker-enable {
172			gpios = <&gpio1 29 GPIO_ACTIVE_HIGH>;
173			retain-state-suspended;
174			default-state = "off";
175		};
176
177		led-ttymxc4-rs232 {
178			gpios = <&gpio6 10 GPIO_ACTIVE_HIGH>;
179			retain-state-suspended;
180			default-state = "on";
181		};
182	};
183
184	backlight_lcd: backlight-lcd {
185		compatible = "pwm-backlight";
186		pwms = <&pwm1 0 5000000 0>;
187		brightness-levels = <0 4 8 16 32 64 128 255>;
188		default-brightness-level = <7>;
189		power-supply = <&reg_3p3v>;
190		status = "okay";
191	};
192
193	backlight_lvds0: backlight-lvds0 {
194		compatible = "pwm-backlight";
195		pwms = <&pwm4 0 5000000 0>;
196		brightness-levels = <0 4 8 16 32 64 128 255>;
197		default-brightness-level = <7>;
198		power-supply = <&reg_3p3v>;
199		status = "okay";
200	};
201
202	backlight_lvds1: backlight-lvds1 {
203		compatible = "pwm-backlight";
204		pwms = <&pwm2 0 5000000 0>;
205		brightness-levels = <0 4 8 16 32 64 128 255>;
206		default-brightness-level = <7>;
207		power-supply = <&reg_3p3v>;
208		status = "okay";
209	};
210
211	lcd_display: disp0 {
212		compatible = "fsl,imx-parallel-display";
213		#address-cells = <1>;
214		#size-cells = <0>;
215		interface-pix-fmt = "bgr666";
216		pinctrl-names = "default";
217		pinctrl-0 = <&pinctrl_j15>;
218		status = "okay";
219
220		port@0 {
221			reg = <0>;
222
223			lcd_display_in: endpoint {
224				remote-endpoint = <&ipu1_di0_disp0>;
225			};
226		};
227
228		port@1 {
229			reg = <1>;
230
231			lcd_display_out: endpoint {
232				remote-endpoint = <&lcd_panel_in>;
233			};
234		};
235	};
236
237	panel-lcd {
238		compatible = "okaya,rs800480t-7x0gp";
239		backlight = <&backlight_lcd>;
240
241		port {
242			lcd_panel_in: endpoint {
243				remote-endpoint = <&lcd_display_out>;
244			};
245		};
246	};
247
248	panel-lvds0 {
249		compatible = "hannstar,hsd100pxn1";
250		backlight = <&backlight_lvds0>;
251
252		port {
253			panel_in_lvds0: endpoint {
254				remote-endpoint = <&lvds0_out>;
255			};
256		};
257	};
258
259	panel-lvds1 {
260		compatible = "hannstar,hsd100pxn1";
261		backlight = <&backlight_lvds1>;
262
263		port {
264			panel_in_lvds1: endpoint {
265				remote-endpoint = <&lvds1_out>;
266			};
267		};
268	};
269
270	sound {
271		compatible = "fsl,imx6q-nitrogen6_max-sgtl5000",
272			     "fsl,imx-audio-sgtl5000";
273		model = "imx6q-nitrogen6_max-sgtl5000";
274		ssi-controller = <&ssi1>;
275		audio-codec = <&codec>;
276		audio-routing =
277			"MIC_IN", "Mic Jack",
278			"Mic Jack", "Mic Bias",
279			"Headphone Jack", "HP_OUT";
280		mux-int-port = <1>;
281		mux-ext-port = <3>;
282	};
283};
284
285&audmux {
286	pinctrl-names = "default";
287	pinctrl-0 = <&pinctrl_audmux>;
288	status = "okay";
289};
290
291&can1 {
292	pinctrl-names = "default";
293	pinctrl-0 = <&pinctrl_can1>;
294	xceiver-supply = <&reg_can_xcvr>;
295	status = "okay";
296};
297
298&clks {
299	assigned-clocks = <&clks IMX6QDL_CLK_LDB_DI0_SEL>,
300			  <&clks IMX6QDL_CLK_LDB_DI1_SEL>;
301	assigned-clock-parents = <&clks IMX6QDL_CLK_PLL3_USB_OTG>,
302				 <&clks IMX6QDL_CLK_PLL3_USB_OTG>;
303};
304
305&ecspi1 {
306	cs-gpios = <&gpio3 19 GPIO_ACTIVE_LOW>;
307	pinctrl-names = "default";
308	pinctrl-0 = <&pinctrl_ecspi1>;
309	status = "okay";
310
311	flash: flash@0 {
312		compatible = "microchip,sst25vf016b";
313		spi-max-frequency = <20000000>;
314		reg = <0>;
315	};
316};
317
318&fec {
319	pinctrl-names = "default";
320	pinctrl-0 = <&pinctrl_enet>;
321	phy-mode = "rgmii";
322	phy-handle = <&ethphy>;
323	phy-reset-gpios = <&gpio1 27 GPIO_ACTIVE_LOW>;
324	/delete-property/ interrupts;
325	interrupts-extended = <&gpio1 6 IRQ_TYPE_LEVEL_HIGH>,
326			      <&intc 0 119 IRQ_TYPE_LEVEL_HIGH>;
327	fsl,err006687-workaround-present;
328	status = "okay";
329
330	mdio {
331		#address-cells = <1>;
332		#size-cells = <0>;
333
334		ethphy: ethernet-phy {
335			compatible = "ethernet-phy-ieee802.3-c22";
336			txen-skew-ps = <0>;
337			txc-skew-ps = <3000>;
338			rxdv-skew-ps = <0>;
339			rxc-skew-ps = <3000>;
340			rxd0-skew-ps = <0>;
341			rxd1-skew-ps = <0>;
342			rxd2-skew-ps = <0>;
343			rxd3-skew-ps = <0>;
344			txd0-skew-ps = <0>;
345			txd1-skew-ps = <0>;
346			txd2-skew-ps = <0>;
347			txd3-skew-ps = <0>;
348		};
349	};
350};
351
352&hdmi {
353	ddc-i2c-bus = <&i2c2>;
354	status = "okay";
355};
356
357&i2c1 {
358	clock-frequency = <100000>;
359	pinctrl-names = "default";
360	pinctrl-0 = <&pinctrl_i2c1>;
361	status = "okay";
362
363	codec: sgtl5000@a {
364		compatible = "fsl,sgtl5000";
365		pinctrl-names = "default";
366		pinctrl-0 = <&pinctrl_sgtl5000>;
367		reg = <0x0a>;
368		#sound-dai-cells = <0>;
369		clocks = <&clks IMX6QDL_CLK_CKO>;
370		VDDA-supply = <&reg_2p5v>;
371		VDDIO-supply = <&reg_3p3v>;
372	};
373
374	rtc: rtc@68 {
375		compatible = "microcrystal,rv4162";
376		pinctrl-names = "default";
377		pinctrl-0 = <&pinctrl_rv4162>;
378		reg = <0x68>;
379		interrupts-extended = <&gpio4 6 IRQ_TYPE_LEVEL_LOW>;
380	};
381};
382
383&i2c2 {
384	clock-frequency = <100000>;
385	pinctrl-names = "default";
386	pinctrl-0 = <&pinctrl_i2c2>;
387	status = "okay";
388};
389
390&i2c3 {
391	clock-frequency = <100000>;
392	pinctrl-names = "default";
393	pinctrl-0 = <&pinctrl_i2c3>;
394	status = "okay";
395
396	touchscreen@4 {
397		compatible = "eeti,egalax_ts";
398		reg = <0x04>;
399		interrupt-parent = <&gpio1>;
400		interrupts = <9 IRQ_TYPE_EDGE_FALLING>;
401		wakeup-gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
402	};
403
404	touchscreen@38 {
405		compatible = "edt,edt-ft5x06";
406		reg = <0x38>;
407		interrupt-parent = <&gpio1>;
408		interrupts = <9 IRQ_TYPE_EDGE_FALLING>;
409		wakeup-source;
410	};
411};
412
413&iomuxc {
414	pinctrl_audmux: audmuxgrp {
415		fsl,pins = <
416			MX6QDL_PAD_CSI0_DAT7__AUD3_RXD		0x130b0
417			MX6QDL_PAD_CSI0_DAT4__AUD3_TXC		0x130b0
418			MX6QDL_PAD_CSI0_DAT5__AUD3_TXD		0x110b0
419			MX6QDL_PAD_CSI0_DAT6__AUD3_TXFS		0x130b0
420		>;
421	};
422
423	pinctrl_can1: can1grp {
424		fsl,pins = <
425			MX6QDL_PAD_KEY_COL2__FLEXCAN1_TX	0x1b0b0
426			MX6QDL_PAD_KEY_ROW2__FLEXCAN1_RX	0x1b0b0
427		>;
428	};
429
430	pinctrl_can_xcvr: can-xcvrgrp {
431		fsl,pins = <
432			/* Flexcan XCVR enable */
433			MX6QDL_PAD_GPIO_2__GPIO1_IO02		0x1b0b0
434		>;
435	};
436
437	pinctrl_ecspi1: ecspi1grp {
438		fsl,pins = <
439			MX6QDL_PAD_EIM_D17__ECSPI1_MISO		0x100b1
440			MX6QDL_PAD_EIM_D18__ECSPI1_MOSI		0x100b1
441			MX6QDL_PAD_EIM_D16__ECSPI1_SCLK		0x100b1
442			MX6QDL_PAD_EIM_D19__GPIO3_IO19		0x000b1
443		>;
444	};
445
446	pinctrl_enet: enetgrp {
447		fsl,pins = <
448			MX6QDL_PAD_ENET_MDIO__ENET_MDIO		0x100b0
449			MX6QDL_PAD_ENET_MDC__ENET_MDC		0x100b0
450			MX6QDL_PAD_RGMII_TXC__RGMII_TXC		0x10030
451			MX6QDL_PAD_RGMII_TD0__RGMII_TD0		0x10030
452			MX6QDL_PAD_RGMII_TD1__RGMII_TD1		0x10030
453			MX6QDL_PAD_RGMII_TD2__RGMII_TD2		0x10030
454			MX6QDL_PAD_RGMII_TD3__RGMII_TD3		0x10030
455			MX6QDL_PAD_RGMII_TX_CTL__RGMII_TX_CTL	0x10030
456			MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK	0x100b0
457			MX6QDL_PAD_RGMII_RXC__RGMII_RXC		0x1b030
458			MX6QDL_PAD_RGMII_RD0__RGMII_RD0		0x1b030
459			MX6QDL_PAD_RGMII_RD1__RGMII_RD1		0x1b030
460			MX6QDL_PAD_RGMII_RD2__RGMII_RD2		0x1b030
461			MX6QDL_PAD_RGMII_RD3__RGMII_RD3		0x1b030
462			MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL	0x1b030
463			/* Phy reset */
464			MX6QDL_PAD_ENET_RXD0__GPIO1_IO27	0x0f0b0
465			MX6QDL_PAD_ENET_TX_EN__GPIO1_IO28	0x1b0b0
466			MX6QDL_PAD_GPIO_6__ENET_IRQ		0x000b1
467		>;
468	};
469
470	pinctrl_gpio_keys: gpio-keysgrp {
471		fsl,pins = <
472			/* Power Button */
473			MX6QDL_PAD_NANDF_D3__GPIO2_IO03		0x1b0b0
474			/* Menu Button */
475			MX6QDL_PAD_NANDF_D1__GPIO2_IO01		0x1b0b0
476			/* Home Button */
477			MX6QDL_PAD_NANDF_D4__GPIO2_IO04		0x1b0b0
478			/* Back Button */
479			MX6QDL_PAD_NANDF_D2__GPIO2_IO02		0x1b0b0
480			/* Volume Up Button */
481			MX6QDL_PAD_GPIO_18__GPIO7_IO13		0x1b0b0
482			/* Volume Down Button */
483			MX6QDL_PAD_SD3_DAT4__GPIO7_IO01		0x1b0b0
484		>;
485	};
486
487	pinctrl_i2c1: i2c1grp {
488		fsl,pins = <
489			MX6QDL_PAD_EIM_D21__I2C1_SCL	0x4001b8b1
490			MX6QDL_PAD_EIM_D28__I2C1_SDA	0x4001b8b1
491		>;
492	};
493
494	pinctrl_i2c2: i2c2grp {
495		fsl,pins = <
496			MX6QDL_PAD_KEY_COL3__I2C2_SCL	0x4001b8b1
497			MX6QDL_PAD_KEY_ROW3__I2C2_SDA	0x4001b8b1
498		>;
499	};
500
501	pinctrl_i2c2mux: i2c2muxgrp {
502		fsl,pins = <
503			/* ov5642 camera i2c enable */
504			MX6QDL_PAD_EIM_D20__GPIO3_IO20	0x000b0
505			/* ov5640_mipi camera i2c enable */
506			MX6QDL_PAD_KEY_ROW4__GPIO4_IO15	0x000b0
507		>;
508	};
509
510	pinctrl_i2c3: i2c3grp {
511		fsl,pins = <
512			MX6QDL_PAD_GPIO_5__I2C3_SCL	0x4001b8b1
513			MX6QDL_PAD_GPIO_16__I2C3_SDA	0x4001b8b1
514			MX6QDL_PAD_GPIO_9__GPIO1_IO09	0x1b0b0
515		>;
516	};
517
518	pinctrl_i2c3mux: i2c3muxgrp {
519		fsl,pins = <
520			/* PCIe I2C enable */
521			MX6QDL_PAD_EIM_OE__GPIO2_IO25	0x000b0
522		>;
523	};
524
525	pinctrl_j15: j15grp {
526		fsl,pins = <
527			MX6QDL_PAD_DI0_DISP_CLK__IPU1_DI0_DISP_CLK 0x10
528			MX6QDL_PAD_DI0_PIN15__IPU1_DI0_PIN15       0x10
529			MX6QDL_PAD_DI0_PIN2__IPU1_DI0_PIN02        0x10
530			MX6QDL_PAD_DI0_PIN3__IPU1_DI0_PIN03        0x10
531			MX6QDL_PAD_DISP0_DAT0__IPU1_DISP0_DATA00   0x10
532			MX6QDL_PAD_DISP0_DAT1__IPU1_DISP0_DATA01   0x10
533			MX6QDL_PAD_DISP0_DAT2__IPU1_DISP0_DATA02   0x10
534			MX6QDL_PAD_DISP0_DAT3__IPU1_DISP0_DATA03   0x10
535			MX6QDL_PAD_DISP0_DAT4__IPU1_DISP0_DATA04   0x10
536			MX6QDL_PAD_DISP0_DAT5__IPU1_DISP0_DATA05   0x10
537			MX6QDL_PAD_DISP0_DAT6__IPU1_DISP0_DATA06   0x10
538			MX6QDL_PAD_DISP0_DAT7__IPU1_DISP0_DATA07   0x10
539			MX6QDL_PAD_DISP0_DAT8__IPU1_DISP0_DATA08   0x10
540			MX6QDL_PAD_DISP0_DAT9__IPU1_DISP0_DATA09   0x10
541			MX6QDL_PAD_DISP0_DAT10__IPU1_DISP0_DATA10  0x10
542			MX6QDL_PAD_DISP0_DAT11__IPU1_DISP0_DATA11  0x10
543			MX6QDL_PAD_DISP0_DAT12__IPU1_DISP0_DATA12  0x10
544			MX6QDL_PAD_DISP0_DAT13__IPU1_DISP0_DATA13  0x10
545			MX6QDL_PAD_DISP0_DAT14__IPU1_DISP0_DATA14  0x10
546			MX6QDL_PAD_DISP0_DAT15__IPU1_DISP0_DATA15  0x10
547			MX6QDL_PAD_DISP0_DAT16__IPU1_DISP0_DATA16  0x10
548			MX6QDL_PAD_DISP0_DAT17__IPU1_DISP0_DATA17  0x10
549			MX6QDL_PAD_DISP0_DAT18__IPU1_DISP0_DATA18  0x10
550			MX6QDL_PAD_DISP0_DAT19__IPU1_DISP0_DATA19  0x10
551			MX6QDL_PAD_DISP0_DAT20__IPU1_DISP0_DATA20  0x10
552			MX6QDL_PAD_DISP0_DAT21__IPU1_DISP0_DATA21  0x10
553			MX6QDL_PAD_DISP0_DAT22__IPU1_DISP0_DATA22  0x10
554			MX6QDL_PAD_DISP0_DAT23__IPU1_DISP0_DATA23  0x10
555		>;
556	};
557
558	pinctrl_pcie: pciegrp {
559		fsl,pins = <
560			/* PCIe reset */
561			MX6QDL_PAD_EIM_BCLK__GPIO6_IO31	0x000b0
562		>;
563	};
564
565	pinctrl_pwm1: pwm1grp {
566		fsl,pins = <
567			MX6QDL_PAD_SD1_DAT3__PWM1_OUT	0x1b0b1
568		>;
569	};
570
571	pinctrl_pwm2: pwm2grp {
572		fsl,pins = <
573			MX6QDL_PAD_SD1_DAT2__PWM2_OUT	0x1b0b1
574		>;
575	};
576
577	pinctrl_pwm3: pwm3grp {
578		fsl,pins = <
579			MX6QDL_PAD_SD1_DAT1__PWM3_OUT	0x1b0b1
580		>;
581	};
582
583	pinctrl_pwm4: pwm4grp {
584		fsl,pins = <
585			MX6QDL_PAD_SD1_CMD__PWM4_OUT	0x1b0b1
586		>;
587	};
588
589	pinctrl_rv4162: rv4162grp {
590		fsl,pins = <
591			MX6QDL_PAD_KEY_COL0__GPIO4_IO06	0x1b0b0
592		>;
593	};
594
595	pinctrl_sgtl5000: sgtl5000grp {
596		fsl,pins = <
597			MX6QDL_PAD_GPIO_0__CCM_CLKO1		0x000b0
598			MX6QDL_PAD_EIM_A25__GPIO5_IO02		0x1b0b0
599			MX6QDL_PAD_ENET_TXD1__GPIO1_IO29	0x1b0b0
600		>;
601	};
602
603	pinctrl_uart1: uart1grp {
604		fsl,pins = <
605			MX6QDL_PAD_SD3_DAT7__UART1_TX_DATA	0x1b0b1
606			MX6QDL_PAD_SD3_DAT6__UART1_RX_DATA	0x1b0b1
607		>;
608	};
609
610	pinctrl_uart2: uart2grp {
611		fsl,pins = <
612			MX6QDL_PAD_EIM_D26__UART2_TX_DATA	0x1b0b1
613			MX6QDL_PAD_EIM_D27__UART2_RX_DATA	0x1b0b1
614		>;
615	};
616
617	pinctrl_uart5: uart5grp {
618		fsl,pins = <
619			MX6QDL_PAD_KEY_ROW1__UART5_RX_DATA	0x130b1
620			MX6QDL_PAD_KEY_COL1__UART5_TX_DATA	0x030b1
621			/* RS485 RX Enable: pull up */
622			MX6QDL_PAD_NANDF_RB0__GPIO6_IO10	0x1b0b1
623			/* RS485 DEN: pull down */
624			MX6QDL_PAD_NANDF_CLE__GPIO6_IO07	0x030b1
625			/* RS485/!RS232 Select: pull down (rs232) */
626			MX6QDL_PAD_EIM_CS1__GPIO2_IO24		0x030b1
627			/* ON: pull down */
628			MX6QDL_PAD_NANDF_ALE__GPIO6_IO08	0x030b1
629		>;
630	};
631
632	pinctrl_usbh1: usbh1grp {
633		fsl,pins = <
634			MX6QDL_PAD_GPIO_17__GPIO7_IO12		0x0b0b0
635		>;
636	};
637
638	pinctrl_usbotg: usbotggrp {
639		fsl,pins = <
640			MX6QDL_PAD_GPIO_1__USB_OTG_ID		0x17059
641			MX6QDL_PAD_KEY_COL4__USB_OTG_OC		0x1b0b0
642			/* power enable, high active */
643			MX6QDL_PAD_EIM_D22__GPIO3_IO22		0x000b0
644		>;
645	};
646
647	pinctrl_usdhc2: usdhc2grp {
648		fsl,pins = <
649			MX6QDL_PAD_SD2_CMD__SD2_CMD		0x17059
650			MX6QDL_PAD_SD2_CLK__SD2_CLK		0x10059
651			MX6QDL_PAD_SD2_DAT0__SD2_DATA0		0x17059
652			MX6QDL_PAD_SD2_DAT1__SD2_DATA1		0x17059
653			MX6QDL_PAD_SD2_DAT2__SD2_DATA2		0x17059
654			MX6QDL_PAD_SD2_DAT3__SD2_DATA3		0x17059
655		>;
656	};
657
658	pinctrl_usdhc3: usdhc3grp {
659		fsl,pins = <
660			MX6QDL_PAD_SD3_CMD__SD3_CMD		0x17059
661			MX6QDL_PAD_SD3_CLK__SD3_CLK		0x10059
662			MX6QDL_PAD_SD3_DAT0__SD3_DATA0		0x17059
663			MX6QDL_PAD_SD3_DAT1__SD3_DATA1		0x17059
664			MX6QDL_PAD_SD3_DAT2__SD3_DATA2		0x17059
665			MX6QDL_PAD_SD3_DAT3__SD3_DATA3		0x17059
666			MX6QDL_PAD_NANDF_CS1__SD3_VSELECT	0x100b0
667			MX6QDL_PAD_SD3_DAT5__GPIO7_IO00		0x1b0b0
668		>;
669	};
670
671	pinctrl_usdhc4: usdhc4grp {
672		fsl,pins = <
673			MX6QDL_PAD_SD4_CMD__SD4_CMD		0x17059
674			MX6QDL_PAD_SD4_CLK__SD4_CLK		0x10059
675			MX6QDL_PAD_SD4_DAT0__SD4_DATA0		0x17059
676			MX6QDL_PAD_SD4_DAT1__SD4_DATA1		0x17059
677			MX6QDL_PAD_SD4_DAT2__SD4_DATA2		0x17059
678			MX6QDL_PAD_SD4_DAT3__SD4_DATA3		0x17059
679			MX6QDL_PAD_SD4_DAT4__SD4_DATA4		0x17059
680			MX6QDL_PAD_SD4_DAT5__SD4_DATA5		0x17059
681			MX6QDL_PAD_SD4_DAT6__SD4_DATA6		0x17059
682			MX6QDL_PAD_SD4_DAT7__SD4_DATA7		0x17059
683		>;
684	};
685
686	pinctrl_wlan_vmmc: wlan-vmmcgrp {
687		fsl,pins = <
688			MX6QDL_PAD_NANDF_CS0__GPIO6_IO11	0x100b0
689			MX6QDL_PAD_NANDF_CS2__GPIO6_IO15	0x000b0
690			MX6QDL_PAD_NANDF_CS3__GPIO6_IO16	0x000b0
691			MX6QDL_PAD_SD1_CLK__OSC32K_32K_OUT	0x000b0
692		>;
693	};
694};
695
696&ipu1_di0_disp0 {
697	remote-endpoint = <&lcd_display_in>;
698};
699
700&ldb {
701	status = "okay";
702
703	lvds-channel@0 {
704		status = "okay";
705
706		port@4 {
707			reg = <4>;
708
709			lvds0_out: endpoint {
710				remote-endpoint = <&panel_in_lvds0>;
711			};
712		};
713	};
714
715	lvds-channel@1 {
716		status = "okay";
717
718		port@4 {
719			reg = <4>;
720
721			lvds1_out: endpoint {
722				remote-endpoint = <&panel_in_lvds1>;
723			};
724		};
725	};
726};
727
728&pcie {
729	pinctrl-names = "default";
730	pinctrl-0 = <&pinctrl_pcie>;
731	reset-gpio = <&gpio6 31 GPIO_ACTIVE_LOW>;
732	status = "okay";
733};
734
735&pwm1 {
736	pinctrl-names = "default";
737	pinctrl-0 = <&pinctrl_pwm1>;
738	status = "okay";
739};
740
741&pwm2 {
742	pinctrl-names = "default";
743	pinctrl-0 = <&pinctrl_pwm2>;
744	status = "okay";
745};
746
747&pwm3 {
748	pinctrl-names = "default";
749	pinctrl-0 = <&pinctrl_pwm3>;
750	status = "okay";
751};
752
753&pwm4 {
754	pinctrl-names = "default";
755	pinctrl-0 = <&pinctrl_pwm4>;
756	status = "okay";
757};
758
759&ssi1 {
760	status = "okay";
761};
762
763&uart1 {
764	pinctrl-names = "default";
765	pinctrl-0 = <&pinctrl_uart1>;
766	status = "okay";
767};
768
769&uart2 {
770	pinctrl-names = "default";
771	pinctrl-0 = <&pinctrl_uart2>;
772	status = "okay";
773};
774
775&uart5 {
776	pinctrl-names = "default";
777	pinctrl-0 = <&pinctrl_uart5>;
778	status = "okay";
779};
780
781&usbh1 {
782	vbus-supply = <&reg_usb_h1_vbus>;
783	status = "okay";
784};
785
786&usbotg {
787	vbus-supply = <&reg_usb_otg_vbus>;
788	pinctrl-names = "default";
789	pinctrl-0 = <&pinctrl_usbotg>;
790	disable-over-current;
791	status = "okay";
792};
793
794&usdhc2 {
795	pinctrl-names = "default";
796	pinctrl-0 = <&pinctrl_usdhc2>;
797	bus-width = <4>;
798	non-removable;
799	vmmc-supply = <&reg_wlan_vmmc>;
800	cap-power-off-card;
801	keep-power-in-suspend;
802	status = "okay";
803
804	#address-cells = <1>;
805	#size-cells = <0>;
806	wlcore: wlcore@2 {
807		compatible = "ti,wl1271";
808		reg = <2>;
809		interrupt-parent = <&gpio6>;
810		interrupts = <11 IRQ_TYPE_LEVEL_HIGH>;
811		ref-clock-frequency = <38400000>;
812	};
813};
814
815&usdhc3 {
816	pinctrl-names = "default";
817	pinctrl-0 = <&pinctrl_usdhc3>;
818	cd-gpios = <&gpio7 0 GPIO_ACTIVE_LOW>;
819	bus-width = <4>;
820	vmmc-supply = <&reg_3p3v>;
821	status = "okay";
822};
823
824&usdhc4 {
825	pinctrl-names = "default";
826	pinctrl-0 = <&pinctrl_usdhc4>;
827	bus-width = <8>;
828	non-removable;
829	vmmc-supply = <&reg_1p8v>;
830	keep-power-in-suspend;
831	status = "okay";
832};
833