ath79: update WA/XC devices UBNT_VERSION to 8.7.4
[openwrt/staging/wigyori.git] / target / linux / ath79 / dts / ar7241_netgear_wnr2200-8m.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "ar7241_netgear_wnr2200.dtsi"
4
5 / {
6 compatible = "netgear,wnr2200-8m", "qca,ar7241";
7 model = "Netgear WNR2200 (8M)";
8
9 aliases {
10 label-mac-device = &eth1;
11 };
12 };
13
14 &partitions {
15 partition@0 {
16 label = "u-boot";
17 reg = <0x0 0x40000>;
18 read-only;
19 };
20
21 partition@40000 {
22 label = "u-boot-env";
23 reg = <0x40000 0x10000>;
24 };
25
26 partition@50000 {
27 label = "firmware";
28 reg = <0x50000 0x7a0000>;
29 compatible = "openwrt,uimage", "denx,uimage";
30 openwrt,ih-magic = <0x32323030>;
31 openwrt,ih-type = <IH_TYPE_FILESYSTEM>;
32 };
33
34 art: partition@7f0000 {
35 label = "art";
36 reg = <0x7f0000 0x10000>;
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 compatible = "mac-base";
46 reg = <0x0 0x6>;
47 #nvmem-cell-cells = <1>;
48 };
49
50 macaddr_art_6: macaddr@6 {
51 reg = <0x6 0x6>;
52 };
53 };
54 };
55 };
56
57 &eth0 {
58 nvmem-cells = <&macaddr_art_0 0>;
59 nvmem-cell-names = "mac-address";
60 };
61
62 &eth1 {
63 nvmem-cells = <&macaddr_art_6>;
64 nvmem-cell-names = "mac-address";
65 };
66
67 &ath9k {
68 nvmem-cells = <&macaddr_art_0 1>;
69 nvmem-cell-names = "mac-address";
70 };