From 5aae0c786221f3d1cbb33bc08bdc1c9e7957f4ca Mon Sep 17 00:00:00 2001 From: INAGAKI Hiroshi Date: Sat, 16 May 2020 15:14:18 +0900 Subject: 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 --- target/linux/ramips/dts/mt7621_elecom_wrc-gst.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'target') 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>; -- cgit v1.2.3