Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
[linux/fpc-iii.git] / arch / mips / lantiq / dts / easy50712.dts
blobfac1f5b178ebe3c558ad369a9e1243340da04c80
1 /dts-v1/;
3 /include/ "danube.dtsi"
5 / {
6         chosen {
7                 bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
8         };
10         memory@0 {
11                 reg = <0x0 0x2000000>;
12         };
14         fpi@10000000 {
15                 #address-cells = <1>;
16                 #size-cells = <1>;
17                 localbus@0 {
18                         #address-cells = <2>;
19                         #size-cells = <1>;
20                         ranges = <0 0 0x0 0x3ffffff /* addrsel0 */
21                                 1 0 0x4000000 0x4000010>; /* addsel1 */
22                         compatible = "lantiq,localbus", "simple-bus";
24                         nor-boot@0 {
25                                 compatible = "lantiq,nor";
26                                 bank-width = <2>;
27                                 reg = <0 0x0 0x2000000>;
28                                 #address-cells = <1>;
29                                 #size-cells = <1>;
31                                 partition@0 {
32                                         label = "uboot";
33                                         reg = <0x00000 0x10000>; /* 64 KB */
34                                 };
36                                 partition@10000 {
37                                         label = "uboot_env";
38                                         reg = <0x10000 0x10000>; /* 64 KB */
39                                 };
41                                 partition@20000 {
42                                         label = "linux";
43                                         reg = <0x20000 0x3d0000>;
44                                 };
46                                 partition@400000 {
47                                         label = "rootfs";
48                                         reg = <0x400000 0x400000>;
49                                 };
50                         };
51                 };
53                 gpio: pinmux@E100B10 {
54                         compatible = "lantiq,pinctrl-xway";
55                         pinctrl-names = "default";
56                         pinctrl-0 = <&state_default>;
58                         #gpio-cells = <2>;
59                         gpio-controller;
60                         reg = <0xE100B10 0xA0>;
62                         state_default: pinmux {
63                                 stp {
64                                         lantiq,groups = "stp";
65                                         lantiq,function = "stp";
66                                 };
67                                 exin {
68                                         lantiq,groups = "exin1";
69                                         lantiq,function = "exin";
70                                 };
71                                 pci {
72                                         lantiq,groups = "gnt1";
73                                         lantiq,function = "pci";
74                                 };
75                                 conf_out {
76                                         lantiq,pins = "io4", "io5", "io6"; /* stp */
77                                         lantiq,open-drain;
78                                         lantiq,pull = <0>;
79                                 };
80                         };
81                 };
83                 etop@E180000 {
84                         compatible = "lantiq,etop-xway";
85                         reg = <0xE180000 0x40000>;
86                         interrupt-parent = <&icu0>;
87                         interrupts = <73 78>;
88                         phy-mode = "rmii";
89                         mac-address = [ 00 11 22 33 44 55 ];
90                 };
92                 stp0: stp@E100BB0 {
93                         #gpio-cells = <2>;
94                         compatible = "lantiq,gpio-stp-xway";
95                         gpio-controller;
96                         reg = <0xE100BB0 0x40>;
98                         lantiq,shadow = <0xfff>;
99                         lantiq,groups = <0x3>;
100                 };
102                 pci@E105400 {
103                         lantiq,bus-clock = <33333333>;
104                         interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
105                         interrupt-map = <
106                                 0x7000 0 0 1 &icu0 29 1 // slot 14, irq 29
107                         >;
108                         gpios-reset = <&gpio 21 0>;
109                         req-mask = <0x1>;               /* GNT1 */
110                 };
112         };