ramips: add support for ELECOM WRC-1167GST2
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7621_elecom_wrc-1167gst2.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-1167gst2", "mediatek,mt7621-soc";
7 model = "ELECOM WRC-1167GST2";
8 };
9
10 &gmac0 {
11 mtd-mac-address = <&factory 0xe000>;
12 };
13
14 &wan {
15 mtd-mac-address = <&factory 0xe006>;
16 };
17
18 &partitions {
19 partition@50000 {
20 compatible = "denx,uimage";
21 label = "firmware";
22 reg = <0x50000 0x1800000>;
23 };
24
25 partition@1850000 {
26 label = "tm_pattern";
27 reg = <0x1850000 0x400000>;
28 read-only;
29 };
30
31 partition@1c50000 {
32 label = "tm_key";
33 reg = <0x1c50000 0x100000>;
34 read-only;
35 };
36
37 partition@1d50000 {
38 label = "nvram";
39 reg = <0x1d50000 0xb0000>;
40 read-only;
41 };
42
43 partition@1e00000 {
44 label = "user_data";
45 reg = <0x1e00000 0x200000>;
46 read-only;
47 };
48 };
49
50 &wifi {
51 mtd-mac-address = <&factory 0xe006>;
52 mtd-mac-address-increment = <1>;
53 };