]>
Commit | Line | Data |
---|---|---|
fcaf2036 | 1 | // SPDX-License-Identifier: GPL-2.0-or-later |
c5fa4fdc VK |
2 | /* |
3 | * DTS file for SPEAr310 Evaluation Baord | |
4 | * | |
da89947b | 5 | * Copyright 2012 Viresh Kumar <vireshk@kernel.org> |
c5fa4fdc VK |
6 | */ |
7 | ||
8 | /dts-v1/; | |
9 | /include/ "spear310.dtsi" | |
10 | ||
11 | / { | |
12 | model = "ST SPEAr310 Evaluation Board"; | |
13 | compatible = "st,spear310-evb", "st,spear310"; | |
14 | #address-cells = <1>; | |
15 | #size-cells = <1>; | |
16 | ||
17 | memory { | |
18 | reg = <0 0x40000000>; | |
19 | }; | |
20 | ||
21 | ahb { | |
e0373607 VK |
22 | pinmux@b4000000 { |
23 | pinctrl-names = "default"; | |
24 | pinctrl-0 = <&state_default>; | |
25 | ||
26 | state_default: pinmux { | |
27 | gpio0 { | |
28 | st,pins = "gpio0_pin0_grp", | |
29 | "gpio0_pin1_grp", | |
30 | "gpio0_pin2_grp", | |
31 | "gpio0_pin3_grp", | |
32 | "gpio0_pin4_grp", | |
33 | "gpio0_pin5_grp"; | |
34 | st,function = "gpio0"; | |
35 | }; | |
36 | i2c0 { | |
37 | st,pins = "i2c0_grp"; | |
38 | st,function = "i2c0"; | |
39 | }; | |
40 | mii0 { | |
41 | st,pins = "mii0_grp"; | |
42 | st,function = "mii0"; | |
43 | }; | |
44 | ssp0 { | |
45 | st,pins = "ssp0_grp"; | |
46 | st,function = "ssp0"; | |
47 | }; | |
48 | uart0 { | |
49 | st,pins = "uart0_grp"; | |
50 | st,function = "uart0"; | |
51 | }; | |
52 | emi { | |
53 | st,pins = "emi_cs_0_to_5_grp"; | |
54 | st,function = "emi"; | |
55 | }; | |
56 | fsmc { | |
57 | st,pins = "fsmc_grp"; | |
58 | st,function = "fsmc"; | |
59 | }; | |
60 | uart1 { | |
61 | st,pins = "uart1_grp"; | |
62 | st,function = "uart1"; | |
63 | }; | |
64 | uart2 { | |
65 | st,pins = "uart2_grp"; | |
66 | st,function = "uart2"; | |
67 | }; | |
68 | uart3 { | |
69 | st,pins = "uart3_grp"; | |
70 | st,function = "uart3"; | |
71 | }; | |
72 | uart4 { | |
73 | st,pins = "uart4_grp"; | |
74 | st,function = "uart4"; | |
75 | }; | |
76 | uart5 { | |
77 | st,pins = "uart5_grp"; | |
78 | st,function = "uart5"; | |
79 | }; | |
80 | }; | |
81 | }; | |
82 | ||
0b7ee717 VK |
83 | dma@fc400000 { |
84 | status = "okay"; | |
85 | }; | |
86 | ||
c5fa4fdc VK |
87 | fsmc: flash@44000000 { |
88 | status = "okay"; | |
89 | }; | |
90 | ||
91 | gmac: eth@e0800000 { | |
92 | status = "okay"; | |
93 | }; | |
94 | ||
95 | smi: flash@fc000000 { | |
96 | status = "okay"; | |
97 | clock-rate=<50000000>; | |
98 | ||
99 | flash@f8000000 { | |
c5fa4fdc VK |
100 | #address-cells = <1>; |
101 | #size-cells = <1>; | |
30a0d037 | 102 | reg = <0xf8000000 0x800000>; |
c5fa4fdc | 103 | st,smi-fast-mode; |
30a0d037 VK |
104 | |
105 | partition@0 { | |
106 | label = "xloader"; | |
107 | reg = <0x0 0x10000>; | |
108 | }; | |
109 | partition@10000 { | |
110 | label = "u-boot"; | |
482a8f3f | 111 | reg = <0x10000 0x50000>; |
30a0d037 | 112 | }; |
482a8f3f VK |
113 | partition@60000 { |
114 | label = "environment"; | |
115 | reg = <0x60000 0x10000>; | |
116 | }; | |
117 | partition@70000 { | |
118 | label = "dtb"; | |
119 | reg = <0x70000 0x10000>; | |
120 | }; | |
121 | partition@80000 { | |
30a0d037 | 122 | label = "linux"; |
482a8f3f | 123 | reg = <0x80000 0x310000>; |
30a0d037 | 124 | }; |
482a8f3f | 125 | partition@390000 { |
30a0d037 | 126 | label = "rootfs"; |
482a8f3f | 127 | reg = <0x390000 0x0>; |
30a0d037 | 128 | }; |
c5fa4fdc VK |
129 | }; |
130 | }; | |
131 | ||
132 | spi0: spi@d0100000 { | |
133 | status = "okay"; | |
134 | }; | |
135 | ||
136 | ehci@e1800000 { | |
137 | status = "okay"; | |
138 | }; | |
139 | ||
140 | ohci@e1900000 { | |
141 | status = "okay"; | |
142 | }; | |
143 | ||
144 | ohci@e2100000 { | |
145 | status = "okay"; | |
146 | }; | |
147 | ||
148 | apb { | |
149 | gpio0: gpio@fc980000 { | |
150 | status = "okay"; | |
151 | }; | |
152 | ||
153 | i2c0: i2c@d0180000 { | |
154 | status = "okay"; | |
155 | }; | |
156 | ||
157 | rtc@fc900000 { | |
158 | status = "okay"; | |
159 | }; | |
160 | ||
161 | serial@d0000000 { | |
162 | status = "okay"; | |
7bceba83 VKS |
163 | pinctrl-names = "default"; |
164 | pinctrl-0 = <>; | |
c5fa4fdc VK |
165 | }; |
166 | ||
167 | serial@b2000000 { | |
168 | status = "okay"; | |
7bceba83 VKS |
169 | pinctrl-names = "default"; |
170 | pinctrl-0 = <>; | |
c5fa4fdc VK |
171 | }; |
172 | ||
173 | serial@b2080000 { | |
174 | status = "okay"; | |
7bceba83 VKS |
175 | pinctrl-names = "default"; |
176 | pinctrl-0 = <>; | |
c5fa4fdc VK |
177 | }; |
178 | ||
179 | serial@b2100000 { | |
180 | status = "okay"; | |
7bceba83 VKS |
181 | pinctrl-names = "default"; |
182 | pinctrl-0 = <>; | |
c5fa4fdc VK |
183 | }; |
184 | ||
185 | serial@b2180000 { | |
186 | status = "okay"; | |
7bceba83 VKS |
187 | pinctrl-names = "default"; |
188 | pinctrl-0 = <>; | |
c5fa4fdc VK |
189 | }; |
190 | ||
191 | serial@b2200000 { | |
192 | status = "okay"; | |
7bceba83 VKS |
193 | pinctrl-names = "default"; |
194 | pinctrl-0 = <>; | |
c5fa4fdc VK |
195 | }; |
196 | ||
197 | wdt@fc880000 { | |
198 | status = "okay"; | |
199 | }; | |
200 | }; | |
201 | }; | |
202 | }; |