From 5a4685cfa246f87af10f32890befbcaa59a7baac Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Sat, 18 Dec 2021 01:45:44 +0000 Subject: [PATCH] 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 --- .../163-dts-mt7623-bpi-r2-ethernet-alias.patch | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 target/linux/mediatek/patches-5.10/163-dts-mt7623-bpi-r2-ethernet-alias.patch 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 00000000000..b1dd75a4140 --- /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; -- 2.30.2