ramips: add label MAC address for TP-Link Archer C20i
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Sun, 8 Dec 2019 11:28:22 +0000 (12:28 +0100)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Wed, 11 Dec 2019 21:51:04 +0000 (22:51 +0100)
Current OpenWrt MAC setup:
eth0             &rom 0xf100    :48
eth0.2           eth0+1         :49
wlan0 (5 GHz)    &radio 0x8004  different OUI
wlan1 (2.4 GHz)  &radio 0x4     same OUI as wlan0

Label MAC address corresponds to eth0 (&ethernet).

No additional addresses found in hexdump of rom/radio.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
target/linux/ramips/dts/mt7620a_tplink_archer-c20i.dts

index e085162531bf85400b43960be201207c3c875c38..5ee6d67192bb94cda4145f234909bf27d3019977 100644 (file)
@@ -9,6 +9,10 @@
        compatible = "tplink,archer-c20i", "ralink,mt7620a-soc";
        model = "TP-Link Archer C20i";
 
+       aliases {
+               label-mac-device = &ethernet;
+       };
+
        chosen {
                bootargs = "console=ttyS0,115200";
        };