From: Daniel Golle Date: Sat, 18 Dec 2021 01:45:44 +0000 (+0000) Subject: mediatek: mt7623: bpi-r2: add ethernet alias to device tree X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=5a4685cfa246f87af10f32890befbcaa59a7baac;p=openwrt%2Fstaging%2Fthess.git 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 --- 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;