ath79: provide label MAC address
[oweals/openwrt.git] / target / linux / ath79 / dts / ar7241_ubnt_airrouter.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2 /dts-v1/;
3
4 #include "ar7241_ubnt_xm.dtsi"
5
6 / {
7         compatible = "ubnt,airrouter", "ubnt,xm", "qca,ar7241";
8         model = "Ubiquiti AirRouter";
9
10         aliases {
11                 led-boot = &globe;
12                 led-failsafe = &globe;
13                 led-running = &globe;
14                 led-upgrade = &globe;
15                 label-mac-device = &wifi;
16         };
17
18         airrouter-leds {
19                 compatible = "gpio-leds";
20
21                 globe: globe {
22                         label = "ubnt:green:globe";
23                         gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
24                 };
25
26                 power {
27                         label = "ubnt:green:power";
28                         gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
29                 };
30         };
31 };
32
33 &usb_phy {
34         status = "okay";
35 };
36
37 &usb {
38         status = "okay";
39 };