// 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 = &globe;
		led-failsafe = &globe;
		led-running = &globe;
		led-upgrade = &globe;
	};

	airrouter-leds {
		compatible = "gpio-leds";

		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";
};
