x86/efi: Enforce CONFIG_RELOCATABLE for EFI boot stub
[linux/fpc-iii.git] / arch / arm / boot / dts / exynos5250-arndale.dts
blob47fa5aba20a143fc15b7dd8dc143835fbe2e0a41
1 /*
2  * Samsung's Exynos5250 based Arndale 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 "exynos5250.dtsi"
14 #include <dt-bindings/interrupt-controller/irq.h>
16 / {
17         model = "Insignal Arndale evaluation board based on EXYNOS5250";
18         compatible = "insignal,arndale", "samsung,exynos5250";
20         memory {
21                 reg = <0x40000000 0x80000000>;
22         };
24         chosen {
25                 bootargs = "console=ttySAC2,115200";
26         };
28         codec@11000000 {
29                 samsung,mfc-r = <0x43000000 0x800000>;
30                 samsung,mfc-l = <0x51000000 0x800000>;
31         };
33         i2c@12C60000 {
34                 samsung,i2c-sda-delay = <100>;
35                 samsung,i2c-max-bus-freq = <20000>;
36                 samsung,i2c-slave-addr = <0x66>;
38                 s5m8767_pmic@66 {
39                         compatible = "samsung,s5m8767-pmic";
40                         reg = <0x66>;
41                         interrupt-parent = <&gpx3>;
42                         interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
44                         vinb1-supply = <&main_dc_reg>;
45                         vinb2-supply = <&main_dc_reg>;
46                         vinb3-supply = <&main_dc_reg>;
47                         vinb4-supply = <&main_dc_reg>;
48                         vinb5-supply = <&main_dc_reg>;
49                         vinb6-supply = <&main_dc_reg>;
50                         vinb7-supply = <&main_dc_reg>;
51                         vinb8-supply = <&main_dc_reg>;
52                         vinb9-supply = <&main_dc_reg>;
54                         vinl1-supply = <&buck7_reg>;
55                         vinl2-supply = <&buck7_reg>;
56                         vinl3-supply = <&buck7_reg>;
57                         vinl4-supply = <&main_dc_reg>;
58                         vinl5-supply = <&main_dc_reg>;
59                         vinl6-supply = <&main_dc_reg>;
60                         vinl7-supply = <&main_dc_reg>;
61                         vinl8-supply = <&buck8_reg>;
62                         vinl9-supply = <&buck8_reg>;
64                         s5m8767,pmic-buck2-dvs-voltage = <1300000>;
65                         s5m8767,pmic-buck3-dvs-voltage = <1100000>;
66                         s5m8767,pmic-buck4-dvs-voltage = <1200000>;
67                         s5m8767,pmic-buck-dvs-gpios = <&gpd1 0 0>,
68                                                         <&gpd1 1 0>,
69                                                         <&gpd1 2 0>;
70                         s5m8767,pmic-buck-ds-gpios = <&gpx2 3 0>,
71                                                         <&gpx2 4 0>,
72                                                         <&gpx2 5 0>;
73                         regulators {
74                                 ldo1_reg: LDO1 {
75                                         regulator-name = "VDD_ALIVE_1.0V";
76                                         regulator-min-microvolt = <1100000>;
77                                         regulator-max-microvolt = <1100000>;
78                                         regulator-always-on;
79                                         regulator-boot-on;
80                                         op_mode = <1>;
81                                 };
83                                 ldo2_reg: LDO2 {
84                                         regulator-name = "VDD_28IO_DP_1.35V";
85                                         regulator-min-microvolt = <1200000>;
86                                         regulator-max-microvolt = <1200000>;
87                                         regulator-always-on;
88                                         regulator-boot-on;
89                                         op_mode = <1>;
90                                 };
92                                 ldo3_reg: LDO3 {
93                                         regulator-name = "VDD_COMMON1_1.8V";
94                                         regulator-min-microvolt = <1800000>;
95                                         regulator-max-microvolt = <1800000>;
96                                         regulator-always-on;
97                                         regulator-boot-on;
98                                         op_mode = <1>;
99                                 };
101                                 ldo4_reg: LDO4 {
102                                         regulator-name = "VDD_IOPERI_1.8V";
103                                         regulator-min-microvolt = <1800000>;
104                                         regulator-max-microvolt = <1800000>;
105                                         op_mode = <1>;
106                                 };
108                                 ldo5_reg: LDO5 {
109                                         regulator-name = "VDD_EXT_1.8V";
110                                         regulator-min-microvolt = <1800000>;
111                                         regulator-max-microvolt = <1800000>;
112                                         regulator-always-on;
113                                         regulator-boot-on;
114                                         op_mode = <1>;
115                                 };
117                                 ldo6_reg: LDO6 {
118                                         regulator-name = "VDD_MPLL_1.1V";
119                                         regulator-min-microvolt = <1100000>;
120                                         regulator-max-microvolt = <1100000>;
121                                         regulator-always-on;
122                                         regulator-boot-on;
123                                         op_mode = <1>;
124                                 };
126                                 ldo7_reg: LDO7 {
127                                         regulator-name = "VDD_XPLL_1.1V";
128                                         regulator-min-microvolt = <1100000>;
129                                         regulator-max-microvolt = <1100000>;
130                                         regulator-always-on;
131                                         regulator-boot-on;
132                                         op_mode = <1>;
133                                 };
135                                 ldo8_reg: LDO8 {
136                                         regulator-name = "VDD_COMMON2_1.0V";
137                                         regulator-min-microvolt = <1000000>;
138                                         regulator-max-microvolt = <1000000>;
139                                         regulator-always-on;
140                                         regulator-boot-on;
141                                         op_mode = <1>;
142                                 };
144                                 ldo9_reg: LDO9 {
145                                         regulator-name = "VDD_33ON_3.0V";
146                                         regulator-min-microvolt = <3000000>;
147                                         regulator-max-microvolt = <3000000>;
148                                         op_mode = <1>;
149                                 };
151                                 ldo10_reg: LDO10 {
152                                         regulator-name = "VDD_COMMON3_1.8V";
153                                         regulator-min-microvolt = <1800000>;
154                                         regulator-max-microvolt = <1800000>;
155                                         regulator-always-on;
156                                         regulator-boot-on;
157                                         op_mode = <1>;
158                                 };
160                                 ldo11_reg: LDO11 {
161                                         regulator-name = "VDD_ABB2_1.8V";
162                                         regulator-min-microvolt = <1800000>;
163                                         regulator-max-microvolt = <1800000>;
164                                         regulator-always-on;
165                                         regulator-boot-on;
166                                         op_mode = <1>;
167                                 };
169                                 ldo12_reg: LDO12 {
170                                         regulator-name = "VDD_USB_3.0V";
171                                         regulator-min-microvolt = <3000000>;
172                                         regulator-max-microvolt = <3000000>;
173                                         regulator-always-on;
174                                         regulator-boot-on;
175                                         op_mode = <1>;
176                                 };
178                                 ldo13_reg: LDO13 {
179                                         regulator-name = "VDDQ_C2C_W_1.8V";
180                                         regulator-min-microvolt = <1800000>;
181                                         regulator-max-microvolt = <1800000>;
182                                         regulator-always-on;
183                                         regulator-boot-on;
184                                         op_mode = <1>;
185                                 };
187                                 ldo14_reg: LDO14 {
188                                         regulator-name = "VDD18_ABB0_3_1.8V";
189                                         regulator-min-microvolt = <1800000>;
190                                         regulator-max-microvolt = <1800000>;
191                                         regulator-always-on;
192                                         regulator-boot-on;
193                                         op_mode = <1>;
194                                 };
196                                 ldo15_reg: LDO15 {
197                                         regulator-name = "VDD10_COMMON4_1.0V";
198                                         regulator-min-microvolt = <1000000>;
199                                         regulator-max-microvolt = <1000000>;
200                                         regulator-always-on;
201                                         regulator-boot-on;
202                                         op_mode = <1>;
203                                 };
205                                 ldo16_reg: LDO16 {
206                                         regulator-name = "VDD18_HSIC_1.8V";
207                                         regulator-min-microvolt = <1800000>;
208                                         regulator-max-microvolt = <1800000>;
209                                         regulator-always-on;
210                                         regulator-boot-on;
211                                         op_mode = <1>;
212                                 };
214                                 ldo17_reg: LDO17 {
215                                         regulator-name = "VDDQ_MMC2_3_2.8V";
216                                         regulator-min-microvolt = <2800000>;
217                                         regulator-max-microvolt = <2800000>;
218                                         regulator-always-on;
219                                         regulator-boot-on;
220                                         op_mode = <1>;
221                                 };
223                                 ldo18_reg: LDO18 {
224                                         regulator-name = "VDD_33ON_2.8V";
225                                         regulator-min-microvolt = <2800000>;
226                                         regulator-max-microvolt = <2800000>;
227                                         op_mode = <1>;
228                                 };
230                                 ldo22_reg: LDO22 {
231                                         regulator-name = "EXT_33_OFF";
232                                         regulator-min-microvolt = <3300000>;
233                                         regulator-max-microvolt = <3300000>;
234                                         op_mode = <1>;
235                                 };
237                                 ldo23_reg: LDO23 {
238                                         regulator-name = "EXT_28_OFF";
239                                         regulator-min-microvolt = <2800000>;
240                                         regulator-max-microvolt = <2800000>;
241                                         op_mode = <1>;
242                                 };
244                                 ldo25_reg: LDO25 {
245                                         regulator-name = "PVDD_LDO25";
246                                         regulator-min-microvolt = <1200000>;
247                                         regulator-max-microvolt = <1200000>;
248                                         op_mode = <1>;
249                                 };
251                                 ldo26_reg: LDO26 {
252                                         regulator-name = "EXT_18_OFF";
253                                         regulator-min-microvolt = <1800000>;
254                                         regulator-max-microvolt = <1800000>;
255                                         op_mode = <1>;
256                                 };
258                                 buck1_reg: BUCK1 {
259                                         regulator-name = "vdd_mif";
260                                         regulator-min-microvolt = <950000>;
261                                         regulator-max-microvolt = <1200000>;
262                                         regulator-always-on;
263                                         regulator-boot-on;
264                                         op_mode = <1>;
265                                 };
267                                 buck2_reg: BUCK2 {
268                                         regulator-name = "vdd_arm";
269                                         regulator-min-microvolt = <925000>;
270                                         regulator-max-microvolt = <1300000>;
271                                         regulator-always-on;
272                                         regulator-boot-on;
273                                         op_mode = <1>;
274                                 };
276                                 buck3_reg: BUCK3 {
277                                         regulator-name = "vdd_int";
278                                         regulator-min-microvolt = <900000>;
279                                         regulator-max-microvolt = <1200000>;
280                                         regulator-always-on;
281                                         regulator-boot-on;
282                                         op_mode = <1>;
283                                 };
285                                 buck4_reg: BUCK4 {
286                                         regulator-name = "vdd_g3d";
287                                         regulator-min-microvolt = <1000000>;
288                                         regulator-max-microvolt = <1000000>;
289                                         regulator-always-on;
290                                         regulator-boot-on;
291                                         op_mode = <1>;
292                                 };
294                                 buck5_reg: BUCK5 {
295                                         regulator-name = "VDD_MEM_1.35V";
296                                         regulator-min-microvolt = <750000>;
297                                         regulator-max-microvolt = <1355000>;
298                                         regulator-always-on;
299                                         regulator-boot-on;
300                                         op_mode = <1>;
301                                 };
303                                 buck7_reg: BUCK7 {
304                                         regulator-name = "PVDD_BUCK7";
305                                         regulator-always-on;
306                                 };
308                                 buck8_reg: BUCK8 {
309                                         regulator-name = "PVDD_BUCK8";
310                                         regulator-always-on;
311                                 };
313                                 buck9_reg: BUCK9 {
314                                         regulator-name = "VDD_33_OFF_EXT1";
315                                         regulator-min-microvolt = <750000>;
316                                         regulator-max-microvolt = <3000000>;
317                                         op_mode = <1>;
318                                 };
319                         };
320                 };
321         };
323         i2c@12C70000 {
324                 status = "disabled";
325         };
327         i2c@12C80000 {
328                 status = "disabled";
329         };
331         i2c@12C90000 {
332                 wm1811a@1a {
333                         compatible = "wlf,wm1811";
334                         reg = <0x1a>;
336                         AVDD2-supply = <&main_dc_reg>;
337                         CPVDD-supply = <&main_dc_reg>;
338                         DBVDD1-supply = <&main_dc_reg>;
339                         DBVDD2-supply = <&main_dc_reg>;
340                         DBVDD3-supply = <&main_dc_reg>;
341                         LDO1VDD-supply = <&main_dc_reg>;
342                         SPKVDD1-supply = <&main_dc_reg>;
343                         SPKVDD2-supply = <&main_dc_reg>;
345                         wlf,ldo1ena = <&gpb0 0 0>;
346                         wlf,ldo2ena = <&gpb0 1 0>;
347                 };
348         };
350         i2c@12CA0000 {
351                 status = "disabled";
352         };
354         i2c@12CB0000 {
355                 status = "disabled";
356         };
358         i2c@12CC0000 {
359                 status = "disabled";
360         };
362         i2c@12CD0000 {
363                 status = "disabled";
364         };
366         i2c@121D0000 {
367                 status = "disabled";
368         };
370         dwmmc_0: dwmmc0@12200000 {
371                 num-slots = <1>;
372                 supports-highspeed;
373                 broken-cd;
374                 fifo-depth = <0x80>;
375                 card-detect-delay = <200>;
376                 samsung,dw-mshc-ciu-div = <3>;
377                 samsung,dw-mshc-sdr-timing = <2 3>;
378                 samsung,dw-mshc-ddr-timing = <1 2>;
379                 vmmc-supply = <&mmc_reg>;
380                 pinctrl-names = "default";
381                 pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8>;
383                 slot@0 {
384                         reg = <0>;
385                         bus-width = <8>;
386                 };
387         };
389         dwmmc_1: dwmmc1@12210000 {
390                 status = "disabled";
391         };
393         dwmmc_2: dwmmc2@12220000 {
394                 num-slots = <1>;
395                 supports-highspeed;
396                 fifo-depth = <0x80>;
397                 card-detect-delay = <200>;
398                 samsung,dw-mshc-ciu-div = <3>;
399                 samsung,dw-mshc-sdr-timing = <2 3>;
400                 samsung,dw-mshc-ddr-timing = <1 2>;
401                 vmmc-supply = <&mmc_reg>;
402                 pinctrl-names = "default";
403                 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>;
405                 slot@0 {
406                         reg = <0>;
407                         bus-width = <4>;
408                         disable-wp;
409                 };
410         };
412         dwmmc_3: dwmmc3@12230000 {
413                 status = "disabled";
414         };
416         spi_0: spi@12d20000 {
417                 status = "disabled";
418         };
420         spi_1: spi@12d30000 {
421                 status = "disabled";
422         };
424         spi_2: spi@12d40000 {
425                 status = "disabled";
426         };
428         gpio_keys {
429                 compatible = "gpio-keys";
431                 menu {
432                         label = "SW-TACT2";
433                         gpios = <&gpx1 4 1>;
434                         linux,code = <139>;
435                         gpio-key,wakeup;
436                 };
438                 home {
439                         label = "SW-TACT3";
440                         gpios = <&gpx1 5 1>;
441                         linux,code = <102>;
442                         gpio-key,wakeup;
443                 };
445                 up {
446                         label = "SW-TACT4";
447                         gpios = <&gpx1 6 1>;
448                         linux,code = <103>;
449                         gpio-key,wakeup;
450                 };
452                 down {
453                         label = "SW-TACT5";
454                         gpios = <&gpx1 7 1>;
455                         linux,code = <108>;
456                         gpio-key,wakeup;
457                 };
459                 back {
460                         label = "SW-TACT6";
461                         gpios = <&gpx2 0 1>;
462                         linux,code = <158>;
463                         gpio-key,wakeup;
464                 };
466                 wakeup {
467                         label = "SW-TACT7";
468                         gpios = <&gpx2 1 1>;
469                         linux,code = <143>;
470                         gpio-key,wakeup;
471                 };
472         };
474         hdmi {
475                 hpd-gpio = <&gpx3 7 2>;
476                 vdd_osc-supply = <&ldo10_reg>;
477                 vdd_pll-supply = <&ldo8_reg>;
478                 vdd-supply = <&ldo8_reg>;
479         };
481         regulators {
482                 compatible = "simple-bus";
483                 #address-cells = <1>;
484                 #size-cells = <0>;
486                 main_dc_reg: fixedregulator@1 {
487                         compatible = "regulator-fixed";
488                         regulator-name = "MAIN_DC";
489                 };
491                 mmc_reg: voltage-regulator {
492                         compatible = "regulator-fixed";
493                         regulator-name = "VDD_33ON_2.8V";
494                         regulator-min-microvolt = <2800000>;
495                         regulator-max-microvolt = <2800000>;
496                         gpio = <&gpx1 1 1>;
497                         enable-active-high;
498                 };
500                 reg_hdmi_en: fixedregulator@0 {
501                         compatible = "regulator-fixed";
502                         regulator-name = "hdmi-en";
503                 };
504         };
506         fixed-rate-clocks {
507                 xxti {
508                         compatible = "samsung,clock-xxti";
509                         clock-frequency = <24000000>;
510                 };
511         };
513         dp-controller@145B0000 {
514                 samsung,color-space = <0>;
515                 samsung,dynamic-range = <0>;
516                 samsung,ycbcr-coeff = <0>;
517                 samsung,color-depth = <1>;
518                 samsung,link-rate = <0x0a>;
519                 samsung,lane-count = <4>;
520                 status = "okay";
521         };
523         fimd: fimd@14400000 {
524                 status = "okay";
525                 display-timings {
526                         native-mode = <&timing0>;
527                         timing0: timing@0 {
528                                 /* 2560x1600 DP panel */
529                                 clock-frequency = <50000>;
530                                 hactive = <2560>;
531                                 vactive = <1600>;
532                                 hfront-porch = <48>;
533                                 hback-porch = <80>;
534                                 hsync-len = <32>;
535                                 vback-porch = <16>;
536                                 vfront-porch = <8>;
537                                 vsync-len = <6>;
538                         };
539                 };
540         };
542         usb_hub_bus {
543                 compatible = "simple-bus";
544                 #address-cells = <1>;
545                 #size-cells = <0>;
547                 // SMSC USB3503 connected in hardware only mode as a PHY
548                 usb_hub: usb_hub {
549                         compatible = "smsc,usb3503a";
551                         reset-gpios = <&gpx3 5 1>;
552                         connect-gpios = <&gpd1 7 1>;
553                 };
554         };
556         usb@12110000 {
557                 usb-phy = <&usb2_phy>;
558         };