ath79: fix nanobeam ac ethernet interface
[openwrt/openwrt.git] / target / linux / ath79 / dts / ar9342_ubnt_litebeam-ac-gen2.dts
1 // SPDX-License-Identifier: GPL-2.0-only
2
3 #include "ar9342_ubnt_wa.dtsi"
4
5 / {
6 compatible = "ubnt,litebeam-ac-gen2", "ubnt,wa", "qca,ar9342";
7 model = "Ubiquiti LiteBeam AC Gen2";
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 };
36
37 &wmac {
38 status = "okay";
39
40 mtd-cal-data = <&art 0x1000>;
41 };