becd2a9f9deaecff78dbcbc2458bdd6b06e653b5
[openwrt/staging/dedeckeh.git] / target / linux / ramips / dts / mt7621_elecom_wrc-1167gs2-b.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "mt7621_elecom_wrc-gs-1pci.dtsi"
4
5 / {
6 compatible = "elecom,wrc-1167gs2-b", "mediatek,mt7621-soc";
7 model = "ELECOM WRC-1167GS2-B";
8 };
9
10 &gmac0 {
11 mtd-mac-address = <&factory 0xfff4>;
12 };
13
14 &wan {
15 mtd-mac-address = <&factory 0xfffa>;
16 };
17
18 &partitions {
19 partition@50000 {
20 compatible = "denx,uimage";
21 label = "firmware";
22 reg = <0x50000 0xb00000>;
23 };
24
25 partition@b50000 {
26 label = "tm_pattern";
27 reg = <0xb50000 0x380000>;
28 read-only;
29 };
30
31 partition@ed0000 {
32 label = "tm_key";
33 reg = <0xed0000 0x80000>;
34 read-only;
35 };
36
37 partition@f50000 {
38 label = "nvram";
39 reg = <0xf50000 0x30000>;
40 read-only;
41 };
42
43 partition@f80000 {
44 label = "user_data";
45 reg = <0xf80000 0x80000>;
46 read-only;
47 };
48 };
49
50 &wifi {
51 mtd-mac-address = <&factory 0x4>;
52 mac-address-increment = <(-1)>;
53 };