045cbe8985067aaf0167c112e060b5dc608a8e21
[openwrt/staging/dedeckeh.git] / target / linux / ath79 / dts / ar9342_ubnt_wa_1port.dtsi
1 // SPDX-License-Identifier: GPL-2.0-only
2
3 #include "ar9342_ubnt_wa.dtsi"
4
5 &mdio0 {
6 status = "okay";
7
8 phy-mask = <4>;
9
10 phy4: ethernet-phy@4 {
11 reg = <4>;
12 };
13 };
14
15 &eth0 {
16 status = "okay";
17
18 /* default for ar934x, except for 1000M and 10M */
19 pll-data = <0x02000000 0x00000101 0x00001313>;
20
21 nvmem-cells = <&macaddr_art_0>;
22 nvmem-cell-names = "mac-address";
23
24 phy-mode = "rgmii-id";
25 phy-handle = <&phy4>;
26
27 gmac-config {
28 device = <&gmac>;
29 rxd-delay = <3>;
30 rxdv-delay = <3>;
31 };
32 };