Merge branch 'async-scsi-resume' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux.git] / arch / arm / boot / dts / exynos5250-smdk5250.dts
1 /*
2  * SAMSUNG SMDK5250 board device tree source
3  *
4  * Copyright (c) 2012 Samsung Electronics Co., Ltd.
5  *              http://www.samsung.com
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License version 2 as
9  * published by the Free Software Foundation.
10 */
11
12 /dts-v1/;
13 #include "exynos5250.dtsi"
14
15 / {
16         model = "SAMSUNG SMDK5250 board based on EXYNOS5250";
17         compatible = "samsung,smdk5250", "samsung,exynos5250", "samsung,exynos5";
18
19         aliases {
20         };
21
22         memory {
23                 reg = <0x40000000 0x80000000>;
24         };
25
26         chosen {
27                 bootargs = "root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC2,115200 init=/linuxrc";
28         };
29
30         rtc@101E0000 {
31                 status = "okay";
32         };
33
34         i2c@12C60000 {
35                 samsung,i2c-sda-delay = <100>;
36                 samsung,i2c-max-bus-freq = <20000>;
37                 status = "okay";
38
39                 eeprom@50 {
40                         compatible = "samsung,s524ad0xd1";
41                         reg = <0x50>;
42                 };
43
44                 max77686@09 {
45                         compatible = "maxim,max77686";
46                         reg = <0x09>;
47
48                         voltage-regulators {
49                                 ldo1_reg: LDO1 {
50                                         regulator-name = "P1.0V_LDO_OUT1";
51                                         regulator-min-microvolt = <1000000>;
52                                         regulator-max-microvolt = <1000000>;
53                                         regulator-always-on;
54                                 };
55
56                                 ldo2_reg: LDO2 {
57                                         regulator-name = "P1.2V_LDO_OUT2";
58                                         regulator-min-microvolt = <1200000>;
59                                         regulator-max-microvolt = <1200000>;
60                                         regulator-always-on;
61                                 };
62
63                                 ldo3_reg: LDO3 {
64                                         regulator-name = "P1.8V_LDO_OUT3";
65                                         regulator-min-microvolt = <1800000>;
66                                         regulator-max-microvolt = <1800000>;
67                                         regulator-always-on;
68                                 };
69
70                                 ldo4_reg: LDO4 {
71                                         regulator-name = "P2.8V_LDO_OUT4";
72                                         regulator-min-microvolt = <2800000>;
73                                         regulator-max-microvolt = <2800000>;
74                                 };
75
76                                 ldo5_reg: LDO5 {
77                                         regulator-name = "P1.8V_LDO_OUT5";
78                                         regulator-min-microvolt = <1800000>;
79                                         regulator-max-microvolt = <1800000>;
80                                 };
81
82                                 ldo6_reg: LDO6 {
83                                         regulator-name = "P1.1V_LDO_OUT6";
84                                         regulator-min-microvolt = <1100000>;
85                                         regulator-max-microvolt = <1100000>;
86                                         regulator-always-on;
87                                 };
88
89                                 ldo7_reg: LDO7 {
90                                         regulator-name = "P1.1V_LDO_OUT7";
91                                         regulator-min-microvolt = <1100000>;
92                                         regulator-max-microvolt = <1100000>;
93                                         regulator-always-on;
94                                 };
95
96                                 ldo8_reg: LDO8 {
97                                         regulator-name = "P1.0V_LDO_OUT8";
98                                         regulator-min-microvolt = <1000000>;
99                                         regulator-max-microvolt = <1000000>;
100                                 };
101
102                                 ldo10_reg: LDO10 {
103                                         regulator-name = "P1.8V_LDO_OUT10";
104                                         regulator-min-microvolt = <1800000>;
105                                         regulator-max-microvolt = <1800000>;
106                                 };
107
108                                 ldo11_reg: LDO11 {
109                                         regulator-name = "P1.8V_LDO_OUT11";
110                                         regulator-min-microvolt = <1800000>;
111                                         regulator-max-microvolt = <1800000>;
112                                 };
113
114                                 ldo12_reg: LDO12 {
115                                         regulator-name = "P3.0V_LDO_OUT12";
116                                         regulator-min-microvolt = <3000000>;
117                                         regulator-max-microvolt = <3000000>;
118                                 };
119
120                                 ldo13_reg: LDO13 {
121                                         regulator-name = "P1.8V_LDO_OUT13";
122                                         regulator-min-microvolt = <1800000>;
123                                         regulator-max-microvolt = <1800000>;
124                                 };
125
126                                 ldo14_reg: LDO14 {
127                                         regulator-name = "P1.8V_LDO_OUT14";
128                                         regulator-min-microvolt = <1800000>;
129                                         regulator-max-microvolt = <1800000>;
130                                 };
131
132                                 ldo15_reg: LDO15 {
133                                         regulator-name = "P1.0V_LDO_OUT15";
134                                         regulator-min-microvolt = <1000000>;
135                                         regulator-max-microvolt = <1000000>;
136                                 };
137
138                                 ldo16_reg: LDO16 {
139                                         regulator-name = "P1.8V_LDO_OUT16";
140                                         regulator-min-microvolt = <1800000>;
141                                         regulator-max-microvolt = <1800000>;
142                                 };
143
144                                 buck1_reg: BUCK1 {
145                                         regulator-name = "vdd_mif";
146                                         regulator-min-microvolt = <950000>;
147                                         regulator-max-microvolt = <1300000>;
148                                         regulator-always-on;
149                                         regulator-boot-on;
150                                 };
151
152                                 buck2_reg: BUCK2 {
153                                         regulator-name = "vdd_arm";
154                                         regulator-min-microvolt = <850000>;
155                                         regulator-max-microvolt = <1350000>;
156                                         regulator-always-on;
157                                         regulator-boot-on;
158                                 };
159
160                                 buck3_reg: BUCK3 {
161                                         regulator-name = "vdd_int";
162                                         regulator-min-microvolt = <900000>;
163                                         regulator-max-microvolt = <1200000>;
164                                         regulator-always-on;
165                                         regulator-boot-on;
166                                 };
167
168                                 buck4_reg: BUCK4 {
169                                         regulator-name = "vdd_g3d";
170                                         regulator-min-microvolt = <850000>;
171                                         regulator-max-microvolt = <1300000>;
172                                         regulator-always-on;
173                                         regulator-boot-on;
174                                 };
175
176                                 buck5_reg: BUCK5 {
177                                         regulator-name = "P1.8V_BUCK_OUT5";
178                                         regulator-min-microvolt = <1800000>;
179                                         regulator-max-microvolt = <1800000>;
180                                         regulator-always-on;
181                                         regulator-boot-on;
182                                 };
183                         };
184                 };
185         };
186
187         vdd: fixed-regulator@0 {
188                 compatible = "regulator-fixed";
189                 regulator-name = "vdd-supply";
190                 regulator-min-microvolt = <1800000>;
191                 regulator-max-microvolt = <1800000>;
192                 regulator-always-on;
193         };
194
195         dbvdd: fixed-regulator@1 {
196                 compatible = "regulator-fixed";
197                 regulator-name = "dbvdd-supply";
198                 regulator-min-microvolt = <3300000>;
199                 regulator-max-microvolt = <3300000>;
200                 regulator-always-on;
201         };
202
203         spkvdd: fixed-regulator@2 {
204                 compatible = "regulator-fixed";
205                 regulator-name = "spkvdd-supply";
206                 regulator-min-microvolt = <5000000>;
207                 regulator-max-microvolt = <5000000>;
208                 regulator-always-on;
209         };
210
211         i2c@12C70000 {
212                 samsung,i2c-sda-delay = <100>;
213                 samsung,i2c-max-bus-freq = <20000>;
214                 status = "okay";
215
216                 eeprom@51 {
217                         compatible = "samsung,s524ad0xd1";
218                         reg = <0x51>;
219                 };
220
221                 wm8994: wm8994@1a {
222                         compatible = "wlf,wm8994";
223                         reg = <0x1a>;
224
225                         gpio-controller;
226                         #gpio-cells = <2>;
227
228                         clocks = <&codec_mclk>;
229                         clock-names = "MCLK1";
230
231                         AVDD2-supply = <&vdd>;
232                         CPVDD-supply = <&vdd>;
233                         DBVDD-supply = <&dbvdd>;
234                         SPKVDD1-supply = <&spkvdd>;
235                         SPKVDD2-supply = <&spkvdd>;
236                 };
237         };
238
239         i2c@121D0000 {
240                 samsung,i2c-sda-delay = <100>;
241                 samsung,i2c-max-bus-freq = <40000>;
242                 samsung,i2c-slave-addr = <0x38>;
243                 status = "okay";
244
245                 sata_phy_i2c:sata-phy@38 {
246                         compatible = "samsung,exynos-sataphy-i2c";
247                         reg = <0x38>;
248                 };
249         };
250
251         i2c@12C80000 {
252                 samsung,i2c-sda-delay = <100>;
253                 samsung,i2c-max-bus-freq = <66000>;
254                 status = "okay";
255
256                 hdmiddc@50 {
257                         compatible = "samsung,exynos4210-hdmiddc";
258                         reg = <0x50>;
259                 };
260         };
261
262         i2c@12CE0000 {
263                 samsung,i2c-sda-delay = <100>;
264                 samsung,i2c-max-bus-freq = <66000>;
265                 status = "okay";
266
267                 hdmiphy@38 {
268                         compatible = "samsung,exynos4212-hdmiphy";
269                         reg = <0x38>;
270                 };
271         };
272
273         sata@122F0000 {
274                 status = "okay";
275         };
276
277         sata-phy@12170000 {
278                 status = "okay";
279                 samsung,exynos-sataphy-i2c-phandle = <&sata_phy_i2c>;
280         };
281
282         mmc@12200000 {
283                 status = "okay";
284                 num-slots = <1>;
285                 supports-highspeed;
286                 broken-cd;
287                 card-detect-delay = <200>;
288                 samsung,dw-mshc-ciu-div = <3>;
289                 samsung,dw-mshc-sdr-timing = <2 3>;
290                 samsung,dw-mshc-ddr-timing = <1 2>;
291                 pinctrl-names = "default";
292                 pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8>;
293
294                 slot@0 {
295                         reg = <0>;
296                         bus-width = <8>;
297                 };
298         };
299
300         mmc@12220000 {
301                 status = "okay";
302                 num-slots = <1>;
303                 supports-highspeed;
304                 card-detect-delay = <200>;
305                 samsung,dw-mshc-ciu-div = <3>;
306                 samsung,dw-mshc-sdr-timing = <2 3>;
307                 samsung,dw-mshc-ddr-timing = <1 2>;
308                 pinctrl-names = "default";
309                 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>;
310
311                 slot@0 {
312                         reg = <0>;
313                         bus-width = <4>;
314                         disable-wp;
315                 };
316         };
317
318         spi_1: spi@12d30000 {
319                 status = "okay";
320
321                 w25q80bw@0 {
322                         #address-cells = <1>;
323                         #size-cells = <1>;
324                         compatible = "w25x80";
325                         reg = <0>;
326                         spi-max-frequency = <1000000>;
327
328                         controller-data {
329                                 cs-gpio = <&gpa2 5 0>;
330                                 samsung,spi-feedback-delay = <0>;
331                         };
332
333                         partition@0 {
334                                 label = "U-Boot";
335                                 reg = <0x0 0x40000>;
336                                 read-only;
337                         };
338
339                         partition@40000 {
340                                 label = "Kernel";
341                                 reg = <0x40000 0xc0000>;
342                         };
343                 };
344         };
345
346         hdmi {
347                 hpd-gpio = <&gpx3 7 0>;
348         };
349
350         codec@11000000 {
351                 samsung,mfc-r = <0x43000000 0x800000>;
352                 samsung,mfc-l = <0x51000000 0x800000>;
353         };
354
355         i2s0: i2s@03830000 {
356                 status = "okay";
357         };
358
359         sound {
360                 compatible = "samsung,smdk-wm8994";
361
362                 samsung,i2s-controller = <&i2s0>;
363                 samsung,audio-codec = <&wm8994>;
364         };
365
366         usb@12110000 {
367                 samsung,vbus-gpio = <&gpx2 6 0>;
368         };
369
370         dp-controller@145B0000 {
371                 samsung,color-space = <0>;
372                 samsung,dynamic-range = <0>;
373                 samsung,ycbcr-coeff = <0>;
374                 samsung,color-depth = <1>;
375                 samsung,link-rate = <0x0a>;
376                 samsung,lane-count = <4>;
377
378                 pinctrl-names = "default";
379                 pinctrl-0 = <&dp_hpd>;
380                 status = "okay";
381         };
382
383         fimd@14400000 {
384                 status = "okay";
385                 display-timings {
386                         native-mode = <&timing0>;
387                         timing0: timing@0 {
388                                 /* 1280x800 */
389                                 clock-frequency = <50000>;
390                                 hactive = <1280>;
391                                 vactive = <800>;
392                                 hfront-porch = <4>;
393                                 hback-porch = <4>;
394                                 hsync-len = <4>;
395                                 vback-porch = <4>;
396                                 vfront-porch = <4>;
397                                 vsync-len = <4>;
398                         };
399                 };
400         };
401
402         fixed-rate-clocks {
403                 xxti {
404                         compatible = "samsung,clock-xxti";
405                         clock-frequency = <24000000>;
406                 };
407
408                 codec_mclk: codec-mclk {
409                         compatible = "fixed-clock";
410                         #clock-cells = <0>;
411                         clock-frequency = <16934000>;
412                 };
413         };
414 };