Skip to content

Commit

Permalink
mediatek: mt7623: bpi-r2: add ethernet alias to device tree
Browse files Browse the repository at this point in the history
Add ethernet0 alias in device tree to make U-Boot inherit the Ethernet
mac address (set via environment variable 'ethaddr') down to Linux.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
  • Loading branch information
dangowrt committed Dec 18, 2021
1 parent df9a62a commit 5a4685c
Showing 1 changed file with 10 additions and 0 deletions.
@@ -0,0 +1,10 @@
--- a/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts
+++ b/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts
@@ -15,6 +15,7 @@

aliases {
serial2 = &uart2;
+ ethernet0 = &gmac0;
mmc0 = &mmc0;
mmc1 = &mmc1;
led-boot = &led_system_green;

0 comments on commit 5a4685c

Please sign in to comment.