ath79: fix nanostation ac loco ethernet interface
[openwrt/staging/chunkeey.git] / target / linux / ath79 / dts / ar9342_ubnt_nanostation-ac-loco.dts
1 // SPDX-License-Identifier: GPL-2.0-only
2
3 #include "ar9342_ubnt_wa.dtsi"
4
5 / {
6 compatible = "ubnt,nanostation-ac-loco", "ubnt,wa", "qca,ar9342";
7 model = "Ubiquiti Nanostation AC loco (WA)";
8 };
9
10 &mdio0 {
11 status = "okay";
12
13 phy-mask = <4>;
14 phy4: ethernet-phy@4 {
15 reg = <4>;
16 };
17 };
18
19 &eth0 {
20 status = "okay";
21
22 /* default for ar934x, except for 1000M and 10M */
23 pll-data = <0x02000000 0x00000101 0x00001313>;
24
25 mtd-mac-address = <&art 0x0>;
26
27 phy-mode = "rgmii-id";
28 phy-handle = <&phy4>;
29
30 gmac-config {
31 device = <&gmac>;
32 rxd-delay = <3>;
33 rxdv-delay = <3>;
34 };
35 };