ath79: qca: remove mac-address-increment
[openwrt/openwrt.git] / target / linux / ath79 / dts / qca9558_tplink_archer-d7-v1.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "qca9558_tplink_archer-d7.dtsi"
4
5 / {
6 compatible = "tplink,archer-d7-v1", "qca,qca9558";
7 model = "TP-Link Archer D7 v1";
8
9 aliases {
10 label-mac-device = &wmac;
11 };
12 };
13
14 &spi {
15 status = "okay";
16
17 flash@0 {
18 compatible = "jedec,spi-nor";
19 reg = <0>;
20 spi-max-frequency = <25000000>;
21
22 partitions {
23 compatible = "fixed-partitions";
24 #address-cells = <1>;
25 #size-cells = <1>;
26
27 partition@0 {
28 label = "u-boot";
29 reg = <0x000000 0x020000>;
30 read-only;
31 };
32
33 partition@20000 {
34 compatible = "tplink,firmware";
35 label = "firmware";
36 reg = <0x020000 0xf90000>;
37 };
38
39 partition@fb0000 {
40 label = "radioDECT";
41 reg = <0xfb0000 0x010000>;
42 read-only;
43 };
44
45 partition@fc0000 {
46 label = "config";
47 reg = <0xfc0000 0x010000>;
48 read-only;
49 };
50
51 romfs: partition@fd0000 {
52 label = "romfs";
53 reg = <0xfd0000 0x010000>;
54 read-only;
55
56 nvmem-layout {
57 compatible = "fixed-layout";
58 #address-cells = <1>;
59 #size-cells = <1>;
60
61 macaddr_romfs_f100: macaddr@f100 {
62 compatible = "mac-base";
63 reg = <0xf100 0x6>;
64 #nvmem-cell-cells = <1>;
65 };
66 };
67 };
68
69 partition@fe0000 {
70 label = "rom";
71 reg = <0xfe0000 0x010000>;
72 read-only;
73 };
74
75 art: partition@ff0000 {
76 label = "art";
77 reg = <0xff0000 0x010000>;
78 read-only;
79 };
80 };
81 };
82 };
83
84 &eth0 {
85 nvmem-cells = <&macaddr_romfs_f100 1>;
86 nvmem-cell-names = "mac-address";
87 };
88
89 &eth1 {
90 nvmem-cells = <&macaddr_romfs_f100 0>;
91 nvmem-cell-names = "mac-address";
92 };
93
94 &wmac {
95 mtd-cal-data = <&art 0x1000>;
96 nvmem-cells = <&macaddr_romfs_f100 0>;
97 nvmem-cell-names = "mac-address";
98 };