lantiq: dts: assign the STP pins to the STP GPIO controller node
[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                 exin {
25                         lantiq,groups = "exin1";
26                         lantiq,function = "exin";
27                 };
28                 pci {
29                         lantiq,groups = "gnt1";
30                         lantiq,function = "pci";
31                 };
32         };
33 };
34
35 &gsw {
36         phy-mode = "rmii";
37 };
38
39 &localbus {
40         flash@0 {
41                 compatible = "lantiq,nor";
42                 bank-width = <2>;
43                 reg = <0 0x0 0x2000000>;
44
45                 partitions {
46                         compatible = "fixed-partitions";
47                         #address-cells = <1>;
48                         #size-cells = <1>;
49
50                         partition@0 {
51                                 label = "uboot";
52                                 reg = <0x00000 0x10000>; /* 64 KB */
53                         };
54
55                         partition@10000 {
56                                 label = "uboot_env";
57                                 reg = <0x10000 0x10000>; /* 64 KB */
58                         };
59
60                         partition@20000 {
61                                 label = "firmware";
62                                 reg = <0x20000 0x3d0000>;
63                         };
64
65                         partition@400000 {
66                                 label = "rootfs";
67                                 reg = <0x400000 0x400000>;
68                         };
69                 };
70         };
71 };