mirror of https://github.com/aredn/aredn.git
Split rocket-m[52]-xw into different builds (#832)
The Rocket M5 and M2 (XW version) need different DTS files to work so we need two builds.
This commit is contained in:
parent
bf95688115
commit
cb090b250a
|
@ -84,12 +84,12 @@ Rocket M5 XM || 5 | ath79 | generic | ubnt_rocket-m | 64MB | stable | released
|
|||
Rocket M5GPS XM || 5 | ath79 | generic | ubnt_rocket-m | 64MB | stable | released
|
||||
Rocket M2 XM with USB port || 2 | ath79 | generic | ubnt_rocket-m | 64MB | unknown | released
|
||||
Rocket M5 XM with USB port || 5 | ath79 | generic | ubnt_rocket-m | 64MB | unknown | released
|
||||
Rocket M2 XW || 2 | ath79 | generic | ubnt_rocket-m-xw | 64MB | unknown | released
|
||||
Rocket M5 XW || 5 | ath79 | generic | ubnt_rocket-m-xw | 64MB | stable | released
|
||||
Rocket M2 XW || 2 | ath79 | generic | ubnt_rocket-m2-xw | 64MB | stable | nightly
|
||||
Rocket M5 XW || 5 | ath79 | generic | ubnt_rocket-m5-xw | 64MB | stable | nightly
|
||||
Rocket M2 Titanium TI || 2 | ath79 | - | - | 64MB | unknown | released
|
||||
Rocket M2 Titanium XW || 2 | ath79 | generic | ubnt_rocket-m-xw | 64MB | unknown | released
|
||||
Rocket M2 Titanium XW || 2 | ath79 | generic | ubnt_rocket-m2-xw | 64MB | unknown | released
|
||||
Rocket M5 Titanium TI || 5 | ath79 | - | - | 64MB | unknown | released
|
||||
Rocket M5 Titanium XW || 5 | ath79 | generic | ubnt_rocket-m-xw | 64MB | stable | released
|
||||
Rocket M5 Titanium XW || 5 | ath79 | generic | ubnt_rocket-m5-xw | 64MB | stable | released
|
||||
|
||||
|
||||
## TP-Link
|
||||
|
|
|
@ -44,4 +44,5 @@ CONFIG_TARGET_DEVICE_ath79_generic_DEVICE_ubnt_powerbeam-5ac-gen2=y
|
|||
CONFIG_TARGET_DEVICE_ath79_generic_DEVICE_ubnt_powerbridge-m=y
|
||||
CONFIG_TARGET_DEVICE_ath79_generic_DEVICE_ubnt_rocket-5ac-lite=y
|
||||
CONFIG_TARGET_DEVICE_ath79_generic_DEVICE_ubnt_rocket-m=y
|
||||
CONFIG_TARGET_DEVICE_ath79_generic_DEVICE_ubnt_rocket-m-xw=y
|
||||
CONFIG_TARGET_DEVICE_ath79_generic_DEVICE_ubnt_rocket-m2-xw=y
|
||||
CONFIG_TARGET_DEVICE_ath79_generic_DEVICE_ubnt_rocket-m5-xw=y
|
||||
|
|
|
@ -1,31 +1,39 @@
|
|||
--- a/target/linux/ath79/image/generic-ubnt.mk
|
||||
+++ b/target/linux/ath79/image/generic-ubnt.mk
|
||||
@@ -157,6 +157,14 @@
|
||||
@@ -157,6 +157,22 @@
|
||||
endef
|
||||
TARGET_DEVICES += ubnt_powerbeam-m5-xw
|
||||
|
||||
+define Device/ubnt_rocket-m-xw
|
||||
+define Device/ubnt_rocket-m5-xw
|
||||
+ $(Device/ubnt-xw)
|
||||
+ DEVICE_MODEL := Rocket M XW
|
||||
+ DEVICE_PACKAGES += rssileds
|
||||
+ SUPPORTED_DEVICES += rocket-m-xw loco-m-xw
|
||||
+ SUPPORTED_DEVICES += rocket-m-xw rocket-m5-xw loco-m-xw
|
||||
+endef
|
||||
+TARGET_DEVICES += ubnt_rocket-m-xw
|
||||
+TARGET_DEVICES += ubnt_rocket-m5-xw
|
||||
+
|
||||
+define Device/ubnt_rocket-m2-xw
|
||||
+ $(Device/ubnt-xw)
|
||||
+ DEVICE_MODEL := Rocket M2 XW
|
||||
+ DEVICE_PACKAGES += rssileds
|
||||
+ SUPPORTED_DEVICES += rocket-m-xw rocket-m2-xw loco-m-xw
|
||||
+endef
|
||||
+TARGET_DEVICES += ubnt_rocket-m2-xw
|
||||
+
|
||||
define Device/ubnt_rocket-5ac-lite
|
||||
$(Device/ubnt-xc)
|
||||
SOC := qca9558
|
||||
|
||||
--- /dev/null
|
||||
+++ b/target/linux/ath79/dts/ar9342_ubnt_rocket-m-xw.dts
|
||||
+++ b/target/linux/ath79/dts/ar9342_ubnt_rocket-m5-xw.dts
|
||||
@@ -0,0 +1,34 @@
|
||||
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
||||
+
|
||||
+#include "ar9342_ubnt_xw.dtsi"
|
||||
+
|
||||
+/ {
|
||||
+ compatible = "ubnt,rocket-m-xw", "ubnt,xw", "qca,ar9342";
|
||||
+ model = "Ubiquiti Rocket M (XW)";
|
||||
+ compatible = "ubnt,rocket-m5-xw", "ubnt,xw", "qca,ar9342";
|
||||
+ model = "Ubiquiti Rocket M5 (XW)";
|
||||
+};
|
||||
+
|
||||
+&mdio0 {
|
||||
|
@ -53,3 +61,32 @@
|
|||
+ rxdv-delay = <3>;
|
||||
+ };
|
||||
+};
|
||||
--- /dev/null
|
||||
+++ b/target/linux/ath79/dts/ar9342_ubnt_rocket-m2-xw.dts
|
||||
@@ -0,0 +1,26 @@
|
||||
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
||||
+
|
||||
+#include "ar9342_ubnt_xw.dtsi"
|
||||
+
|
||||
+/ {
|
||||
+ compatible = "ubnt,rocket-m2-xw", "ubnt,xw", "qca,ar9342";
|
||||
+ model = "Ubiquiti Rocket M2 (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>;
|
||||
+};
|
||||
|
|
|
@ -41,6 +41,6 @@
|
|||
+endef
|
||||
+TARGET_DEVICES += ubnt_powerbeam-m5-300
|
||||
+
|
||||
define Device/ubnt_rocket-m-xw
|
||||
define Device/ubnt_rocket-m5-xw
|
||||
$(Device/ubnt-xw)
|
||||
DEVICE_MODEL := Rocket M XW
|
||||
DEVICE_MODEL := Rocket M5 XW
|
||||
|
|
Loading…
Reference in New Issue