ath79: update WA/XC devices UBNT_VERSION to 8.7.4
[openwrt/staging/wigyori.git] / target / linux / ath79 / dts / ar9342_ubnt_wa_2port.dtsi
1 // SPDX-License-Identifier: GPL-2.0-only
2
3 #include "ar9342_ubnt_wa.dtsi"
4
5 &mdio0 {
6 status = "okay";
7
8 phy0: ethernet-phy@0 {
9 phy-mode = "rgmii";
10 reg = <0>;
11
12 qca,ar8327-initvals = <
13 0x04 0x07600000 /* PORT0 PAD MODE CTRL */
14 0x58 0xffb7ffb7 /* LED_CTRL2 */
15 0x5c 0x03ffff00 /* LED_CTRL3 */
16 0x7c 0x0000007e /* PORT0_STATUS */
17 >;
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 nvmem-cells = <&macaddr_art_0>;
28 nvmem-cell-names = "mac-address";
29
30 phy-mode = "rgmii";
31 phy-handle = <&phy0>;
32
33 gmac-config {
34 device = <&gmac>;
35 rxd-delay = <2>;
36 rxdv-delay = <2>;
37 };
38 };