SPEAr: Add SMI NOR partition info in dts files
[linux-block.git] / arch / arm / boot / dts / spear300-evb.dts
1 /*
2  * DTS file for SPEAr300 Evaluation Baord
3  *
4  * Copyright 2012 Viresh Kumar <viresh.kumar@st.com>
5  *
6  * The code contained herein is licensed under the GNU General Public
7  * License. You may obtain a copy of the GNU General Public License
8  * Version 2 or later at the following locations:
9  *
10  * http://www.opensource.org/licenses/gpl-license.html
11  * http://www.gnu.org/copyleft/gpl.html
12  */
13
14 /dts-v1/;
15 /include/ "spear300.dtsi"
16
17 / {
18         model = "ST SPEAr300 Evaluation Board";
19         compatible = "st,spear300-evb", "st,spear300";
20         #address-cells = <1>;
21         #size-cells = <1>;
22
23         memory {
24                 reg = <0 0x40000000>;
25         };
26
27         ahb {
28                 clcd@60000000 {
29                         status = "okay";
30                 };
31
32                 dma@fc400000 {
33                         status = "okay";
34                 };
35
36                 fsmc: flash@94000000 {
37                         status = "okay";
38                 };
39
40                 gmac: eth@e0800000 {
41                         status = "okay";
42                 };
43
44                 sdhci@70000000 {
45                         int-gpio = <&gpio1 0 0>;
46                         power-gpio = <&gpio1 2 1>;
47                         status = "okay";
48                 };
49
50                 smi: flash@fc000000 {
51                         status = "okay";
52                         clock-rate=<50000000>;
53
54                         flash@f8000000 {
55                                 #address-cells = <1>;
56                                 #size-cells = <1>;
57                                 reg = <0xf8000000 0x800000>;
58                                 st,smi-fast-mode;
59
60                                 partition@0 {
61                                         label = "xloader";
62                                         reg = <0x0 0x10000>;
63                                 };
64                                 partition@10000 {
65                                         label = "u-boot";
66                                         reg = <0x10000 0x40000>;
67                                 };
68                                 partition@50000 {
69                                         label = "linux";
70                                         reg = <0x50000 0x2c0000>;
71                                 };
72                                 partition@310000 {
73                                         label = "rootfs";
74                                         reg = <0x310000 0x4f0000>;
75                                 };
76                         };
77                 };
78
79                 spi0: spi@d0100000 {
80                         status = "okay";
81                 };
82
83                 ehci@e1800000 {
84                         status = "okay";
85                 };
86
87                 ohci@e1900000 {
88                         status = "okay";
89                 };
90
91                 ohci@e2100000 {
92                         status = "okay";
93                 };
94
95                 apb {
96                         gpio0: gpio@fc980000 {
97                                status = "okay";
98                         };
99
100                         gpio1: gpio@a9000000 {
101                                status = "okay";
102                         };
103
104                         i2c0: i2c@d0180000 {
105                                status = "okay";
106                         };
107
108                         kbd@a0000000 {
109                                 linux,keymap = < 0x00000001
110                                                  0x00010002
111                                                  0x00020003
112                                                  0x00030004
113                                                  0x00040005
114                                                  0x00050006
115                                                  0x00060007
116                                                  0x00070008
117                                                  0x00080009
118                                                  0x0100000a
119                                                  0x0101000c
120                                                  0x0102000d
121                                                  0x0103000e
122                                                  0x0104000f
123                                                  0x01050010
124                                                  0x01060011
125                                                  0x01070012
126                                                  0x01080013
127                                                  0x02000014
128                                                  0x02010015
129                                                  0x02020016
130                                                  0x02030017
131                                                  0x02040018
132                                                  0x02050019
133                                                  0x0206001a
134                                                  0x0207001b
135                                                  0x0208001c
136                                                  0x0300001d
137                                                  0x0301001e
138                                                  0x0302001f
139                                                  0x03030020
140                                                  0x03040021
141                                                  0x03050022
142                                                  0x03060023
143                                                  0x03070024
144                                                  0x03080025
145                                                  0x04000026
146                                                  0x04010027
147                                                  0x04020028
148                                                  0x04030029
149                                                  0x0404002a
150                                                  0x0405002b
151                                                  0x0406002c
152                                                  0x0407002d
153                                                  0x0408002e
154                                                  0x0500002f
155                                                  0x05010030
156                                                  0x05020031
157                                                  0x05030032
158                                                  0x05040033
159                                                  0x05050034
160                                                  0x05060035
161                                                  0x05070036
162                                                  0x05080037
163                                                  0x06000038
164                                                  0x06010039
165                                                  0x0602003a
166                                                  0x0603003b
167                                                  0x0604003c
168                                                  0x0605003d
169                                                  0x0606003e
170                                                  0x0607003f
171                                                  0x06080040
172                                                  0x07000041
173                                                  0x07010042
174                                                  0x07020043
175                                                  0x07030044
176                                                  0x07040045
177                                                  0x07050046
178                                                  0x07060047
179                                                  0x07070048
180                                                  0x07080049
181                                                  0x0800004a
182                                                  0x0801004b
183                                                  0x0802004c
184                                                  0x0803004d
185                                                  0x0804004e
186                                                  0x0805004f
187                                                  0x08060050
188                                                  0x08070051
189                                                  0x08080052 >;
190                                autorepeat;
191                                st,mode = <0>;
192                                status = "okay";
193                         };
194
195                         rtc@fc900000 {
196                                status = "okay";
197                         };
198
199                         serial@d0000000 {
200                                status = "okay";
201                         };
202
203                         wdt@fc880000 {
204                                status = "okay";
205                         };
206                 };
207         };
208 };