generic: ar8216: fix unknown packet flooding for ar8229/ar8236
[oweals/openwrt.git] / target / linux / ath79 / dts / qca9558_tplink_archer-d7b-v1.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2 /dts-v1/;
3
4 #include "qca9558_tplink_archer-d7.dtsi"
5
6 / {
7         compatible = "tplink,archer-d7b-v1", "qca,qca9558";
8         model = "TP-Link Archer D7b v1";
9
10         aliases {
11                 label-mac-device = &wmac;
12         };
13 };
14
15 &spi {
16         status = "okay";
17
18         num-cs = <1>;
19
20         flash@0 {
21                 compatible = "jedec,spi-nor";
22                 reg = <0>;
23                 spi-max-frequency = <25000000>;
24
25                 partitions {
26                         compatible = "fixed-partitions";
27                         #address-cells = <1>;
28                         #size-cells = <1>;
29
30                         partition@0 {
31                                 label = "u-boot";
32                                 reg = <0x000000 0x020000>;
33                                 read-only;
34                         };
35
36                         partition@20000 {
37                                 compatible = "tplink,firmware";
38                                 label = "firmware";
39                                 reg = <0x020000 0xfa0000>;
40                         };
41
42                         partition@fc0000 {
43                                 label = "config";
44                                 reg = <0xfc0000 0x010000>;
45                                 read-only;
46                         };
47
48                         romfs: partition@fd0000 {
49                                 label = "romfs";
50                                 reg = <0xfd0000 0x010000>;
51                                 read-only;
52                         };
53
54                         partition@fe0000 {
55                                 label = "reserve";
56                                 reg = <0xfe0000 0x010000>;
57                                 read-only;
58                         };
59
60                         art: partition@ff0000 {
61                                 label = "art";
62                                 reg = <0xff0000 0x010000>;
63                                 read-only;
64                         };
65                 };
66         };
67 };
68
69 &eth0 {
70         mtd-mac-address = <&romfs 0xf100>;
71         mtd-mac-address-increment = <1>;
72 };
73
74 &eth1 {
75         mtd-mac-address = <&romfs 0xf100>;
76 };
77
78 &wmac {
79         mtd-cal-data = <&art 0x1000>;
80         mtd-mac-address = <&romfs 0xf100>;
81 };