summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Przywara <[email protected]>2025-07-29 00:24:52 +0100
committerAndre Przywara <[email protected]>2025-08-12 00:50:57 +0100
commit50dfe957c622addf3f4a70cbdc760af8aee565dd (patch)
tree869759468c8cb0f5b9be1b2955c365863ced0e78
parent06b18e1ed512a3c312f9f04ae25b7966cf9eb909 (diff)
sunxi: a527: radxa/avaota: enable Ethernet
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 <[email protected]> Reviewed-by: Jernej Skrabec <[email protected]>
-rw-r--r--configs/avaota-a1_defconfig2
-rw-r--r--configs/radxa-cubie-a5e_defconfig2
2 files changed, 4 insertions, 0 deletions
diff --git a/configs/avaota-a1_defconfig b/configs/avaota-a1_defconfig
index 55457edd3b3..a4582c00d5b 100644
--- a/configs/avaota-a1_defconfig
+++ b/configs/avaota-a1_defconfig
@@ -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
diff --git a/configs/radxa-cubie-a5e_defconfig b/configs/radxa-cubie-a5e_defconfig
index 88019acf576..9d204ef5548 100644
--- a/configs/radxa-cubie-a5e_defconfig
+++ b/configs/radxa-cubie-a5e_defconfig
@@ -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