Skip to content

Commit

Permalink
ath79: fix label MAC address for Ubiquiti UniFi AP Outdoor+
Browse files Browse the repository at this point in the history
The label has the MAC address of eth0, not the WLAN PHY address. We can
merge the definition back into ar7241_ubnt_unifi.dtsi, as both DTS
derived from it use the same interface for their label MAC addresses
after all.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
  • Loading branch information
neocturne committed Mar 30, 2022
1 parent 9a0155b commit aee9ccf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
Expand Up @@ -7,7 +7,6 @@
model = "Ubiquiti UniFi AP Outdoor+";

aliases {
label-mac-device = &wifi;
led-boot = &led_white;
led-failsafe = &led_white;
led-running = &led_blue;
Expand Down
1 change: 0 additions & 1 deletion target/linux/ath79/dts/ar7241_ubnt_unifi.dts
Expand Up @@ -7,7 +7,6 @@
model = "Ubiquiti UniFi AP";

aliases {
label-mac-device = &eth0;
led-boot = &led_dome_green;
led-failsafe = &led_dome_green;
led-running = &led_dome_green;
Expand Down
4 changes: 4 additions & 0 deletions target/linux/ath79/dts/ar7241_ubnt_unifi.dtsi
Expand Up @@ -6,6 +6,10 @@
#include <dt-bindings/input/input.h>

/ {
aliases {
label-mac-device = &eth0;
};

extosc: ref {
compatible = "fixed-clock";
#clock-cells = <0>;
Expand Down

0 comments on commit aee9ccf

Please sign in to comment.