mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 01:11:14 +00:00
d8ec6dee49
Add some read-only properties to protect partitions from accidental changes. Also fixed two whitespaces error on the way. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
39 lines
592 B
Plaintext
39 lines
592 B
Plaintext
// 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";
|
|
};
|