ramips: mt7621-dts: mux phy0/4 to gmac1
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7621_elecom_wrc-2533gst.dts
1 #include "mt7621_elecom_wrc-gs-2pci.dtsi"
2
3 / {
4 compatible = "elecom,wrc-2533gst", "mediatek,mt7621-soc";
5 model = "ELECOM WRC-2533GST";
6 };
7
8 &partitions {
9 partition@50000 {
10 compatible = "denx,uimage";
11 label = "firmware";
12 reg = <0x50000 0xb00000>;
13 };
14
15 partition@b50000 {
16 label = "tm_pattern";
17 reg = <0xb50000 0x380000>;
18 read-only;
19 };
20
21 partition@ed0000 {
22 label = "tm_key";
23 reg = <0xed0000 0x80000>;
24 read-only;
25 };
26
27 partition@f50000 {
28 label = "art_block";
29 reg = <0xf50000 0x30000>;
30 read-only;
31 };
32
33 partition@f80000 {
34 label = "user_data";
35 reg = <0xf80000 0x80000>;
36 read-only;
37 };
38 };
39
40 &gmac0 {
41 nvmem-cells = <&macaddr_factory_e000>;
42 nvmem-cell-names = "mac-address";
43 };
44
45 &gmac1 {
46 nvmem-cells = <&macaddr_factory_e006>;
47 nvmem-cell-names = "mac-address";
48 };
49
50 &factory {
51 compatible = "nvmem-cells";
52 #address-cells = <1>;
53 #size-cells = <1>;
54
55 macaddr_factory_e000: macaddr@e000 {
56 reg = <0xe000 0x6>;
57 };
58
59 macaddr_factory_e006: macaddr@e006 {
60 reg = <0xe006 0x6>;
61 };
62 };