]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
sunxi: a527: radxa/avaota: enable Ethernet
authorAndre Przywara <andre.przywara@arm.com>
Mon, 28 Jul 2025 23:24:52 +0000 (00:24 +0100)
committerAndre Przywara <andre.przywara@arm.com>
Mon, 11 Aug 2025 23:50:57 +0000 (00:50 +0100)
The first of the two Ethernet controllers in the Allwinner A527/T527 is
compatible to the MAC from the previous SoCs. Consequently the recent DT
update brought use the MAC node, using the A64 compatible string as the
fallback, which works out of the box.

Enable the sun8i-emac Ethernet driver in the defconfig for the Radxa and
the Avaota boards, so that kernels and other data can be loaded via
TFTP. Please note that only one of the Ethernet sockets will work, the
second MAC is not compatible, and needs a new U-Boot driver. The
X96QPro+ TV box unfortunately uses only this second EMAC, so Ethernet
cannot be used there at the moment.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
configs/avaota-a1_defconfig
configs/radxa-cubie-a5e_defconfig

index 55457edd3b3891e09d348dc6c6843b63c9b1aa8a..a4582c00d5b527deb622f1424b820a067953dcbb 100644 (file)
@@ -22,6 +22,8 @@ CONFIG_SYS_I2C_MVTWSI=y
 CONFIG_SYS_I2C_SLAVE=0x7f
 CONFIG_SYS_I2C_SPEED=400000
 CONFIG_SUPPORT_EMMC_BOOT=y
+CONFIG_PHY_REALTEK=y
+CONFIG_SUN8I_EMAC=y
 CONFIG_REGULATOR_AXP=y
 CONFIG_AXP717_POWER=y
 CONFIG_AXP_I2C_ADDRESS=0x35
index 88019acf5762994d62ef6a8e0a6ea78659dde922..9d204ef55483d30f4cace36e2f696c7d02bff552 100644 (file)
@@ -22,6 +22,8 @@ CONFIG_SYS_I2C_MVTWSI=y
 CONFIG_SYS_I2C_SLAVE=0x7f
 CONFIG_SYS_I2C_SPEED=400000
 CONFIG_SUPPORT_EMMC_BOOT=y
+CONFIG_PHY_REALTEK=y
+CONFIG_SUN8I_EMAC=y
 CONFIG_REGULATOR_AXP=y
 CONFIG_AXP717_POWER=y
 CONFIG_AXP_DCDC2_VOLT=920