ath79: update WA/XC devices UBNT_VERSION to 8.7.4
[openwrt/staging/wigyori.git] / target / linux / ath79 / dts / ar7161_netgear_wndr3700-v2.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "ar7161_netgear_wndr.dtsi"
4
5 / {
6 compatible = "netgear,wndr3700-v2", "qca,ar7161";
7 model = "Netgear WNDR3700 v2";
8
9 aliases {
10 label-mac-device = &eth0;
11 };
12 };
13
14 &partitions {
15 partition@0 {
16 label = "u-boot";
17 reg = <0x000000 0x050000>;
18 read-only;
19 };
20
21 partition@50000 {
22 label = "u-boot-env";
23 reg = <0x050000 0x020000>;
24 };
25
26 partition@70000 {
27 label = "firmware";
28 reg = <0x070000 0xf80000>;
29 compatible = "openwrt,uimage", "denx,uimage";
30 openwrt,ih-magic = <0x33373031>;
31 openwrt,ih-type = <IH_TYPE_FILESYSTEM>;
32 };
33
34 art: partition@ff0000 {
35 label = "art";
36 reg = <0xff0000 0x010000>;
37 read-only;
38
39 nvmem-layout {
40 compatible = "fixed-layout";
41 #address-cells = <1>;
42 #size-cells = <1>;
43
44 macaddr_art_0: macaddr@0 {
45 reg = <0x0 0x6>;
46 };
47
48 macaddr_art_6: macaddr@6 {
49 reg = <0x6 0x6>;
50 };
51
52 macaddr_art_c: macaddr@c {
53 reg = <0xc 0x6>;
54 };
55
56 cal_art_1000: cal@1000 {
57 reg = <0x1000 0xeb8>;
58 };
59
60 cal_art_5000: cal@5000 {
61 reg = <0x5000 0xeb8>;
62 };
63 };
64 };
65 };
66
67 &ath9k0 {
68 nvmem-cells = <&macaddr_art_c>, <&cal_art_1000>;
69 nvmem-cell-names = "mac-address", "calibration";
70 };
71
72 &ath9k1 {
73 nvmem-cells = <&macaddr_art_0>, <&cal_art_5000>;
74 nvmem-cell-names = "mac-address", "calibration";
75 };
76
77 &eth0 {
78 nvmem-cells = <&macaddr_art_0>;
79 nvmem-cell-names = "mac-address";
80 };
81
82 &eth1 {
83 nvmem-cells = <&macaddr_art_6>;
84 nvmem-cell-names = "mac-address";
85 };