--- /dev/null
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
+
+#include "ar9342_ubnt_xw.dtsi"
+
+/ {
+ compatible = "ubnt,nanobeam-m5-xw", "ubnt,xw", "qca,ar9342";
+ model = "Ubiquiti NanoBeam M5 (XW)";
+};
+
+&mdio0 {
+ status = "okay";
+
+ phy-mask = <0x1>;
+
+ phy1: ethernet-phy@1 {
+ reg = <1>;
+ phy-mode = "mii";
+ reset-gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
+ };
+};
+
+ð0 {
+ status = "okay";
+
+ phy-handle = <&phy1>;
+};
+++ /dev/null
-// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
-
-#include "ar9342_ubnt_xw.dtsi"
-
-/ {
- compatible = "ubnt,nanobeam-m5-xw", "ubnt,xw", "qca,ar9342";
- model = "Ubiquiti NanoBeam M5 (XW)";
-};
-
-&mdio0 {
- status = "okay";
-
- phy-mask = <0x1>;
-
- phy1: ethernet-phy@1 {
- reg = <1>;
- phy-mode = "mii";
- reset-gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
- };
-};
-
-ð0 {
- status = "okay";
-
- phy-handle = <&phy1>;
-};
endef
TARGET_DEVICES += ubnt_nanobeam-ac-xc
-define Device/ubnt_nanobeam-m5
+define Device/ubnt_nanobeam-m5-xw
$(Device/ubnt-xw)
DEVICE_MODEL := NanoBeam M5
DEVICE_PACKAGES += rssileds
SUPPORTED_DEVICES += loco-m-xw
endef
-TARGET_DEVICES += ubnt_nanobeam-m5
+TARGET_DEVICES += ubnt_nanobeam-m5-xw
define Device/ubnt_nanobridge-m
$(Device/ubnt-xm)