ramips: add support for Netgear EX6130
[oweals/openwrt.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         chosen {
10                 bootargs = "console=ttyS0,57600";
11         };
12 };
13
14 &nand {
15         status = "okay";
16
17         partitions {
18                 compatible = "fixed-partitions";
19                 #address-cells = <1>;
20                 #size-cells = <1>;
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
44 &sdhci {
45         status = "okay";
46 };
47
48 &pinctrl {
49         state_default: pinctrl0 {
50                 gpio {
51                         ralink,group = "i2c", "uart2", "uart3", "rgmii2", "sdhci";
52                         ralink,function = "gpio";
53                 };
54         };
55 };