ath79: TP-Link EAP245 v3: convert radios to nvmem-cells
[openwrt/openwrt.git] / target / linux / ath79 / dts / qca9563_tplink_tl-wpa8630-v1.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "qca9563_tplink_tl-wpa8630.dtsi"
4
5 / {
6 compatible = "tplink,tl-wpa8630-v1", "qca,qca9563";
7 model = "TP-Link TL-WPA8630 v1";
8
9 aliases {
10 label-mac-device = &eth0;
11 };
12 };
13
14 &partitions {
15 uboot: partition@0 {
16 label = "u-boot";
17 reg = <0x000000 0x010000>;
18 read-only;
19 };
20
21 partition@10000 {
22 compatible = "tplink,firmware";
23 label = "firmware";
24 reg = <0x010000 0x7d0000>;
25 };
26
27 partition@7e0000 {
28 label = "mib0";
29 reg = <0x7e0000 0x010000>;
30 read-only;
31 };
32
33 art: partition@7f0000 {
34 label = "art";
35 reg = <0x7f0000 0x010000>;
36 read-only;
37 };
38 };
39
40 &eth0 {
41 nvmem-cells = <&macaddr_uboot_fc00>;
42 nvmem-cell-names = "mac-address";
43 };
44
45 &wmac {
46 mtd-cal-data = <&art 0x1000>;
47
48 nvmem-cells = <&macaddr_uboot_fc00>;
49 nvmem-cell-names = "mac-address";
50 };
51
52 &uboot {
53 compatible = "nvmem-cells";
54 #address-cells = <1>;
55 #size-cells = <1>;
56
57 macaddr_uboot_fc00: macaddr@fc00 {
58 reg = <0xfc00 0x6>;
59 };
60 };