ath79: generalize ubnt_xm dtsi for ar7240 and ar7241
[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.dtsi"
5 #include "ar724x_ubnt_xm.dtsi"
6
7 / {
8         compatible = "ubnt,airrouter", "ubnt,xm", "qca,ar7241";
9         model = "Ubiquiti AirRouter";
10
11         aliases {
12                 led-boot = &led_globe;
13                 led-failsafe = &led_globe;
14                 led-running = &led_globe;
15                 led-upgrade = &led_globe;
16                 label-mac-device = &wifi;
17         };
18
19         leds {
20                 compatible = "gpio-leds";
21
22                 led_globe: globe {
23                         label = "ubnt:green:globe";
24                         gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
25                 };
26
27                 power {
28                         label = "ubnt:green:power";
29                         gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
30                 };
31         };
32 };
33
34 &usb_phy {
35         status = "okay";
36 };
37
38 &usb {
39         status = "okay";
40 };