1 // SPDX-License-Identifier: GPL-2.0 OR X11
3 * Copyright 2017 (C) Priit Laes <plaes@plaes.org>
4 * Copyright 2018 (C) Pengutronix, Michael Grzeschik <mgr@pengutronix.de>
5 * Copyright 2019 (C) Pengutronix, Marco Felsch <kernel@pengutronix.de>
7 * Based on initial work by Nikita Yushchenko <nyushchenko at dev.rtsoft.ru>
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/sound/fsl-imx-audmux.h>
14 reg_1p0v_s0: regulator-1p0v-s0 {
15 compatible = "regulator-fixed";
16 regulator-name = "V_1V0_S0";
17 regulator-min-microvolt = <1000000>;
18 regulator-max-microvolt = <1000000>;
21 vin-supply = <®_smarc_suppy>;
24 reg_1p35v_vcoredig_s5: regulator-1p35v-vcoredig-s5 {
25 compatible = "regulator-fixed";
26 regulator-name = "V_1V35_VCOREDIG_S5";
27 regulator-min-microvolt = <1350000>;
28 regulator-max-microvolt = <1350000>;
31 vin-supply = <®_3p3v_s5>;
34 reg_1p8v_s5: regulator-1p8v-s5 {
35 compatible = "regulator-fixed";
36 regulator-name = "V_1V8_S5";
37 regulator-min-microvolt = <1800000>;
38 regulator-max-microvolt = <1800000>;
41 vin-supply = <®_3p3v_s5>;
44 reg_3p3v_s0: regulator-3p3v-s0 {
45 compatible = "regulator-fixed";
46 regulator-name = "V_3V3_S0";
47 regulator-min-microvolt = <3300000>;
48 regulator-max-microvolt = <3300000>;
51 vin-supply = <®_3p3v_s5>;
54 reg_3p3v_s0: regulator-3p3v-s0 {
55 compatible = "regulator-fixed";
56 regulator-name = "V_3V3_S0";
57 regulator-min-microvolt = <3300000>;
58 regulator-max-microvolt = <3300000>;
61 vin-supply = <®_3p3v_s5>;
64 reg_3p3v_s5: regulator-3p3v-s5 {
65 compatible = "regulator-fixed";
66 regulator-name = "V_3V3_S5";
67 regulator-min-microvolt = <3300000>;
68 regulator-max-microvolt = <3300000>;
71 vin-supply = <®_smarc_suppy>;
74 reg_smarc_lcdbklt: regulator-smarc-lcdbklt {
75 compatible = "regulator-fixed";
76 pinctrl-names = "default";
77 pinctrl-0 = <&pinctrl_lcdbklt_en>;
78 regulator-name = "LCD_BKLT_EN";
79 regulator-min-microvolt = <1800000>;
80 regulator-max-microvolt = <1800000>;
81 gpio = <&gpio1 16 GPIO_ACTIVE_HIGH>;
85 reg_smarc_lcdvdd: regulator-smarc-lcdvdd {
86 compatible = "regulator-fixed";
87 pinctrl-names = "default";
88 pinctrl-0 = <&pinctrl_lcdvdd_en>;
89 regulator-name = "LCD_VDD_EN";
90 regulator-min-microvolt = <1800000>;
91 regulator-max-microvolt = <1800000>;
92 gpio = <&gpio1 17 GPIO_ACTIVE_HIGH>;
96 reg_smarc_rtc: regulator-smarc-rtc {
97 compatible = "regulator-fixed";
98 regulator-name = "V_IN_RTC_BATT";
99 regulator-min-microvolt = <3300000>;
100 regulator-max-microvolt = <3300000>;
105 /* Module supply range can be 3.00V ... 5.25V */
106 reg_smarc_suppy: regulator-smarc-supply {
107 compatible = "regulator-fixed";
108 regulator-name = "V_IN_WIDE";
109 regulator-min-microvolt = <5000000>;
110 regulator-max-microvolt = <5000000>;
116 #address-cells = <1>;
118 compatible = "fsl,imx-parallel-display";
119 pinctrl-names = "default";
120 pinctrl-0 = <&pinctrl_lcd>;
138 lcd_backlight: lcd-backlight {
139 compatible = "pwm-backlight";
140 pwms = <&pwm4 0 5000000>;
141 pwm-names = "LCD_BKLT_PWM";
143 brightness-levels = <0 10 20 30 40 50 60 70 80 90 100>;
144 default-brightness-level = <4>;
146 power-supply = <®_smarc_lcdbklt>;
150 i2c_intern: i2c-gpio-intern {
151 compatible = "i2c-gpio";
152 pinctrl-names = "default";
153 pinctrl-0 = <&pinctrl_i2c_gpio_intern>;
154 sda-gpios = <&gpio1 28 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
155 scl-gpios = <&gpio1 30 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
156 i2c-gpio,delay-us = <2>; /* ~100 kHz */
157 #address-cells = <1>;
161 i2c_lcd: i2c-gpio-lcd {
162 compatible = "i2c-gpio";
163 pinctrl-names = "default";
164 pinctrl-0 = <&pinctrl_i2c_gpio_lcd>;
165 sda-gpios = <&gpio1 21 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
166 scl-gpios = <&gpio1 19 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
167 i2c-gpio,delay-us = <2>; /* ~100 kHz */
168 #address-cells = <1>;
173 i2c_cam: i2c-gpio-cam {
174 compatible = "i2c-gpio";
175 pinctrl-names = "default";
176 pinctrl-0 = <&pinctrl_i2c_gpio_cam>;
177 sda-gpios = <&gpio4 10 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
178 scl-gpios = <&gpio1 6 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
179 i2c-gpio,delay-us = <2>; /* ~100 kHz */
180 #address-cells = <1>;
188 pinctrl-names = "default";
189 pinctrl-0 = <&pinctrl_audmux>;
192 fsl,audmux-port = <MX51_AUDMUX_PORT1_SSI0>;
194 (IMX_AUDMUX_V2_PTCR_TFSEL(MX51_AUDMUX_PORT3) |
195 IMX_AUDMUX_V2_PTCR_TCSEL(MX51_AUDMUX_PORT3) |
196 IMX_AUDMUX_V2_PTCR_SYN |
197 IMX_AUDMUX_V2_PTCR_TFSDIR |
198 IMX_AUDMUX_V2_PTCR_TCLKDIR)
199 IMX_AUDMUX_V2_PDCR_RXDSEL(MX51_AUDMUX_PORT3)
204 fsl,audmux-port = <MX51_AUDMUX_PORT3>;
206 IMX_AUDMUX_V2_PTCR_SYN
207 IMX_AUDMUX_V2_PDCR_RXDSEL(MX51_AUDMUX_PORT1_SSI0)
212 fsl,audmux-port = <MX51_AUDMUX_PORT2_SSI1>;
214 (IMX_AUDMUX_V2_PTCR_TFSEL(MX51_AUDMUX_PORT4) |
215 IMX_AUDMUX_V2_PTCR_TCSEL(MX51_AUDMUX_PORT4) |
216 IMX_AUDMUX_V2_PTCR_SYN |
217 IMX_AUDMUX_V2_PTCR_TFSDIR |
218 IMX_AUDMUX_V2_PTCR_TCLKDIR)
219 IMX_AUDMUX_V2_PDCR_RXDSEL(MX51_AUDMUX_PORT4)
224 fsl,audmux-port = <MX51_AUDMUX_PORT4>;
226 IMX_AUDMUX_V2_PTCR_SYN
227 IMX_AUDMUX_V2_PDCR_RXDSEL(MX51_AUDMUX_PORT2_SSI1)
234 pinctrl-names = "default";
235 pinctrl-0 = <&pinctrl_flexcan1>;
240 pinctrl-names = "default";
241 pinctrl-0 = <&pinctrl_flexcan2>;
246 pinctrl-names = "default";
247 pinctrl-0 = <&pinctrl_ecspi2>;
248 cs-gpios = <&gpio2 26 GPIO_ACTIVE_LOW>,
249 <&gpio2 27 GPIO_ACTIVE_LOW>;
254 pinctrl-names = "default";
255 pinctrl-0 = <&pinctrl_ecspi4>;
256 cs-gpios = <&gpio3 24 GPIO_ACTIVE_LOW>,
257 <&gpio3 29 GPIO_ACTIVE_LOW>;
260 /* default boot source: workaround #1 for errata ERR006282 */
261 smarc_flash: spi-flash@0 {
262 compatible = "winbond,w25q16dw", "jedec,spi-nor";
264 spi-max-frequency = <20000000>;
270 pinctrl-names = "default";
271 pinctrl-0 = <&pinctrl_enet>;
273 phy-reset-gpios = <&gpio1 25 GPIO_ACTIVE_LOW>;
278 compatible = "fsl,pfuze100";
282 reg_v_core_s0: sw1ab {
283 regulator-name = "V_CORE_S0";
284 regulator-min-microvolt = <300000>;
285 regulator-max-microvolt = <1875000>;
290 reg_vddsoc_s0: sw1c {
291 regulator-name = "V_VDDSOC_S0";
292 regulator-min-microvolt = <300000>;
293 regulator-max-microvolt = <1875000>;
299 regulator-name = "V_3V15_S0";
300 regulator-min-microvolt = <800000>;
301 regulator-max-microvolt = <3300000>;
306 /* sw3a/b is used in dual mode, but driver does not
307 * support it. Although, there's no need to control
308 * DDR power - so just leaving dummy entries for sw3a
312 regulator-min-microvolt = <400000>;
313 regulator-max-microvolt = <1975000>;
319 regulator-min-microvolt = <400000>;
320 regulator-max-microvolt = <1975000>;
326 regulator-name = "V_1V8_S0";
327 regulator-min-microvolt = <800000>;
328 regulator-max-microvolt = <3300000>;
333 /* Regulator for USB */
335 regulator-name = "V_5V0_S0";
336 regulator-min-microvolt = <5000000>;
337 regulator-max-microvolt = <5150000>;
342 regulator-min-microvolt = <1000000>;
343 regulator-max-microvolt = <3000000>;
348 reg_vrefddr: vrefddr {
354 * Per schematics, of all VGEN's, only VGEN5 has some
355 * usage ... but even that - over DNI resistor
358 regulator-min-microvolt = <800000>;
359 regulator-max-microvolt = <1550000>;
363 regulator-min-microvolt = <800000>;
364 regulator-max-microvolt = <1550000>;
368 regulator-min-microvolt = <1800000>;
369 regulator-max-microvolt = <3300000>;
373 regulator-min-microvolt = <1800000>;
374 regulator-max-microvolt = <3300000>;
378 regulator-name = "V_2V5_S0";
379 regulator-min-microvolt = <1800000>;
380 regulator-max-microvolt = <3300000>;
384 regulator-min-microvolt = <1800000>;
385 regulator-max-microvolt = <3300000>;
393 clock-frequency = <375000>;
394 pinctrl-names = "default";
395 pinctrl-0 = <&pinctrl_i2c1>;
400 clock-frequency = <375000>;
401 pinctrl-names = "default";
402 pinctrl-0 = <&pinctrl_i2c2>;
407 clock-frequency = <375000>;
408 pinctrl-names = "default";
409 pinctrl-0 = <&pinctrl_i2c3>;
412 smarc_eeprom: eeprom@50 {
413 compatible = "atmel,24c32";
420 pinctrl-names = "default";
421 pinctrl-0 = <&pinctrl_mgmt_gpios &pinctrl_gpio>;
423 pinctrl_audmux: audmuxgrp {
425 MX6QDL_PAD_CSI0_DAT4__AUD3_TXC 0x130b0
426 MX6QDL_PAD_CSI0_DAT5__AUD3_TXD 0x130b0
427 MX6QDL_PAD_CSI0_DAT6__AUD3_TXFS 0x130b0
428 MX6QDL_PAD_CSI0_DAT7__AUD3_RXD 0x130b0
430 MX6QDL_PAD_DISP0_DAT20__AUD4_TXC 0x130b0
431 MX6QDL_PAD_DISP0_DAT21__AUD4_TXD 0x130b0
432 MX6QDL_PAD_DISP0_DAT22__AUD4_TXFS 0x130b0
433 MX6QDL_PAD_DISP0_DAT23__AUD4_RXD 0x130b0
436 MX6QDL_PAD_NANDF_CS2__CCM_CLKO2 0x000b0
440 pinctrl_ecspi2: ecspi2grp {
442 MX6QDL_PAD_EIM_CS0__ECSPI2_SCLK 0x100b1
443 MX6QDL_PAD_EIM_CS1__ECSPI2_MOSI 0x100b1
444 MX6QDL_PAD_EIM_OE__ECSPI2_MISO 0x100b1
446 MX6QDL_PAD_EIM_RW__GPIO2_IO26 0x1b0b0 /* CS0 */
447 MX6QDL_PAD_EIM_LBA__GPIO2_IO27 0x1b0b0 /* CS1 */
451 pinctrl_ecspi4: ecspi4grp {
453 MX6QDL_PAD_EIM_D21__ECSPI4_SCLK 0x100b1
454 MX6QDL_PAD_EIM_D28__ECSPI4_MOSI 0x100b1
455 MX6QDL_PAD_EIM_D22__ECSPI4_MISO 0x100b1
457 /* SPI_IMX_CS2# - connected to internal flash */
458 MX6QDL_PAD_EIM_D24__GPIO3_IO24 0x1b0b0
459 /* SPI_IMX_CS0# - connected to SMARC SPI0_CS0# */
460 MX6QDL_PAD_EIM_D29__GPIO3_IO29 0x1b0b0
464 pinctrl_flexcan1: flexcan1grp {
466 MX6QDL_PAD_GPIO_7__FLEXCAN1_TX 0x1b0b0
467 MX6QDL_PAD_GPIO_8__FLEXCAN1_RX 0x1b0b0
471 pinctrl_flexcan2: flexcan2grp {
473 MX6QDL_PAD_KEY_COL4__FLEXCAN2_TX 0x1b0b0
474 MX6QDL_PAD_KEY_ROW4__FLEXCAN2_RX 0x1b0b0
478 pinctrl_gpio: gpiogrp {
480 MX6QDL_PAD_EIM_DA0__GPIO3_IO00 0x1b0b0 /* GPIO0 / CAM0_PWR# */
481 MX6QDL_PAD_EIM_DA1__GPIO3_IO01 0x1b0b0 /* GPIO1 / CAM1_PWR# */
482 MX6QDL_PAD_EIM_DA2__GPIO3_IO02 0x1b0b0 /* GPIO2 / CAM0_RST# */
483 MX6QDL_PAD_EIM_DA3__GPIO3_IO03 0x1b0b0 /* GPIO3 / CAM1_RST# */
484 MX6QDL_PAD_EIM_DA4__GPIO3_IO04 0x1b0b0 /* GPIO4 / HDA_RST# */
485 MX6QDL_PAD_EIM_DA5__GPIO3_IO05 0x1b0b0 /* GPIO5 / PWM_OUT */
486 MX6QDL_PAD_EIM_DA6__GPIO3_IO06 0x1b0b0 /* GPIO6 / TACHIN */
487 MX6QDL_PAD_EIM_DA7__GPIO3_IO07 0x1b0b0 /* GPIO7 / PCAM_FLD */
488 MX6QDL_PAD_EIM_DA8__GPIO3_IO08 0x1b0b0 /* GPIO8 / CAN0_ERR# */
489 MX6QDL_PAD_EIM_DA9__GPIO3_IO09 0x1b0b0 /* GPIO9 / CAN1_ERR# */
490 MX6QDL_PAD_EIM_DA10__GPIO3_IO10 0x1b0b0 /* GPIO10 */
491 MX6QDL_PAD_EIM_DA11__GPIO3_IO11 0x1b0b0 /* GPIO11 */
495 pinctrl_enet: enetgrp {
497 MX6QDL_PAD_RGMII_TXC__RGMII_TXC 0x1b0b0
498 MX6QDL_PAD_RGMII_TD0__RGMII_TD0 0x1b0b0
499 MX6QDL_PAD_RGMII_TD1__RGMII_TD1 0x1b0b0
500 MX6QDL_PAD_RGMII_TD2__RGMII_TD2 0x1b0b0
501 MX6QDL_PAD_RGMII_TD3__RGMII_TD3 0x1b0b0
502 MX6QDL_PAD_RGMII_TX_CTL__RGMII_TX_CTL 0x1b0b0
503 MX6QDL_PAD_RGMII_RXC__RGMII_RXC 0x1b0b0
504 MX6QDL_PAD_RGMII_RD0__RGMII_RD0 0x1b0b0
505 MX6QDL_PAD_RGMII_RD1__RGMII_RD1 0x1b0b0
506 MX6QDL_PAD_RGMII_RD2__RGMII_RD2 0x1b0b0
507 MX6QDL_PAD_RGMII_RD3__RGMII_RD3 0x1b0b0
508 MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL 0x1b0b0
510 MX6QDL_PAD_ENET_MDIO__ENET_MDIO 0x1b0b0
511 MX6QDL_PAD_ENET_MDC__ENET_MDC 0x1b0b0
512 MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK 0x1b0b0
513 MX6QDL_PAD_ENET_CRS_DV__GPIO1_IO25 0x1b0b0 /* RST_GBE0_PHY# */
517 pinctrl_i2c_gpio_cam: i2c-gpiocamgrp {
519 MX6QDL_PAD_GPIO_6__GPIO1_IO06 0x1b0b0 /* SCL */
520 MX6QDL_PAD_KEY_COL2__GPIO4_IO10 0x1b0b0 /* SDA */
524 pinctrl_i2c_gpio_intern: i2c-gpiointerngrp {
526 MX6QDL_PAD_ENET_TXD0__GPIO1_IO30 0x1b0b0 /* SCL */
527 MX6QDL_PAD_ENET_TX_EN__GPIO1_IO28 0x1b0b0 /* SDA */
531 pinctrl_i2c_gpio_lcd: i2c-gpiolcdgrp {
533 MX6QDL_PAD_SD1_DAT2__GPIO1_IO19 0x1b0b0 /* SCL */
534 MX6QDL_PAD_SD1_DAT3__GPIO1_IO21 0x1b0b0 /* SDA */
538 pinctrl_i2c1: i2c1grp {
540 MX6QDL_PAD_CSI0_DAT9__I2C1_SCL 0x4001b8b1
541 MX6QDL_PAD_CSI0_DAT8__I2C1_SDA 0x4001b8b1
545 pinctrl_i2c2: i2c2grp {
547 MX6QDL_PAD_KEY_COL3__I2C2_SCL 0x4001b8b1
548 MX6QDL_PAD_KEY_ROW3__I2C2_SDA 0x4001b8b1
552 pinctrl_i2c3: i2c3grp {
554 MX6QDL_PAD_GPIO_5__I2C3_SCL 0x4001b8b1
555 MX6QDL_PAD_GPIO_16__I2C3_SDA 0x4001b8b1
559 pinctrl_lcd: lcdgrp {
561 MX6QDL_PAD_DISP0_DAT0__IPU1_DISP0_DATA00 0x100f1
562 MX6QDL_PAD_DISP0_DAT1__IPU1_DISP0_DATA01 0x100f1
563 MX6QDL_PAD_DISP0_DAT2__IPU1_DISP0_DATA02 0x100f1
564 MX6QDL_PAD_DISP0_DAT3__IPU1_DISP0_DATA03 0x100f1
565 MX6QDL_PAD_DISP0_DAT4__IPU1_DISP0_DATA04 0x100f1
566 MX6QDL_PAD_DISP0_DAT5__IPU1_DISP0_DATA05 0x100f1
567 MX6QDL_PAD_DISP0_DAT6__IPU1_DISP0_DATA06 0x100f1
568 MX6QDL_PAD_DISP0_DAT7__IPU1_DISP0_DATA07 0x100f1
569 MX6QDL_PAD_DISP0_DAT8__IPU1_DISP0_DATA08 0x100f1
570 MX6QDL_PAD_DISP0_DAT9__IPU1_DISP0_DATA09 0x100f1
571 MX6QDL_PAD_DISP0_DAT10__IPU1_DISP0_DATA10 0x100f1
572 MX6QDL_PAD_DISP0_DAT11__IPU1_DISP0_DATA11 0x100f1
573 MX6QDL_PAD_DISP0_DAT12__IPU1_DISP0_DATA12 0x100f1
574 MX6QDL_PAD_DISP0_DAT13__IPU1_DISP0_DATA13 0x100f1
575 MX6QDL_PAD_DISP0_DAT14__IPU1_DISP0_DATA14 0x100f1
576 MX6QDL_PAD_DISP0_DAT15__IPU1_DISP0_DATA15 0x100f1
577 MX6QDL_PAD_DISP0_DAT16__IPU1_DISP0_DATA16 0x100f1
578 MX6QDL_PAD_DISP0_DAT17__IPU1_DISP0_DATA17 0x100f1
579 MX6QDL_PAD_DISP0_DAT18__IPU1_DISP0_DATA18 0x100f1
580 MX6QDL_PAD_DISP0_DAT19__IPU1_DISP0_DATA19 0x100f1
581 MX6QDL_PAD_DISP0_DAT20__IPU1_DISP0_DATA20 0x100f1
582 MX6QDL_PAD_DISP0_DAT21__IPU1_DISP0_DATA21 0x100f1
583 MX6QDL_PAD_DISP0_DAT22__IPU1_DISP0_DATA22 0x100f1
584 MX6QDL_PAD_DISP0_DAT23__IPU1_DISP0_DATA23 0x100f1
586 MX6QDL_PAD_DI0_DISP_CLK__IPU1_DI0_DISP_CLK 0x100f1
587 MX6QDL_PAD_DI0_PIN15__IPU1_DI0_PIN15 0x100f1 /* DE */
588 MX6QDL_PAD_DI0_PIN2__IPU1_DI0_PIN02 0x100f1 /* HSYNC */
589 MX6QDL_PAD_DI0_PIN3__IPU1_DI0_PIN03 0x100f1 /* VSYNC */
593 pinctrl_lcdbklt_en: lcdbkltengrp {
595 MX6QDL_PAD_SD1_DAT0__GPIO1_IO16 0x1b0b1
599 pinctrl_lcdvdd_en: lcdvddengrp {
601 MX6QDL_PAD_SD1_DAT1__GPIO1_IO17 0x1b0b0
605 pinctrl_mipi_csi: mipi-csigrp {
607 MX6QDL_PAD_CSI0_MCLK__CCM_CLKO1 0x000b0 /* CSI0/1 MCLK */
611 pinctrl_mgmt_gpios: mgmt-gpiosgrp {
613 MX6QDL_PAD_EIM_WAIT__GPIO5_IO00 0x1b0b0 /* LID# */
614 MX6QDL_PAD_SD3_DAT7__GPIO6_IO17 0x1b0b0 /* SLEEP# */
615 MX6QDL_PAD_GPIO_17__GPIO7_IO12 0x1b0b0 /* CHARGING# */
616 MX6QDL_PAD_GPIO_0__GPIO1_IO00 0x1b0b0 /* CHARGER_PRSNT# */
617 MX6QDL_PAD_SD1_CLK__GPIO1_IO20 0x1b0b0 /* CARRIER_STBY# */
618 MX6QDL_PAD_DI0_PIN4__GPIO4_IO20 0x1b0b0 /* BATLOW# */
619 MX6QDL_PAD_CSI0_VSYNC__GPIO5_IO21 0x1b0b0 /* TEST# */
620 MX6QDL_PAD_GPIO_2__GPIO1_IO02 0x1b0b0 /* VDD_IO_SEL_D# */
621 MX6QDL_PAD_NANDF_CS3__GPIO6_IO16 0x1b0b0 /* POWER_BTN# */
625 pinctrl_pcie: pciegrp {
627 MX6QDL_PAD_EIM_D18__GPIO3_IO18 0x1b0b0 /* PCI_A_PRSNT# */
628 MX6QDL_PAD_EIM_DA13__GPIO3_IO13 0x1b0b0 /* RST_PCIE_A# */
629 MX6QDL_PAD_SD3_DAT6__GPIO6_IO18 0x1b0b0 /* PCIE_WAKE# */
633 pinctrl_pwm4: pwm4grp {
635 MX6QDL_PAD_SD1_CMD__PWM4_OUT 0x1b0b1
639 pinctrl_uart1: uart1grp {
641 MX6QDL_PAD_CSI0_DAT11__UART1_RX_DATA 0x1b0b1
642 MX6QDL_PAD_CSI0_DAT10__UART1_TX_DATA 0x1b0b1
643 MX6QDL_PAD_EIM_D20__UART1_RTS_B 0x1b0b1
644 MX6QDL_PAD_EIM_D19__UART1_CTS_B 0x1b0b1
648 pinctrl_uart2: uart2grp {
650 MX6QDL_PAD_EIM_D27__UART2_RX_DATA 0x1b0b1
651 MX6QDL_PAD_EIM_D26__UART2_TX_DATA 0x1b0b1
655 pinctrl_uart4: uart4grp {
657 MX6QDL_PAD_CSI0_DAT13__UART4_RX_DATA 0x1b0b1
658 MX6QDL_PAD_CSI0_DAT12__UART4_TX_DATA 0x1b0b1
659 MX6QDL_PAD_CSI0_DAT16__UART4_RTS_B 0x1b0b1
660 MX6QDL_PAD_CSI0_DAT17__UART4_CTS_B 0x1b0b1
664 pinctrl_uart5: uart5grp {
666 MX6QDL_PAD_CSI0_DAT15__UART5_RX_DATA 0x1b0b1
667 MX6QDL_PAD_CSI0_DAT14__UART5_TX_DATA 0x1b0b1
671 pinctrl_usbotg: usbotggrp {
673 MX6QDL_PAD_GPIO_1__USB_OTG_ID 0x1f8b0
674 /* power, oc muxed but not used by the driver */
675 MX6QDL_PAD_CSI0_PIXCLK__GPIO5_IO18 0x1b0b0 /* USB power */
676 MX6QDL_PAD_CSI0_DATA_EN__GPIO5_IO20 0x1b0b0 /* USB OC */
680 pinctrl_usdhc3: usdhc3grp {
682 MX6QDL_PAD_SD3_CLK__SD3_CLK 0x17059
683 MX6QDL_PAD_SD3_CMD__SD3_CMD 0x17059
684 MX6QDL_PAD_SD3_DAT0__SD3_DATA0 0x17059
685 MX6QDL_PAD_SD3_DAT1__SD3_DATA1 0x17059
686 MX6QDL_PAD_SD3_DAT2__SD3_DATA2 0x17059
687 MX6QDL_PAD_SD3_DAT3__SD3_DATA3 0x17059
689 MX6QDL_PAD_NANDF_CS1__GPIO6_IO14 0x1b0b0 /* CD */
690 MX6QDL_PAD_ENET_RXD1__GPIO1_IO26 0x1b0b0 /* WP */
691 MX6QDL_PAD_ENET_TXD1__GPIO1_IO29 0x1b0b0 /* PWR_EN */
695 pinctrl_usdhc4: usdhc4grp {
697 MX6QDL_PAD_SD4_CLK__SD4_CLK 0x17059
698 MX6QDL_PAD_SD4_CMD__SD4_CMD 0x17059
699 MX6QDL_PAD_SD4_DAT0__SD4_DATA0 0x17059
700 MX6QDL_PAD_SD4_DAT1__SD4_DATA1 0x17059
701 MX6QDL_PAD_SD4_DAT2__SD4_DATA2 0x17059
702 MX6QDL_PAD_SD4_DAT3__SD4_DATA3 0x17059
703 MX6QDL_PAD_SD4_DAT4__SD4_DATA4 0x17059
704 MX6QDL_PAD_SD4_DAT5__SD4_DATA5 0x17059
705 MX6QDL_PAD_SD4_DAT6__SD4_DATA6 0x17059
706 MX6QDL_PAD_SD4_DAT7__SD4_DATA7 0x17059
710 pinctrl_wdog1: wdog1rp {
712 MX6QDL_PAD_GPIO_9__WDOG1_B 0x1b0b0
718 pinctrl-names = "default";
719 pinctrl-0 = <&pinctrl_mipi_csi>;
723 pinctrl-names = "default";
724 pinctrl-0 = <&pinctrl_pcie>;
725 wake-up-gpio = <&gpio6 18 GPIO_ACTIVE_HIGH>;
726 reset-gpio = <&gpio3 13 GPIO_ACTIVE_HIGH>;
731 pinctrl-names = "default";
732 pinctrl-0 = <&pinctrl_pwm4>;
736 vin-supply = <®_v_core_s0>;
740 vin-supply = <®_vddsoc_s0>;
744 vin-supply = <®_vddsoc_s0>;
749 pinctrl-names = "default";
750 pinctrl-0 = <&pinctrl_uart1>;
756 pinctrl-names = "default";
757 pinctrl-0 = <&pinctrl_uart2>;
762 pinctrl-names = "default";
763 pinctrl-0 = <&pinctrl_uart4>;
769 pinctrl-names = "default";
770 pinctrl-0 = <&pinctrl_uart5>;
776 * no 'imx6-usb-charger-detection'
777 * since USB_OTG_CHD_B pin is not wired
779 pinctrl-names = "default";
780 pinctrl-0 = <&pinctrl_usbotg>;
785 vbus-supply = <®_5p0v_s0>;
790 pinctrl-names = "default";
791 pinctrl-0 = <&pinctrl_usdhc3>;
792 cd-gpios = <&gpio6 14 GPIO_ACTIVE_LOW>;
793 wp-gpios = <&gpio1 26 GPIO_ACTIVE_HIGH>;
799 /* Internal eMMC, optional on some boards */
800 pinctrl-names = "default";
801 pinctrl-0 = <&pinctrl_usdhc4>;
806 vmmc-supply = <®_3p3v_s0>;
807 vqmmc-supply = <®_1p8v_s0>;
811 /* CPLD is feeded by watchdog (hardwired) */
812 pinctrl-names = "default";
813 pinctrl-0 = <&pinctrl_wdog1>;