aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts/ar9342_ubnt_powerbeam-m5-xw.dts
diff options
context:
space:
mode:
authorRussell Senior <russell@personaltelco.net>2021-08-12 22:57:39 -0700
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2021-08-22 22:41:41 +0200
commit96db7d2a73d5eeffc35ca5183091c131cf0aba2d (patch)
treefc2152e8f073a98828fd49a88a794169126e6193 /target/linux/ath79/dts/ar9342_ubnt_powerbeam-m5-xw.dts
parent57807f50ded6cf0996284a850084183af13d5894 (diff)
downloadupstream-96db7d2a73d5eeffc35ca5183091c131cf0aba2d.tar.gz
upstream-96db7d2a73d5eeffc35ca5183091c131cf0aba2d.tar.bz2
upstream-96db7d2a73d5eeffc35ca5183091c131cf0aba2d.zip
ath79: rename Ubiquiti PowerBeam M (XW) to PowerBeam M5 (XW)
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>
Diffstat (limited to 'target/linux/ath79/dts/ar9342_ubnt_powerbeam-m5-xw.dts')
-rw-r--r--target/linux/ath79/dts/ar9342_ubnt_powerbeam-m5-xw.dts34
1 files changed, 34 insertions, 0 deletions
diff --git a/target/linux/ath79/dts/ar9342_ubnt_powerbeam-m5-xw.dts b/target/linux/ath79/dts/ar9342_ubnt_powerbeam-m5-xw.dts
new file mode 100644
index 0000000000..e5a9af3905
--- /dev/null
+++ b/target/linux/ath79/dts/ar9342_ubnt_powerbeam-m5-xw.dts
@@ -0,0 +1,34 @@
+// 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>;
+ };
+};
+
+&eth0 {
+ 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>;
+ };
+};