The commit [1] added support for Ubiquiti PowerBeam M (XW), tested
on the PBE-M5-400. But, it turns out the PBE-M2-400 has a different
ethernet configuration, so make the support specific to the m5 version
in anticipation of adding specific support for the m2 in a separate
commit.
[1]
12eb5b2384a6 ("ath79: add support for Ubiquiti PowerBeam M (XW)")
Signed-off-by: Russell Senior <russell@personaltelco.net>
[fix model name in DTS, format commit reference in commit message]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
+++ /dev/null
-// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
-
-#include "ar9342_ubnt_xw.dtsi"
-
-/ {
- compatible = "ubnt,powerbeam-m-xw", "ubnt,xw", "qca,ar9342";
- model = "Ubiquiti PowerBeam M (XW)";
-};
-
-&mdio0 {
- status = "okay";
-
- phy-mask = <4>;
-
- phy4: ethernet-phy@4 {
- reg = <4>;
- };
-};
-
-ð0 {
- status = "okay";
-
- /* default for ar934x, except for 1000M and 10M */
- pll-data = <0x02000000 0x00000101 0x00001313>;
-
- phy-mode = "rgmii-id";
- phy-handle = <&phy4>;
-
- gmac-config {
- device = <&gmac>;
- rxd-delay = <3>;
- rxdv-delay = <3>;
- };
-};
--- /dev/null
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
+
+#include "ar9342_ubnt_xw.dtsi"
+
+/ {
+ compatible = "ubnt,powerbeam-m5-xw", "ubnt,xw", "qca,ar9342";
+ model = "Ubiquiti PowerBeam M5 (XW)";
+};
+
+&mdio0 {
+ status = "okay";
+
+ phy-mask = <4>;
+
+ phy4: ethernet-phy@4 {
+ reg = <4>;
+ };
+};
+
+ð0 {
+ status = "okay";
+
+ /* default for ar934x, except for 1000M and 10M */
+ pll-data = <0x02000000 0x00000101 0x00001313>;
+
+ phy-mode = "rgmii-id";
+ phy-handle = <&phy4>;
+
+ gmac-config {
+ device = <&gmac>;
+ rxd-delay = <3>;
+ rxdv-delay = <3>;
+ };
+};
ubnt,nanostation-m|\
ubnt,nanostation-m-xw|\
ubnt,picostation-m|\
-ubnt,powerbeam-m-xw|\
+ubnt,powerbeam-m5-xw|\
ubnt,powerbridge-m|\
ubnt,rocket-m)
ucidef_set_rssimon "wlan0" "200000" "1"
ubnt,picostation-m|\
ubnt,powerbeam-5ac-500|\
ubnt,powerbeam-5ac-gen2|\
- ubnt,powerbeam-m-xw|\
+ ubnt,powerbeam-m5-xw|\
ubnt,powerbridge-m|\
ubnt,rocket-5ac-lite|\
ubnt,rocket-m|\
endef
TARGET_DEVICES += ubnt_powerbeam-5ac-gen2
-define Device/ubnt_powerbeam-m-xw
+define Device/ubnt_powerbeam-m5-xw
$(Device/ubnt-xw)
- DEVICE_MODEL := PowerBeam M
+ DEVICE_MODEL := PowerBeam M5
DEVICE_PACKAGES += rssileds
SUPPORTED_DEVICES += loco-m-xw
endef
-TARGET_DEVICES += ubnt_powerbeam-m-xw
+TARGET_DEVICES += ubnt_powerbeam-m5-xw
define Device/ubnt_powerbridge-m
$(Device/ubnt-xm)