aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts/ar7241_ubnt_airrouter.dts
blob: ad2762e20cfda46ac440fc3abb20b2497c3cfbea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
/dts-v1/;

#include "ar7241_ubnt_xm.dtsi"

/ {
	compatible = "ubnt,airrouter", "ubnt,xm", "qca,ar7241";
	model = "Ubiquiti AirRouter";

	aliases {
		led-boot = &led_globe;
		led-failsafe = &led_globe;
		led-running = &led_globe;
		led-upgrade = &led_globe;
		label-mac-device = &wifi;
	};

	leds {
		compatible = "gpio-leds";

		led_globe: globe {
			label = "ubnt:green:globe";
			gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
		};

		power {
			label = "ubnt:green:power";
			gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
		};
	};
};

&usb_phy {
	status = "okay";
};

&usb {
	status = "okay";
};