mm: fix exec activate_mm vs TLB shootdown and lazy tlb switching race
[linux/fpc-iii.git] / arch / arm / boot / dts / exynos5420-smdk5420.dts
blob08c8ab173e871fdbea71bbea7207998dbe780daa
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@20000000 {
22                 device_type = "memory";
23                 reg = <0x20000000 0x80000000>;
24         };
26         chosen {
27                 bootargs = "console=ttySAC2,115200 init=/linuxrc";
28         };
30         fixed-rate-clocks {
31                 oscclk {
32                         compatible = "samsung,exynos5420-oscclk";
33                         clock-frequency = <24000000>;
34                 };
35         };
37         regulators {
38                 compatible = "simple-bus";
39                 #address-cells = <1>;
40                 #size-cells = <0>;
42                 vdd: fixed-regulator@0 {
43                         compatible = "regulator-fixed";
44                         reg = <0>;
45                         regulator-name = "vdd-supply";
46                         regulator-min-microvolt = <1800000>;
47                         regulator-max-microvolt = <1800000>;
48                         regulator-always-on;
49                 };
51                 dbvdd: fixed-regulator@1 {
52                         compatible = "regulator-fixed";
53                         reg = <1>;
54                         regulator-name = "dbvdd-supply";
55                         regulator-min-microvolt = <3300000>;
56                         regulator-max-microvolt = <3300000>;
57                         regulator-always-on;
58                 };
60                 spkvdd: fixed-regulator@2 {
61                         compatible = "regulator-fixed";
62                         reg = <2>;
63                         regulator-name = "spkvdd-supply";
64                         regulator-min-microvolt = <5000000>;
65                         regulator-max-microvolt = <5000000>;
66                         regulator-always-on;
67                 };
68         };
70         usb300_vbus_reg: regulator-usb300 {
71                 compatible = "regulator-fixed";
72                 regulator-name = "VBUS0";
73                 regulator-min-microvolt = <5000000>;
74                 regulator-max-microvolt = <5000000>;
75                 gpio = <&gpg0 5 GPIO_ACTIVE_HIGH>;
76                 pinctrl-names = "default";
77                 pinctrl-0 = <&usb300_vbus_en>;
78                 enable-active-high;
79         };
81         usb301_vbus_reg: regulator-usb301 {
82                 compatible = "regulator-fixed";
83                 regulator-name = "VBUS1";
84                 regulator-min-microvolt = <5000000>;
85                 regulator-max-microvolt = <5000000>;
86                 gpio = <&gpg1 4 GPIO_ACTIVE_HIGH>;
87                 pinctrl-names = "default";
88                 pinctrl-0 = <&usb301_vbus_en>;
89                 enable-active-high;
90         };
94 &cpu0 {
95         cpu-supply = <&buck2_reg>;
98 &cpu4 {
99         cpu-supply = <&buck6_reg>;
102 &dp {
103         pinctrl-names = "default";
104         pinctrl-0 = <&dp_hpd>;
105         samsung,color-space = <0>;
106         samsung,color-depth = <1>;
107         samsung,link-rate = <0x0a>;
108         samsung,lane-count = <4>;
109         status = "okay";
111         display-timings {
112                 native-mode = <&timing0>;
113                 timing0: timing {
114                         clock-frequency = <50000>;
115                         hactive = <2560>;
116                         vactive = <1600>;
117                         hfront-porch = <48>;
118                         hback-porch = <80>;
119                         hsync-len = <32>;
120                         vback-porch = <16>;
121                         vfront-porch = <8>;
122                         vsync-len = <6>;
123                 };
124         };
127 &fimd {
128         status = "okay";
131 &hdmi {
132         status = "okay";
133         hpd-gpios = <&gpx3 7 GPIO_ACTIVE_HIGH>;
134         pinctrl-names = "default";
135         pinctrl-0 = <&hdmi_hpd_irq>;
138 &hsi2c_4 {
139         status = "okay";
141         s2mps11_pmic@66 {
142                 compatible = "samsung,s2mps11-pmic";
143                 reg = <0x66>;
145                 s2mps11_osc: clocks {
146                         #clock-cells = <1>;
147                         clock-output-names = "s2mps11_ap",
148                                         "s2mps11_cp", "s2mps11_bt";
149                 };
151                 regulators {
152                         ldo1_reg: LDO1 {
153                                 regulator-name = "vdd_ldo1";
154                                 regulator-min-microvolt = <1000000>;
155                                 regulator-max-microvolt = <1000000>;
156                                 regulator-always-on;
157                         };
159                         ldo3_reg: LDO3 {
160                                 regulator-name = "vdd_ldo3";
161                                 regulator-min-microvolt = <1800000>;
162                                 regulator-max-microvolt = <1800000>;
163                                 regulator-always-on;
164                         };
166                         ldo5_reg: LDO5 {
167                                 regulator-name = "vdd_ldo5";
168                                 regulator-min-microvolt = <1800000>;
169                                 regulator-max-microvolt = <1800000>;
170                                 regulator-always-on;
171                         };
173                         ldo6_reg: LDO6 {
174                                 regulator-name = "vdd_ldo6";
175                                 regulator-min-microvolt = <1000000>;
176                                 regulator-max-microvolt = <1000000>;
177                                 regulator-always-on;
178                         };
180                         ldo7_reg: LDO7 {
181                                 regulator-name = "vdd_ldo7";
182                                 regulator-min-microvolt = <1800000>;
183                                 regulator-max-microvolt = <1800000>;
184                                 regulator-always-on;
185                         };
187                         ldo8_reg: LDO8 {
188                                 regulator-name = "vdd_ldo8";
189                                 regulator-min-microvolt = <1800000>;
190                                 regulator-max-microvolt = <1800000>;
191                                 regulator-always-on;
192                         };
194                         ldo9_reg: LDO9 {
195                                 regulator-name = "vdd_ldo9";
196                                 regulator-min-microvolt = <3000000>;
197                                 regulator-max-microvolt = <3000000>;
198                                 regulator-always-on;
199                         };
201                         ldo10_reg: LDO10 {
202                                 regulator-name = "vdd_ldo10";
203                                 regulator-min-microvolt = <1800000>;
204                                 regulator-max-microvolt = <1800000>;
205                                 regulator-always-on;
206                         };
208                         ldo11_reg: LDO11 {
209                                 regulator-name = "vdd_ldo11";
210                                 regulator-min-microvolt = <1000000>;
211                                 regulator-max-microvolt = <1000000>;
212                                 regulator-always-on;
213                         };
215                         ldo12_reg: LDO12 {
216                                 regulator-name = "vdd_ldo12";
217                                 regulator-min-microvolt = <1800000>;
218                                 regulator-max-microvolt = <1800000>;
219                                 regulator-always-on;
220                         };
222                         ldo13_reg: LDO13 {
223                                 regulator-name = "vdd_ldo13";
224                                 regulator-min-microvolt = <2800000>;
225                                 regulator-max-microvolt = <2800000>;
226                                 regulator-always-on;
227                         };
229                         ldo15_reg: LDO15 {
230                                 regulator-name = "vdd_ldo15";
231                                 regulator-min-microvolt = <3100000>;
232                                 regulator-max-microvolt = <3100000>;
233                                 regulator-always-on;
234                         };
236                         ldo16_reg: LDO16 {
237                                 regulator-name = "vdd_ldo16";
238                                 regulator-min-microvolt = <2200000>;
239                                 regulator-max-microvolt = <2200000>;
240                                 regulator-always-on;
241                         };
243                         ldo17_reg: LDO17 {
244                                 regulator-name = "tsp_avdd";
245                                 regulator-min-microvolt = <3300000>;
246                                 regulator-max-microvolt = <3300000>;
247                                 regulator-always-on;
248                         };
250                         ldo19_reg: LDO19 {
251                                 regulator-name = "vdd_sd";
252                                 regulator-min-microvolt = <2800000>;
253                                 regulator-max-microvolt = <2800000>;
254                                 regulator-always-on;
255                         };
257                         ldo24_reg: LDO24 {
258                                 regulator-name = "tsp_io";
259                                 regulator-min-microvolt = <2800000>;
260                                 regulator-max-microvolt = <2800000>;
261                                 regulator-always-on;
262                         };
264                         buck1_reg: BUCK1 {
265                                 regulator-name = "vdd_mif";
266                                 regulator-min-microvolt = <800000>;
267                                 regulator-max-microvolt = <1300000>;
268                                 regulator-always-on;
269                                 regulator-boot-on;
270                         };
272                         buck2_reg: BUCK2 {
273                                 regulator-name = "vdd_arm";
274                                 regulator-min-microvolt = <800000>;
275                                 regulator-max-microvolt = <1500000>;
276                                 regulator-always-on;
277                                 regulator-boot-on;
278                         };
280                         buck3_reg: BUCK3 {
281                                 regulator-name = "vdd_int";
282                                 regulator-min-microvolt = <800000>;
283                                 regulator-max-microvolt = <1400000>;
284                                 regulator-always-on;
285                                 regulator-boot-on;
286                         };
288                         buck4_reg: BUCK4 {
289                                 regulator-name = "vdd_g3d";
290                                 regulator-min-microvolt = <800000>;
291                                 regulator-max-microvolt = <1400000>;
292                                 regulator-always-on;
293                                 regulator-boot-on;
294                         };
296                         buck5_reg: BUCK5 {
297                                 regulator-name = "vdd_mem";
298                                 regulator-min-microvolt = <800000>;
299                                 regulator-max-microvolt = <1400000>;
300                                 regulator-always-on;
301                                 regulator-boot-on;
302                         };
304                         buck6_reg: BUCK6 {
305                                 regulator-name = "vdd_kfc";
306                                 regulator-min-microvolt = <800000>;
307                                 regulator-max-microvolt = <1500000>;
308                                 regulator-always-on;
309                                 regulator-boot-on;
310                         };
312                         buck7_reg: BUCK7 {
313                                 regulator-name = "vdd_1.0v_ldo";
314                                 regulator-min-microvolt = <800000>;
315                                 regulator-max-microvolt = <1500000>;
316                                 regulator-always-on;
317                                 regulator-boot-on;
318                         };
320                         buck8_reg: BUCK8 {
321                                 regulator-name = "vdd_1.8v_ldo";
322                                 regulator-min-microvolt = <800000>;
323                                 regulator-max-microvolt = <1500000>;
324                                 regulator-always-on;
325                                 regulator-boot-on;
326                         };
328                         buck9_reg: BUCK9 {
329                                 regulator-name = "vdd_2.8v_ldo";
330                                 regulator-min-microvolt = <3000000>;
331                                 regulator-max-microvolt = <3750000>;
332                                 regulator-always-on;
333                                 regulator-boot-on;
334                         };
336                         buck10_reg: BUCK10 {
337                                 regulator-name = "vdd_vmem";
338                                 regulator-min-microvolt = <2850000>;
339                                 regulator-max-microvolt = <2850000>;
340                                 regulator-always-on;
341                                 regulator-boot-on;
342                         };
343                 };
344         };
347 &i2c_2 {
348         samsung,i2c-sda-delay = <100>;
349         samsung,i2c-max-bus-freq = <66000>;
350         status = "okay";
352         hdmiddc@50 {
353                 compatible = "samsung,exynos4210-hdmiddc";
354                 reg = <0x50>;
355         };
358 &mmc_0 {
359         status = "okay";
360         broken-cd;
361         card-detect-delay = <200>;
362         samsung,dw-mshc-ciu-div = <3>;
363         samsung,dw-mshc-sdr-timing = <0 4>;
364         samsung,dw-mshc-ddr-timing = <0 2>;
365         samsung,dw-mshc-hs400-timing = <0 2>;
366         samsung,read-strobe-delay = <90>;
367         pinctrl-names = "default";
368         pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8
369                      &sd0_rclk>;
370         bus-width = <8>;
371         cap-mmc-highspeed;
374 &mmc_2 {
375         status = "okay";
376         card-detect-delay = <200>;
377         samsung,dw-mshc-ciu-div = <3>;
378         samsung,dw-mshc-sdr-timing = <2 3>;
379         samsung,dw-mshc-ddr-timing = <1 2>;
380         pinctrl-names = "default";
381         pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus1 &sd2_bus4>;
382         bus-width = <4>;
383         cap-sd-highspeed;
386 &pinctrl_0 {
387         hdmi_hpd_irq: hdmi-hpd-irq {
388                 samsung,pins = "gpx3-7";
389                 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
390                 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
391                 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
392         };
395 &pinctrl_2 {
396         usb300_vbus_en: usb300-vbus-en {
397                 samsung,pins = "gpg0-5";
398                 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
399                 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
400                 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
401         };
403         usb301_vbus_en: usb301-vbus-en {
404                 samsung,pins = "gpg1-4";
405                 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
406                 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
407                 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
408         };
411 &rtc {
412         status = "okay";
415 &usbdrd_phy0 {
416         vbus-supply = <&usb300_vbus_reg>;
419 &usbdrd_phy1 {
420         vbus-supply = <&usb301_vbus_reg>;