| | |
| | | +}; |
| | | diff --git a/arch/arm/dts/igkboard-imx8mp.dts b/arch/arm/dts/igkboard-imx8mp.dts |
| | | new file mode 100644 |
| | | index 00000000..cddc9470 |
| | | index 00000000..8d99dfad |
| | | --- /dev/null |
| | | +++ b/arch/arm/dts/igkboard-imx8mp.dts |
| | | @@ -0,0 +1,475 @@ |
| | | @@ -0,0 +1,469 @@ |
| | | +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) |
| | | +/* |
| | | + * Copyright 2023 LingYun IoT System Studio. |
| | |
| | | + pinctrl-0 = <&pinctrl_eqos>; |
| | | + phy-mode = "rgmii-id"; |
| | | + phy-handle = <ðphy0>; |
| | | + snps,reset-gpios = <&gpio1 6 GPIO_ACTIVE_LOW>; |
| | | + snps,reset-delays-us = <100000 200000 150000>; |
| | | + status = "okay"; |
| | | + |
| | | + mdio { |
| | | + compatible = "snps,dwmac-mdio"; |
| | | + #address-cells = <1>; |
| | | + #size-cells = <0>; |
| | | + clock-frequency = <5000000>; |
| | | + |
| | | + ethphy0: ethernet-phy@0 { /* YT8521SH-CA */ |
| | | + compatible = "ethernet-phy-ieee802.3-c22"; |
| | |
| | | + pinctrl-0 = <&pinctrl_fec>; |
| | | + phy-mode = "rgmii-id"; |
| | | + phy-handle = <ðphy1>; |
| | | + phy-reset-duration = <200>; |
| | | + phy-reset-post-delay = <150>; |
| | | + phy-reset-gpios = <&gpio1 1 GPIO_ACTIVE_LOW>; |
| | | + |
| | | + fsl,magic-packet; |
| | | + status = "okay"; |
| | | + |
| | | + mdio { |
| | | + #address-cells = <1>; |
| | | + #size-cells = <0>; |
| | | + clock-frequency = <5000000>; |
| | | + |
| | | + ethphy1: ethernet-phy@0 { /* YT8521SH-CA */ |
| | | + compatible = "ethernet-phy-ieee802.3-c22"; |
| | |
| | | + MX8MP_IOMUXC_ENET_TD3__ENET_QOS_RGMII_TD3 0x16 |
| | | + MX8MP_IOMUXC_ENET_TX_CTL__ENET_QOS_RGMII_TX_CTL 0x16 |
| | | + MX8MP_IOMUXC_ENET_TXC__CCM_ENET_QOS_CLOCK_GENERATE_TX_CLK 0x16 |
| | | + MX8MP_IOMUXC_GPIO1_IO06__GPIO1_IO06 0x22 |
| | | + >; |
| | | + }; |
| | | + |
| | |
| | | + MX8MP_IOMUXC_SAI1_TXD3__ENET1_RGMII_TD3 0x16 |
| | | + MX8MP_IOMUXC_SAI1_TXD4__ENET1_RGMII_TX_CTL 0x16 |
| | | + MX8MP_IOMUXC_SAI1_TXD5__ENET1_RGMII_TXC 0x16 |
| | | + MX8MP_IOMUXC_GPIO1_IO01__GPIO1_IO01 0x11 |
| | | + >; |
| | | + }; |
| | | +}; |