d0bfb0688b6d8bc3f99204f9c46fdeab194a01f6
[oweals/openwrt.git] / target / linux / lantiq / files / arch / mips / boot / dts / EASY50712.dts
1 /dts-v1/;
2
3 #include "danube.dtsi"
4
5 / {
6         compatible = "lantiq,easy50712", "lantiq,xway", "lantiq,danube";
7         model = "Intel EASY50712 Nand";
8
9         chosen {
10                 bootargs = "console=ttyLTQ0,115200";
11         };
12
13         memory@0 {
14                 device_type = "memory";
15                 reg = <0x0 0x2000000>;
16         };
17 };
18
19 &gpio {
20         pinctrl-names = "default";
21         pinctrl-0 = <&state_default>;
22
23         state_default: pinmux {
24                 stp {
25                         lantiq,groups = "stp";
26                         lantiq,function = "stp";
27                 };
28                 exin {
29                         lantiq,groups = "exin1";
30                         lantiq,function = "exin";
31                 };
32                 pci {
33                         lantiq,groups = "gnt1";
34                         lantiq,function = "pci";
35                 };
36                 conf_out {
37                         lantiq,pins = "io4", "io5", "io6"; /* stp */
38                         lantiq,open-drain;
39                         lantiq,pull = <0>;
40                 };
41         };
42 };
43
44 &gsw {
45         phy-mode = "rmii";
46 };
47
48 &localbus {
49         nor@0 {
50                 compatible = "lantiq,nor";
51                 bank-width = <2>;
52                 reg = <0 0x0 0x2000000>;
53
54                 partitions {
55                         compatible = "fixed-partitions";
56                         #address-cells = <1>;
57                         #size-cells = <1>;
58
59                         partition@0 {
60                                 label = "uboot";
61                                 reg = <0x00000 0x10000>; /* 64 KB */
62                         };
63
64                         partition@10000 {
65                                 label = "uboot_env";
66                                 reg = <0x10000 0x10000>; /* 64 KB */
67                         };
68
69                         partition@20000 {
70                                 label = "firmware";
71                                 reg = <0x20000 0x3d0000>;
72                         };
73
74                         partition@400000 {
75                                 label = "rootfs";
76                                 reg = <0x400000 0x400000>;
77                         };
78                 };
79         };
80 };