Skip to contentSkip to conversation

arm64: dts: allwinner: a133: add ethernet aliases

PATCH Applied Andre Przywara 2 participants 2 messages Nov 2 – Nov 4

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: allwinner: a133: add ethernet aliases

When adding the DT nodes and properties for the A133 Eternet support, we missed the ethernet0 alias, which is required by U-Boot to generate a stable, device-specific Ethernet address.

Add the alias, to allow U-Boot using the Ethernet port, and also provide a non-random MAC address to the kernel.

Fixes 8f128f357dfe ("arm64: dts: allwinner: a133-liontron-h-a133l: Add Ethernet support")
---
 arch/arm64/boot/dts/allwinner/sun50i-a133-helperboard.dts      | 1 +
 arch/arm64/boot/dts/allwinner/sun50i-a133-liontron-h-a133l.dts | 1 +
 2 files changed, 2 insertions(+)
arch/arm64/boot/dts/allwinner/sun50i-a133-helperboard.dts +1 -0
index 694c0cacf9064..607864ee13718 100644
@@ -19,6 +19,7 @@ /{
 		     "allwinner,sun50i-a100";
 
 	aliases {
+		ethernet0 = &emac0;
 		serial0 = &uart0;
 	};
 
arch/arm64/boot/dts/allwinner/sun50i-a133-liontron-h-a133l.dts +1 -0
index 90a50910f07b7..81a2914ae3113 100644
@@ -16,6 +16,7 @@ /{
 	compatible = "liontron,h-a133l", "allwinner,sun50i-a100";
 
 	aliases {
+		ethernet0 = &emac0;
 		serial0 = &uart0;
 	};
 

base-commit: 6628e7d4c6b25c8d18f1345e3a20d21829aae7e4

Signature · 1 line
2.46.4
maintainer Applied
#1 lore raw
Quoted 8 lines · Andre Przywara

When adding the DT nodes and properties for the A133 Eternet support, we missed the ethernet0 alias, which is required by U-Boot to generate a stable, device-specific Ethernet address.

Add the alias, to allow U-Boot using the Ethernet port, and also provide a non-random MAC address to the kernel.

[...]

Applied to sunxi/dt-for-7.5 in sunxi, thanks!

[1/1] arm64: dts: allwinner: a133: add ethernet aliases

      https://git.kernel.org/sunxi/linux/c/1cfd4392ab15

Best regards,

Signature · 1 line
Chen-Yu Tsai <[email protected]>