ath79: update WA/XC devices UBNT_VERSION to 8.7.4
[openwrt/staging/wigyori.git] / target / linux / ath79 / dts / ar9331_tplink_tl-wr710n-8m.dtsi
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "ar9331_tplink_tl-wr710n.dtsi"
4
5 / {
6 aliases {
7 label-mac-device = &eth0;
8 };
9 };
10
11 &spi {
12 status = "okay";
13
14 flash@0 {
15 compatible = "jedec,spi-nor";
16 reg = <0>;
17 spi-max-frequency = <25000000>;
18
19 partitions {
20 compatible = "fixed-partitions";
21 #address-cells = <1>;
22 #size-cells = <1>;
23
24 uboot: partition@0 {
25 reg = <0x0 0x20000>;
26 label = "u-boot";
27 read-only;
28
29 nvmem-layout {
30 compatible = "fixed-layout";
31 #address-cells = <1>;
32 #size-cells = <1>;
33
34 macaddr_uboot_1fc00: macaddr@1fc00 {
35 compatible = "mac-base";
36 reg = <0x1fc00 0x6>;
37 #nvmem-cell-cells = <1>;
38 };
39 };
40 };
41
42 partition@20000 {
43 compatible = "tplink,firmware";
44 reg = <0x20000 0x7d0000>;
45 label = "firmware";
46 };
47
48 art: partition@7f0000 {
49 reg = <0x7f0000 0x10000>;
50 label = "art";
51 read-only;
52 };
53 };
54 };
55 };
56
57 &eth0 {
58 nvmem-cells = <&macaddr_uboot_1fc00 0>;
59 nvmem-cell-names = "mac-address";
60 };
61
62 &eth1 {
63 nvmem-cells = <&macaddr_uboot_1fc00 (-1)>;
64 nvmem-cell-names = "mac-address";
65 };
66
67 &wmac {
68 mtd-cal-data = <&art 0x1000>;
69
70 nvmem-cells = <&macaddr_uboot_1fc00 0>;
71 nvmem-cell-names = "mac-address";
72 };