1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
10 backlight: backlight {
11 compatible = "pwm-backlight";
12 pwms = <&pwm4 0 50000 0>;
13 brightness-levels = <0 36 72 108 144 180 216 255>;
14 default-brightness-level = <6>;
17 /* Will be filled by the bootloader */
19 device_type = "memory";
24 compatible = "vxt,vl050-8048nt-c01";
25 backlight = <&backlight>;
26 power-supply = <®_lcd_3v3>;
30 remote-endpoint = <&display_out>;
35 reg_lcd_3v3: regulator-lcd-3v3 {
36 compatible = "regulator-fixed";
37 pinctrl-names = "default";
38 pinctrl-0 = <&pinctrl_reg_lcdreg_on>;
39 regulator-name = "lcd-3v3";
40 regulator-min-microvolt = <3300000>;
41 regulator-max-microvolt = <3300000>;
42 gpio = <&gpio1 6 GPIO_ACTIVE_HIGH>;
46 reg_wlreg_on: regulator-wlreg_on {
47 compatible = "regulator-fixed";
48 pinctrl-names = "default";
49 pinctrl-0 = <&pinctrl_reg_wlreg_on>;
50 regulator-name = "wlreg_on";
51 regulator-min-microvolt = <3300000>;
52 regulator-max-microvolt = <3300000>;
53 gpio = <&gpio4 16 GPIO_ACTIVE_HIGH>;
57 reg_2p5v: regulator-2p5v {
58 compatible = "regulator-fixed";
59 regulator-name = "2P5V";
60 regulator-min-microvolt = <2500000>;
61 regulator-max-microvolt = <2500000>;
65 reg_3p3v: regulator-3p3v {
66 compatible = "regulator-fixed";
67 regulator-name = "3P3V";
68 regulator-min-microvolt = <3300000>;
69 regulator-max-microvolt = <3300000>;
73 reg_usb_otg1_vbus: regulator-usb-otg1-vbus {
74 pinctrl-names = "default";
75 pinctrl-0 = <&pinctrl_usbotg1_pwr>;
76 compatible = "regulator-fixed";
77 regulator-name = "usb_otg1_vbus";
78 regulator-min-microvolt = <5000000>;
79 regulator-max-microvolt = <5000000>;
80 gpio = <&gpio4 5 GPIO_ACTIVE_LOW>;
83 reg_usb_otg2_vbus: regulator-usb-otg2-vbus {
84 compatible = "regulator-fixed";
85 regulator-name = "usb_otg2_vbus";
86 regulator-min-microvolt = <5000000>;
87 regulator-max-microvolt = <5000000>;
90 reg_vref_1v8: regulator-vref-1v8 {
91 compatible = "regulator-fixed";
92 regulator-name = "vref-1v8";
93 regulator-min-microvolt = <1800000>;
94 regulator-max-microvolt = <1800000>;
97 usdhc2_pwrseq: usdhc2_pwrseq {
98 compatible = "mmc-pwrseq-simple";
99 clocks = <&clks IMX7D_CLKO2_ROOT_DIV>;
100 clock-names = "ext_clock";
105 assigned-clocks = <&clks IMX7D_CLKO2_ROOT_SRC>,
106 <&clks IMX7D_CLKO2_ROOT_DIV>;
107 assigned-clock-parents = <&clks IMX7D_CKIL>;
108 assigned-clock-rates = <0>, <32768>;
112 cs-gpios = <&gpio4 11 GPIO_ACTIVE_LOW>;
113 pinctrl-names = "default";
114 pinctrl-0 = <&pinctrl_ecspi3>;
119 pinctrl-names = "default";
120 pinctrl-0 = <&pinctrl_enet1>;
121 assigned-clocks = <&clks IMX7D_ENET1_TIME_ROOT_SRC>,
122 <&clks IMX7D_ENET1_TIME_ROOT_CLK>;
123 assigned-clock-parents = <&clks IMX7D_PLL_ENET_MAIN_100M_CLK>;
124 assigned-clock-rates = <0>, <100000000>;
125 phy-mode = "rgmii-id";
126 phy-handle = <ðphy0>;
128 phy-reset-gpios = <&gpio6 11 GPIO_ACTIVE_LOW>;
132 #address-cells = <1>;
135 ethphy0: ethernet-phy@1 {
136 compatible = "ethernet-phy-ieee802.3-c22";
144 pinctrl-names = "default";
145 pinctrl-0 = <&pinctrl_can1>;
150 pinctrl-names = "default";
151 pinctrl-0 = <&pinctrl_can2>;
156 clock-frequency = <100000>;
157 pinctrl-names = "default";
158 pinctrl-0 = <&pinctrl_i2c1>;
163 pinctrl-names = "default";
164 pinctrl-0 = <&pinctrl_i2c2>;
169 pinctrl-names = "default";
170 pinctrl-0 = <&pinctrl_i2c4>;
174 compatible = "fsl,pfuze3000";
179 regulator-min-microvolt = <700000>;
180 regulator-max-microvolt = <3300000>;
183 regulator-ramp-delay = <6250>;
185 /* use sw1c_reg to align with pfuze100/pfuze200 */
187 regulator-min-microvolt = <700000>;
188 regulator-max-microvolt = <1475000>;
191 regulator-ramp-delay = <6250>;
195 regulator-min-microvolt = <1800000>;
196 regulator-max-microvolt = <1850000>;
202 regulator-min-microvolt = <900000>;
203 regulator-max-microvolt = <1650000>;
209 regulator-min-microvolt = <5000000>;
210 regulator-max-microvolt = <5150000>;
214 regulator-min-microvolt = <1000000>;
215 regulator-max-microvolt = <3000000>;
226 regulator-min-microvolt = <1800000>;
227 regulator-max-microvolt = <3300000>;
232 regulator-min-microvolt = <800000>;
233 regulator-max-microvolt = <1550000>;
237 regulator-min-microvolt = <2850000>;
238 regulator-max-microvolt = <3300000>;
243 regulator-min-microvolt = <2850000>;
244 regulator-max-microvolt = <3300000>;
249 regulator-min-microvolt = <1800000>;
250 regulator-max-microvolt = <3300000>;
255 regulator-min-microvolt = <1800000>;
256 regulator-max-microvolt = <3300000>;
264 pinctrl-names = "default";
265 pinctrl-0 = <&pinctrl_lcdif>;
269 display_out: endpoint {
270 remote-endpoint = <&panel_in>;
276 pinctrl-names = "default";
277 pinctrl-0 = <&pinctrl_sai1>;
278 assigned-clocks = <&clks IMX7D_SAI1_ROOT_SRC>,
279 <&clks IMX7D_SAI1_ROOT_CLK>;
280 assigned-clock-parents = <&clks IMX7D_PLL_AUDIO_POST_DIV>;
281 assigned-clock-rates = <0>, <24576000>;
287 pinctrl-names = "default";
288 pinctrl-0 = <&pinctrl_pwm1>;
293 pinctrl-names = "default";
294 pinctrl-0 = <&pinctrl_pwm2>;
299 pinctrl-names = "default";
300 pinctrl-0 = <&pinctrl_pwm3>;
304 &pwm4 { /* Backlight */
305 pinctrl-names = "default";
306 pinctrl-0 = <&pinctrl_pwm4>;
311 pinctrl-names = "default";
312 pinctrl-0 = <&pinctrl_uart5>;
313 assigned-clocks = <&clks IMX7D_UART5_ROOT_SRC>;
314 assigned-clock-parents = <&clks IMX7D_PLL_SYS_MAIN_240M_CLK>;
319 pinctrl-names = "default";
320 pinctrl-0 = <&pinctrl_uart6>;
321 assigned-clocks = <&clks IMX7D_UART6_ROOT_SRC>;
322 assigned-clock-parents = <&clks IMX7D_OSC_24M_CLK>;
327 &uart7 { /* Bluetooth */
328 pinctrl-names = "default";
329 pinctrl-0 = <&pinctrl_uart7>;
330 assigned-clocks = <&clks IMX7D_UART7_ROOT_SRC>;
331 assigned-clock-parents = <&clks IMX7D_PLL_SYS_MAIN_240M_CLK>;
337 vbus-supply = <®_usb_otg1_vbus>;
342 vbus-supply = <®_usb_otg2_vbus>;
348 pinctrl-names = "default", "state_100mhz", "state_200mhz";
349 pinctrl-0 = <&pinctrl_usdhc1>;
350 pinctrl-1 = <&pinctrl_usdhc1_100mhz>;
351 pinctrl-2 = <&pinctrl_usdhc1_200mhz>;
352 cd-gpios = <&gpio5 0 GPIO_ACTIVE_LOW>;
355 vmmc-supply = <®_3p3v>;
358 keep-power-in-suspend;
362 &usdhc2 { /* Wifi SDIO */
363 pinctrl-names = "default";
364 pinctrl-0 = <&pinctrl_usdhc2 &pinctrl_wifi_clk>;
367 keep-power-in-suspend;
369 vmmc-supply = <®_wlreg_on>;
370 mmc-pwrseq = <&usdhc2_pwrseq>;
375 pinctrl-names = "default", "state_100mhz", "state_200mhz";
376 pinctrl-0 = <&pinctrl_usdhc3>;
377 pinctrl-1 = <&pinctrl_usdhc3_100mhz>;
378 pinctrl-2 = <&pinctrl_usdhc3_200mhz>;
379 assigned-clocks = <&clks IMX7D_USDHC3_ROOT_CLK>;
380 assigned-clock-rates = <400000000>;
383 fsl,tuning-step = <2>;
389 pinctrl-names = "default";
390 pinctrl-0 = <&pinctrl_wdog>;
391 fsl,ext-reset-output;
396 pinctrl_ecspi3: ecspi3grp {
398 MX7D_PAD_I2C1_SCL__ECSPI3_MISO 0x2
399 MX7D_PAD_I2C1_SDA__ECSPI3_MOSI 0x2
400 MX7D_PAD_I2C2_SCL__ECSPI3_SCLK 0x2
401 MX7D_PAD_I2C2_SDA__GPIO4_IO11 0x14
405 pinctrl_i2c1: i2c1grp {
407 MX7D_PAD_UART1_TX_DATA__I2C1_SDA 0x4000007f
408 MX7D_PAD_UART1_RX_DATA__I2C1_SCL 0x4000007f
412 pinctrl_i2c2: i2c2grp {
414 MX7D_PAD_UART2_TX_DATA__I2C2_SDA 0x4000007f
415 MX7D_PAD_UART2_RX_DATA__I2C2_SCL 0x4000007f
419 pinctrl_enet1: enet1grp {
421 MX7D_PAD_SD2_CD_B__ENET1_MDIO 0x3
422 MX7D_PAD_SD2_WP__ENET1_MDC 0x3
423 MX7D_PAD_ENET1_RGMII_TXC__ENET1_RGMII_TXC 0x1
424 MX7D_PAD_ENET1_RGMII_TD0__ENET1_RGMII_TD0 0x1
425 MX7D_PAD_ENET1_RGMII_TD1__ENET1_RGMII_TD1 0x1
426 MX7D_PAD_ENET1_RGMII_TD2__ENET1_RGMII_TD2 0x1
427 MX7D_PAD_ENET1_RGMII_TD3__ENET1_RGMII_TD3 0x1
428 MX7D_PAD_ENET1_RGMII_TX_CTL__ENET1_RGMII_TX_CTL 0x1
429 MX7D_PAD_ENET1_RGMII_RXC__ENET1_RGMII_RXC 0x1
430 MX7D_PAD_ENET1_RGMII_RD0__ENET1_RGMII_RD0 0x1
431 MX7D_PAD_ENET1_RGMII_RD1__ENET1_RGMII_RD1 0x1
432 MX7D_PAD_ENET1_RGMII_RD2__ENET1_RGMII_RD2 0x1
433 MX7D_PAD_ENET1_RGMII_RD3__ENET1_RGMII_RD3 0x1
434 MX7D_PAD_ENET1_RGMII_RX_CTL__ENET1_RGMII_RX_CTL 0x1
435 MX7D_PAD_SD3_RESET_B__GPIO6_IO11 0x1 /* Ethernet reset */
439 pinctrl_can1: can1frp {
441 MX7D_PAD_SAI1_RX_DATA__FLEXCAN1_RX 0x59
442 MX7D_PAD_SAI1_TX_BCLK__FLEXCAN1_TX 0x59
446 pinctrl_can2: can2frp {
448 MX7D_PAD_SAI1_TX_SYNC__FLEXCAN2_RX 0x59
449 MX7D_PAD_SAI1_TX_DATA__FLEXCAN2_TX 0x59
453 pinctrl_i2c4: i2c4grp {
455 MX7D_PAD_SAI1_RX_BCLK__I2C4_SDA 0x4000007f
456 MX7D_PAD_SAI1_RX_SYNC__I2C4_SCL 0x4000007f
460 pinctrl_lcdif: lcdifgrp {
462 MX7D_PAD_LCD_DATA00__LCD_DATA0 0x79
463 MX7D_PAD_LCD_DATA01__LCD_DATA1 0x79
464 MX7D_PAD_LCD_DATA02__LCD_DATA2 0x79
465 MX7D_PAD_LCD_DATA03__LCD_DATA3 0x79
466 MX7D_PAD_LCD_DATA04__LCD_DATA4 0x79
467 MX7D_PAD_LCD_DATA05__LCD_DATA5 0x79
468 MX7D_PAD_LCD_DATA06__LCD_DATA6 0x79
469 MX7D_PAD_LCD_DATA07__LCD_DATA7 0x79
470 MX7D_PAD_LCD_DATA08__LCD_DATA8 0x79
471 MX7D_PAD_LCD_DATA09__LCD_DATA9 0x79
472 MX7D_PAD_LCD_DATA10__LCD_DATA10 0x79
473 MX7D_PAD_LCD_DATA11__LCD_DATA11 0x79
474 MX7D_PAD_LCD_DATA12__LCD_DATA12 0x79
475 MX7D_PAD_LCD_DATA13__LCD_DATA13 0x79
476 MX7D_PAD_LCD_DATA14__LCD_DATA14 0x79
477 MX7D_PAD_LCD_DATA15__LCD_DATA15 0x79
478 MX7D_PAD_LCD_DATA16__LCD_DATA16 0x79
479 MX7D_PAD_LCD_DATA17__LCD_DATA17 0x79
480 MX7D_PAD_LCD_DATA18__LCD_DATA18 0x79
481 MX7D_PAD_LCD_DATA19__LCD_DATA19 0x79
482 MX7D_PAD_LCD_DATA20__LCD_DATA20 0x79
483 MX7D_PAD_LCD_DATA21__LCD_DATA21 0x79
484 MX7D_PAD_LCD_DATA22__LCD_DATA22 0x79
485 MX7D_PAD_LCD_DATA23__LCD_DATA23 0x79
486 MX7D_PAD_LCD_CLK__LCD_CLK 0x79
487 MX7D_PAD_LCD_ENABLE__LCD_ENABLE 0x78
488 MX7D_PAD_LCD_VSYNC__LCD_VSYNC 0x78
489 MX7D_PAD_LCD_HSYNC__LCD_HSYNC 0x78
490 MX7D_PAD_LCD_RESET__GPIO3_IO4 0x14
496 MX7D_PAD_GPIO1_IO08__PWM1_OUT 0x7f
502 MX7D_PAD_GPIO1_IO09__PWM2_OUT 0x7f
508 MX7D_PAD_GPIO1_IO10__PWM3_OUT 0x7f
512 pinctrl_pwm4: pwm4grp{
514 MX7D_PAD_GPIO1_IO11__PWM4_OUT 0x7f
518 pinctrl_reg_wlreg_on: regregongrp {
520 MX7D_PAD_ECSPI1_SCLK__GPIO4_IO16 0x59
524 pinctrl_sai1: sai1grp {
526 MX7D_PAD_ENET1_RX_CLK__SAI1_TX_BCLK 0x1f
527 MX7D_PAD_ENET1_CRS__SAI1_TX_SYNC 0x1f
528 MX7D_PAD_ENET1_COL__SAI1_TX_DATA0 0x30
529 MX7D_PAD_ENET1_TX_CLK__SAI1_RX_DATA0 0x1f
533 pinctrl_uart5: uart5grp {
535 MX7D_PAD_I2C4_SDA__UART5_DCE_TX 0x79
536 MX7D_PAD_I2C4_SCL__UART5_DCE_RX 0x79
540 pinctrl_uart6: uart6grp {
542 MX7D_PAD_EPDC_DATA08__UART6_DCE_RX 0x79
543 MX7D_PAD_EPDC_DATA09__UART6_DCE_TX 0x79
544 MX7D_PAD_EPDC_DATA10__UART6_DCE_RTS 0x79
545 MX7D_PAD_EPDC_DATA11__UART6_DCE_CTS 0x79
549 pinctrl_uart7: uart7grp {
551 MX7D_PAD_ECSPI2_MOSI__UART7_DCE_TX 0x79
552 MX7D_PAD_ECSPI2_SCLK__UART7_DCE_RX 0x79
553 MX7D_PAD_ECSPI2_SS0__UART7_DCE_CTS 0x79
554 MX7D_PAD_ECSPI2_MISO__UART7_DCE_RTS 0x79
558 pinctrl_usbotg1_pwr: usbotg_pwr {
560 MX7D_PAD_UART3_TX_DATA__GPIO4_IO5 0x14
564 pinctrl_usdhc1: usdhc1grp {
566 MX7D_PAD_SD1_CMD__SD1_CMD 0x59
567 MX7D_PAD_SD1_CLK__SD1_CLK 0x19
568 MX7D_PAD_SD1_DATA0__SD1_DATA0 0x59
569 MX7D_PAD_SD1_DATA1__SD1_DATA1 0x59
570 MX7D_PAD_SD1_DATA2__SD1_DATA2 0x59
571 MX7D_PAD_SD1_DATA3__SD1_DATA3 0x59
572 MX7D_PAD_SD1_CD_B__GPIO5_IO0 0x15
576 pinctrl_usdhc1_100mhz: usdhc1grp_100mhz {
578 MX7D_PAD_SD1_CMD__SD1_CMD 0x5a
579 MX7D_PAD_SD1_CLK__SD1_CLK 0x1a
580 MX7D_PAD_SD1_DATA0__SD1_DATA0 0x5a
581 MX7D_PAD_SD1_DATA1__SD1_DATA1 0x5a
582 MX7D_PAD_SD1_DATA2__SD1_DATA2 0x5a
583 MX7D_PAD_SD1_DATA3__SD1_DATA3 0x5a
584 MX7D_PAD_SD1_CD_B__GPIO5_IO0 0x15
588 pinctrl_usdhc1_200mhz: usdhc1grp_200mhz {
590 MX7D_PAD_SD1_CMD__SD1_CMD 0x5b
591 MX7D_PAD_SD1_CLK__SD1_CLK 0x1b
592 MX7D_PAD_SD1_DATA0__SD1_DATA0 0x5b
593 MX7D_PAD_SD1_DATA1__SD1_DATA1 0x5b
594 MX7D_PAD_SD1_DATA2__SD1_DATA2 0x5b
595 MX7D_PAD_SD1_DATA3__SD1_DATA3 0x5b
596 MX7D_PAD_SD1_CD_B__GPIO5_IO0 0x15
600 pinctrl_usdhc2: usdhc2grp {
602 MX7D_PAD_SD2_CMD__SD2_CMD 0x59
603 MX7D_PAD_SD2_CLK__SD2_CLK 0x19
604 MX7D_PAD_SD2_DATA0__SD2_DATA0 0x59
605 MX7D_PAD_SD2_DATA1__SD2_DATA1 0x59
606 MX7D_PAD_SD2_DATA2__SD2_DATA2 0x59
607 MX7D_PAD_SD2_DATA3__SD2_DATA3 0x59
611 pinctrl_usdhc3: usdhc3grp {
613 MX7D_PAD_SD3_CMD__SD3_CMD 0x59
614 MX7D_PAD_SD3_CLK__SD3_CLK 0x19
615 MX7D_PAD_SD3_DATA0__SD3_DATA0 0x59
616 MX7D_PAD_SD3_DATA1__SD3_DATA1 0x59
617 MX7D_PAD_SD3_DATA2__SD3_DATA2 0x59
618 MX7D_PAD_SD3_DATA3__SD3_DATA3 0x59
619 MX7D_PAD_SD3_DATA4__SD3_DATA4 0x59
620 MX7D_PAD_SD3_DATA5__SD3_DATA5 0x59
621 MX7D_PAD_SD3_DATA6__SD3_DATA6 0x59
622 MX7D_PAD_SD3_DATA7__SD3_DATA7 0x59
626 pinctrl_usdhc3_100mhz: usdhc3grp_100mhz {
628 MX7D_PAD_SD3_CMD__SD3_CMD 0x5a
629 MX7D_PAD_SD3_CLK__SD3_CLK 0x1a
630 MX7D_PAD_SD3_DATA0__SD3_DATA0 0x5a
631 MX7D_PAD_SD3_DATA1__SD3_DATA1 0x5a
632 MX7D_PAD_SD3_DATA2__SD3_DATA2 0x5a
633 MX7D_PAD_SD3_DATA3__SD3_DATA3 0x5a
634 MX7D_PAD_SD3_DATA4__SD3_DATA4 0x5a
635 MX7D_PAD_SD3_DATA5__SD3_DATA5 0x5a
636 MX7D_PAD_SD3_DATA6__SD3_DATA6 0x5a
637 MX7D_PAD_SD3_DATA7__SD3_DATA7 0x5a
641 pinctrl_usdhc3_200mhz: usdhc3grp_200mhz {
643 MX7D_PAD_SD3_CMD__SD3_CMD 0x5b
644 MX7D_PAD_SD3_CLK__SD3_CLK 0x1b
645 MX7D_PAD_SD3_DATA0__SD3_DATA0 0x5b
646 MX7D_PAD_SD3_DATA1__SD3_DATA1 0x5b
647 MX7D_PAD_SD3_DATA2__SD3_DATA2 0x5b
648 MX7D_PAD_SD3_DATA3__SD3_DATA3 0x5b
649 MX7D_PAD_SD3_DATA4__SD3_DATA4 0x5b
650 MX7D_PAD_SD3_DATA5__SD3_DATA5 0x5b
651 MX7D_PAD_SD3_DATA6__SD3_DATA6 0x5b
652 MX7D_PAD_SD3_DATA7__SD3_DATA7 0x5b
658 pinctrl_wifi_clk: wificlkgrp {
660 MX7D_PAD_LPSR_GPIO1_IO03__CCM_CLKO2 0x7d
664 pinctrl_reg_lcdreg_on: reglcdongrp {
666 MX7D_PAD_LPSR_GPIO1_IO06__GPIO1_IO6 0x59
670 pinctrl_wdog: wdoggrp {
672 MX7D_PAD_LPSR_GPIO1_IO00__WDOG1_WDOG_B 0x74