[FS#4032] Uplink ethernet ports not connecting at gigabit speeds (Ath79)

OpenWrt Bugs openwrt-bugs at lists.openwrt.org
Sat Oct 9 07:40:37 PDT 2021


The following task has a new comment added:

FS#4032 - Uplink ethernet ports not connecting at gigabit speeds (Ath79)
User who did this - Boris Gjenero (dreamlayers)

The transition from ar71xx to ath79 involved a change from using C code to configure the system to using device trees. The next thing I'd like to see is whether the last ar71xx build works and the first ath79 fails. Maybe the device tree never properly set up the device like it was set up via the old method?

You can see the old style configuration at https://github.com/openwrt/openwrt/blob/a5e404d1923d135d335e4ece83f87e6e891396e2/target/linux/ar71xx/files/arch/mips/ath79/mach-wzr-hp-ag300h.c#L157

	ath79_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_RGMII;
	ath79_eth0_data.speed = SPEED_1000;
	ath79_eth0_data.duplex = DUPLEX_FULL;
	ath79_eth0_data.phy_mask = BIT(0);
	ath79_eth1_data.phy_if_mode = PHY_INTERFACE_MODE_RGMII;
	ath79_eth1_data.phy_mask = BIT(4);

The phy_mask there seems to have been forgotten, and some other devices have them in the mdio0 section of the device tree. So, I tried adding "phy-mask = ;" below "status = "okay";" in target/linux/ath79/dts/ar7161_buffalo_wzr-hp-ag300h.dtsi of openwrt-21.02. It did not help.


More information can be found at the following URL:

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.

More information about the openwrt-bugs mailing list