ath79: convert mtd-mac-address to nvmem implementation
[openwrt/openwrt.git] / target / linux / ath79 / dts / qca9563_ubnt_unifiac-lite.dtsi
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "qca9563_ubnt_unifiac.dtsi"
4
5 / {
6 aliases {
7 label-mac-device = &eth0;
8 };
9 };
10
11 &mdio0 {
12 status = "okay";
13
14 phy-mask = <4>;
15 phy4: ethernet-phy@4 {
16 phy-mode = "sgmii";
17 reg = <4>;
18 };
19 };
20
21 &eth0 {
22 status = "okay";
23
24 nvmem-cells = <&macaddr_art_0>;
25 nvmem-cell-names = "mac-address";
26 phy-mode = "sgmii";
27 phy-handle = <&phy4>;
28
29 pll-data = <0x03000000 0x00000101 0x00001313>;
30 };
31
32 &art {
33 compatible = "nvmem-cells";
34 #address-cells = <1>;
35 #size-cells = <1>;
36
37 macaddr_art_0: macaddr@0 {
38 reg = <0x0 0x6>;
39 };
40 };