Re: [PATCH 2/2] ARM: dts: aspeed: add device tree for ASRock Rack ALTRAD8 BMC

From: Rebecca Cran

Date: Tue Sep 16 2025 - 14:40:29 EST


On 9/15/25 18:37, Andrew Lunn wrote:

And does it have a PHY? On an MDIO bus? Unless i'm mistaken, you don't
describe the PHY, a phy-handle pointing to the PHY, and don't have
phy-mode = 'rgmii-id'.

I've been trying to figure this out. Yes, it's connected to a PHY (an RTL8211E).

At the moment it's being detected by OpenBMC as:

ftgmac100 1e680000.ethernet: Read MAC address 9c:6b:00:43:0b:bd from device tree
RTL8211E Gigabit Ethernet 1e680000.ethernet--1:00: attached PHY driver (mii_bus:phy_addr=1e680000.ethernet--1:00, irq=POLL)
ftgmac100 1e680000.ethernet eth1: irq 43, mapped at 7e548db4
ftgmac100 1e680000.ethernet eth1: Link is Up - 1Gbps/Full - flow control rx/tx


aspeed-g5.dtsi has:

mac1: ethernet@1e680000 {
    compatible = "aspeed,ast2500-mac", "faraday,ftgmac100";
    reg = <0x1e680000 0x180>;
    interrupts = <3>;
    clocks = <&syscon ASPEED_CLK_GATE_MAC2CLK>;
    status = "disabled";

};


It doesn't define a PHY, but I presume I can't define one without it conflicting with the definition of mac1.


--
Rebecca Cran