ath79: move dts-v1 statement to ath79.dtsi
[openwrt/staging/mkresin.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 num-cs = <1>;
18
19 flash@0 {
20 compatible = "jedec,spi-nor";
21 reg = <0>;
22 spi-max-frequency = <25000000>;
23
24 partitions {
25 compatible = "fixed-partitions";
26 #address-cells = <1>;
27 #size-cells = <1>;
28
29 partition@0 {
30 label = "u-boot";
31 reg = <0x000000 0x020000>;
32 read-only;
33 };
34
35 partition@20000 {
36 compatible = "tplink,firmware";
37 label = "firmware";
38 reg = <0x020000 0xf90000>;
39 };
40
41 partition@fb0000 {
42 label = "radioDECT";
43 reg = <0xfb0000 0x010000>;
44 read-only;
45 };
46
47 partition@fc0000 {
48 label = "config";
49 reg = <0xfc0000 0x010000>;
50 read-only;
51 };
52
53 romfs: partition@fd0000 {
54 label = "romfs";
55 reg = <0xfd0000 0x010000>;
56 read-only;
57 };
58
59 partition@fe0000 {
60 label = "rom";
61 reg = <0xfe0000 0x010000>;
62 read-only;
63 };
64
65 art: partition@ff0000 {
66 label = "art";
67 reg = <0xff0000 0x010000>;
68 read-only;
69 };
70 };
71 };
72 };
73
74 &eth0 {
75 mtd-mac-address = <&romfs 0xf100>;
76 mtd-mac-address-increment = <1>;
77 };
78
79 &eth1 {
80 mtd-mac-address = <&romfs 0xf100>;
81 };
82
83 &wmac {
84 mtd-cal-data = <&art 0x1000>;
85 mtd-mac-address = <&romfs 0xf100>;
86 };