ath79: qca: remove mac-address-increment
[openwrt/staging/hauke.git] / target / linux / ath79 / dts / qca9561_tplink_archer-c60-v1.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-v1", "qca,qca9561";
7 model = "TP-Link Archer C60 v1";
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 = "u-boot";
41 reg = <0x000000 0x010000>;
42 read-only;
43 };
44
45 info: partition@10000 {
46 label = "info";
47 reg = <0x010000 0x010000>;
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 compatible = "denx,uimage";
65 label = "firmware";
66 reg = <0x020000 0x7c0000>;
67 };
68
69 partition@7e0000 {
70 label = "tplink";
71 reg = <0x7e0000 0x010000>;
72 read-only;
73 };
74
75 art: partition@7f0000 {
76 label = "art";
77 reg = <0x7f0000 0x010000>;
78 read-only;
79 };
80 };
81 };
82 };
83
84 &eth0 {
85 nvmem-cells = <&macaddr_info_8 1>;
86 nvmem-cell-names = "mac-address";
87 };
88
89 &eth1 {
90 nvmem-cells = <&macaddr_info_8 0>;
91 nvmem-cell-names = "mac-address";
92 };
93
94 &wmac {
95 mtd-cal-data = <&art 0x1000>;
96
97 nvmem-cells = <&macaddr_info_8 0>;
98 nvmem-cell-names = "mac-address";
99 };