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