ramips: add label-mac-device for ELECOM WRC-GST devices
authorINAGAKI Hiroshi <musashino.open@gmail.com>
Sat, 16 May 2020 06:14:18 +0000 (15:14 +0900)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Sun, 21 Jun 2020 18:48:17 +0000 (20:48 +0200)
Update the dtsi for ELECOM WRC-1900GST and WRC-2533GST to add
label-mac-device alias.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
[WRC-1900GST]
Acked-by: NOGUCHI Hiroshi <drvlabo@gmail.com>
[split patch, adjust commit title/message]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
target/linux/ramips/dts/mt7621_elecom_wrc-gst.dtsi

index 567552d8d57a00f7b7f3f30cb9a40ff436e400db..3bfdbe398c9dc8358a1dd6161fb443c5797460e3 100644 (file)
@@ -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@0 {
+               wan: port@0 {
                        status = "okay";
                        label = "wan";
                        mtd-mac-address = <&factory 0xe006>;