aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2021-12-18 01:45:44 +0000
committerDaniel Golle <daniel@makrotopia.org>2021-12-18 01:52:19 +0000
commit5a4685cfa246f87af10f32890befbcaa59a7baac (patch)
treea21d4fe9896e971a8a63acb45dd5d1c23768fdc2 /target
parentdf9a62a08584920e3147edec2fd92fce6cf8d77c (diff)
downloadupstream-5a4685cfa246f87af10f32890befbcaa59a7baac.tar.gz
upstream-5a4685cfa246f87af10f32890befbcaa59a7baac.tar.bz2
upstream-5a4685cfa246f87af10f32890befbcaa59a7baac.zip
mediatek: mt7623: bpi-r2: add ethernet alias to device tree
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>
Diffstat (limited to 'target')
-rw-r--r--target/linux/mediatek/patches-5.10/163-dts-mt7623-bpi-r2-ethernet-alias.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/mediatek/patches-5.10/163-dts-mt7623-bpi-r2-ethernet-alias.patch b/target/linux/mediatek/patches-5.10/163-dts-mt7623-bpi-r2-ethernet-alias.patch
new file mode 100644
index 0000000000..b1dd75a414
--- /dev/null
+++ b/target/linux/mediatek/patches-5.10/163-dts-mt7623-bpi-r2-ethernet-alias.patch
@@ -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;