aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2022-03-23 22:06:50 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2022-03-24 09:35:55 +0100
commit56d69ee70d486962c894e2a3757505715f27f54a (patch)
tree1f8f32bc23f7351a05a58f9ed2e893d6fa932edd
parentc6256a6533ecaf56635d8a3c502f3cf61efa16f5 (diff)
downloadupstream-56d69ee70d486962c894e2a3757505715f27f54a.tar.gz
upstream-56d69ee70d486962c894e2a3757505715f27f54a.tar.bz2
upstream-56d69ee70d486962c894e2a3757505715f27f54a.zip
ath79: fix label MAC address for Ubiquiti UniFi
The label has the MAC address of eth0, not the WLAN PHY address. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> (cherry picked from commit 2a02b7049966dc77ae9519ca165f29b75e0dbf0e)
-rw-r--r--target/linux/ath79/dts/ar7241_ubnt_unifi-ap-outdoor-plus.dts1
-rw-r--r--target/linux/ath79/dts/ar7241_ubnt_unifi.dts1
-rw-r--r--target/linux/ath79/dts/ar7241_ubnt_unifi.dtsi4
3 files changed, 2 insertions, 4 deletions
diff --git a/target/linux/ath79/dts/ar7241_ubnt_unifi-ap-outdoor-plus.dts b/target/linux/ath79/dts/ar7241_ubnt_unifi-ap-outdoor-plus.dts
index 68f83f7a66..6bb15f8d46 100644
--- a/target/linux/ath79/dts/ar7241_ubnt_unifi-ap-outdoor-plus.dts
+++ b/target/linux/ath79/dts/ar7241_ubnt_unifi-ap-outdoor-plus.dts
@@ -7,6 +7,7 @@
model = "Ubiquiti UniFi AP Outdoor+";
aliases {
+ label-mac-device = &wifi;
led-boot = &led_white;
led-failsafe = &led_white;
led-running = &led_blue;
diff --git a/target/linux/ath79/dts/ar7241_ubnt_unifi.dts b/target/linux/ath79/dts/ar7241_ubnt_unifi.dts
index 287e8cc7db..c4f3907aaa 100644
--- a/target/linux/ath79/dts/ar7241_ubnt_unifi.dts
+++ b/target/linux/ath79/dts/ar7241_ubnt_unifi.dts
@@ -7,6 +7,7 @@
model = "Ubiquiti UniFi";
aliases {
+ label-mac-device = &eth0;
led-boot = &led_dome_green;
led-failsafe = &led_dome_green;
led-running = &led_dome_green;
diff --git a/target/linux/ath79/dts/ar7241_ubnt_unifi.dtsi b/target/linux/ath79/dts/ar7241_ubnt_unifi.dtsi
index 73ded0f5bd..4713091367 100644
--- a/target/linux/ath79/dts/ar7241_ubnt_unifi.dtsi
+++ b/target/linux/ath79/dts/ar7241_ubnt_unifi.dtsi
@@ -6,10 +6,6 @@
#include <dt-bindings/input/input.h>
/ {
- aliases {
- label-mac-device = &wifi;
- };
-
extosc: ref {
compatible = "fixed-clock";
#clock-cells = <0>;