290083a85528828a00bb51af465d4be812d8826b
[oweals/openwrt.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         partitions {
23                 compatible = "fixed-partitions";
24                 #address-cells = <1>;
25                 #size-cells = <1>;
26
27                 partition@0 {
28                         label = "uboot";
29                         reg = <0x00000 0x80000>; /* 64 KB */
30                 };
31
32                 partition@80000 {
33                         label = "uboot_env";
34                         reg = <0x80000 0x80000>; /* 64 KB */
35                 };
36
37                 partition@100000 {
38                         label = "factory";
39                         reg = <0x100000 0x40000>;
40                 };
41
42                 partition@140000 {
43                         label = "rootfs";
44                         reg = <0x140000 0xec0000>;
45                 };
46         };
47 };
48
49 &sdhci {
50         status = "okay";
51 };
52
53 &pinctrl {
54         state_default: pinctrl0 {
55                 gpio {
56                         ralink,group = "i2c", "uart2", "uart3", "rgmii2", "sdhci";
57                         ralink,function = "gpio";
58                 };
59         };
60 };