x86: Make the vdso2c compiler use the host architecture headers
[linux/fpc-iii.git] / arch / arm / boot / dts / exynos5420-smdk5420.dts
blob2e748d19322f29bdd91fbcc270c97a382234cbf1
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.
12 /dts-v1/;
13 #include "exynos5420.dtsi"
14 #include "exynos5420-cpus.dtsi"
15 #include <dt-bindings/gpio/gpio.h>
17 / {
18         model = "Samsung SMDK5420 board based on EXYNOS5420";
19         compatible = "samsung,smdk5420", "samsung,exynos5420", "samsung,exynos5";
21         memory {
22                 reg = <0x20000000 0x80000000>;
23         };
25         chosen {
26                 bootargs = "console=ttySAC2,115200 init=/linuxrc";
27         };
29         fixed-rate-clocks {
30                 oscclk {
31                         compatible = "samsung,exynos5420-oscclk";
32                         clock-frequency = <24000000>;
33                 };
34         };
36         regulators {
37                 compatible = "simple-bus";
38                 #address-cells = <1>;
39                 #size-cells = <0>;
41                 vdd: fixed-regulator@0 {
42                         compatible = "regulator-fixed";
43                         reg = <0>;
44                         regulator-name = "vdd-supply";
45                         regulator-min-microvolt = <1800000>;
46                         regulator-max-microvolt = <1800000>;
47                         regulator-always-on;
48                 };
50                 dbvdd: fixed-regulator@1 {
51                         compatible = "regulator-fixed";
52                         reg = <1>;
53                         regulator-name = "dbvdd-supply";
54                         regulator-min-microvolt = <3300000>;
55                         regulator-max-microvolt = <3300000>;
56                         regulator-always-on;
57                 };
59                 spkvdd: fixed-regulator@2 {
60                         compatible = "regulator-fixed";
61                         reg = <2>;
62                         regulator-name = "spkvdd-supply";
63                         regulator-min-microvolt = <5000000>;
64                         regulator-max-microvolt = <5000000>;
65                         regulator-always-on;
66                 };
67         };
69         usb300_vbus_reg: regulator-usb300 {
70                 compatible = "regulator-fixed";
71                 regulator-name = "VBUS0";
72                 regulator-min-microvolt = <5000000>;
73                 regulator-max-microvolt = <5000000>;
74                 gpio = <&gpg0 5 GPIO_ACTIVE_HIGH>;
75                 pinctrl-names = "default";
76                 pinctrl-0 = <&usb300_vbus_en>;
77                 enable-active-high;
78         };
80         usb301_vbus_reg: regulator-usb301 {
81                 compatible = "regulator-fixed";
82                 regulator-name = "VBUS1";
83                 regulator-min-microvolt = <5000000>;
84                 regulator-max-microvolt = <5000000>;
85                 gpio = <&gpg1 4 GPIO_ACTIVE_HIGH>;
86                 pinctrl-names = "default";
87                 pinctrl-0 = <&usb301_vbus_en>;
88                 enable-active-high;
89         };
93 &cpu0 {
94         cpu-supply = <&buck2_reg>;
97 &cpu4 {
98         cpu-supply = <&buck6_reg>;
101 &dp {
102         pinctrl-names = "default";
103         pinctrl-0 = <&dp_hpd>;
104         samsung,color-space = <0>;
105         samsung,color-depth = <1>;
106         samsung,link-rate = <0x0a>;
107         samsung,lane-count = <4>;
108         status = "okay";
110         display-timings {
111                 native-mode = <&timing0>;
112                 timing0: timing {
113                         clock-frequency = <50000>;
114                         hactive = <2560>;
115                         vactive = <1600>;
116                         hfront-porch = <48>;
117                         hback-porch = <80>;
118                         hsync-len = <32>;
119                         vback-porch = <16>;
120                         vfront-porch = <8>;
121                         vsync-len = <6>;
122                 };
123         };
126 &fimd {
127         status = "okay";
130 &hdmi {
131         status = "okay";
132         hpd-gpio = <&gpx3 7 GPIO_ACTIVE_HIGH>;
133         pinctrl-names = "default";
134         pinctrl-0 = <&hdmi_hpd_irq>;
137 &hsi2c_4 {
138         status = "okay";
140         s2mps11_pmic@66 {
141                 compatible = "samsung,s2mps11-pmic";
142                 reg = <0x66>;
144                 s2mps11_osc: clocks {
145                         #clock-cells = <1>;
146                         clock-output-names = "s2mps11_ap",
147                                         "s2mps11_cp", "s2mps11_bt";
148                 };
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                         };
158                         ldo3_reg: LDO3 {
159                                 regulator-name = "vdd_ldo3";
160                                 regulator-min-microvolt = <1800000>;
161                                 regulator-max-microvolt = <1800000>;
162                                 regulator-always-on;
163                         };
165                         ldo5_reg: LDO5 {
166                                 regulator-name = "vdd_ldo5";
167                                 regulator-min-microvolt = <1800000>;
168                                 regulator-max-microvolt = <1800000>;
169                                 regulator-always-on;
170                         };
172                         ldo6_reg: LDO6 {
173                                 regulator-name = "vdd_ldo6";
174                                 regulator-min-microvolt = <1000000>;
175                                 regulator-max-microvolt = <1000000>;
176                                 regulator-always-on;
177                         };
179                         ldo7_reg: LDO7 {
180                                 regulator-name = "vdd_ldo7";
181                                 regulator-min-microvolt = <1800000>;
182                                 regulator-max-microvolt = <1800000>;
183                                 regulator-always-on;
184                         };
186                         ldo8_reg: LDO8 {
187                                 regulator-name = "vdd_ldo8";
188                                 regulator-min-microvolt = <1800000>;
189                                 regulator-max-microvolt = <1800000>;
190                                 regulator-always-on;
191                         };
193                         ldo9_reg: LDO9 {
194                                 regulator-name = "vdd_ldo9";
195                                 regulator-min-microvolt = <3000000>;
196                                 regulator-max-microvolt = <3000000>;
197                                 regulator-always-on;
198                         };
200                         ldo10_reg: LDO10 {
201                                 regulator-name = "vdd_ldo10";
202                                 regulator-min-microvolt = <1800000>;
203                                 regulator-max-microvolt = <1800000>;
204                                 regulator-always-on;
205                         };
207                         ldo11_reg: LDO11 {
208                                 regulator-name = "vdd_ldo11";
209                                 regulator-min-microvolt = <1000000>;
210                                 regulator-max-microvolt = <1000000>;
211                                 regulator-always-on;
212                         };
214                         ldo12_reg: LDO12 {
215                                 regulator-name = "vdd_ldo12";
216                                 regulator-min-microvolt = <1800000>;
217                                 regulator-max-microvolt = <1800000>;
218                                 regulator-always-on;
219                         };
221                         ldo13_reg: LDO13 {
222                                 regulator-name = "vdd_ldo13";
223                                 regulator-min-microvolt = <2800000>;
224                                 regulator-max-microvolt = <2800000>;
225                                 regulator-always-on;
226                         };
228                         ldo15_reg: LDO15 {
229                                 regulator-name = "vdd_ldo15";
230                                 regulator-min-microvolt = <3100000>;
231                                 regulator-max-microvolt = <3100000>;
232                                 regulator-always-on;
233                         };
235                         ldo16_reg: LDO16 {
236                                 regulator-name = "vdd_ldo16";
237                                 regulator-min-microvolt = <2200000>;
238                                 regulator-max-microvolt = <2200000>;
239                                 regulator-always-on;
240                         };
242                         ldo17_reg: LDO17 {
243                                 regulator-name = "tsp_avdd";
244                                 regulator-min-microvolt = <3300000>;
245                                 regulator-max-microvolt = <3300000>;
246                                 regulator-always-on;
247                         };
249                         ldo19_reg: LDO19 {
250                                 regulator-name = "vdd_sd";
251                                 regulator-min-microvolt = <2800000>;
252                                 regulator-max-microvolt = <2800000>;
253                                 regulator-always-on;
254                         };
256                         ldo24_reg: LDO24 {
257                                 regulator-name = "tsp_io";
258                                 regulator-min-microvolt = <2800000>;
259                                 regulator-max-microvolt = <2800000>;
260                                 regulator-always-on;
261                         };
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                         };
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                         };
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                         };
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                         };
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                         };
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                         };
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                         };
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                         };
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                         };
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         };
346 &i2c_2 {
347         samsung,i2c-sda-delay = <100>;
348         samsung,i2c-max-bus-freq = <66000>;
349         status = "okay";
351         hdmiddc@50 {
352                 compatible = "samsung,exynos4210-hdmiddc";
353                 reg = <0x50>;
354         };
357 &mfc {
358         samsung,mfc-r = <0x43000000 0x800000>;
359         samsung,mfc-l = <0x51000000 0x800000>;
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;
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;
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         };
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         };
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         };
415 &rtc {
416         status = "okay";
419 &usbdrd_phy0 {
420         vbus-supply = <&usb300_vbus_reg>;
423 &usbdrd_phy1 {
424         vbus-supply = <&usb301_vbus_reg>;