From d0f800cfbd2daaf37b5ca6a6e617cc540257281a Mon Sep 17 00:00:00 2001
From: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Date: Thu, 15 Aug 2019 15:13:38 +0200
Subject: [PATCH] mpc85xx: provide label MAC address

This patch adds the label MAC address for some devices in
mpc85xx.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
---
 target/linux/mpc85xx/files/arch/powerpc/boot/dts/hiveap-330.dts  | 1 +
 .../linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts  | 1 +
 2 files changed, 2 insertions(+)

diff --git a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/hiveap-330.dts b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/hiveap-330.dts
index c4abc905e9..3ca132d0c0 100644
--- a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/hiveap-330.dts
+++ b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/hiveap-330.dts
@@ -19,6 +19,7 @@
 		led-failsafe = &tricolor_red;
 		led-running = &tricolor_green;
 		led-upgrade = &tricolor_red;
+		label-mac-device = &enet0;
 	};
 
 	chosen {
diff --git a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts
index f9fdfc6465..0e0d74c0d8 100644
--- a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts
+++ b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts
@@ -28,6 +28,7 @@
 		led-failsafe = &system_green;
 		led-running = &system_green;
 		led-upgrade = &system_green;
+		label-mac-device = &enet0;
 	};
 
 	memory {