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