mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 15:02:32 +00:00
96db7d2a73
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] 12eb5b2384
("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>
35 lines
543 B
Plaintext
35 lines
543 B
Plaintext
// 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>;
|
|
};
|
|
};
|