ramips: fix mtd partition node names for Phicomm PSG1208
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7621_mediatek_mt7621-eval-board.dts
1 #include "mt7621.dtsi"
2
3 / {
4 compatible = "mediatek,mt7621-eval-board", "mediatek,mt7621-soc";
5 model = "Mediatek MT7621 evaluation board";
6 };
7
8 &nand {
9 status = "okay";
10
11 partitions {
12 compatible = "fixed-partitions";
13 #address-cells = <1>;
14 #size-cells = <1>;
15
16 partition@0 {
17 label = "uboot";
18 reg = <0x00000 0x80000>; /* 64 KB */
19 };
20
21 partition@80000 {
22 label = "uboot_env";
23 reg = <0x80000 0x80000>; /* 64 KB */
24 };
25
26 partition@100000 {
27 label = "factory";
28 reg = <0x100000 0x40000>;
29 };
30
31 partition@140000 {
32 label = "rootfs";
33 reg = <0x140000 0xec0000>;
34 };
35 };
36 };
37
38 &sdhci {
39 status = "okay";
40 };
41
42 &gmac1 {
43 status = "okay";
44 label = "wan";
45 phy-handle = <&ethphy4>;
46 };
47
48 &mdio {
49 ethphy4: ethernet-phy@4 {
50 reg = <4>;
51 };
52 };
53
54 &switch0 {
55 ports {
56 port@0 {
57 status = "okay";
58 label = "lan1";
59 };
60
61 port@1 {
62 status = "okay";
63 label = "lan2";
64 };
65
66 port@2 {
67 status = "okay";
68 label = "lan3";
69 };
70
71 port@3 {
72 status = "okay";
73 label = "lan4";
74 };
75 };
76 };
77
78 &state_default {
79 gpio {
80 groups = "i2c", "uart2", "uart3", "sdhci";
81 function = "gpio";
82 };
83 };