blob: 070f2c1b78511399c458e2726b6cffb10482c476 [file] [log] [blame]
Viresh Kumarc5fa4fd2012-03-23 00:17:43 +05301/*
2 * DTS file for SPEAr310 Evaluation Baord
3 *
Viresh Kumarda899472015-07-17 16:23:50 -07004 * Copyright 2012 Viresh Kumar <vireshk@kernel.org>
Viresh Kumarc5fa4fd2012-03-23 00:17:43 +05305 *
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/ "spear310.dtsi"
16
17/ {
18 model = "ST SPEAr310 Evaluation Board";
19 compatible = "st,spear310-evb", "st,spear310";
20 #address-cells = <1>;
21 #size-cells = <1>;
22
23 memory {
24 reg = <0 0x40000000>;
25 };
26
27 ahb {
Viresh Kumare0373602012-03-29 08:30:19 +053028 pinmux@b4000000 {
29 pinctrl-names = "default";
30 pinctrl-0 = <&state_default>;
31
32 state_default: pinmux {
33 gpio0 {
34 st,pins = "gpio0_pin0_grp",
35 "gpio0_pin1_grp",
36 "gpio0_pin2_grp",
37 "gpio0_pin3_grp",
38 "gpio0_pin4_grp",
39 "gpio0_pin5_grp";
40 st,function = "gpio0";
41 };
42 i2c0 {
43 st,pins = "i2c0_grp";
44 st,function = "i2c0";
45 };
46 mii0 {
47 st,pins = "mii0_grp";
48 st,function = "mii0";
49 };
50 ssp0 {
51 st,pins = "ssp0_grp";
52 st,function = "ssp0";
53 };
54 uart0 {
55 st,pins = "uart0_grp";
56 st,function = "uart0";
57 };
58 emi {
59 st,pins = "emi_cs_0_to_5_grp";
60 st,function = "emi";
61 };
62 fsmc {
63 st,pins = "fsmc_grp";
64 st,function = "fsmc";
65 };
66 uart1 {
67 st,pins = "uart1_grp";
68 st,function = "uart1";
69 };
70 uart2 {
71 st,pins = "uart2_grp";
72 st,function = "uart2";
73 };
74 uart3 {
75 st,pins = "uart3_grp";
76 st,function = "uart3";
77 };
78 uart4 {
79 st,pins = "uart4_grp";
80 st,function = "uart4";
81 };
82 uart5 {
83 st,pins = "uart5_grp";
84 st,function = "uart5";
85 };
86 };
87 };
88
Viresh Kumar0b7ee712012-03-26 10:29:23 +053089 dma@fc400000 {
90 status = "okay";
91 };
92
Viresh Kumarc5fa4fd2012-03-23 00:17:43 +053093 fsmc: flash@44000000 {
94 status = "okay";
95 };
96
97 gmac: eth@e0800000 {
98 status = "okay";
99 };
100
101 smi: flash@fc000000 {
102 status = "okay";
103 clock-rate=<50000000>;
104
105 flash@f8000000 {
Viresh Kumarc5fa4fd2012-03-23 00:17:43 +0530106 #address-cells = <1>;
107 #size-cells = <1>;
Viresh Kumar30a0d032012-05-01 18:09:22 +0530108 reg = <0xf8000000 0x800000>;
Viresh Kumarc5fa4fd2012-03-23 00:17:43 +0530109 st,smi-fast-mode;
Viresh Kumar30a0d032012-05-01 18:09:22 +0530110
111 partition@0 {
112 label = "xloader";
113 reg = <0x0 0x10000>;
114 };
115 partition@10000 {
116 label = "u-boot";
Vipin Kumar482a8f32012-07-05 11:51:47 +0800117 reg = <0x10000 0x50000>;
Viresh Kumar30a0d032012-05-01 18:09:22 +0530118 };
Vipin Kumar482a8f32012-07-05 11:51:47 +0800119 partition@60000 {
120 label = "environment";
121 reg = <0x60000 0x10000>;
122 };
123 partition@70000 {
124 label = "dtb";
125 reg = <0x70000 0x10000>;
126 };
127 partition@80000 {
Viresh Kumar30a0d032012-05-01 18:09:22 +0530128 label = "linux";
Vipin Kumar482a8f32012-07-05 11:51:47 +0800129 reg = <0x80000 0x310000>;
Viresh Kumar30a0d032012-05-01 18:09:22 +0530130 };
Vipin Kumar482a8f32012-07-05 11:51:47 +0800131 partition@390000 {
Viresh Kumar30a0d032012-05-01 18:09:22 +0530132 label = "rootfs";
Vipin Kumar482a8f32012-07-05 11:51:47 +0800133 reg = <0x390000 0x0>;
Viresh Kumar30a0d032012-05-01 18:09:22 +0530134 };
Viresh Kumarc5fa4fd2012-03-23 00:17:43 +0530135 };
136 };
137
138 spi0: spi@d0100000 {
139 status = "okay";
140 };
141
142 ehci@e1800000 {
143 status = "okay";
144 };
145
146 ohci@e1900000 {
147 status = "okay";
148 };
149
150 ohci@e2100000 {
151 status = "okay";
152 };
153
154 apb {
155 gpio0: gpio@fc980000 {
156 status = "okay";
157 };
158
159 i2c0: i2c@d0180000 {
160 status = "okay";
161 };
162
163 rtc@fc900000 {
164 status = "okay";
165 };
166
167 serial@d0000000 {
168 status = "okay";
Vipul Kumar Samar7bceba82012-08-30 09:32:24 +0530169 pinctrl-names = "default";
170 pinctrl-0 = <>;
Viresh Kumarc5fa4fd2012-03-23 00:17:43 +0530171 };
172
173 serial@b2000000 {
174 status = "okay";
Vipul Kumar Samar7bceba82012-08-30 09:32:24 +0530175 pinctrl-names = "default";
176 pinctrl-0 = <>;
Viresh Kumarc5fa4fd2012-03-23 00:17:43 +0530177 };
178
179 serial@b2080000 {
180 status = "okay";
Vipul Kumar Samar7bceba82012-08-30 09:32:24 +0530181 pinctrl-names = "default";
182 pinctrl-0 = <>;
Viresh Kumarc5fa4fd2012-03-23 00:17:43 +0530183 };
184
185 serial@b2100000 {
186 status = "okay";
Vipul Kumar Samar7bceba82012-08-30 09:32:24 +0530187 pinctrl-names = "default";
188 pinctrl-0 = <>;
Viresh Kumarc5fa4fd2012-03-23 00:17:43 +0530189 };
190
191 serial@b2180000 {
192 status = "okay";
Vipul Kumar Samar7bceba82012-08-30 09:32:24 +0530193 pinctrl-names = "default";
194 pinctrl-0 = <>;
Viresh Kumarc5fa4fd2012-03-23 00:17:43 +0530195 };
196
197 serial@b2200000 {
198 status = "okay";
Vipul Kumar Samar7bceba82012-08-30 09:32:24 +0530199 pinctrl-names = "default";
200 pinctrl-0 = <>;
Viresh Kumarc5fa4fd2012-03-23 00:17:43 +0530201 };
202
203 wdt@fc880000 {
204 status = "okay";
205 };
206 };
207 };
208};