aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
diff options
context:
space:
mode:
authorINAGAKI Hiroshi <musashino.open@gmail.com>2020-05-16 15:14:18 +0900
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-06-21 20:48:17 +0200
commit5aae0c786221f3d1cbb33bc08bdc1c9e7957f4ca (patch)
treea72e309f79c0c37b7f6b24cc674f60c59d1f6170 /target/linux/ramips
parentd93da0d0169b2ca90b888e4bb782c259e5ddf2fe (diff)
downloadupstream-5aae0c786221f3d1cbb33bc08bdc1c9e7957f4ca.tar.gz
upstream-5aae0c786221f3d1cbb33bc08bdc1c9e7957f4ca.tar.bz2
upstream-5aae0c786221f3d1cbb33bc08bdc1c9e7957f4ca.zip
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@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>
Diffstat (limited to 'target/linux/ramips')
-rw-r--r--target/linux/ramips/dts/mt7621_elecom_wrc-gst.dtsi3
1 files changed, 2 insertions, 1 deletions
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>;