blob: 4cc965277c52199d665a7c7ea455b0d42cb92ea6 [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2/*
3 * Copyright 2014-2022 Toradex
4 * Copyright 2012 Freescale Semiconductor, Inc.
5 * Copyright 2011 Linaro Ltd.
6 */
7
8#include <dt-bindings/gpio/gpio.h>
9#include <dt-bindings/pwm/pwm.h>
10
11/ {
12 model = "Toradex Apalis iMX6Q/D Module";
13 compatible = "toradex,apalis_imx6q", "fsl,imx6q";
14
15 /* Will be filled by the bootloader */
16 memory@10000000 {
17 device_type = "memory";
18 reg = <0x10000000 0>;
19 };
20
21 backlight: backlight {
22 compatible = "pwm-backlight";
23 brightness-levels = <0 45 63 88 119 158 203 255>;
24 default-brightness-level = <4>;
25 enable-gpios = <&gpio3 13 GPIO_ACTIVE_HIGH>;
26 pinctrl-names = "default";
27 pinctrl-0 = <&pinctrl_gpio_bl_on>;
28 power-supply = <&reg_module_3v3>;
29 pwms = <&pwm4 0 5000000 PWM_POLARITY_INVERTED>;
30 status = "disabled";
31 };
32
33 clk_ov5640_osc: clk-ov5640-osc {
34 compatible = "fixed-clock";
35 #clock-cells = <0>;
36 clock-frequency = <24000000>;
37 };
38
39 gpio-keys {
40 compatible = "gpio-keys";
41 pinctrl-names = "default";
42 pinctrl-0 = <&pinctrl_gpio_keys>;
43
44 key-wakeup {
45 debounce-interval = <10>;
46 gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
47 label = "Wake-Up";
48 linux,code = <KEY_WAKEUP>;
49 wakeup-source;
50 };
51 };
52
53 lcd_display: disp0 {
54 compatible = "fsl,imx-parallel-display";
55 #address-cells = <1>;
56 #size-cells = <0>;
57 interface-pix-fmt = "rgb24";
58 pinctrl-names = "default";
59 pinctrl-0 = <&pinctrl_ipu1_lcdif>;
60 status = "disabled";
61
62 port@0 {
63 reg = <0>;
64
65 lcd_display_in: endpoint {
66 remote-endpoint = <&ipu1_di1_disp1>;
67 };
68 };
69
70 port@1 {
71 reg = <1>;
72
73 lcd_display_out: endpoint {
74 remote-endpoint = <&lcd_panel_in>;
75 };
76 };
77 };
78
79 panel_dpi: panel-dpi {
80 compatible = "edt,et057090dhu";
81 backlight = <&backlight>;
82
83 status = "disabled";
84
85 port {
86 lcd_panel_in: endpoint {
87 remote-endpoint = <&lcd_display_out>;
88 };
89 };
90 };
91
92 panel_lvds: panel-lvds {
93 compatible = "panel-lvds";
94 backlight = <&backlight>;
95 status = "disabled";
96
97 port {
98 lvds_panel_in: endpoint {
99 remote-endpoint = <&lvds0_out>;
100 };
101 };
102 };
103
104 reg_module_3v3: regulator-module-3v3 {
105 compatible = "regulator-fixed";
106 regulator-always-on;
107 regulator-max-microvolt = <3300000>;
108 regulator-min-microvolt = <3300000>;
109 regulator-name = "+V3.3";
110 };
111
112 reg_module_3v3_audio: regulator-module-3v3-audio {
113 compatible = "regulator-fixed";
114 regulator-always-on;
115 regulator-max-microvolt = <3300000>;
116 regulator-min-microvolt = <3300000>;
117 regulator-name = "+V3.3_AUDIO";
118 };
119
120 reg_ov5640_1v8_d_o_vdd: regulator-ov5640-1v8-d-o-vdd {
121 compatible = "regulator-fixed";
122 regulator-always-on;
123 regulator-max-microvolt = <1800000>;
124 regulator-min-microvolt = <1800000>;
125 regulator-name = "DOVDD/DVDD_1.8V";
126 /* Note: The CSI module uses on-board 3.3V_SW supply */
127 vin-supply = <&reg_module_3v3>;
128 };
129
130 reg_ov5640_2v8_a_vdd: regulator-ov5640-2v8-a-vdd {
131 compatible = "regulator-fixed";
132 regulator-always-on;
133 regulator-max-microvolt = <2800000>;
134 regulator-min-microvolt = <2800000>;
135 regulator-name = "AVDD/AFVDD_2.8V";
136 /* Note: The CSI module uses on-board 3.3V_SW supply */
137 vin-supply = <&reg_module_3v3>;
138 };
139
140 reg_usb_otg_vbus: regulator-usb-otg-vbus {
141 compatible = "regulator-fixed";
142 enable-active-high;
143 gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>;
144 pinctrl-names = "default";
145 pinctrl-0 = <&pinctrl_regulator_usbotg_pwr>;
146 regulator-max-microvolt = <5000000>;
147 regulator-min-microvolt = <5000000>;
148 regulator-name = "usb_otg_vbus";
149 status = "disabled";
150 };
151
152 /* on module USB hub */
153 reg_usb_host_vbus_hub: regulator-usb-host-vbus-hub {
154 compatible = "regulator-fixed";
155 enable-active-high;
156 gpio = <&gpio3 28 GPIO_ACTIVE_HIGH>;
157 pinctrl-names = "default";
158 pinctrl-0 = <&pinctrl_regulator_usbhub_pwr>;
159 regulator-max-microvolt = <5000000>;
160 regulator-min-microvolt = <5000000>;
161 regulator-name = "usb_host_vbus_hub";
162 startup-delay-us = <2000>;
163 status = "okay";
164 };
165
166 reg_usb_host_vbus: regulator-usb-host-vbus {
167 compatible = "regulator-fixed";
168 enable-active-high;
169 gpio = <&gpio1 0 GPIO_ACTIVE_HIGH>;
170 pinctrl-names = "default";
171 pinctrl-0 = <&pinctrl_regulator_usbh_pwr>;
172 regulator-max-microvolt = <5000000>;
173 regulator-min-microvolt = <5000000>;
174 regulator-name = "usb_host_vbus";
175 vin-supply = <&reg_usb_host_vbus_hub>;
176 status = "disabled";
177 };
178
179 sound {
180 compatible = "fsl,imx-audio-sgtl5000";
181 audio-codec = <&codec>;
182 audio-routing =
183 "LINE_IN", "Line In Jack",
184 "MIC_IN", "Mic Jack",
185 "Mic Jack", "Mic Bias",
186 "Headphone Jack", "HP_OUT";
187 model = "imx6q-apalis-sgtl5000";
188 mux-ext-port = <4>;
189 mux-int-port = <1>;
190 ssi-controller = <&ssi1>;
191 };
192
193 sound_spdif: sound-spdif {
194 compatible = "fsl,imx-audio-spdif";
195 spdif-controller = <&spdif>;
196 spdif-in;
197 spdif-out;
198 model = "imx-spdif";
199 status = "disabled";
200 };
201};
202
203&audmux {
204 pinctrl-names = "default";
205 pinctrl-0 = <&pinctrl_audmux>;
206 status = "okay";
207};
208
209&can1 {
210 pinctrl-names = "default", "sleep";
211 pinctrl-0 = <&pinctrl_flexcan1_default>;
212 pinctrl-1 = <&pinctrl_flexcan1_sleep>;
213 status = "disabled";
214};
215
216&can2 {
217 pinctrl-names = "default", "sleep";
218 pinctrl-0 = <&pinctrl_flexcan2_default>;
219 pinctrl-1 = <&pinctrl_flexcan2_sleep>;
220 status = "disabled";
221};
222
223&clks {
224 fsl,pmic-stby-poweroff;
225};
226
227/* Apalis SPI1 */
228&ecspi1 {
229 cs-gpios = <&gpio5 25 GPIO_ACTIVE_LOW>;
230 pinctrl-names = "default";
231 pinctrl-0 = <&pinctrl_ecspi1>;
232 status = "disabled";
233};
234
235/* Apalis SPI2 */
236&ecspi2 {
237 cs-gpios = <&gpio2 26 GPIO_ACTIVE_LOW>;
238 pinctrl-names = "default";
239 pinctrl-0 = <&pinctrl_ecspi2>;
240 status = "disabled";
241};
242
243&gpio1 {
244 gpio-line-names = "MXM3_84",
245 "MXM3_4",
246 "MXM3_15/GPIO7",
247 "MXM3_96",
248 "MXM3_37",
249 "",
250 "MXM3_17/GPIO8",
251 "MXM3_14",
252 "MXM3_12",
253 "MXM3_2",
254 "MXM3_184",
255 "MXM3_180",
256 "MXM3_178",
257 "MXM3_176",
258 "MXM3_188",
259 "MXM3_186",
260 "MXM3_160",
261 "MXM3_162",
262 "MXM3_150",
263 "MXM3_144",
264 "MXM3_154",
265 "MXM3_146",
266 "",
267 "",
268 "MXM3_72";
269};
270
271&gpio2 {
272 gpio-line-names = "MXM3_148",
273 "MXM3_152",
274 "MXM3_156",
275 "MXM3_158",
276 "MXM3_1/GPIO1",
277 "MXM3_3/GPIO2",
278 "MXM3_5/GPIO3",
279 "MXM3_7/GPIO4",
280 "MXM3_95",
281 "MXM3_6",
282 "MXM3_8",
283 "MXM3_123",
284 "MXM3_126",
285 "MXM3_128",
286 "MXM3_130",
287 "MXM3_132",
288 "MXM3_253",
289 "MXM3_251",
290 "MXM3_283",
291 "MXM3_281",
292 "MXM3_279",
293 "MXM3_277",
294 "MXM3_243",
295 "MXM3_235",
296 "MXM3_231",
297 "MXM3_229",
298 "MXM3_233",
299 "MXM3_198",
300 "MXM3_275",
301 "MXM3_273",
302 "MXM3_207",
303 "MXM3_122";
304};
305
306&gpio3 {
307 gpio-line-names = "MXM3_271",
308 "MXM3_269",
309 "MXM3_301",
310 "MXM3_299",
311 "MXM3_297",
312 "MXM3_295",
313 "MXM3_293",
314 "MXM3_291",
315 "MXM3_289",
316 "MXM3_287",
317 "MXM3_249",
318 "MXM3_247",
319 "MXM3_245",
320 "MXM3_286",
321 "MXM3_239",
322 "MXM3_35",
323 "MXM3_205",
324 "MXM3_203",
325 "MXM3_201",
326 "MXM3_116",
327 "MXM3_114",
328 "MXM3_262",
329 "MXM3_274",
330 "MXM3_124",
331 "MXM3_110",
332 "MXM3_120",
333 "MXM3_263",
334 "MXM3_265",
335 "",
336 "MXM3_135",
337 "MXM3_261",
338 "MXM3_259";
339};
340
341&gpio4 {
342 gpio-line-names = "",
343 "",
344 "",
345 "",
346 "",
347 "MXM3_194",
348 "MXM3_136",
349 "MXM3_134",
350 "MXM3_140",
351 "MXM3_138",
352 "",
353 "MXM3_220",
354 "",
355 "",
356 "MXM3_18",
357 "MXM3_16",
358 "",
359 "",
360 "MXM3_214",
361 "MXM3_216",
362 "MXM3_164";
363};
364
365&gpio5 {
366 gpio-line-names = "MXM3_159",
367 "",
368 "",
369 "",
370 "MXM3_257",
371 "",
372 "",
373 "",
374 "",
375 "",
376 "MXM3_200",
377 "MXM3_196",
378 "MXM3_204",
379 "MXM3_202",
380 "",
381 "",
382 "",
383 "",
384 "MXM3_191",
385 "MXM3_197",
386 "MXM3_77",
387 "MXM3_195",
388 "MXM3_221",
389 "MXM3_225",
390 "MXM3_223",
391 "MXM3_227",
392 "MXM3_209",
393 "MXM3_211",
394 "MXM3_118",
395 "MXM3_112",
396 "MXM3_187",
397 "MXM3_185";
398};
399
400&gpio6 {
401 gpio-line-names = "MXM3_183",
402 "MXM3_181",
403 "MXM3_179",
404 "MXM3_177",
405 "MXM3_175",
406 "MXM3_173",
407 "MXM3_255",
408 "MXM3_83",
409 "MXM3_91",
410 "MXM3_13/GPIO6",
411 "MXM3_11/GPIO5",
412 "MXM3_79",
413 "",
414 "",
415 "MXM3_190",
416 "MXM3_193",
417 "MXM3_89";
418};
419
420&gpio7 {
421 gpio-line-names = "",
422 "",
423 "",
424 "",
425 "",
426 "",
427 "",
428 "",
429 "",
430 "MXM3_99",
431 "MXM3_85",
432 "MXM3_217",
433 "MXM3_215";
434};
435
436&gpr {
437 ipu1_csi0_mux {
438 #address-cells = <1>;
439 #size-cells = <0>;
440 status = "disabled";
441
442 port@1 {
443 reg = <1>;
444 ipu1_csi0_mux_from_parallel_sensor: endpoint {
445 remote-endpoint = <&adv7280_to_ipu1_csi0_mux>;
446 };
447 };
448 };
449};
450
451&fec {
452 pinctrl-names = "default";
453 pinctrl-0 = <&pinctrl_enet>;
454 phy-mode = "rgmii-id";
455 phy-handle = <&ethphy>;
456 phy-reset-duration = <10>;
457 phy-reset-gpios = <&gpio1 25 GPIO_ACTIVE_LOW>;
458 status = "okay";
459
460 mdio {
461 #address-cells = <1>;
462 #size-cells = <0>;
463
464 ethphy: ethernet-phy@7 {
465 interrupt-parent = <&gpio1>;
466 interrupts = <30 IRQ_TYPE_LEVEL_LOW>;
467 reg = <7>;
468 };
469 };
470};
471
472&hdmi {
473 pinctrl-names = "default";
474 pinctrl-0 = <&pinctrl_hdmi_ddc &pinctrl_hdmi_cec>;
475 status = "disabled";
476};
477
478/* I2C1_SDA/SCL on MXM3 209/211 (e.g. RTC on carrier board) */
479&i2c1 {
480 clock-frequency = <100000>;
481 pinctrl-names = "default", "gpio";
482 pinctrl-0 = <&pinctrl_i2c1>;
483 pinctrl-1 = <&pinctrl_i2c1_gpio>;
484 scl-gpios = <&gpio5 27 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
485 sda-gpios = <&gpio5 26 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
486 status = "disabled";
487
488 atmel_mxt_ts: touchscreen@4a {
489 compatible = "atmel,maxtouch";
490 /* These GPIOs are muxed with the iomuxc node */
491 interrupt-parent = <&gpio6>;
492 interrupts = <10 IRQ_TYPE_EDGE_FALLING>; /* MXM3_11 */
493 reg = <0x4a>;
494 reset-gpios = <&gpio6 9 GPIO_ACTIVE_LOW>; /* MXM3_13 */
495 status = "disabled";
496 };
497};
498
499/*
500 * PWR_I2C: power I2C to audio codec, PMIC, temperature sensor and
501 * touch screen controller
502 */
503&i2c2 {
504 clock-frequency = <100000>;
505 pinctrl-names = "default", "gpio";
506 pinctrl-0 = <&pinctrl_i2c2>;
507 pinctrl-1 = <&pinctrl_i2c2_gpio>;
508 scl-gpios = <&gpio4 12 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
509 sda-gpios = <&gpio4 13 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
510 status = "okay";
511
512 pmic: pmic@8 {
513 compatible = "fsl,pfuze100";
514 fsl,pmic-stby-poweroff;
515 reg = <0x08>;
516
517 regulators {
518 sw1a_reg: sw1ab {
519 regulator-always-on;
520 regulator-boot-on;
521 regulator-max-microvolt = <1875000>;
522 regulator-min-microvolt = <300000>;
523 regulator-ramp-delay = <6250>;
524 };
525
526 sw1c_reg: sw1c {
527 regulator-always-on;
528 regulator-boot-on;
529 regulator-max-microvolt = <1875000>;
530 regulator-min-microvolt = <300000>;
531 regulator-ramp-delay = <6250>;
532 };
533
534 sw3a_reg: sw3a {
535 regulator-always-on;
536 regulator-boot-on;
537 regulator-max-microvolt = <1975000>;
538 regulator-min-microvolt = <400000>;
539 };
540
541 swbst_reg: swbst {
542 regulator-always-on;
543 regulator-boot-on;
544 regulator-max-microvolt = <5150000>;
545 regulator-min-microvolt = <5000000>;
546 };
547
548 snvs_reg: vsnvs {
549 regulator-always-on;
550 regulator-boot-on;
551 regulator-max-microvolt = <3000000>;
552 regulator-min-microvolt = <1000000>;
553 };
554
555 vref_reg: vrefddr {
556 regulator-always-on;
557 regulator-boot-on;
558 };
559
560 vgen1_reg: vgen1 {
561 regulator-always-on;
562 regulator-boot-on;
563 regulator-max-microvolt = <1550000>;
564 regulator-min-microvolt = <800000>;
565 };
566
567 vgen2_reg: vgen2 {
568 regulator-always-on;
569 regulator-boot-on;
570 regulator-max-microvolt = <1550000>;
571 regulator-min-microvolt = <800000>;
572 };
573
574 vgen3_reg: vgen3 {
575 regulator-always-on;
576 regulator-boot-on;
577 regulator-max-microvolt = <3300000>;
578 regulator-min-microvolt = <1800000>;
579 };
580
581 vgen4_reg: vgen4 {
582 regulator-always-on;
583 regulator-boot-on;
584 regulator-max-microvolt = <1800000>;
585 regulator-min-microvolt = <1800000>;
586 };
587
588 vgen5_reg: vgen5 {
589 regulator-always-on;
590 regulator-boot-on;
591 regulator-max-microvolt = <3300000>;
592 regulator-min-microvolt = <1800000>;
593 };
594
595 vgen6_reg: vgen6 {
596 regulator-always-on;
597 regulator-boot-on;
598 regulator-max-microvolt = <3300000>;
599 regulator-min-microvolt = <1800000>;
600 };
601 };
602 };
603
604 codec: sgtl5000@a {
605 compatible = "fsl,sgtl5000";
606 #sound-dai-cells = <0>;
607 clocks = <&clks IMX6QDL_CLK_CKO>;
608 pinctrl-names = "default";
609 pinctrl-0 = <&pinctrl_sgtl5000>;
610 reg = <0x0a>;
611 VDDA-supply = <&reg_module_3v3_audio>;
612 VDDIO-supply = <&reg_module_3v3>;
613 VDDD-supply = <&vgen4_reg>;
614 };
615
616 /* STMPE811 touch screen controller */
617 stmpe811@41 {
618 compatible = "st,stmpe811";
619 blocks = <0x5>;
620 id = <0>;
621 interrupts = <10 IRQ_TYPE_LEVEL_LOW>;
622 interrupt-controller;
623 interrupt-parent = <&gpio4>;
624 irq-trigger = <0x1>;
625 pinctrl-names = "default";
626 pinctrl-0 = <&pinctrl_touch_int>;
627 reg = <0x41>;
628 /* 3.25 MHz ADC clock speed */
629 st,adc-freq = <1>;
630 /* 12-bit ADC */
631 st,mod-12b = <1>;
632 /* internal ADC reference */
633 st,ref-sel = <0>;
634 /* ADC conversion time: 80 clocks */
635 st,sample-time = <4>;
636
637 stmpe_ts: stmpe_touchscreen {
638 compatible = "st,stmpe-ts";
639 /* 8 sample average control */
640 st,ave-ctrl = <3>;
641 /* 7 length fractional part in z */
642 st,fraction-z = <7>;
643 /*
644 * 50 mA typical 80 mA max touchscreen drivers
645 * current limit value
646 */
647 st,i-drive = <1>;
648 /* 1 ms panel driver settling time */
649 st,settling = <3>;
650 /* 5 ms touch detect interrupt delay */
651 st,touch-det-delay = <5>;
652 status = "disabled";
653 };
654
655 stmpe_adc: stmpe_adc {
656 compatible = "st,stmpe-adc";
657 #io-channel-cells = <1>;
658 /* forbid to use ADC channels 3-0 (touch) */
659 st,norequest-mask = <0x0F>;
660 };
661 };
662};
663
664/*
665 * I2C3_SDA/SCL (CAM) on MXM3 pin 201/203 (e.g. camera sensor on carrier
666 * board)
667 */
668&i2c3 {
669 clock-frequency = <100000>;
670 pinctrl-names = "default", "gpio";
671 pinctrl-0 = <&pinctrl_i2c3>;
672 pinctrl-1 = <&pinctrl_i2c3_gpio>;
673 scl-gpios = <&gpio3 17 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
674 sda-gpios = <&gpio3 18 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
675 status = "disabled";
676
677 adv_7280: adv7280@21 {
678 compatible = "adi,adv7280";
679 adv,force-bt656-4;
680 pinctrl-names = "default";
681 pinctrl-0 = <&pinctrl_ipu1_csi0>;
682 reg = <0x21>;
683 status = "disabled";
684
685 port {
686 adv7280_to_ipu1_csi0_mux: endpoint {
687 bus-width = <8>;
688 remote-endpoint = <&ipu1_csi0_mux_from_parallel_sensor>;
689 };
690 };
691 };
692
693 ov5640_csi_cam: ov5640_mipi@3c {
694 compatible = "ovti,ov5640";
695 AVDD-supply = <&reg_ov5640_2v8_a_vdd>;
696 DOVDD-supply = <&reg_ov5640_1v8_d_o_vdd>;
697 DVDD-supply = <&reg_ov5640_1v8_d_o_vdd>;
698 clock-names = "xclk";
699 clocks = <&clks IMX6QDL_CLK_CKO2>;
700 pinctrl-names = "default";
701 pinctrl-0 = <&pinctrl_cam_mclk>;
702 /* These GPIOs are muxed with the iomuxc node */
703 powerdown-gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>;
704 reg = <0x3c>;
705 reset-gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
706 status = "disabled";
707
708 port {
709 ov5640_to_mipi_csi2: endpoint {
710 clock-lanes = <0>;
711 data-lanes = <1 2>;
712 remote-endpoint = <&mipi_csi_from_ov5640>;
713 };
714 };
715 };
716};
717
718&ipu1_di1_disp1 {
719 remote-endpoint = <&lcd_display_in>;
720};
721
722&ldb {
723 lvds-channel@0 {
724 port@4 {
725 reg = <4>;
726
727 lvds0_out: endpoint {
728 remote-endpoint = <&lvds_panel_in>;
729 };
730 };
731 };
732
733 lvds-channel@1 {
734 fsl,data-mapping = "spwg";
735 fsl,data-width = <18>;
736
737 port@4 {
738 reg = <4>;
739
740 lvds1_out: endpoint {
741 };
742 };
743 };
744};
745
746&mipi_csi {
747 #address-cells = <1>;
748 #size-cells = <0>;
749 status = "disabled";
750
751 port@0 {
752 reg = <0>;
753
754 mipi_csi_from_ov5640: endpoint {
755 clock-lanes = <0>;
756 data-lanes = <1 2>;
757 remote-endpoint = <&ov5640_to_mipi_csi2>;
758 };
759 };
760};
761
762&pwm1 {
763 pinctrl-names = "default";
764 pinctrl-0 = <&pinctrl_pwm1>;
765 status = "disabled";
766};
767
768&pwm2 {
769 pinctrl-names = "default";
770 pinctrl-0 = <&pinctrl_pwm2>;
771 status = "disabled";
772};
773
774&pwm3 {
775 pinctrl-names = "default";
776 pinctrl-0 = <&pinctrl_pwm3>;
777 status = "disabled";
778};
779
780&pwm4 {
781 pinctrl-names = "default";
782 pinctrl-0 = <&pinctrl_pwm4>;
783 status = "disabled";
784};
785
786&spdif {
787 pinctrl-names = "default";
788 pinctrl-0 = <&pinctrl_spdif>;
789 status = "disabled";
790};
791
792&ssi1 {
793 status = "okay";
794};
795
796&uart1 {
797 fsl,dte-mode;
798 pinctrl-names = "default";
799 pinctrl-0 = <&pinctrl_uart1_dte &pinctrl_uart1_ctrl>;
800 uart-has-rtscts;
801 status = "disabled";
802};
803
804&uart2 {
805 fsl,dte-mode;
806 pinctrl-names = "default";
807 pinctrl-0 = <&pinctrl_uart2_dte>;
808 uart-has-rtscts;
809 status = "disabled";
810};
811
812&uart4 {
813 fsl,dte-mode;
814 pinctrl-names = "default";
815 pinctrl-0 = <&pinctrl_uart4_dte>;
816 status = "disabled";
817};
818
819&uart5 {
820 fsl,dte-mode;
821 pinctrl-names = "default";
822 pinctrl-0 = <&pinctrl_uart5_dte>;
823 status = "disabled";
824};
825
826&usbotg {
827 pinctrl-names = "default";
828 pinctrl-0 = <&pinctrl_usbotg>;
829 status = "disabled";
830};
831
832/* MMC1 */
833&usdhc1 {
834 bus-width = <8>;
835 cd-gpios = <&gpio4 20 GPIO_ACTIVE_LOW>;
836 disable-wp;
837 no-1-8-v;
838 pinctrl-names = "default";
839 pinctrl-0 = <&pinctrl_usdhc1_4bit &pinctrl_usdhc1_8bit &pinctrl_mmc_cd>;
840 vqmmc-supply = <&reg_module_3v3>;
841 status = "disabled";
842};
843
844/* SD1 */
845&usdhc2 {
846 bus-width = <4>;
847 disable-wp;
848 no-1-8-v;
849 pinctrl-names = "default";
850 pinctrl-0 = <&pinctrl_usdhc2>;
851 vqmmc-supply = <&reg_module_3v3>;
852 status = "disabled";
853};
854
855/* eMMC */
856&usdhc3 {
857 bus-width = <8>;
858 no-1-8-v;
859 non-removable;
860 pinctrl-names = "default";
861 pinctrl-0 = <&pinctrl_usdhc3>;
862 vqmmc-supply = <&reg_module_3v3>;
863 status = "okay";
864};
865
866&weim {
867 status = "disabled";
868};
869
870&iomuxc {
871 /* Mux the Apalis GPIOs */
872 pinctrl-names = "default";
873 pinctrl-0 = <&pinctrl_apalis_gpio1 &pinctrl_apalis_gpio2
874 &pinctrl_apalis_gpio3 &pinctrl_apalis_gpio4
875 &pinctrl_apalis_gpio5 &pinctrl_apalis_gpio6
876 &pinctrl_apalis_gpio7 &pinctrl_apalis_gpio8
877 >;
878
879 pinctrl_apalis_gpio1: apalisgpio1grp {
880 fsl,pins = <
881 MX6QDL_PAD_NANDF_D4__GPIO2_IO04 0x130b0
882 >;
883 };
884
885 pinctrl_apalis_gpio2: apalisgpio2grp {
886 fsl,pins = <
887 MX6QDL_PAD_NANDF_D5__GPIO2_IO05 0x130b0
888 >;
889 };
890
891 pinctrl_apalis_gpio3: apalisgpio3grp {
892 fsl,pins = <
893 MX6QDL_PAD_NANDF_D6__GPIO2_IO06 0x130b0
894 >;
895 };
896
897 pinctrl_apalis_gpio4: apalisgpio4grp {
898 fsl,pins = <
899 MX6QDL_PAD_NANDF_D7__GPIO2_IO07 0x130b0
900 >;
901 };
902
903 pinctrl_apalis_gpio5: apalisgpio5grp {
904 fsl,pins = <
905 MX6QDL_PAD_NANDF_RB0__GPIO6_IO10 0x130b0
906 >;
907 };
908
909 pinctrl_apalis_gpio6: apalisgpio6grp {
910 fsl,pins = <
911 MX6QDL_PAD_NANDF_WP_B__GPIO6_IO09 0x130b0
912 >;
913 };
914
915 pinctrl_apalis_gpio7: apalisgpio7grp {
916 fsl,pins = <
917 MX6QDL_PAD_GPIO_2__GPIO1_IO02 0x130b0
918 >;
919 };
920
921 pinctrl_apalis_gpio8: apalisgpio8grp {
922 fsl,pins = <
923 MX6QDL_PAD_GPIO_6__GPIO1_IO06 0x130b0
924 >;
925 };
926
927 pinctrl_audmux: audmuxgrp {
928 fsl,pins = <
929 MX6QDL_PAD_DISP0_DAT20__AUD4_TXC 0x130b0
930 MX6QDL_PAD_DISP0_DAT21__AUD4_TXD 0x130b0
931 MX6QDL_PAD_DISP0_DAT22__AUD4_TXFS 0x130b0
932 MX6QDL_PAD_DISP0_DAT23__AUD4_RXD 0x130b0
933 >;
934 };
935
936 pinctrl_cam_mclk: cammclkgrp {
937 fsl,pins = <
938 /* CAM sys_mclk */
939 MX6QDL_PAD_NANDF_CS2__CCM_CLKO2 0x00b0
940 >;
941 };
942
943 pinctrl_ecspi1: ecspi1grp {
944 fsl,pins = <
945 MX6QDL_PAD_CSI0_DAT6__ECSPI1_MISO 0x100b1
946 MX6QDL_PAD_CSI0_DAT5__ECSPI1_MOSI 0x100b1
947 MX6QDL_PAD_CSI0_DAT4__ECSPI1_SCLK 0x100b1
948 /* SPI1 cs */
949 MX6QDL_PAD_CSI0_DAT7__GPIO5_IO25 0x000b1
950 >;
951 };
952
953 pinctrl_ecspi2: ecspi2grp {
954 fsl,pins = <
955 MX6QDL_PAD_EIM_OE__ECSPI2_MISO 0x100b1
956 MX6QDL_PAD_EIM_CS1__ECSPI2_MOSI 0x100b1
957 MX6QDL_PAD_EIM_CS0__ECSPI2_SCLK 0x100b1
958 /* SPI2 cs */
959 MX6QDL_PAD_EIM_RW__GPIO2_IO26 0x000b1
960 >;
961 };
962
963 pinctrl_enet: enetgrp {
964 fsl,pins = <
965 MX6QDL_PAD_ENET_MDIO__ENET_MDIO 0x100b0
966 MX6QDL_PAD_ENET_MDC__ENET_MDC 0x100b0
967 MX6QDL_PAD_RGMII_TXC__RGMII_TXC 0x10030
968 MX6QDL_PAD_RGMII_TD0__RGMII_TD0 0x10030
969 MX6QDL_PAD_RGMII_TD1__RGMII_TD1 0x10030
970 MX6QDL_PAD_RGMII_TD2__RGMII_TD2 0x10030
971 MX6QDL_PAD_RGMII_TD3__RGMII_TD3 0x10030
972 MX6QDL_PAD_RGMII_TX_CTL__RGMII_TX_CTL 0x10030
973 MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK 0x100b0
974 MX6QDL_PAD_RGMII_RXC__RGMII_RXC 0x1b030
975 MX6QDL_PAD_RGMII_RD0__RGMII_RD0 0x1b030
976 MX6QDL_PAD_RGMII_RD1__RGMII_RD1 0x1b030
977 MX6QDL_PAD_RGMII_RD2__RGMII_RD2 0x1b030
978 MX6QDL_PAD_RGMII_RD3__RGMII_RD3 0x1b030
979 MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL 0x1b030
980 /* Ethernet PHY reset */
981 MX6QDL_PAD_ENET_CRS_DV__GPIO1_IO25 0x000b0
982 /* Ethernet PHY interrupt */
983 MX6QDL_PAD_ENET_TXD0__GPIO1_IO30 0x000b1
984 >;
985 };
986
987 pinctrl_flexcan1_default: flexcan1defgrp {
988 fsl,pins = <
989 MX6QDL_PAD_GPIO_7__FLEXCAN1_TX 0x1b0b0
990 MX6QDL_PAD_GPIO_8__FLEXCAN1_RX 0x1b0b0
991 >;
992 };
993
994 pinctrl_flexcan1_sleep: flexcan1slpgrp {
995 fsl,pins = <
996 MX6QDL_PAD_GPIO_7__GPIO1_IO07 0x0
997 MX6QDL_PAD_GPIO_8__GPIO1_IO08 0x0
998 >;
999 };
1000
1001 pinctrl_flexcan2_default: flexcan2defgrp {
1002 fsl,pins = <
1003 MX6QDL_PAD_KEY_COL4__FLEXCAN2_TX 0x1b0b0
1004 MX6QDL_PAD_KEY_ROW4__FLEXCAN2_RX 0x1b0b0
1005 >;
1006 };
1007 pinctrl_flexcan2_sleep: flexcan2slpgrp {
1008 fsl,pins = <
1009 MX6QDL_PAD_KEY_COL4__GPIO4_IO14 0x0
1010 MX6QDL_PAD_KEY_ROW4__GPIO4_IO15 0x0
1011 >;
1012 };
1013
1014 pinctrl_gpio_bl_on: gpioblongrp {
1015 fsl,pins = <
1016 MX6QDL_PAD_EIM_DA13__GPIO3_IO13 0x1b0b0
1017 >;
1018 };
1019
1020 pinctrl_gpio_keys: gpio1io04grp {
1021 fsl,pins = <
1022 /* Power button */
1023 MX6QDL_PAD_GPIO_4__GPIO1_IO04 0x1b0b0
1024 >;
1025 };
1026
1027 pinctrl_hdmi_cec: hdmicecgrp {
1028 fsl,pins = <
1029 MX6QDL_PAD_KEY_ROW2__HDMI_TX_CEC_LINE 0x1f8b0
1030 >;
1031 };
1032
1033 pinctrl_hdmi_ddc: hdmiddcgrp {
1034 fsl,pins = <
1035 MX6QDL_PAD_EIM_EB2__HDMI_TX_DDC_SCL 0x4001b8b1
1036 MX6QDL_PAD_EIM_D16__HDMI_TX_DDC_SDA 0x4001b8b1
1037 >;
1038 };
1039
1040 pinctrl_i2c1: i2c1grp {
1041 fsl,pins = <
1042 MX6QDL_PAD_CSI0_DAT8__I2C1_SDA 0x4001b8b1
1043 MX6QDL_PAD_CSI0_DAT9__I2C1_SCL 0x4001b8b1
1044 >;
1045 };
1046
1047 pinctrl_i2c1_gpio: i2c1gpiogrp {
1048 fsl,pins = <
1049 MX6QDL_PAD_CSI0_DAT8__GPIO5_IO26 0x4001b8b1
1050 MX6QDL_PAD_CSI0_DAT9__GPIO5_IO27 0x4001b8b1
1051 >;
1052 };
1053
1054 pinctrl_i2c2: i2c2grp {
1055 fsl,pins = <
1056 MX6QDL_PAD_KEY_COL3__I2C2_SCL 0x4001b8b1
1057 MX6QDL_PAD_KEY_ROW3__I2C2_SDA 0x4001b8b1
1058 >;
1059 };
1060
1061 pinctrl_i2c2_gpio: i2c2gpiogrp {
1062 fsl,pins = <
1063 MX6QDL_PAD_KEY_COL3__GPIO4_IO12 0x4001b8b1
1064 MX6QDL_PAD_KEY_ROW3__GPIO4_IO13 0x4001b8b1
1065 >;
1066 };
1067
1068 pinctrl_i2c3: i2c3grp {
1069 fsl,pins = <
1070 MX6QDL_PAD_EIM_D17__I2C3_SCL 0x4001b8b1
1071 MX6QDL_PAD_EIM_D18__I2C3_SDA 0x4001b8b1
1072 >;
1073 };
1074
1075 pinctrl_i2c3_gpio: i2c3gpiogrp {
1076 fsl,pins = <
1077 MX6QDL_PAD_EIM_D17__GPIO3_IO17 0x4001b8b1
1078 MX6QDL_PAD_EIM_D18__GPIO3_IO18 0x4001b8b1
1079 >;
1080 };
1081
1082 pinctrl_ipu1_csi0: ipu1csi0grp { /* parallel camera */
1083 fsl,pins = <
1084 MX6QDL_PAD_CSI0_DAT12__IPU1_CSI0_DATA12 0xb0b1
1085 MX6QDL_PAD_CSI0_DAT13__IPU1_CSI0_DATA13 0xb0b1
1086 MX6QDL_PAD_CSI0_DAT14__IPU1_CSI0_DATA14 0xb0b1
1087 MX6QDL_PAD_CSI0_DAT15__IPU1_CSI0_DATA15 0xb0b1
1088 MX6QDL_PAD_CSI0_DAT16__IPU1_CSI0_DATA16 0xb0b1
1089 MX6QDL_PAD_CSI0_DAT17__IPU1_CSI0_DATA17 0xb0b1
1090 MX6QDL_PAD_CSI0_DAT18__IPU1_CSI0_DATA18 0xb0b1
1091 MX6QDL_PAD_CSI0_DAT19__IPU1_CSI0_DATA19 0xb0b1
1092 MX6QDL_PAD_CSI0_PIXCLK__IPU1_CSI0_PIXCLK 0xb0b1
1093 MX6QDL_PAD_CSI0_MCLK__IPU1_CSI0_HSYNC 0xb0b1
1094 MX6QDL_PAD_CSI0_VSYNC__IPU1_CSI0_VSYNC 0xb0b1
1095 >;
1096 };
1097
1098 pinctrl_ipu1_lcdif: ipu1lcdifgrp {
1099 fsl,pins = <
1100 MX6QDL_PAD_EIM_A16__IPU1_DI1_DISP_CLK 0x61
1101 /* DE */
1102 MX6QDL_PAD_EIM_DA10__IPU1_DI1_PIN15 0x61
1103 /* HSync */
1104 MX6QDL_PAD_EIM_DA11__IPU1_DI1_PIN02 0x61
1105 /* VSync */
1106 MX6QDL_PAD_EIM_DA12__IPU1_DI1_PIN03 0x61
1107 MX6QDL_PAD_EIM_DA9__IPU1_DISP1_DATA00 0x61
1108 MX6QDL_PAD_EIM_DA8__IPU1_DISP1_DATA01 0x61
1109 MX6QDL_PAD_EIM_DA7__IPU1_DISP1_DATA02 0x61
1110 MX6QDL_PAD_EIM_DA6__IPU1_DISP1_DATA03 0x61
1111 MX6QDL_PAD_EIM_DA5__IPU1_DISP1_DATA04 0x61
1112 MX6QDL_PAD_EIM_DA4__IPU1_DISP1_DATA05 0x61
1113 MX6QDL_PAD_EIM_DA3__IPU1_DISP1_DATA06 0x61
1114 MX6QDL_PAD_EIM_DA2__IPU1_DISP1_DATA07 0x61
1115 MX6QDL_PAD_EIM_DA1__IPU1_DISP1_DATA08 0x61
1116 MX6QDL_PAD_EIM_DA0__IPU1_DISP1_DATA09 0x61
1117 MX6QDL_PAD_EIM_EB1__IPU1_DISP1_DATA10 0x61
1118 MX6QDL_PAD_EIM_EB0__IPU1_DISP1_DATA11 0x61
1119 MX6QDL_PAD_EIM_A17__IPU1_DISP1_DATA12 0x61
1120 MX6QDL_PAD_EIM_A18__IPU1_DISP1_DATA13 0x61
1121 MX6QDL_PAD_EIM_A19__IPU1_DISP1_DATA14 0x61
1122 MX6QDL_PAD_EIM_A20__IPU1_DISP1_DATA15 0x61
1123 MX6QDL_PAD_EIM_A21__IPU1_DISP1_DATA16 0x61
1124 MX6QDL_PAD_EIM_A22__IPU1_DISP1_DATA17 0x61
1125 MX6QDL_PAD_EIM_A23__IPU1_DISP1_DATA18 0x61
1126 MX6QDL_PAD_EIM_A24__IPU1_DISP1_DATA19 0x61
1127 MX6QDL_PAD_EIM_D31__IPU1_DISP1_DATA20 0x61
1128 MX6QDL_PAD_EIM_D30__IPU1_DISP1_DATA21 0x61
1129 MX6QDL_PAD_EIM_D26__IPU1_DISP1_DATA22 0x61
1130 MX6QDL_PAD_EIM_D27__IPU1_DISP1_DATA23 0x61
1131 >;
1132 };
1133
1134 pinctrl_ipu2_vdac: ipu2vdacgrp {
1135 fsl,pins = <
1136 MX6QDL_PAD_DI0_DISP_CLK__IPU2_DI0_DISP_CLK 0xd1
1137 MX6QDL_PAD_DI0_PIN15__IPU2_DI0_PIN15 0xd1
1138 MX6QDL_PAD_DI0_PIN2__IPU2_DI0_PIN02 0xd1
1139 MX6QDL_PAD_DI0_PIN3__IPU2_DI0_PIN03 0xd1
1140 MX6QDL_PAD_DISP0_DAT0__IPU2_DISP0_DATA00 0xf9
1141 MX6QDL_PAD_DISP0_DAT1__IPU2_DISP0_DATA01 0xf9
1142 MX6QDL_PAD_DISP0_DAT2__IPU2_DISP0_DATA02 0xf9
1143 MX6QDL_PAD_DISP0_DAT3__IPU2_DISP0_DATA03 0xf9
1144 MX6QDL_PAD_DISP0_DAT4__IPU2_DISP0_DATA04 0xf9
1145 MX6QDL_PAD_DISP0_DAT5__IPU2_DISP0_DATA05 0xf9
1146 MX6QDL_PAD_DISP0_DAT6__IPU2_DISP0_DATA06 0xf9
1147 MX6QDL_PAD_DISP0_DAT7__IPU2_DISP0_DATA07 0xf9
1148 MX6QDL_PAD_DISP0_DAT8__IPU2_DISP0_DATA08 0xf9
1149 MX6QDL_PAD_DISP0_DAT9__IPU2_DISP0_DATA09 0xf9
1150 MX6QDL_PAD_DISP0_DAT10__IPU2_DISP0_DATA10 0xf9
1151 MX6QDL_PAD_DISP0_DAT11__IPU2_DISP0_DATA11 0xf9
1152 MX6QDL_PAD_DISP0_DAT12__IPU2_DISP0_DATA12 0xf9
1153 MX6QDL_PAD_DISP0_DAT13__IPU2_DISP0_DATA13 0xf9
1154 MX6QDL_PAD_DISP0_DAT14__IPU2_DISP0_DATA14 0xf9
1155 MX6QDL_PAD_DISP0_DAT15__IPU2_DISP0_DATA15 0xf9
1156 >;
1157 };
1158
1159 pinctrl_mmc_cd: mmccdgrp {
1160 fsl,pins = <
1161 /* MMC1 CD */
1162 MX6QDL_PAD_DI0_PIN4__GPIO4_IO20 0x000b0
1163 >;
1164 };
1165
1166 pinctrl_pwm1: pwm1grp {
1167 fsl,pins = <
1168 MX6QDL_PAD_GPIO_9__PWM1_OUT 0x1b0b1
1169 >;
1170 };
1171
1172 pinctrl_pwm2: pwm2grp {
1173 fsl,pins = <
1174 MX6QDL_PAD_GPIO_1__PWM2_OUT 0x1b0b1
1175 >;
1176 };
1177
1178 pinctrl_pwm3: pwm3grp {
1179 fsl,pins = <
1180 MX6QDL_PAD_SD4_DAT1__PWM3_OUT 0x1b0b1
1181 >;
1182 };
1183
1184 pinctrl_pwm4: pwm4grp {
1185 fsl,pins = <
1186 MX6QDL_PAD_SD4_DAT2__PWM4_OUT 0x1b0b1
1187 >;
1188 };
1189
1190 pinctrl_regulator_usbh_pwr: regusbhpwrgrp {
1191 fsl,pins = <
1192 /* USBH_EN */
1193 MX6QDL_PAD_GPIO_0__GPIO1_IO00 0x0f058
1194 >;
1195 };
1196
1197 pinctrl_regulator_usbhub_pwr: regusbhubpwrgrp {
1198 fsl,pins = <
1199 /* USBH_HUB_EN */
1200 MX6QDL_PAD_EIM_D28__GPIO3_IO28 0x0f058
1201 >;
1202 };
1203
1204 pinctrl_regulator_usbotg_pwr: regusbotgpwrgrp {
1205 fsl,pins = <
1206 /* USBO1 power en */
1207 MX6QDL_PAD_EIM_D22__GPIO3_IO22 0x0f058
1208 >;
1209 };
1210
1211 pinctrl_reset_moci: resetmocigrp {
1212 fsl,pins = <
1213 /* RESET_MOCI control */
1214 MX6QDL_PAD_ENET_TX_EN__GPIO1_IO28 0x0f058
1215 >;
1216 };
1217
1218 pinctrl_sd_cd: sdcdgrp {
1219 fsl,pins = <
1220 /* SD1 CD */
1221 MX6QDL_PAD_NANDF_CS1__GPIO6_IO14 0x000b0
1222 >;
1223 };
1224
1225 pinctrl_sgtl5000: sgtl5000grp {
1226 fsl,pins = <
1227 MX6QDL_PAD_GPIO_5__CCM_CLKO1 0x130b0
1228 >;
1229 };
1230
1231 pinctrl_spdif: spdifgrp {
1232 fsl,pins = <
1233 MX6QDL_PAD_GPIO_16__SPDIF_IN 0x1b0b0
1234 MX6QDL_PAD_GPIO_17__SPDIF_OUT 0x1b0b0
1235 >;
1236 };
1237
1238 pinctrl_touch_int: touchintgrp {
1239 fsl,pins = <
1240 /* STMPE811 interrupt */
1241 MX6QDL_PAD_KEY_COL2__GPIO4_IO10 0x1b0b0
1242 >;
1243 };
1244
1245 /* Additional DTR, DSR, DCD */
1246 pinctrl_uart1_ctrl: uart1ctrlgrp {
1247 fsl,pins = <
1248 MX6QDL_PAD_EIM_D23__UART1_DCD_B 0x1b0b0
1249 MX6QDL_PAD_EIM_D24__UART1_DTR_B 0x1b0b0
1250 MX6QDL_PAD_EIM_D25__UART1_DSR_B 0x1b0b0
1251 >;
1252 };
1253
1254 pinctrl_uart1_dce: uart1dcegrp {
1255 fsl,pins = <
1256 MX6QDL_PAD_CSI0_DAT10__UART1_TX_DATA 0x1b0b1
1257 MX6QDL_PAD_CSI0_DAT11__UART1_RX_DATA 0x1b0b1
1258 >;
1259 };
1260
1261 /* DTE mode */
1262 pinctrl_uart1_dte: uart1dtegrp {
1263 fsl,pins = <
1264 MX6QDL_PAD_CSI0_DAT10__UART1_RX_DATA 0x1b0b1
1265 MX6QDL_PAD_CSI0_DAT11__UART1_TX_DATA 0x1b0b1
1266 MX6QDL_PAD_EIM_D19__UART1_RTS_B 0x1b0b1
1267 MX6QDL_PAD_EIM_D20__UART1_CTS_B 0x1b0b1
1268 >;
1269 };
1270
1271 pinctrl_uart2_dce: uart2dcegrp {
1272 fsl,pins = <
1273 MX6QDL_PAD_SD4_DAT4__UART2_RX_DATA 0x1b0b1
1274 MX6QDL_PAD_SD4_DAT7__UART2_TX_DATA 0x1b0b1
1275 >;
1276 };
1277
1278 /* DTE mode */
1279 pinctrl_uart2_dte: uart2dtegrp {
1280 fsl,pins = <
1281 MX6QDL_PAD_SD4_DAT4__UART2_TX_DATA 0x1b0b1
1282 MX6QDL_PAD_SD4_DAT7__UART2_RX_DATA 0x1b0b1
1283 MX6QDL_PAD_SD4_DAT6__UART2_RTS_B 0x1b0b1
1284 MX6QDL_PAD_SD4_DAT5__UART2_CTS_B 0x1b0b1
1285 >;
1286 };
1287
1288 pinctrl_uart4_dce: uart4dcegrp {
1289 fsl,pins = <
1290 MX6QDL_PAD_KEY_COL0__UART4_TX_DATA 0x1b0b1
1291 MX6QDL_PAD_KEY_ROW0__UART4_RX_DATA 0x1b0b1
1292 >;
1293 };
1294
1295 /* DTE mode */
1296 pinctrl_uart4_dte: uart4dtegrp {
1297 fsl,pins = <
1298 MX6QDL_PAD_KEY_COL0__UART4_RX_DATA 0x1b0b1
1299 MX6QDL_PAD_KEY_ROW0__UART4_TX_DATA 0x1b0b1
1300 >;
1301 };
1302
1303 pinctrl_uart5_dce: uart5dcegrp {
1304 fsl,pins = <
1305 MX6QDL_PAD_KEY_COL1__UART5_TX_DATA 0x1b0b1
1306 MX6QDL_PAD_KEY_ROW1__UART5_RX_DATA 0x1b0b1
1307 >;
1308 };
1309
1310 /* DTE mode */
1311 pinctrl_uart5_dte: uart5dtegrp {
1312 fsl,pins = <
1313 MX6QDL_PAD_KEY_COL1__UART5_RX_DATA 0x1b0b1
1314 MX6QDL_PAD_KEY_ROW1__UART5_TX_DATA 0x1b0b1
1315 >;
1316 };
1317
1318 pinctrl_usbotg: usbotggrp {
1319 fsl,pins = <
1320 MX6QDL_PAD_ENET_RX_ER__USB_OTG_ID 0x17059
1321 >;
1322 };
1323
1324 pinctrl_usdhc1_4bit: usdhc1-4bitgrp {
1325 fsl,pins = <
1326 MX6QDL_PAD_SD1_CMD__SD1_CMD 0x17071
1327 MX6QDL_PAD_SD1_CLK__SD1_CLK 0x10071
1328 MX6QDL_PAD_SD1_DAT0__SD1_DATA0 0x17071
1329 MX6QDL_PAD_SD1_DAT1__SD1_DATA1 0x17071
1330 MX6QDL_PAD_SD1_DAT2__SD1_DATA2 0x17071
1331 MX6QDL_PAD_SD1_DAT3__SD1_DATA3 0x17071
1332 >;
1333 };
1334
1335 pinctrl_usdhc1_8bit: usdhc1-8bitgrp {
1336 fsl,pins = <
1337 MX6QDL_PAD_NANDF_D0__SD1_DATA4 0x17071
1338 MX6QDL_PAD_NANDF_D1__SD1_DATA5 0x17071
1339 MX6QDL_PAD_NANDF_D2__SD1_DATA6 0x17071
1340 MX6QDL_PAD_NANDF_D3__SD1_DATA7 0x17071
1341 >;
1342 };
1343
1344 pinctrl_usdhc2: usdhc2grp {
1345 fsl,pins = <
1346 MX6QDL_PAD_SD2_CMD__SD2_CMD 0x17071
1347 MX6QDL_PAD_SD2_CLK__SD2_CLK 0x10071
1348 MX6QDL_PAD_SD2_DAT0__SD2_DATA0 0x17071
1349 MX6QDL_PAD_SD2_DAT1__SD2_DATA1 0x17071
1350 MX6QDL_PAD_SD2_DAT2__SD2_DATA2 0x17071
1351 MX6QDL_PAD_SD2_DAT3__SD2_DATA3 0x17071
1352 >;
1353 };
1354
1355 pinctrl_usdhc3: usdhc3grp {
1356 fsl,pins = <
1357 MX6QDL_PAD_SD3_CMD__SD3_CMD 0x17059
1358 MX6QDL_PAD_SD3_CLK__SD3_CLK 0x10059
1359 MX6QDL_PAD_SD3_DAT0__SD3_DATA0 0x17059
1360 MX6QDL_PAD_SD3_DAT1__SD3_DATA1 0x17059
1361 MX6QDL_PAD_SD3_DAT2__SD3_DATA2 0x17059
1362 MX6QDL_PAD_SD3_DAT3__SD3_DATA3 0x17059
1363 MX6QDL_PAD_SD3_DAT4__SD3_DATA4 0x17059
1364 MX6QDL_PAD_SD3_DAT5__SD3_DATA5 0x17059
1365 MX6QDL_PAD_SD3_DAT6__SD3_DATA6 0x17059
1366 MX6QDL_PAD_SD3_DAT7__SD3_DATA7 0x17059
1367 /* eMMC reset */
1368 MX6QDL_PAD_SD3_RST__SD3_RESET 0x17059
1369 >;
1370 };
1371};