[openwrt/openwrt] ramips: add label-mac-device for ELECOM WRC-GST devices

LEDE Commits lede-commits at lists.infradead.org
Sun Jun 21 15:32:41 EDT 2020


adrian pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/5aae0c786221f3d1cbb33bc08bdc1c9e7957f4ca

commit 5aae0c786221f3d1cbb33bc08bdc1c9e7957f4ca
Author: INAGAKI Hiroshi <musashino.open at gmail.com>
AuthorDate: Sat May 16 15:14:18 2020 +0900

    ramips: add label-mac-device for ELECOM WRC-GST devices
    
    Update the dtsi for ELECOM WRC-1900GST and WRC-2533GST to add
    label-mac-device alias.
    
    Signed-off-by: INAGAKI Hiroshi <musashino.open at gmail.com>
    [WRC-1900GST]
    Acked-by: NOGUCHI Hiroshi <drvlabo at gmail.com>
    [split patch, adjust commit title/message]
    Signed-off-by: Adrian Schmutzler <freifunk at adrianschmutzler.de>
---
 target/linux/ramips/dts/mt7621_elecom_wrc-gst.dtsi | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/target/linux/ramips/dts/mt7621_elecom_wrc-gst.dtsi b/target/linux/ramips/dts/mt7621_elecom_wrc-gst.dtsi
index 567552d8d5..3bfdbe398c 100644
--- a/target/linux/ramips/dts/mt7621_elecom_wrc-gst.dtsi
+++ b/target/linux/ramips/dts/mt7621_elecom_wrc-gst.dtsi
@@ -11,6 +11,7 @@
 		led-failsafe = &led_power_green;
 		led-running = &led_power_green;
 		led-upgrade = &led_power_green;
+		label-mac-device = &wan;
 	};
 
 	chosen {
@@ -92,7 +93,7 @@
 
 &switch0 {
 	ports {
-		port at 0 {
+		wan: port at 0 {
 			status = "okay";
 			label = "wan";
 			mtd-mac-address = <&factory 0xe006>;



More information about the lede-commits mailing list