ath79: remove redundant nvmem definitions
[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 phy-mask = <4>;
9
10 phy0: ethernet-phy@0 {
11 phy-mode = "rgmii";
12 reg = <0>;
13
14 qca,ar8327-initvals = <
15 0x04 0x07600000 /* PORT0 PAD MODE CTRL */
16 0x58 0xffb7ffb7 /* LED_CTRL2 */
17 0x5c 0x03ffff00 /* LED_CTRL3 */
18 0x7c 0x0000007e /* PORT0_STATUS */
19 >;
20 };
21 };
22
23 &eth0 {
24 status = "okay";
25
26 /* default for ar934x, except for 1000M and 10M */
27 pll-data = <0x06000000 0x00000101 0x00001313>;
28
29 nvmem-cells = <&macaddr_art_0>;
30 nvmem-cell-names = "mac-address";
31
32 phy-mode = "rgmii";
33 phy-handle = <&phy0>;
34
35 gmac-config {
36 device = <&gmac>;
37 rxd-delay = <2>;
38 rxdv-delay = <2>;
39 };
40 };