From: INAGAKI Hiroshi Date: Sat, 16 May 2020 06:14:18 +0000 (+0900) Subject: ramips: add label-mac-device for ELECOM WRC-GST devices X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=5aae0c786221f3d1cbb33bc08bdc1c9e7957f4ca;p=openwrt%2Fstaging%2Fwigyori.git 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 [WRC-1900GST] Acked-by: NOGUCHI Hiroshi [split patch, adjust commit title/message] Signed-off-by: Adrian Schmutzler --- 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@0 { + wan: port@0 { status = "okay"; label = "wan"; mtd-mac-address = <&factory 0xe006>;