ath79: add support for Ubiquiti PowerBeam M2 (XW)
[openwrt/staging/stintel.git] / target / linux / ath79 / dts / ar9342_ubnt_powerbeam-m2-xw.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "ar9342_ubnt_xw.dtsi"
4
5 / {
6 compatible = "ubnt,powerbeam-m2-xw", "ubnt,xw", "qca,ar9342";
7 model = "Ubiquiti PowerBeam M2 (XW)";
8 };
9
10 &mdio0 {
11 status = "okay";
12
13 phy-mask = <4>;
14
15 phy1: ethernet-phy@1 {
16 reg = <1>;
17 };
18 };
19
20 &eth0 {
21 status = "okay";
22
23 /* default for ar934x, except for 1000M and 10M */
24 pll-data = <0x02000000 0x00000101 0x00001313>;
25
26 phy-mode = "rgmii-id";
27 phy-handle = <&phy1>;
28
29 gmac-config {
30 device = <&gmac>;
31 rxd-delay = <3>;
32 rxdv-delay = <3>;
33 };
34 };