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