1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
11 model = "NXP i.MX8MPlus EVK board";
12 compatible = "fsl,imx8mp-evk", "fsl,imx8mp";
19 compatible = "gpio-leds";
20 pinctrl-names = "default";
21 pinctrl-0 = <&pinctrl_gpio_led>;
24 label = "yellow:status";
25 gpios = <&gpio3 16 GPIO_ACTIVE_HIGH>;
31 device_type = "memory";
32 reg = <0x0 0x40000000 0 0xc0000000>,
33 <0x1 0x00000000 0 0xc0000000>;
36 reg_can1_stby: regulator-can1-stby {
37 compatible = "regulator-fixed";
38 regulator-name = "can1-stby";
39 pinctrl-names = "default";
40 pinctrl-0 = <&pinctrl_flexcan1_reg>;
41 regulator-min-microvolt = <3300000>;
42 regulator-max-microvolt = <3300000>;
43 gpio = <&gpio5 5 GPIO_ACTIVE_HIGH>;
47 reg_can2_stby: regulator-can2-stby {
48 compatible = "regulator-fixed";
49 regulator-name = "can2-stby";
50 pinctrl-names = "default";
51 pinctrl-0 = <&pinctrl_flexcan2_reg>;
52 regulator-min-microvolt = <3300000>;
53 regulator-max-microvolt = <3300000>;
54 gpio = <&gpio4 27 GPIO_ACTIVE_HIGH>;
58 reg_usdhc2_vmmc: regulator-usdhc2 {
59 compatible = "regulator-fixed";
60 pinctrl-names = "default";
61 pinctrl-0 = <&pinctrl_reg_usdhc2_vmmc>;
62 regulator-name = "VSD_3V3";
63 regulator-min-microvolt = <3300000>;
64 regulator-max-microvolt = <3300000>;
65 gpio = <&gpio2 19 GPIO_ACTIVE_HIGH>;
71 pinctrl-names = "default";
72 pinctrl-0 = <&pinctrl_flexcan1>;
73 xceiver-supply = <®_can1_stby>;
78 pinctrl-names = "default";
79 pinctrl-0 = <&pinctrl_flexcan2>;
80 xceiver-supply = <®_can2_stby>;
81 status = "disabled";/* can2 pin conflict with pdm */
85 pinctrl-names = "default";
86 pinctrl-0 = <&pinctrl_eqos>;
87 phy-mode = "rgmii-id";
88 phy-handle = <ðphy0>;
89 snps,force_thresh_dma_mode;
90 snps,mtl-tx-config = <&mtl_tx_setup>;
91 snps,mtl-rx-config = <&mtl_rx_setup>;
95 compatible = "snps,dwmac-mdio";
99 ethphy0: ethernet-phy@1 {
100 compatible = "ethernet-phy-ieee802.3-c22";
103 reset-gpios = <&gpio4 22 GPIO_ACTIVE_LOW>;
104 reset-assert-us = <10000>;
105 reset-deassert-us = <80000>;
106 realtek,clkout-disable;
110 mtl_tx_setup: tx-queues-config {
111 snps,tx-queues-to-use = <5>;
116 snps,priority = <0x1>;
121 snps,priority = <0x2>;
126 snps,priority = <0x4>;
131 snps,priority = <0x8>;
136 snps,priority = <0xf0>;
140 mtl_rx_setup: rx-queues-config {
141 snps,rx-queues-to-use = <5>;
146 snps,priority = <0x1>;
147 snps,map-to-dma-channel = <0>;
152 snps,priority = <0x2>;
153 snps,map-to-dma-channel = <1>;
158 snps,priority = <0x4>;
159 snps,map-to-dma-channel = <2>;
164 snps,priority = <0x8>;
165 snps,map-to-dma-channel = <3>;
170 snps,priority = <0xf0>;
171 snps,map-to-dma-channel = <4>;
177 pinctrl-names = "default";
178 pinctrl-0 = <&pinctrl_fec>;
179 phy-mode = "rgmii-id";
180 phy-handle = <ðphy1>;
185 #address-cells = <1>;
188 ethphy1: ethernet-phy@1 {
189 compatible = "ethernet-phy-ieee802.3-c22";
192 reset-gpios = <&gpio4 2 GPIO_ACTIVE_LOW>;
193 reset-assert-us = <10000>;
194 reset-deassert-us = <80000>;
195 realtek,clkout-disable;
201 clock-frequency = <400000>;
202 pinctrl-names = "default";
203 pinctrl-0 = <&pinctrl_i2c1>;
207 compatible = "nxp,pca9450c";
209 pinctrl-names = "default";
210 pinctrl-0 = <&pinctrl_pmic>;
211 interrupt-parent = <&gpio1>;
212 interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
216 regulator-name = "BUCK1";
217 regulator-min-microvolt = <720000>;
218 regulator-max-microvolt = <1000000>;
221 regulator-ramp-delay = <3125>;
225 regulator-name = "BUCK2";
226 regulator-min-microvolt = <720000>;
227 regulator-max-microvolt = <1025000>;
230 regulator-ramp-delay = <3125>;
231 nxp,dvs-run-voltage = <950000>;
232 nxp,dvs-standby-voltage = <850000>;
236 regulator-name = "BUCK4";
237 regulator-min-microvolt = <3000000>;
238 regulator-max-microvolt = <3600000>;
244 regulator-name = "BUCK5";
245 regulator-min-microvolt = <1650000>;
246 regulator-max-microvolt = <1950000>;
252 regulator-name = "BUCK6";
253 regulator-min-microvolt = <1045000>;
254 regulator-max-microvolt = <1155000>;
260 regulator-name = "LDO1";
261 regulator-min-microvolt = <1650000>;
262 regulator-max-microvolt = <1950000>;
268 regulator-name = "LDO3";
269 regulator-min-microvolt = <1710000>;
270 regulator-max-microvolt = <1890000>;
276 regulator-name = "LDO5";
277 regulator-min-microvolt = <1800000>;
278 regulator-max-microvolt = <3300000>;
287 clock-frequency = <400000>;
288 pinctrl-names = "default";
289 pinctrl-0 = <&pinctrl_i2c3>;
293 compatible = "ti,tca6416";
297 interrupt-controller;
298 #interrupt-cells = <2>;
299 pinctrl-names = "default";
300 pinctrl-0 = <&pinctrl_pca6416_int>;
301 interrupt-parent = <&gpio1>;
302 interrupts = <12 IRQ_TYPE_LEVEL_LOW>;
303 gpio-line-names = "EXT_PWREN1",
322 /* I2C on expansion connector J22. */
324 clock-frequency = <100000>; /* Lower clock speed for external bus. */
325 pinctrl-names = "default";
326 pinctrl-0 = <&pinctrl_i2c5>;
327 status = "disabled"; /* can1 pins conflict with i2c5 */
329 /* GPIO 2 of PCA6416 is used to switch between CAN1 and I2C5 functions:
330 * LOW: CAN1 (default, pull-down)
332 * You need to set it to high to enable I2C5 (for example, add gpio-hog
343 pinctrl-names = "default";
344 pinctrl-0 = <&pinctrl_uart2>;
357 pinctrl-names = "default";
358 pinctrl-0 = <&pinctrl_usb1_vbus>;
364 assigned-clocks = <&clk IMX8MP_CLK_USDHC2>;
365 assigned-clock-rates = <400000000>;
366 pinctrl-names = "default", "state_100mhz", "state_200mhz";
367 pinctrl-0 = <&pinctrl_usdhc2>, <&pinctrl_usdhc2_gpio>;
368 pinctrl-1 = <&pinctrl_usdhc2_100mhz>, <&pinctrl_usdhc2_gpio>;
369 pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_gpio>;
370 cd-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
371 vmmc-supply = <®_usdhc2_vmmc>;
377 assigned-clocks = <&clk IMX8MP_CLK_USDHC3>;
378 assigned-clock-rates = <400000000>;
379 pinctrl-names = "default", "state_100mhz", "state_200mhz";
380 pinctrl-0 = <&pinctrl_usdhc3>;
381 pinctrl-1 = <&pinctrl_usdhc3_100mhz>;
382 pinctrl-2 = <&pinctrl_usdhc3_200mhz>;
389 pinctrl-names = "default";
390 pinctrl-0 = <&pinctrl_wdog>;
391 fsl,ext-reset-output;
396 pinctrl_eqos: eqosgrp {
398 MX8MP_IOMUXC_ENET_MDC__ENET_QOS_MDC 0x3
399 MX8MP_IOMUXC_ENET_MDIO__ENET_QOS_MDIO 0x3
400 MX8MP_IOMUXC_ENET_RD0__ENET_QOS_RGMII_RD0 0x91
401 MX8MP_IOMUXC_ENET_RD1__ENET_QOS_RGMII_RD1 0x91
402 MX8MP_IOMUXC_ENET_RD2__ENET_QOS_RGMII_RD2 0x91
403 MX8MP_IOMUXC_ENET_RD3__ENET_QOS_RGMII_RD3 0x91
404 MX8MP_IOMUXC_ENET_RXC__CCM_ENET_QOS_CLOCK_GENERATE_RX_CLK 0x91
405 MX8MP_IOMUXC_ENET_RX_CTL__ENET_QOS_RGMII_RX_CTL 0x91
406 MX8MP_IOMUXC_ENET_TD0__ENET_QOS_RGMII_TD0 0x1f
407 MX8MP_IOMUXC_ENET_TD1__ENET_QOS_RGMII_TD1 0x1f
408 MX8MP_IOMUXC_ENET_TD2__ENET_QOS_RGMII_TD2 0x1f
409 MX8MP_IOMUXC_ENET_TD3__ENET_QOS_RGMII_TD3 0x1f
410 MX8MP_IOMUXC_ENET_TX_CTL__ENET_QOS_RGMII_TX_CTL 0x1f
411 MX8MP_IOMUXC_ENET_TXC__CCM_ENET_QOS_CLOCK_GENERATE_TX_CLK 0x1f
412 MX8MP_IOMUXC_SAI2_RXC__GPIO4_IO22 0x19
416 pinctrl_fec: fecgrp {
418 MX8MP_IOMUXC_SAI1_RXD2__ENET1_MDC 0x3
419 MX8MP_IOMUXC_SAI1_RXD3__ENET1_MDIO 0x3
420 MX8MP_IOMUXC_SAI1_RXD4__ENET1_RGMII_RD0 0x91
421 MX8MP_IOMUXC_SAI1_RXD5__ENET1_RGMII_RD1 0x91
422 MX8MP_IOMUXC_SAI1_RXD6__ENET1_RGMII_RD2 0x91
423 MX8MP_IOMUXC_SAI1_RXD7__ENET1_RGMII_RD3 0x91
424 MX8MP_IOMUXC_SAI1_TXC__ENET1_RGMII_RXC 0x91
425 MX8MP_IOMUXC_SAI1_TXFS__ENET1_RGMII_RX_CTL 0x91
426 MX8MP_IOMUXC_SAI1_TXD0__ENET1_RGMII_TD0 0x1f
427 MX8MP_IOMUXC_SAI1_TXD1__ENET1_RGMII_TD1 0x1f
428 MX8MP_IOMUXC_SAI1_TXD2__ENET1_RGMII_TD2 0x1f
429 MX8MP_IOMUXC_SAI1_TXD3__ENET1_RGMII_TD3 0x1f
430 MX8MP_IOMUXC_SAI1_TXD4__ENET1_RGMII_TX_CTL 0x1f
431 MX8MP_IOMUXC_SAI1_TXD5__ENET1_RGMII_TXC 0x1f
432 MX8MP_IOMUXC_SAI1_RXD0__GPIO4_IO02 0x19
436 pinctrl_flexcan1: flexcan1grp {
438 MX8MP_IOMUXC_SPDIF_RX__CAN1_RX 0x154
439 MX8MP_IOMUXC_SPDIF_TX__CAN1_TX 0x154
443 pinctrl_flexcan2: flexcan2grp {
445 MX8MP_IOMUXC_SAI5_MCLK__CAN2_RX 0x154
446 MX8MP_IOMUXC_SAI5_RXD3__CAN2_TX 0x154
450 pinctrl_flexcan1_reg: flexcan1reggrp {
452 MX8MP_IOMUXC_SPDIF_EXT_CLK__GPIO5_IO05 0x154 /* CAN1_STBY */
456 pinctrl_flexcan2_reg: flexcan2reggrp {
458 MX8MP_IOMUXC_SAI2_MCLK__GPIO4_IO27 0x154 /* CAN2_STBY */
462 pinctrl_gpio_led: gpioledgrp {
464 MX8MP_IOMUXC_NAND_READY_B__GPIO3_IO16 0x19
468 pinctrl_i2c1: i2c1grp {
470 MX8MP_IOMUXC_I2C1_SCL__I2C1_SCL 0x400001c3
471 MX8MP_IOMUXC_I2C1_SDA__I2C1_SDA 0x400001c3
475 pinctrl_i2c3: i2c3grp {
477 MX8MP_IOMUXC_I2C3_SCL__I2C3_SCL 0x400001c3
478 MX8MP_IOMUXC_I2C3_SDA__I2C3_SDA 0x400001c3
482 pinctrl_i2c5: i2c5grp {
484 MX8MP_IOMUXC_SPDIF_RX__I2C5_SDA 0x400001c3
485 MX8MP_IOMUXC_SPDIF_TX__I2C5_SCL 0x400001c3
489 pinctrl_pmic: pmicgrp {
491 MX8MP_IOMUXC_GPIO1_IO03__GPIO1_IO03 0x000001c0
495 pinctrl_pca6416_int: pca6416_int_grp {
497 MX8MP_IOMUXC_GPIO1_IO12__GPIO1_IO12 0x146 /* Input pull-up. */
501 pinctrl_reg_usdhc2_vmmc: regusdhc2vmmcgrp {
503 MX8MP_IOMUXC_SD2_RESET_B__GPIO2_IO19 0x41
507 pinctrl_uart2: uart2grp {
509 MX8MP_IOMUXC_UART2_RXD__UART2_DCE_RX 0x49
510 MX8MP_IOMUXC_UART2_TXD__UART2_DCE_TX 0x49
514 pinctrl_usb1_vbus: usb1grp {
516 MX8MP_IOMUXC_GPIO1_IO14__USB2_OTG_PWR 0x19
520 pinctrl_usdhc2: usdhc2grp {
522 MX8MP_IOMUXC_SD2_CLK__USDHC2_CLK 0x190
523 MX8MP_IOMUXC_SD2_CMD__USDHC2_CMD 0x1d0
524 MX8MP_IOMUXC_SD2_DATA0__USDHC2_DATA0 0x1d0
525 MX8MP_IOMUXC_SD2_DATA1__USDHC2_DATA1 0x1d0
526 MX8MP_IOMUXC_SD2_DATA2__USDHC2_DATA2 0x1d0
527 MX8MP_IOMUXC_SD2_DATA3__USDHC2_DATA3 0x1d0
528 MX8MP_IOMUXC_GPIO1_IO04__USDHC2_VSELECT 0xc1
532 pinctrl_usdhc2_100mhz: usdhc2-100mhzgrp {
534 MX8MP_IOMUXC_SD2_CLK__USDHC2_CLK 0x194
535 MX8MP_IOMUXC_SD2_CMD__USDHC2_CMD 0x1d4
536 MX8MP_IOMUXC_SD2_DATA0__USDHC2_DATA0 0x1d4
537 MX8MP_IOMUXC_SD2_DATA1__USDHC2_DATA1 0x1d4
538 MX8MP_IOMUXC_SD2_DATA2__USDHC2_DATA2 0x1d4
539 MX8MP_IOMUXC_SD2_DATA3__USDHC2_DATA3 0x1d4
540 MX8MP_IOMUXC_GPIO1_IO04__USDHC2_VSELECT 0xc1
544 pinctrl_usdhc2_200mhz: usdhc2-200mhzgrp {
546 MX8MP_IOMUXC_SD2_CLK__USDHC2_CLK 0x196
547 MX8MP_IOMUXC_SD2_CMD__USDHC2_CMD 0x1d6
548 MX8MP_IOMUXC_SD2_DATA0__USDHC2_DATA0 0x1d6
549 MX8MP_IOMUXC_SD2_DATA1__USDHC2_DATA1 0x1d6
550 MX8MP_IOMUXC_SD2_DATA2__USDHC2_DATA2 0x1d6
551 MX8MP_IOMUXC_SD2_DATA3__USDHC2_DATA3 0x1d6
552 MX8MP_IOMUXC_GPIO1_IO04__USDHC2_VSELECT 0xc1
556 pinctrl_usdhc2_gpio: usdhc2gpiogrp {
558 MX8MP_IOMUXC_SD2_CD_B__GPIO2_IO12 0x1c4
562 pinctrl_usdhc3: usdhc3grp {
564 MX8MP_IOMUXC_NAND_WE_B__USDHC3_CLK 0x190
565 MX8MP_IOMUXC_NAND_WP_B__USDHC3_CMD 0x1d0
566 MX8MP_IOMUXC_NAND_DATA04__USDHC3_DATA0 0x1d0
567 MX8MP_IOMUXC_NAND_DATA05__USDHC3_DATA1 0x1d0
568 MX8MP_IOMUXC_NAND_DATA06__USDHC3_DATA2 0x1d0
569 MX8MP_IOMUXC_NAND_DATA07__USDHC3_DATA3 0x1d0
570 MX8MP_IOMUXC_NAND_RE_B__USDHC3_DATA4 0x1d0
571 MX8MP_IOMUXC_NAND_CE2_B__USDHC3_DATA5 0x1d0
572 MX8MP_IOMUXC_NAND_CE3_B__USDHC3_DATA6 0x1d0
573 MX8MP_IOMUXC_NAND_CLE__USDHC3_DATA7 0x1d0
574 MX8MP_IOMUXC_NAND_CE1_B__USDHC3_STROBE 0x190
578 pinctrl_usdhc3_100mhz: usdhc3-100mhzgrp {
580 MX8MP_IOMUXC_NAND_WE_B__USDHC3_CLK 0x194
581 MX8MP_IOMUXC_NAND_WP_B__USDHC3_CMD 0x1d4
582 MX8MP_IOMUXC_NAND_DATA04__USDHC3_DATA0 0x1d4
583 MX8MP_IOMUXC_NAND_DATA05__USDHC3_DATA1 0x1d4
584 MX8MP_IOMUXC_NAND_DATA06__USDHC3_DATA2 0x1d4
585 MX8MP_IOMUXC_NAND_DATA07__USDHC3_DATA3 0x1d4
586 MX8MP_IOMUXC_NAND_RE_B__USDHC3_DATA4 0x1d4
587 MX8MP_IOMUXC_NAND_CE2_B__USDHC3_DATA5 0x1d4
588 MX8MP_IOMUXC_NAND_CE3_B__USDHC3_DATA6 0x1d4
589 MX8MP_IOMUXC_NAND_CLE__USDHC3_DATA7 0x1d4
590 MX8MP_IOMUXC_NAND_CE1_B__USDHC3_STROBE 0x194
594 pinctrl_usdhc3_200mhz: usdhc3-200mhzgrp {
596 MX8MP_IOMUXC_NAND_WE_B__USDHC3_CLK 0x196
597 MX8MP_IOMUXC_NAND_WP_B__USDHC3_CMD 0x1d6
598 MX8MP_IOMUXC_NAND_DATA04__USDHC3_DATA0 0x1d6
599 MX8MP_IOMUXC_NAND_DATA05__USDHC3_DATA1 0x1d6
600 MX8MP_IOMUXC_NAND_DATA06__USDHC3_DATA2 0x1d6
601 MX8MP_IOMUXC_NAND_DATA07__USDHC3_DATA3 0x1d6
602 MX8MP_IOMUXC_NAND_RE_B__USDHC3_DATA4 0x1d6
603 MX8MP_IOMUXC_NAND_CE2_B__USDHC3_DATA5 0x1d6
604 MX8MP_IOMUXC_NAND_CE3_B__USDHC3_DATA6 0x1d6
605 MX8MP_IOMUXC_NAND_CLE__USDHC3_DATA7 0x1d6
606 MX8MP_IOMUXC_NAND_CE1_B__USDHC3_STROBE 0x196
610 pinctrl_wdog: wdoggrp {
612 MX8MP_IOMUXC_GPIO1_IO02__WDOG1_WDOG_B 0x166