ath79: qca: remove mac-address-increment
[openwrt/staging/jow.git] / target / linux / ath79 / dts / qca9561_tplink_archer-c60-v3.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "qca9561_tplink_archer-c6x.dtsi"
4
5 / {
6 compatible = "tplink,archer-c60-v3", "qca,qca9561";
7 model = "TP-Link Archer C60 v3";
8
9 aliases {
10 label-mac-device = &eth1;
11 };
12 };
13
14 &leds {
15 wan_amber {
16 label = "amber:wan";
17 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
18 };
19 };
20
21 &spi {
22 status = "okay";
23
24 flash@0 {
25 compatible = "jedec,spi-nor";
26 reg = <0>;
27 spi-max-frequency = <25000000>;
28
29 partitions {
30 compatible = "fixed-partitions";
31 #address-cells = <1>;
32 #size-cells = <1>;
33
34 partition@0 {
35 label = "factory-boot";
36 reg = <0x000000 0x01fb00>;
37 read-only;
38 };
39
40 info: partition@1fb00 {
41 label = "info";
42 reg = <0x01fb00 0x000500>;
43 read-only;
44
45 nvmem-layout {
46 compatible = "fixed-layout";
47 #address-cells = <1>;
48 #size-cells = <1>;
49
50 macaddr_info_8: macaddr@8 {
51 compatible = "mac-base";
52 reg = <0x8 0x6>;
53 #nvmem-cell-cells = <1>;
54 };
55 };
56 };
57
58 partition@20000 {
59 label = "u-boot";
60 reg = <0x020000 0x010000>;
61 read-only;
62 };
63
64 partition@30000 {
65 compatible = "denx,uimage";
66 label = "firmware";
67 reg = <0x030000 0x7a0000>;
68 };
69
70 partition@7d0000 {
71 label = "tplink";
72 reg = <0x7d0000 0x020000>;
73 read-only;
74 };
75
76 art: partition@7f0000 {
77 label = "art";
78 reg = <0x7f0000 0x010000>;
79 read-only;
80 };
81 };
82 };
83 };
84
85 &eth0 {
86 nvmem-cells = <&macaddr_info_8 1>;
87 nvmem-cell-names = "mac-address";
88 };
89
90 &eth1 {
91 nvmem-cells = <&macaddr_info_8 0>;
92 nvmem-cell-names = "mac-address";
93 };
94
95 &wmac {
96 mtd-cal-data = <&art 0x1000>;
97
98 nvmem-cells = <&macaddr_info_8 0>;
99 nvmem-cell-names = "mac-address";
100 };