1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
10 /* Will be filled by the bootloader */
12 device_type = "memory";
16 reg_wlreg_on: regulator-wlreg_on {
17 compatible = "regulator-fixed";
18 pinctrl-names = "default";
19 pinctrl-0 = <&pinctrl_reg_wlreg_on>;
20 regulator-name = "wlreg_on";
21 regulator-min-microvolt = <3300000>;
22 regulator-max-microvolt = <3300000>;
23 gpio = <&gpio4 16 GPIO_ACTIVE_HIGH>;
27 reg_2p5v: regulator-2p5v {
28 compatible = "regulator-fixed";
29 regulator-name = "2P5V";
30 regulator-min-microvolt = <2500000>;
31 regulator-max-microvolt = <2500000>;
35 reg_3p3v: regulator-3p3v {
36 compatible = "regulator-fixed";
37 regulator-name = "3P3V";
38 regulator-min-microvolt = <3300000>;
39 regulator-max-microvolt = <3300000>;
43 reg_usb_otg1_vbus: regulator-usb-otg1-vbus {
44 pinctrl-names = "default";
45 pinctrl-0 = <&pinctrl_usbotg1_pwr>;
46 compatible = "regulator-fixed";
47 regulator-name = "usb_otg1_vbus";
48 regulator-min-microvolt = <5000000>;
49 regulator-max-microvolt = <5000000>;
50 gpio = <&gpio4 5 GPIO_ACTIVE_LOW>;
53 reg_usb_otg2_vbus: regulator-usb-otg2-vbus {
54 compatible = "regulator-fixed";
55 regulator-name = "usb_otg2_vbus";
56 regulator-min-microvolt = <5000000>;
57 regulator-max-microvolt = <5000000>;
60 reg_vref_1v8: regulator-vref-1v8 {
61 compatible = "regulator-fixed";
62 regulator-name = "vref-1v8";
63 regulator-min-microvolt = <1800000>;
64 regulator-max-microvolt = <1800000>;
67 usdhc2_pwrseq: usdhc2_pwrseq {
68 compatible = "mmc-pwrseq-simple";
69 clocks = <&clks IMX7D_CLKO2_ROOT_DIV>;
70 clock-names = "ext_clock";
75 assigned-clocks = <&clks IMX7D_CLKO2_ROOT_SRC>,
76 <&clks IMX7D_CLKO2_ROOT_DIV>;
77 assigned-clock-parents = <&clks IMX7D_CKIL>;
78 assigned-clock-rates = <0>, <32768>;
82 cs-gpios = <&gpio4 11 GPIO_ACTIVE_LOW>;
83 pinctrl-names = "default";
84 pinctrl-0 = <&pinctrl_ecspi3>;
89 pinctrl-names = "default";
90 pinctrl-0 = <&pinctrl_enet1>;
91 assigned-clocks = <&clks IMX7D_ENET1_TIME_ROOT_SRC>,
92 <&clks IMX7D_ENET1_TIME_ROOT_CLK>;
93 assigned-clock-parents = <&clks IMX7D_PLL_ENET_MAIN_100M_CLK>;
94 assigned-clock-rates = <0>, <100000000>;
95 phy-mode = "rgmii-id";
96 phy-handle = <ðphy0>;
98 phy-reset-gpios = <&gpio6 11 GPIO_ACTIVE_LOW>;
102 #address-cells = <1>;
105 ethphy0: ethernet-phy@1 {
106 compatible = "ethernet-phy-ieee802.3-c22";
114 pinctrl-names = "default";
115 pinctrl-0 = <&pinctrl_can1>;
120 pinctrl-names = "default";
121 pinctrl-0 = <&pinctrl_can2>;
126 clock-frequency = <100000>;
127 pinctrl-names = "default";
128 pinctrl-0 = <&pinctrl_i2c1>;
133 pinctrl-names = "default";
134 pinctrl-0 = <&pinctrl_i2c2>;
139 pinctrl-names = "default";
140 pinctrl-0 = <&pinctrl_i2c4>;
144 compatible = "fsl,pfuze3000";
149 regulator-min-microvolt = <700000>;
150 regulator-max-microvolt = <3300000>;
153 regulator-ramp-delay = <6250>;
155 /* use sw1c_reg to align with pfuze100/pfuze200 */
157 regulator-min-microvolt = <700000>;
158 regulator-max-microvolt = <1475000>;
161 regulator-ramp-delay = <6250>;
165 regulator-min-microvolt = <1800000>;
166 regulator-max-microvolt = <1850000>;
172 regulator-min-microvolt = <900000>;
173 regulator-max-microvolt = <1650000>;
179 regulator-min-microvolt = <5000000>;
180 regulator-max-microvolt = <5150000>;
184 regulator-min-microvolt = <1000000>;
185 regulator-max-microvolt = <3000000>;
196 regulator-min-microvolt = <1800000>;
197 regulator-max-microvolt = <3300000>;
202 regulator-min-microvolt = <800000>;
203 regulator-max-microvolt = <1550000>;
207 regulator-min-microvolt = <2850000>;
208 regulator-max-microvolt = <3300000>;
213 regulator-min-microvolt = <2850000>;
214 regulator-max-microvolt = <3300000>;
219 regulator-min-microvolt = <1800000>;
220 regulator-max-microvolt = <3300000>;
225 regulator-min-microvolt = <1800000>;
226 regulator-max-microvolt = <3300000>;
234 pinctrl-names = "default";
235 pinctrl-0 = <&pinctrl_sai1>;
236 assigned-clocks = <&clks IMX7D_SAI1_ROOT_SRC>,
237 <&clks IMX7D_SAI1_ROOT_CLK>;
238 assigned-clock-parents = <&clks IMX7D_PLL_AUDIO_POST_DIV>;
239 assigned-clock-rates = <0>, <24576000>;
245 pinctrl-names = "default";
246 pinctrl-0 = <&pinctrl_pwm1>;
251 pinctrl-names = "default";
252 pinctrl-0 = <&pinctrl_pwm2>;
257 pinctrl-names = "default";
258 pinctrl-0 = <&pinctrl_pwm3>;
262 &pwm4 { /* Backlight */
267 pinctrl-names = "default";
268 pinctrl-0 = <&pinctrl_uart5>;
269 assigned-clocks = <&clks IMX7D_UART5_ROOT_SRC>;
270 assigned-clock-parents = <&clks IMX7D_PLL_SYS_MAIN_240M_CLK>;
275 pinctrl-names = "default";
276 pinctrl-0 = <&pinctrl_uart6>;
277 assigned-clocks = <&clks IMX7D_UART6_ROOT_SRC>;
278 assigned-clock-parents = <&clks IMX7D_OSC_24M_CLK>;
283 &uart7 { /* Bluetooth */
284 pinctrl-names = "default";
285 pinctrl-0 = <&pinctrl_uart7>;
286 assigned-clocks = <&clks IMX7D_UART7_ROOT_SRC>;
287 assigned-clock-parents = <&clks IMX7D_PLL_SYS_MAIN_240M_CLK>;
293 vbus-supply = <®_usb_otg1_vbus>;
298 vbus-supply = <®_usb_otg2_vbus>;
304 pinctrl-names = "default", "state_100mhz", "state_200mhz";
305 pinctrl-0 = <&pinctrl_usdhc1>;
306 pinctrl-1 = <&pinctrl_usdhc1_100mhz>;
307 pinctrl-2 = <&pinctrl_usdhc1_200mhz>;
308 cd-gpios = <&gpio5 0 GPIO_ACTIVE_LOW>;
311 vmmc-supply = <®_3p3v>;
314 keep-power-in-suspend;
318 &usdhc2 { /* Wifi SDIO */
319 pinctrl-names = "default";
320 pinctrl-0 = <&pinctrl_usdhc2 &pinctrl_wifi_clk>;
323 keep-power-in-suspend;
325 vmmc-supply = <®_wlreg_on>;
326 mmc-pwrseq = <&usdhc2_pwrseq>;
331 pinctrl-names = "default", "state_100mhz", "state_200mhz";
332 pinctrl-0 = <&pinctrl_usdhc3>;
333 pinctrl-1 = <&pinctrl_usdhc3_100mhz>;
334 pinctrl-2 = <&pinctrl_usdhc3_200mhz>;
335 assigned-clocks = <&clks IMX7D_USDHC3_ROOT_CLK>;
336 assigned-clock-rates = <400000000>;
339 fsl,tuning-step = <2>;
345 pinctrl-names = "default";
346 pinctrl-0 = <&pinctrl_wdog>;
347 fsl,ext-reset-output;
352 pinctrl_ecspi3: ecspi3grp {
354 MX7D_PAD_I2C1_SCL__ECSPI3_MISO 0x2
355 MX7D_PAD_I2C1_SDA__ECSPI3_MOSI 0x2
356 MX7D_PAD_I2C2_SCL__ECSPI3_SCLK 0x2
357 MX7D_PAD_I2C2_SDA__GPIO4_IO11 0x14
361 pinctrl_i2c1: i2c1grp {
363 MX7D_PAD_UART1_TX_DATA__I2C1_SDA 0x4000007f
364 MX7D_PAD_UART1_RX_DATA__I2C1_SCL 0x4000007f
368 pinctrl_i2c2: i2c2grp {
370 MX7D_PAD_UART2_TX_DATA__I2C2_SDA 0x4000007f
371 MX7D_PAD_UART2_RX_DATA__I2C2_SCL 0x4000007f
375 pinctrl_enet1: enet1grp {
377 MX7D_PAD_SD2_CD_B__ENET1_MDIO 0x3
378 MX7D_PAD_SD2_WP__ENET1_MDC 0x3
379 MX7D_PAD_ENET1_RGMII_TXC__ENET1_RGMII_TXC 0x1
380 MX7D_PAD_ENET1_RGMII_TD0__ENET1_RGMII_TD0 0x1
381 MX7D_PAD_ENET1_RGMII_TD1__ENET1_RGMII_TD1 0x1
382 MX7D_PAD_ENET1_RGMII_TD2__ENET1_RGMII_TD2 0x1
383 MX7D_PAD_ENET1_RGMII_TD3__ENET1_RGMII_TD3 0x1
384 MX7D_PAD_ENET1_RGMII_TX_CTL__ENET1_RGMII_TX_CTL 0x1
385 MX7D_PAD_ENET1_RGMII_RXC__ENET1_RGMII_RXC 0x1
386 MX7D_PAD_ENET1_RGMII_RD0__ENET1_RGMII_RD0 0x1
387 MX7D_PAD_ENET1_RGMII_RD1__ENET1_RGMII_RD1 0x1
388 MX7D_PAD_ENET1_RGMII_RD2__ENET1_RGMII_RD2 0x1
389 MX7D_PAD_ENET1_RGMII_RD3__ENET1_RGMII_RD3 0x1
390 MX7D_PAD_ENET1_RGMII_RX_CTL__ENET1_RGMII_RX_CTL 0x1
391 MX7D_PAD_SD3_RESET_B__GPIO6_IO11 0x1 /* Ethernet reset */
395 pinctrl_can1: can1frp {
397 MX7D_PAD_SAI1_RX_DATA__FLEXCAN1_RX 0x59
398 MX7D_PAD_SAI1_TX_BCLK__FLEXCAN1_TX 0x59
402 pinctrl_can2: can2frp {
404 MX7D_PAD_SAI1_TX_SYNC__FLEXCAN2_RX 0x59
405 MX7D_PAD_SAI1_TX_DATA__FLEXCAN2_TX 0x59
409 pinctrl_i2c4: i2c4grp {
411 MX7D_PAD_SAI1_RX_BCLK__I2C4_SDA 0x4000007f
412 MX7D_PAD_SAI1_RX_SYNC__I2C4_SCL 0x4000007f
418 MX7D_PAD_GPIO1_IO08__PWM1_OUT 0x7f
424 MX7D_PAD_GPIO1_IO09__PWM2_OUT 0x7f
430 MX7D_PAD_GPIO1_IO10__PWM3_OUT 0x7f
434 pinctrl_reg_wlreg_on: regregongrp {
436 MX7D_PAD_ECSPI1_SCLK__GPIO4_IO16 0x59
440 pinctrl_sai1: sai1grp {
442 MX7D_PAD_ENET1_RX_CLK__SAI1_TX_BCLK 0x1f
443 MX7D_PAD_ENET1_CRS__SAI1_TX_SYNC 0x1f
444 MX7D_PAD_ENET1_COL__SAI1_TX_DATA0 0x30
445 MX7D_PAD_ENET1_TX_CLK__SAI1_RX_DATA0 0x1f
449 pinctrl_uart5: uart5grp {
451 MX7D_PAD_I2C4_SDA__UART5_DCE_TX 0x79
452 MX7D_PAD_I2C4_SCL__UART5_DCE_RX 0x79
456 pinctrl_uart6: uart6grp {
458 MX7D_PAD_EPDC_DATA08__UART6_DCE_RX 0x79
459 MX7D_PAD_EPDC_DATA09__UART6_DCE_TX 0x79
460 MX7D_PAD_EPDC_DATA10__UART6_DCE_RTS 0x79
461 MX7D_PAD_EPDC_DATA11__UART6_DCE_CTS 0x79
465 pinctrl_uart7: uart7grp {
467 MX7D_PAD_ECSPI2_MOSI__UART7_DCE_TX 0x79
468 MX7D_PAD_ECSPI2_SCLK__UART7_DCE_RX 0x79
469 MX7D_PAD_ECSPI2_SS0__UART7_DCE_CTS 0x79
470 MX7D_PAD_ECSPI2_MISO__UART7_DCE_RTS 0x79
474 pinctrl_usbotg1_pwr: usbotg_pwr {
476 MX7D_PAD_UART3_TX_DATA__GPIO4_IO5 0x14
480 pinctrl_usdhc1: usdhc1grp {
482 MX7D_PAD_SD1_CMD__SD1_CMD 0x59
483 MX7D_PAD_SD1_CLK__SD1_CLK 0x19
484 MX7D_PAD_SD1_DATA0__SD1_DATA0 0x59
485 MX7D_PAD_SD1_DATA1__SD1_DATA1 0x59
486 MX7D_PAD_SD1_DATA2__SD1_DATA2 0x59
487 MX7D_PAD_SD1_DATA3__SD1_DATA3 0x59
488 MX7D_PAD_SD1_CD_B__GPIO5_IO0 0x15
492 pinctrl_usdhc1_100mhz: usdhc1grp_100mhz {
494 MX7D_PAD_SD1_CMD__SD1_CMD 0x5a
495 MX7D_PAD_SD1_CLK__SD1_CLK 0x1a
496 MX7D_PAD_SD1_DATA0__SD1_DATA0 0x5a
497 MX7D_PAD_SD1_DATA1__SD1_DATA1 0x5a
498 MX7D_PAD_SD1_DATA2__SD1_DATA2 0x5a
499 MX7D_PAD_SD1_DATA3__SD1_DATA3 0x5a
500 MX7D_PAD_SD1_CD_B__GPIO5_IO0 0x15
504 pinctrl_usdhc1_200mhz: usdhc1grp_200mhz {
506 MX7D_PAD_SD1_CMD__SD1_CMD 0x5b
507 MX7D_PAD_SD1_CLK__SD1_CLK 0x1b
508 MX7D_PAD_SD1_DATA0__SD1_DATA0 0x5b
509 MX7D_PAD_SD1_DATA1__SD1_DATA1 0x5b
510 MX7D_PAD_SD1_DATA2__SD1_DATA2 0x5b
511 MX7D_PAD_SD1_DATA3__SD1_DATA3 0x5b
512 MX7D_PAD_SD1_CD_B__GPIO5_IO0 0x15
516 pinctrl_usdhc2: usdhc2grp {
518 MX7D_PAD_SD2_CMD__SD2_CMD 0x59
519 MX7D_PAD_SD2_CLK__SD2_CLK 0x19
520 MX7D_PAD_SD2_DATA0__SD2_DATA0 0x59
521 MX7D_PAD_SD2_DATA1__SD2_DATA1 0x59
522 MX7D_PAD_SD2_DATA2__SD2_DATA2 0x59
523 MX7D_PAD_SD2_DATA3__SD2_DATA3 0x59
527 pinctrl_usdhc3: usdhc3grp {
529 MX7D_PAD_SD3_CMD__SD3_CMD 0x59
530 MX7D_PAD_SD3_CLK__SD3_CLK 0x19
531 MX7D_PAD_SD3_DATA0__SD3_DATA0 0x59
532 MX7D_PAD_SD3_DATA1__SD3_DATA1 0x59
533 MX7D_PAD_SD3_DATA2__SD3_DATA2 0x59
534 MX7D_PAD_SD3_DATA3__SD3_DATA3 0x59
535 MX7D_PAD_SD3_DATA4__SD3_DATA4 0x59
536 MX7D_PAD_SD3_DATA5__SD3_DATA5 0x59
537 MX7D_PAD_SD3_DATA6__SD3_DATA6 0x59
538 MX7D_PAD_SD3_DATA7__SD3_DATA7 0x59
542 pinctrl_usdhc3_100mhz: usdhc3grp_100mhz {
544 MX7D_PAD_SD3_CMD__SD3_CMD 0x5a
545 MX7D_PAD_SD3_CLK__SD3_CLK 0x1a
546 MX7D_PAD_SD3_DATA0__SD3_DATA0 0x5a
547 MX7D_PAD_SD3_DATA1__SD3_DATA1 0x5a
548 MX7D_PAD_SD3_DATA2__SD3_DATA2 0x5a
549 MX7D_PAD_SD3_DATA3__SD3_DATA3 0x5a
550 MX7D_PAD_SD3_DATA4__SD3_DATA4 0x5a
551 MX7D_PAD_SD3_DATA5__SD3_DATA5 0x5a
552 MX7D_PAD_SD3_DATA6__SD3_DATA6 0x5a
553 MX7D_PAD_SD3_DATA7__SD3_DATA7 0x5a
557 pinctrl_usdhc3_200mhz: usdhc3grp_200mhz {
559 MX7D_PAD_SD3_CMD__SD3_CMD 0x5b
560 MX7D_PAD_SD3_CLK__SD3_CLK 0x1b
561 MX7D_PAD_SD3_DATA0__SD3_DATA0 0x5b
562 MX7D_PAD_SD3_DATA1__SD3_DATA1 0x5b
563 MX7D_PAD_SD3_DATA2__SD3_DATA2 0x5b
564 MX7D_PAD_SD3_DATA3__SD3_DATA3 0x5b
565 MX7D_PAD_SD3_DATA4__SD3_DATA4 0x5b
566 MX7D_PAD_SD3_DATA5__SD3_DATA5 0x5b
567 MX7D_PAD_SD3_DATA6__SD3_DATA6 0x5b
568 MX7D_PAD_SD3_DATA7__SD3_DATA7 0x5b
574 pinctrl_wifi_clk: wificlkgrp {
576 MX7D_PAD_LPSR_GPIO1_IO03__CCM_CLKO2 0x7d
580 pinctrl_wdog: wdoggrp {
582 MX7D_PAD_LPSR_GPIO1_IO00__WDOG1_WDOG_B 0x74