mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 22:23:27 +00:00
9f3415d30b
This harmonizes the model names for the ath79 Ubiquiti devices by applying a few minor cosmetic adjustments: - Removes hyphens where they are not found in the product names (Ubiquiti uses hyphens only for the abbreviated version names like UAP-AC-PRO which we don't use anyway.) - Add (XM) suffix for DTS model strings to help with distinguishing them from their XW counterparts. - Remove DEVICE_VARIANT for LAP-120 which actually was an alternate device name. - Generally make DTS model names and those from generic-ubnt.mk more consistent. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
41 lines
658 B
Plaintext
41 lines
658 B
Plaintext
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
|
/dts-v1/;
|
|
|
|
#include "ar7241.dtsi"
|
|
#include "ar724x_ubnt_xm.dtsi"
|
|
|
|
/ {
|
|
compatible = "ubnt,airrouter", "ubnt,xm", "qca,ar7241";
|
|
model = "Ubiquiti AirRouter (XM)";
|
|
|
|
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";
|
|
};
|