From 96db7d2a73d5eeffc35ca5183091c131cf0aba2d Mon Sep 17 00:00:00 2001 From: Russell Senior Date: Thu, 12 Aug 2021 22:57:39 -0700 Subject: 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 [fix model name in DTS, format commit reference in commit message] Signed-off-by: Adrian Schmutzler --- .../ath79/dts/ar9342_ubnt_powerbeam-m5-xw.dts | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 target/linux/ath79/dts/ar9342_ubnt_powerbeam-m5-xw.dts (limited to 'target/linux/ath79/dts/ar9342_ubnt_powerbeam-m5-xw.dts') 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>; + }; +}; + +ð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>; + }; +}; -- cgit v1.2.3