aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2012-09-26 08:29:09 -0400
committerLee Jones <lee.jones@linaro.org>2012-11-01 07:59:30 -0400
commitd1b8bfa342ca61a39d002e16ffc7f4990e4b0d1a (patch)
tree9e6c90c17726599d6acf48445a32d270cb1da7bd /arch
parent92a0f489efc4e194385179441265b45f6271dbee (diff)
ARM: ux500: Create a DTS hierarchy for ST-Ericsson's HREF boards
There are two main versions of the ST-Ericsson hardware reference board, each with subtle differences. These versions are described in current platform data as 'mop500' for HREF v1.1 & v2.0 and 'hrefv60+' for latter incarnations. However, the boards have much in common, so this patch creates a .dtsi (Device Tree Source Include) file which describes the similarities between the two boards and individual 'hrefprev60' and 'hrefv60plus' .dts files which depict the differences. Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/boot/dts/href.dtsi262
-rw-r--r--arch/arm/boot/dts/hrefv60plus.dts256
2 files changed, 264 insertions, 254 deletions
diff --git a/arch/arm/boot/dts/href.dtsi b/arch/arm/boot/dts/href.dtsi
new file mode 100644
index 000000000000..27baa440bd00
--- /dev/null
+++ b/arch/arm/boot/dts/href.dtsi
@@ -0,0 +1,262 @@
1/*
2 * Copyright 2012 ST-Ericsson AB
3 *
4 * The code contained herein is licensed under the GNU General Public
5 * License. You may obtain a copy of the GNU General Public License
6 * Version 2 or later at the following locations:
7 *
8 * http://www.opensource.org/licenses/gpl-license.html
9 * http://www.gnu.org/copyleft/gpl.html
10 */
11
12/include/ "dbx5x0.dtsi"
13
14/ {
15 memory {
16 reg = <0x00000000 0x20000000>;
17 };
18
19 soc-u9500 {
20 uart@80120000 {
21 status = "okay";
22 };
23
24 uart@80121000 {
25 status = "okay";
26 };
27
28 uart@80007000 {
29 status = "okay";
30 };
31
32 i2c@80004000 {
33 tc3589x@42 {
34 compatible = "tc3589x";
35 reg = <0x42>;
36 interrupt-parent = <&gpio6>;
37 interrupts = <25 0x1>;
38
39 interrupt-controller;
40 #interrupt-cells = <2>;
41
42 tc3589x_gpio: tc3589x_gpio {
43 compatible = "tc3589x-gpio";
44 interrupts = <0 0x1>;
45
46 interrupt-controller;
47 #interrupt-cells = <2>;
48 gpio-controller;
49 #gpio-cells = <2>;
50 };
51 };
52 };
53
54 i2c@80128000 {
55 lp5521@0x33 {
56 compatible = "lp5521";
57 reg = <0x33>;
58 };
59
60 lp5521@0x34 {
61 compatible = "lp5521";
62 reg = <0x34>;
63 };
64
65 bh1780@0x29 {
66 compatible = "rohm,bh1780gli";
67 reg = <0x33>;
68 };
69 };
70
71 // External Micro SD slot
72 sdi0_per1@80126000 {
73 arm,primecell-periphid = <0x10480180>;
74 max-frequency = <50000000>;
75 bus-width = <4>;
76 mmc-cap-sd-highspeed;
77 mmc-cap-mmc-highspeed;
78 vmmc-supply = <&ab8500_ldo_aux3_reg>;
79
80 cd-gpios = <&tc3589x_gpio 3 0x4>;
81
82 status = "okay";
83 };
84
85 // WLAN SDIO channel
86 sdi1_per2@80118000 {
87 arm,primecell-periphid = <0x10480180>;
88 max-frequency = <50000000>;
89 bus-width = <4>;
90
91 status = "okay";
92 };
93
94 // PoP:ed eMMC
95 sdi2_per3@80005000 {
96 arm,primecell-periphid = <0x10480180>;
97 max-frequency = <50000000>;
98 bus-width = <8>;
99 mmc-cap-mmc-highspeed;
100
101 status = "okay";
102 };
103
104 // On-board eMMC
105 sdi4_per2@80114000 {
106 arm,primecell-periphid = <0x10480180>;
107 max-frequency = <50000000>;
108 bus-width = <8>;
109 mmc-cap-mmc-highspeed;
110 vmmc-supply = <&ab8500_ldo_aux2_reg>;
111
112 status = "okay";
113 };
114
115 sound {
116 compatible = "stericsson,snd-soc-mop500";
117
118 stericsson,cpu-dai = <&msp1 &msp3>;
119 stericsson,audio-codec = <&codec>;
120 };
121
122 msp1: msp@80124000 {
123 status = "okay";
124 };
125
126 msp3: msp@80125000 {
127 status = "okay";
128 };
129
130 prcmu@80157000 {
131 db8500-prcmu-regulators {
132 db8500_vape_reg: db8500_vape {
133 regulator-name = "db8500-vape";
134 };
135
136 db8500_varm_reg: db8500_varm {
137 regulator-name = "db8500-varm";
138 };
139
140 db8500_vmodem_reg: db8500_vmodem {
141 regulator-name = "db8500-vmodem";
142 };
143
144 db8500_vpll_reg: db8500_vpll {
145 regulator-name = "db8500-vpll";
146 };
147
148 db8500_vsmps1_reg: db8500_vsmps1 {
149 regulator-name = "db8500-vsmps1";
150 };
151
152 db8500_vsmps2_reg: db8500_vsmps2 {
153 regulator-name = "db8500-vsmps2";
154 };
155
156 db8500_vsmps3_reg: db8500_vsmps3 {
157 regulator-name = "db8500-vsmps3";
158 };
159
160 db8500_vrf1_reg: db8500_vrf1 {
161 regulator-name = "db8500-vrf1";
162 };
163
164 db8500_sva_mmdsp_reg: db8500_sva_mmdsp {
165 regulator-name = "db8500-sva-mmdsp";
166 };
167
168 db8500_sva_mmdsp_ret_reg: db8500_sva_mmdsp_ret {
169 regulator-name = "db8500-sva-mmdsp-ret";
170 };
171
172 db8500_sva_pipe_reg: db8500_sva_pipe {
173 regulator-name = "db8500_sva_pipe";
174 };
175
176 db8500_sia_mmdsp_reg: db8500_sia_mmdsp {
177 regulator-name = "db8500_sia_mmdsp";
178 };
179
180 db8500_sia_mmdsp_ret_reg: db8500_sia_mmdsp_ret {
181 regulator-name = "db8500-sia-mmdsp-ret";
182 };
183
184 db8500_sia_pipe_reg: db8500_sia_pipe {
185 regulator-name = "db8500-sia-pipe";
186 };
187
188 db8500_sga_reg: db8500_sga {
189 regulator-name = "db8500-sga";
190 };
191
192 db8500_b2r2_mcde_reg: db8500_b2r2_mcde {
193 regulator-name = "db8500-b2r2-mcde";
194 };
195
196 db8500_esram12_reg: db8500_esram12 {
197 regulator-name = "db8500-esram12";
198 };
199
200 db8500_esram12_ret_reg: db8500_esram12_ret {
201 regulator-name = "db8500-esram12-ret";
202 };
203
204 db8500_esram34_reg: db8500_esram34 {
205 regulator-name = "db8500-esram34";
206 };
207
208 db8500_esram34_ret_reg: db8500_esram34_ret {
209 regulator-name = "db8500-esram34-ret";
210 };
211 };
212
213 ab8500@5 {
214 ab8500-regulators {
215 ab8500_ldo_aux1_reg: ab8500_ldo_aux1 {
216 regulator-name = "V-DISPLAY";
217 };
218
219 ab8500_ldo_aux2_reg: ab8500_ldo_aux2 {
220 regulator-name = "V-eMMC1";
221 };
222
223 ab8500_ldo_aux3_reg: ab8500_ldo_aux3 {
224 regulator-name = "V-MMC-SD";
225 };
226
227 ab8500_ldo_initcore_reg: ab8500_ldo_initcore {
228 regulator-name = "V-INTCORE";
229 };
230
231 ab8500_ldo_tvout_reg: ab8500_ldo_tvout {
232 regulator-name = "V-TVOUT";
233 };
234
235 ab8500_ldo_usb_reg: ab8500_ldo_usb {
236 regulator-name = "dummy";
237 };
238
239 ab8500_ldo_audio_reg: ab8500_ldo_audio {
240 regulator-name = "V-AUD";
241 };
242
243 ab8500_ldo_anamic1_reg: ab8500_ldo_anamic1 {
244 regulator-name = "V-AMIC1";
245 };
246
247 ab8500_ldo_amamic2_reg: ab8500_ldo_amamic2 {
248 regulator-name = "V-AMIC2";
249 };
250
251 ab8500_ldo_dmic_reg: ab8500_ldo_dmic {
252 regulator-name = "V-DMIC";
253 };
254
255 ab8500_ldo_ana_reg: ab8500_ldo_ana {
256 regulator-name = "V-CSI/DSI";
257 };
258 };
259 };
260 };
261 };
262};
diff --git a/arch/arm/boot/dts/hrefv60plus.dts b/arch/arm/boot/dts/hrefv60plus.dts
index 3fd83c695a5c..2a85893e5156 100644
--- a/arch/arm/boot/dts/hrefv60plus.dts
+++ b/arch/arm/boot/dts/hrefv60plus.dts
@@ -11,261 +11,9 @@
11 11
12/dts-v1/; 12/dts-v1/;
13/include/ "dbx5x0.dtsi" 13/include/ "dbx5x0.dtsi"
14/include/ "href.dtsi"
14 15
15/ { 16/ {
16 model = "ST-Ericsson HREF platform with Device Tree"; 17 model = "ST-Ericsson HREF (v60+) platform with Device Tree";
17 compatible = "st-ericsson,hrefv60+"; 18 compatible = "st-ericsson,hrefv60+";
18
19 memory {
20 reg = <0x00000000 0x20000000>;
21 };
22
23 soc-u9500 {
24 uart@80120000 {
25 status = "okay";
26 };
27
28 uart@80121000 {
29 status = "okay";
30 };
31
32 uart@80007000 {
33 status = "okay";
34 };
35
36 i2c@80004000 {
37 tc3589x@42 {
38 compatible = "tc3589x";
39 reg = <0x42>;
40 interrupt-parent = <&gpio6>;
41 interrupts = <25 0x1>;
42
43 interrupt-controller;
44 #interrupt-cells = <2>;
45
46 tc3589x_gpio: tc3589x_gpio {
47 compatible = "tc3589x-gpio";
48 interrupts = <0 0x1>;
49
50 interrupt-controller;
51 #interrupt-cells = <2>;
52 gpio-controller;
53 #gpio-cells = <2>;
54 };
55 };
56
57 tps61052@33 {
58 compatible = "tps61052";
59 reg = <0x33>;
60 };
61 };
62
63 i2c@80128000 {
64 lp5521@0x33 {
65 compatible = "lp5521";
66 reg = <0x33>;
67 };
68
69 lp5521@0x34 {
70 compatible = "lp5521";
71 reg = <0x34>;
72 };
73
74 bh1780@0x29 {
75 compatible = "rohm,bh1780gli";
76 reg = <0x33>;
77 };
78 };
79
80 // External Micro SD slot
81 sdi0_per1@80126000 {
82 arm,primecell-periphid = <0x10480180>;
83 max-frequency = <50000000>;
84 bus-width = <4>;
85 mmc-cap-sd-highspeed;
86 mmc-cap-mmc-highspeed;
87 vmmc-supply = <&ab8500_ldo_aux3_reg>;
88
89 cd-gpios = <&tc3589x_gpio 3 0x4>;
90
91 status = "okay";
92 };
93
94 // WLAN SDIO channel
95 sdi1_per2@80118000 {
96 arm,primecell-periphid = <0x10480180>;
97 max-frequency = <50000000>;
98 bus-width = <4>;
99
100 status = "okay";
101 };
102
103 // PoP:ed eMMC
104 sdi2_per3@80005000 {
105 arm,primecell-periphid = <0x10480180>;
106 max-frequency = <50000000>;
107 bus-width = <8>;
108 mmc-cap-mmc-highspeed;
109
110 status = "okay";
111 };
112
113 // On-board eMMC
114 sdi4_per2@80114000 {
115 arm,primecell-periphid = <0x10480180>;
116 max-frequency = <50000000>;
117 bus-width = <8>;
118 mmc-cap-mmc-highspeed;
119 vmmc-supply = <&ab8500_ldo_aux2_reg>;
120
121 status = "okay";
122 };
123
124 sound {
125 compatible = "stericsson,snd-soc-mop500";
126
127 stericsson,cpu-dai = <&msp1 &msp3>;
128 stericsson,audio-codec = <&codec>;
129 };
130
131 msp1: msp@80124000 {
132 status = "okay";
133 };
134
135 msp3: msp@80125000 {
136 status = "okay";
137 };
138
139 prcmu@80157000 {
140 db8500-prcmu-regulators {
141 db8500_vape_reg: db8500_vape {
142 regulator-name = "db8500-vape";
143 };
144
145 db8500_varm_reg: db8500_varm {
146 regulator-name = "db8500-varm";
147 };
148
149 db8500_vmodem_reg: db8500_vmodem {
150 regulator-name = "db8500-vmodem";
151 };
152
153 db8500_vpll_reg: db8500_vpll {
154 regulator-name = "db8500-vpll";
155 };
156
157 db8500_vsmps1_reg: db8500_vsmps1 {
158 regulator-name = "db8500-vsmps1";
159 };
160
161 db8500_vsmps2_reg: db8500_vsmps2 {
162 regulator-name = "db8500-vsmps2";
163 };
164
165 db8500_vsmps3_reg: db8500_vsmps3 {
166 regulator-name = "db8500-vsmps3";
167 };
168
169 db8500_vrf1_reg: db8500_vrf1 {
170 regulator-name = "db8500-vrf1";
171 };
172
173 db8500_sva_mmdsp_reg: db8500_sva_mmdsp {
174 regulator-name = "db8500-sva-mmdsp";
175 };
176
177 db8500_sva_mmdsp_ret_reg: db8500_sva_mmdsp_ret {
178 regulator-name = "db8500-sva-mmdsp-ret";
179 };
180
181 db8500_sva_pipe_reg: db8500_sva_pipe {
182 regulator-name = "db8500_sva_pipe";
183 };
184
185 db8500_sia_mmdsp_reg: db8500_sia_mmdsp {
186 regulator-name = "db8500_sia_mmdsp";
187 };
188
189 db8500_sia_mmdsp_ret_reg: db8500_sia_mmdsp_ret {
190 regulator-name = "db8500-sia-mmdsp-ret";
191 };
192
193 db8500_sia_pipe_reg: db8500_sia_pipe {
194 regulator-name = "db8500-sia-pipe";
195 };
196
197 db8500_sga_reg: db8500_sga {
198 regulator-name = "db8500-sga";
199 };
200
201 db8500_b2r2_mcde_reg: db8500_b2r2_mcde {
202 regulator-name = "db8500-b2r2-mcde";
203 };
204
205 db8500_esram12_reg: db8500_esram12 {
206 regulator-name = "db8500-esram12";
207 };
208
209 db8500_esram12_ret_reg: db8500_esram12_ret {
210 regulator-name = "db8500-esram12-ret";
211 };
212
213 db8500_esram34_reg: db8500_esram34 {
214 regulator-name = "db8500-esram34";
215 };
216
217 db8500_esram34_ret_reg: db8500_esram34_ret {
218 regulator-name = "db8500-esram34-ret";
219 };
220 };
221
222 ab8500@5 {
223 ab8500-regulators {
224 ab8500_ldo_aux1_reg: ab8500_ldo_aux1 {
225 regulator-name = "V-DISPLAY";
226 };
227
228 ab8500_ldo_aux2_reg: ab8500_ldo_aux2 {
229 regulator-name = "V-eMMC1";
230 };
231
232 ab8500_ldo_aux3_reg: ab8500_ldo_aux3 {
233 regulator-name = "V-MMC-SD";
234 };
235
236 ab8500_ldo_initcore_reg: ab8500_ldo_initcore {
237 regulator-name = "V-INTCORE";
238 };
239
240 ab8500_ldo_tvout_reg: ab8500_ldo_tvout {
241 regulator-name = "V-TVOUT";
242 };
243
244 ab8500_ldo_usb_reg: ab8500_ldo_usb {
245 regulator-name = "dummy";
246 };
247
248 ab8500_ldo_audio_reg: ab8500_ldo_audio {
249 regulator-name = "V-AUD";
250 };
251
252 ab8500_ldo_anamic1_reg: ab8500_ldo_anamic1 {
253 regulator-name = "V-AMIC1";
254 };
255
256 ab8500_ldo_amamic2_reg: ab8500_ldo_amamic2 {
257 regulator-name = "V-AMIC2";
258 };
259
260 ab8500_ldo_dmic_reg: ab8500_ldo_dmic {
261 regulator-name = "V-DMIC";
262 };
263
264 ab8500_ldo_ana_reg: ab8500_ldo_ana {
265 regulator-name = "V-CSI/DSI";
266 };
267 };
268 };
269 };
270 };
271}; 19};