[PATCH] arm64: dts: mediatek: Set ethernet alias for mt8365-evk

From: Sjoerd Simons
Date: Fri Dec 20 2024 - 04:55:35 EST


Configure an the ethernet alias to match the ethernet controller (even
if it's off by default). This allows e.g. u-boot to configure the mac
address on boot properly

Signed-off-by: Sjoerd Simons <sjoerd@xxxxxxxxxxxxx>
---

arch/arm64/boot/dts/mediatek/mt8365-evk.dts | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/arm64/boot/dts/mediatek/mt8365-evk.dts b/arch/arm64/boot/dts/mediatek/mt8365-evk.dts
index 7d90112a7e27..44c61094c4d5 100644
--- a/arch/arm64/boot/dts/mediatek/mt8365-evk.dts
+++ b/arch/arm64/boot/dts/mediatek/mt8365-evk.dts
@@ -21,6 +21,7 @@ / {

aliases {
serial0 = &uart0;
+ ethernet = &ethernet;
};

chosen {
--
2.45.2