blob: 7ce8f5a5efb808de263e3e8247e19b28804aab12 [file] [log] [blame]
developer691e73f2021-06-28 19:41:35 +08001/dts-v1/;
2#include "mt7986a-rfb.dtsi"
3/ {
4 model = "MediaTek MT7986a RFB";
5 compatible = "mediatek,mt7986a-2500wan-nor-rfb";
6};
7
developer5b91be72021-09-27 14:03:07 +08008&spi0 {
developer691e73f2021-06-28 19:41:35 +08009 status = "okay";
developer5b91be72021-09-27 14:03:07 +080010 spi_nor@0 {
11 partitions {
12 compatible = "fixed-partitions";
13 #address-cells = <1>;
14 #size-cells = <1>;
15
16 partition@00000 {
17 label = "BL2";
18 reg = <0x00000 0x0040000>;
19 };
20 partition@40000 {
21 label = "u-boot-env";
22 reg = <0x40000 0x0010000>;
23 };
24 factory: partition@50000 {
25 label = "Factory";
26 reg = <0x50000 0x00B0000>;
27 };
28 partition@100000 {
29 label = "FIP";
30 reg = <0x100000 0x0080000>;
31 };
32 partition@180000 {
33 label = "firmware";
34 reg = <0x180000 0xE00000>;
35 };
36 };
37 };
38};
39
40&snand {
41 status = "disabled";
42};
43
44&mmc0 {
45 status = "disabled";
developer691e73f2021-06-28 19:41:35 +080046};
47
48&mdio {
49 switch@0 {
50 ports {
51 port@4 {
52 reg = <4>;
53 label = "lan4";
54 };
55
56 port@5 {
57 reg = <5>;
58 label = "lan5";
59 phy-mode = "2500base-x";
60
61 fixed-link {
62 speed = <2500>;
63 full-duplex;
64 pause;
65 };
66 };
67 };
68 };
69};