]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - arch/arm/boot/dts/exynos5420-smdk5420.dts
Merge remote-tracking branch 'thermal-soc/next'
[karo-tx-linux.git] / arch / arm / boot / dts / exynos5420-smdk5420.dts
1 /*
2  * SAMSUNG SMDK5420 board device tree source
3  *
4  * Copyright (c) 2013 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 "exynos5420.dtsi"
14 #include <dt-bindings/gpio/gpio.h>
15
16 / {
17         model = "Samsung SMDK5420 board based on EXYNOS5420";
18         compatible = "samsung,smdk5420", "samsung,exynos5420", "samsung,exynos5";
19
20         memory {
21                 reg = <0x20000000 0x80000000>;
22         };
23
24         chosen {
25                 bootargs = "console=ttySAC2,115200 init=/linuxrc";
26         };
27
28         fixed-rate-clocks {
29                 oscclk {
30                         compatible = "samsung,exynos5420-oscclk";
31                         clock-frequency = <24000000>;
32                 };
33         };
34
35         regulators {
36                 compatible = "simple-bus";
37                 #address-cells = <1>;
38                 #size-cells = <0>;
39
40                 vdd: fixed-regulator@0 {
41                         compatible = "regulator-fixed";
42                         reg = <0>;
43                         regulator-name = "vdd-supply";
44                         regulator-min-microvolt = <1800000>;
45                         regulator-max-microvolt = <1800000>;
46                         regulator-always-on;
47                 };
48
49                 dbvdd: fixed-regulator@1 {
50                         compatible = "regulator-fixed";
51                         reg = <1>;
52                         regulator-name = "dbvdd-supply";
53                         regulator-min-microvolt = <3300000>;
54                         regulator-max-microvolt = <3300000>;
55                         regulator-always-on;
56                 };
57
58                 spkvdd: fixed-regulator@2 {
59                         compatible = "regulator-fixed";
60                         reg = <2>;
61                         regulator-name = "spkvdd-supply";
62                         regulator-min-microvolt = <5000000>;
63                         regulator-max-microvolt = <5000000>;
64                         regulator-always-on;
65                 };
66         };
67
68         usb300_vbus_reg: regulator-usb300 {
69                 compatible = "regulator-fixed";
70                 regulator-name = "VBUS0";
71                 regulator-min-microvolt = <5000000>;
72                 regulator-max-microvolt = <5000000>;
73                 gpio = <&gpg0 5 GPIO_ACTIVE_HIGH>;
74                 pinctrl-names = "default";
75                 pinctrl-0 = <&usb300_vbus_en>;
76                 enable-active-high;
77         };
78
79         usb301_vbus_reg: regulator-usb301 {
80                 compatible = "regulator-fixed";
81                 regulator-name = "VBUS1";
82                 regulator-min-microvolt = <5000000>;
83                 regulator-max-microvolt = <5000000>;
84                 gpio = <&gpg1 4 GPIO_ACTIVE_HIGH>;
85                 pinctrl-names = "default";
86                 pinctrl-0 = <&usb301_vbus_en>;
87                 enable-active-high;
88         };
89
90 };
91
92 &dp {
93         pinctrl-names = "default";
94         pinctrl-0 = <&dp_hpd>;
95         samsung,color-space = <0>;
96         samsung,dynamic-range = <0>;
97         samsung,ycbcr-coeff = <0>;
98         samsung,color-depth = <1>;
99         samsung,link-rate = <0x0a>;
100         samsung,lane-count = <4>;
101         status = "okay";
102
103         display-timings {
104                 native-mode = <&timing0>;
105                 timing0: timing@0 {
106                         clock-frequency = <50000>;
107                         hactive = <2560>;
108                         vactive = <1600>;
109                         hfront-porch = <48>;
110                         hback-porch = <80>;
111                         hsync-len = <32>;
112                         vback-porch = <16>;
113                         vfront-porch = <8>;
114                         vsync-len = <6>;
115                 };
116         };
117 };
118
119 &fimd {
120         status = "okay";
121 };
122
123 &hdmi {
124         status = "okay";
125         hpd-gpio = <&gpx3 7 GPIO_ACTIVE_HIGH>;
126         pinctrl-names = "default";
127         pinctrl-0 = <&hdmi_hpd_irq>;
128 };
129
130 &hsi2c_4 {
131         status = "okay";
132
133         s2mps11_pmic@66 {
134                 compatible = "samsung,s2mps11-pmic";
135                 reg = <0x66>;
136                 s2mps11,buck2-ramp-delay = <12>;
137                 s2mps11,buck34-ramp-delay = <12>;
138                 s2mps11,buck16-ramp-delay = <12>;
139                 s2mps11,buck6-ramp-enable = <1>;
140                 s2mps11,buck2-ramp-enable = <1>;
141                 s2mps11,buck3-ramp-enable = <1>;
142                 s2mps11,buck4-ramp-enable = <1>;
143
144                 s2mps11_osc: clocks {
145                         #clock-cells = <1>;
146                         clock-output-names = "s2mps11_ap",
147                                         "s2mps11_cp", "s2mps11_bt";
148                 };
149
150                 regulators {
151                         ldo1_reg: LDO1 {
152                                 regulator-name = "vdd_ldo1";
153                                 regulator-min-microvolt = <1000000>;
154                                 regulator-max-microvolt = <1000000>;
155                                 regulator-always-on;
156                         };
157
158                         ldo3_reg: LDO3 {
159                                 regulator-name = "vdd_ldo3";
160                                 regulator-min-microvolt = <1800000>;
161                                 regulator-max-microvolt = <1800000>;
162                                 regulator-always-on;
163                         };
164
165                         ldo5_reg: LDO5 {
166                                 regulator-name = "vdd_ldo5";
167                                 regulator-min-microvolt = <1800000>;
168                                 regulator-max-microvolt = <1800000>;
169                                 regulator-always-on;
170                         };
171
172                         ldo6_reg: LDO6 {
173                                 regulator-name = "vdd_ldo6";
174                                 regulator-min-microvolt = <1000000>;
175                                 regulator-max-microvolt = <1000000>;
176                                 regulator-always-on;
177                         };
178
179                         ldo7_reg: LDO7 {
180                                 regulator-name = "vdd_ldo7";
181                                 regulator-min-microvolt = <1800000>;
182                                 regulator-max-microvolt = <1800000>;
183                                 regulator-always-on;
184                         };
185
186                         ldo8_reg: LDO8 {
187                                 regulator-name = "vdd_ldo8";
188                                 regulator-min-microvolt = <1800000>;
189                                 regulator-max-microvolt = <1800000>;
190                                 regulator-always-on;
191                         };
192
193                         ldo9_reg: LDO9 {
194                                 regulator-name = "vdd_ldo9";
195                                 regulator-min-microvolt = <3000000>;
196                                 regulator-max-microvolt = <3000000>;
197                                 regulator-always-on;
198                         };
199
200                         ldo10_reg: LDO10 {
201                                 regulator-name = "vdd_ldo10";
202                                 regulator-min-microvolt = <1800000>;
203                                 regulator-max-microvolt = <1800000>;
204                                 regulator-always-on;
205                         };
206
207                         ldo11_reg: LDO11 {
208                                 regulator-name = "vdd_ldo11";
209                                 regulator-min-microvolt = <1000000>;
210                                 regulator-max-microvolt = <1000000>;
211                                 regulator-always-on;
212                         };
213
214                         ldo12_reg: LDO12 {
215                                 regulator-name = "vdd_ldo12";
216                                 regulator-min-microvolt = <1800000>;
217                                 regulator-max-microvolt = <1800000>;
218                                 regulator-always-on;
219                         };
220
221                         ldo13_reg: LDO13 {
222                                 regulator-name = "vdd_ldo13";
223                                 regulator-min-microvolt = <2800000>;
224                                 regulator-max-microvolt = <2800000>;
225                                 regulator-always-on;
226                         };
227
228                         ldo15_reg: LDO15 {
229                                 regulator-name = "vdd_ldo15";
230                                 regulator-min-microvolt = <3100000>;
231                                 regulator-max-microvolt = <3100000>;
232                                 regulator-always-on;
233                         };
234
235                         ldo16_reg: LDO16 {
236                                 regulator-name = "vdd_ldo16";
237                                 regulator-min-microvolt = <2200000>;
238                                 regulator-max-microvolt = <2200000>;
239                                 regulator-always-on;
240                         };
241
242                         ldo17_reg: LDO17 {
243                                 regulator-name = "tsp_avdd";
244                                 regulator-min-microvolt = <3300000>;
245                                 regulator-max-microvolt = <3300000>;
246                                 regulator-always-on;
247                         };
248
249                         ldo19_reg: LDO19 {
250                                 regulator-name = "vdd_sd";
251                                 regulator-min-microvolt = <2800000>;
252                                 regulator-max-microvolt = <2800000>;
253                                 regulator-always-on;
254                         };
255
256                         ldo24_reg: LDO24 {
257                                 regulator-name = "tsp_io";
258                                 regulator-min-microvolt = <2800000>;
259                                 regulator-max-microvolt = <2800000>;
260                                 regulator-always-on;
261                         };
262
263                         buck1_reg: BUCK1 {
264                                 regulator-name = "vdd_mif";
265                                 regulator-min-microvolt = <800000>;
266                                 regulator-max-microvolt = <1300000>;
267                                 regulator-always-on;
268                                 regulator-boot-on;
269                         };
270
271                         buck2_reg: BUCK2 {
272                                 regulator-name = "vdd_arm";
273                                 regulator-min-microvolt = <800000>;
274                                 regulator-max-microvolt = <1500000>;
275                                 regulator-always-on;
276                                 regulator-boot-on;
277                         };
278
279                         buck3_reg: BUCK3 {
280                                 regulator-name = "vdd_int";
281                                 regulator-min-microvolt = <800000>;
282                                 regulator-max-microvolt = <1400000>;
283                                 regulator-always-on;
284                                 regulator-boot-on;
285                         };
286
287                         buck4_reg: BUCK4 {
288                                 regulator-name = "vdd_g3d";
289                                 regulator-min-microvolt = <800000>;
290                                 regulator-max-microvolt = <1400000>;
291                                 regulator-always-on;
292                                 regulator-boot-on;
293                         };
294
295                         buck5_reg: BUCK5 {
296                                 regulator-name = "vdd_mem";
297                                 regulator-min-microvolt = <800000>;
298                                 regulator-max-microvolt = <1400000>;
299                                 regulator-always-on;
300                                 regulator-boot-on;
301                         };
302
303                         buck6_reg: BUCK6 {
304                                 regulator-name = "vdd_kfc";
305                                 regulator-min-microvolt = <800000>;
306                                 regulator-max-microvolt = <1500000>;
307                                 regulator-always-on;
308                                 regulator-boot-on;
309                         };
310
311                         buck7_reg: BUCK7 {
312                                 regulator-name = "vdd_1.0v_ldo";
313                                 regulator-min-microvolt = <800000>;
314                                 regulator-max-microvolt = <1500000>;
315                                 regulator-always-on;
316                                 regulator-boot-on;
317                         };
318
319                         buck8_reg: BUCK8 {
320                                 regulator-name = "vdd_1.8v_ldo";
321                                 regulator-min-microvolt = <800000>;
322                                 regulator-max-microvolt = <1500000>;
323                                 regulator-always-on;
324                                 regulator-boot-on;
325                         };
326
327                         buck9_reg: BUCK9 {
328                                 regulator-name = "vdd_2.8v_ldo";
329                                 regulator-min-microvolt = <3000000>;
330                                 regulator-max-microvolt = <3750000>;
331                                 regulator-always-on;
332                                 regulator-boot-on;
333                         };
334
335                         buck10_reg: BUCK10 {
336                                 regulator-name = "vdd_vmem";
337                                 regulator-min-microvolt = <2850000>;
338                                 regulator-max-microvolt = <2850000>;
339                                 regulator-always-on;
340                                 regulator-boot-on;
341                         };
342                 };
343         };
344 };
345
346 &i2c_2 {
347         samsung,i2c-sda-delay = <100>;
348         samsung,i2c-max-bus-freq = <66000>;
349         status = "okay";
350
351         hdmiddc@50 {
352                 compatible = "samsung,exynos4210-hdmiddc";
353                 reg = <0x50>;
354         };
355 };
356
357 &mfc {
358         samsung,mfc-r = <0x43000000 0x800000>;
359         samsung,mfc-l = <0x51000000 0x800000>;
360 };
361
362 &mmc_0 {
363         status = "okay";
364         broken-cd;
365         card-detect-delay = <200>;
366         samsung,dw-mshc-ciu-div = <3>;
367         samsung,dw-mshc-sdr-timing = <0 4>;
368         samsung,dw-mshc-ddr-timing = <0 2>;
369         samsung,dw-mshc-hs400-timing = <0 2>;
370         samsung,read-strobe-delay = <90>;
371         pinctrl-names = "default";
372         pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8
373                      &sd0_rclk>;
374         bus-width = <8>;
375         cap-mmc-highspeed;
376 };
377
378 &mmc_2 {
379         status = "okay";
380         card-detect-delay = <200>;
381         samsung,dw-mshc-ciu-div = <3>;
382         samsung,dw-mshc-sdr-timing = <2 3>;
383         samsung,dw-mshc-ddr-timing = <1 2>;
384         pinctrl-names = "default";
385         pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus1 &sd2_bus4>;
386         bus-width = <4>;
387         cap-sd-highspeed;
388 };
389
390 &pinctrl_0 {
391         hdmi_hpd_irq: hdmi-hpd-irq {
392                 samsung,pins = "gpx3-7";
393                 samsung,pin-function = <0>;
394                 samsung,pin-pud = <1>;
395                 samsung,pin-drv = <0>;
396         };
397 };
398
399 &pinctrl_2 {
400         usb300_vbus_en: usb300-vbus-en {
401                 samsung,pins = "gpg0-5";
402                 samsung,pin-function = <1>;
403                 samsung,pin-pud = <0>;
404                 samsung,pin-drv = <0>;
405         };
406
407         usb301_vbus_en: usb301-vbus-en {
408                 samsung,pins = "gpg1-4";
409                 samsung,pin-function = <1>;
410                 samsung,pin-pud = <0>;
411                 samsung,pin-drv = <0>;
412         };
413 };
414
415 &rtc {
416         status = "okay";
417 };
418
419 &usbdrd_phy0 {
420         vbus-supply = <&usb300_vbus_reg>;
421 };
422
423 &usbdrd_phy1 {
424         vbus-supply = <&usb301_vbus_reg>;
425 };