diff --git a/arch/arm/dts/ipq806x-ap145_1xx.dts b/arch/arm/dts/ipq806x-ap145_1xx.dts index 8b520e63cb..04e470ec81 100644 --- a/arch/arm/dts/ipq806x-ap145_1xx.dts +++ b/arch/arm/dts/ipq806x-ap145_1xx.dts @@ -21,9 +21,41 @@ aliases { console = "/serial@16340000"; + gmac_gpio = "/gmac1_gpio"; }; serial@16340000 { status = "ok"; }; + + gmac_cfg { + gmac_count = <2>; + + gmac1_cfg { + base = <0x37200000>; + unit = <1>; + is_macsec = <1>; + mac_pwr0 = <0x00080000>; + mac_pwr1 = <0x00040000>; + mac_conn_to_phy = <0>; + phy_interface_type = <7>; + phy_address_count = <1>; + phy_address = <4>; + phy_name = "IPQ MDIO1"; + }; + + gmac2_cfg { + base = <0x37400000>; + unit = <2>; + is_macsec = <1>; + mac_pwr0 = <0x00080000>; + mac_pwr1 = <0x00040000>; + mac_conn_to_phy = <0>; + phy_interface_type = <2>; + phy_address_count = <4>; + phy_address = <0 1 2 3>; + phy_name = "IPQ MDIO2"; + }; + + }; };