Fresh pull from upstream
[librecmc/librecmc.git] / target / linux / ramips / dts / MT7621.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         memory@0 {
10                 device_type = "memory";
11                 reg = <0x0 0x2000000>;
12         };
13
14         chosen {
15                 bootargs = "console=ttyS0,57600";
16         };
17 };
18
19 &nand {
20         status = "okay";
21
22         partition@0 {
23                 label = "uboot";
24                 reg = <0x00000 0x80000>; /* 64 KB */
25         };
26
27         partition@80000 {
28                 label = "uboot_env";
29                 reg = <0x80000 0x80000>; /* 64 KB */
30         };
31
32         partition@100000 {
33                 label = "factory";
34                 reg = <0x100000 0x40000>;
35         };
36
37         partition@140000 {
38                 label = "rootfs";
39                 reg = <0x140000 0xec0000>;
40         };
41 };
42
43 &sdhci {
44         status = "okay";
45 };
46
47 &pinctrl {
48         state_default: pinctrl0 {
49                 gpio {
50                         ralink,group = "i2c", "uart2", "uart3", "rgmii2", "sdhci";
51                         ralink,function = "gpio";
52                 };
53         };
54 };