ramips: correct the PCIe port number for Unielec u7621-01
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7621_elecom_wrc-1750gst2.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "mt7621_elecom_wrc-gs-2pci.dtsi"
4
5 / {
6 compatible = "elecom,wrc-1750gst2", "mediatek,mt7621-soc";
7 model = "ELECOM WRC-1750GST2";
8 };
9
10 &partitions {
11 partition@50000 {
12 compatible = "denx,uimage";
13 label = "firmware";
14 reg = <0x50000 0x1800000>;
15 };
16
17 partition@1850000 {
18 label = "tm_pattern";
19 reg = <0x1850000 0x400000>;
20 read-only;
21 };
22
23 partition@1c50000 {
24 label = "tm_key";
25 reg = <0x1c50000 0x100000>;
26 read-only;
27 };
28
29 partition@1d50000 {
30 label = "nvram";
31 reg = <0x1d50000 0xb0000>;
32 read-only;
33 };
34
35 partition@1e00000 {
36 label = "user_data";
37 reg = <0x1e00000 0x200000>;
38 read-only;
39 };
40 };
41
42 &gmac0 {
43 nvmem-cells = <&macaddr_factory_e000>;
44 nvmem-cell-names = "mac-address";
45 };
46
47 &gmac1 {
48 nvmem-cells = <&macaddr_factory_e006>;
49 nvmem-cell-names = "mac-address";
50 };
51
52 &factory {
53 nvmem-layout {
54 compatible = "fixed-layout";
55 #address-cells = <1>;
56 #size-cells = <1>;
57
58 macaddr_factory_e000: macaddr@e000 {
59 reg = <0xe000 0x6>;
60 };
61
62 macaddr_factory_e006: macaddr@e006 {
63 reg = <0xe006 0x6>;
64 };
65 };
66 };