16fa15befc4d1ee03a9c3f23abb7eb2f38977be9
[openwrt/staging/stintel.git] / target / linux / ramips / dts / mt7621_cudy_x6-v2.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "mt7621_cudy_x6.dtsi"
4
5 / {
6 compatible = "cudy,x6-v2", "mediatek,mt7621-soc";
7 model = "CUDY X6 v2";
8 };
9
10 &partitions {
11 partition@50000 {
12 compatible = "denx,uimage";
13 label = "firmware";
14 reg = <0x50000 0xf80000>;
15 };
16
17 partition@fd0000 {
18 label = "debug";
19 reg = <0xfd0000 0x10000>;
20 read-only;
21 };
22
23 partition@fe0000 {
24 label = "backup";
25 reg = <0xfe0000 0x10000>;
26 read-only;
27 };
28
29 partition@ff0000 {
30 label = "bdinfo";
31 reg = <0xff0000 0x10000>;
32 read-only;
33
34 compatible = "nvmem-cells";
35 #address-cells = <1>;
36 #size-cells = <1>;
37
38 macaddr_bdinfo_de00: macaddr@de00 {
39 reg = <0xde00 0x6>;
40 };
41 };
42 };
43
44 &gmac0 {
45 nvmem-cells = <&macaddr_bdinfo_de00>;
46 nvmem-cell-names = "mac-address";
47 };
48
49 &gmac1 {
50 nvmem-cells = <&macaddr_bdinfo_de00>;
51 nvmem-cell-names = "mac-address";
52 mac-address-increment = <1>;
53 };
54
55 &wifi {
56 nvmem-cells = <&macaddr_bdinfo_de00>;
57 nvmem-cell-names = "mac-address";
58 };