1// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2/* 3 * Copyright 2023 Emtop Embedded Solutions 4 */ 5 6/dts-v1/; 7 8#include "imx8mm-emtop-som.dtsi" 9 10/ { 11 model = "Emtop Embedded Solutions i.MX8M Mini Baseboard V1"; 12 compatible = "ees,imx8mm-emtop-baseboard", "ees,imx8mm-emtop-som", 13 "fsl,imx8mm"; 14}; 15 16&fec1 { 17 pinctrl-names = "default"; 18 pinctrl-0 = <&pinctrl_fec1>; 19 phy-mode = "rgmii-id"; 20 phy-handle = <ðphy0>; 21 fsl,magic-packet; 22 status = "okay"; 23 24 mdio { 25 #address-cells = <1>; 26 #size-cells = <0>; 27 28 ethphy0: ethernet-phy@4 { 29 compatible = "ethernet-phy-ieee802.3-c22"; 30 reg = <4>; 31 reset-gpios = <&gpio4 22 GPIO_ACTIVE_LOW>; 32 reset-assert-us = <10000>; 33 vddio-supply = <&vddio>; 34 35 vddio: vddio-regulator { 36 regulator-min-microvolt = <1800000>; 37 regulator-max-microvolt = <1800000>; 38 }; 39 }; 40 }; 41}; 42 43&iomuxc { 44 pinctrl_fec1: fec1grp { 45 fsl,pins = < 46 MX8MM_IOMUXC_ENET_MDC_ENET1_MDC 0x3 47 MX8MM_IOMUXC_ENET_MDIO_ENET1_MDIO 0x3 48 MX8MM_IOMUXC_ENET_TD3_ENET1_RGMII_TD3 0x1f 49 MX8MM_IOMUXC_ENET_TD2_ENET1_RGMII_TD2 0x1f 50 MX8MM_IOMUXC_ENET_TD1_ENET1_RGMII_TD1 0x1f 51 MX8MM_IOMUXC_ENET_TD0_ENET1_RGMII_TD0 0x1f 52 MX8MM_IOMUXC_ENET_RD3_ENET1_RGMII_RD3 0x91 53 MX8MM_IOMUXC_ENET_RD2_ENET1_RGMII_RD2 0x91 54 MX8MM_IOMUXC_ENET_RD1_ENET1_RGMII_RD1 0x91 55 MX8MM_IOMUXC_ENET_RD0_ENET1_RGMII_RD0 0x91 56 MX8MM_IOMUXC_ENET_TXC_ENET1_RGMII_TXC 0x1f 57 MX8MM_IOMUXC_ENET_RXC_ENET1_RGMII_RXC 0x91 58 MX8MM_IOMUXC_ENET_RX_CTL_ENET1_RGMII_RX_CTL 0x91 59 MX8MM_IOMUXC_ENET_TX_CTL_ENET1_RGMII_TX_CTL 0x1f 60 MX8MM_IOMUXC_SAI2_RXC_GPIO4_IO22 0x19 61 >; 62 }; 63}; 64