From 25d9df670b850a4e3702e084ff249baa1670ae3f Mon Sep 17 00:00:00 2001
From: Mark-MC Lee (李明昌) <Mark-MC.Lee@mediatek.com>
Date: Mon, 10 Feb 2020 09:33:15 +0100
Subject: [PATCH] arm: dts: mediatek: mt7623n-bpi-r2: add ethernet0 alias

Add an ethernet0 alias pointing to gmac0 so that the primary Ethernet
interface is consistently named by the kernel.

Signed-off-by: Mark-MC Lee (李明昌) <Mark-MC.Lee@mediatek.com>
---
--- a/arch/arm/boot/dts/mediatek/mt7623n-bananapi-bpi-r2.dts
+++ b/arch/arm/boot/dts/mediatek/mt7623n-bananapi-bpi-r2.dts
@@ -15,6 +15,7 @@
 
 	aliases {
 		serial2 = &uart2;
+		ethernet0 = &gmac0;
 		mmc0 = &mmc0;
 		mmc1 = &mmc1;
 		led-boot = &led_system_green;
