Merge tag 'm68knommu-for-v5.8' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg...
[linux-2.6-microblaze.git] / arch / arm / boot / dts / s5pv210-aries.dtsi
1 // SPDX-License-Identifier: GPL-2.0
2 /*
3  * Samsung's S5PV210 based Galaxy Aries board device tree source
4  */
5
6 /dts-v1/;
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/interrupt-controller/irq.h>
9 #include "s5pv210.dtsi"
10
11 / {
12         compatible = "samsung,aries", "samsung,s5pv210";
13
14         aliases: aliases {
15                 i2c4 = &i2c_sound;
16                 i2c5 = &i2c_accel;
17                 i2c6 = &i2c_pmic;
18                 i2c7 = &i2c_musb;
19                 i2c9 = &i2c_fuel;
20                 i2c10 = &i2c_touchkey;
21                 i2c11 = &i2c_prox;
22                 i2c12 = &i2c_magnetometer;
23         };
24
25         memory@30000000 {
26                 device_type = "memory";
27                 reg = <0x30000000 0x05000000
28                         0x40000000 0x10000000
29                         0x50000000 0x08000000>;
30         };
31
32         reserved-memory {
33                 #address-cells = <1>;
34                 #size-cells = <1>;
35                 ranges;
36
37                 mfc_left: region@43000000 {
38                         compatible = "shared-dma-pool";
39                         no-map;
40                         reg = <0x43000000 0x2000000>;
41                 };
42
43                 mfc_right: region@51000000 {
44                         compatible = "shared-dma-pool";
45                         no-map;
46                         reg = <0x51000000 0x2000000>;
47                 };
48         };
49
50         vibrator_pwr: regulator-fixed-0 {
51                 compatible = "regulator-fixed";
52                 regulator-name = "vibrator-en";
53                 enable-active-high;
54                 gpio = <&gpj1 1 GPIO_ACTIVE_HIGH>;
55
56                 pinctrl-names = "default";
57                 pinctr-0 = <&vibrator_ena>;
58         };
59
60         touchkey_vdd: regulator-fixed-1 {
61                 compatible = "regulator-fixed";
62                 regulator-name = "VTOUCH_3.3V";
63                 regulator-min-microvolt = <3300000>;
64                 regulator-max-microvolt = <3300000>;
65                 enable-active-high;
66                 gpio = <&gpj3 2 GPIO_ACTIVE_HIGH>;
67
68                 pinctrl-names = "default";
69                 pinctrl-0 = <&touchkey_vdd_ena>;
70         };
71
72         wifi_pwrseq: wifi-pwrseq {
73                 compatible = "mmc-pwrseq-simple";
74                 reset-gpios = <&gpg1 2 GPIO_ACTIVE_LOW>;
75                 pinctrl-names = "default";
76                 pinctrl-0 = <&wlan_gpio_rst>;
77                 post-power-on-delay-ms = <500>;
78                 power-off-delay-us = <500>;
79         };
80
81         i2c_sound: i2c-gpio-0 {
82                 compatible = "i2c-gpio";
83                 sda-gpios = <&mp05 3 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
84                 scl-gpios = <&mp05 2 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
85                 i2c-gpio,delay-us = <2>;
86                 #address-cells = <1>;
87                 #size-cells = <0>;
88
89                 pinctrl-names = "default";
90                 pinctrl-0 = <&sound_i2c_pins>;
91
92                 wm8994: wm8994@1a {
93                         compatible = "wlf,wm8994";
94                         reg = <0x1a>;
95
96                         #sound-dai-cells = <0>;
97
98                         gpio-controller;
99                         #gpio-cells = <2>;
100
101                         clocks = <&clocks MOUT_CLKOUT>;
102                         clock-names = "MCLK1";
103
104                         AVDD2-supply = <&buck3_reg>;
105                         DBVDD-supply = <&buck3_reg>;
106                         CPVDD-supply = <&buck3_reg>;
107                         SPKVDD1-supply = <&buck3_reg>;
108                         SPKVDD2-supply = <&buck3_reg>;
109
110                         wlf,gpio-cfg = <0xa101 0x8100 0x0100 0x0100 0x8100
111                                         0xa101 0x0100 0x8100 0x0100 0x0100
112                                         0x0100>;
113
114                         wlf,ldo1ena = <&gpf3 4 GPIO_ACTIVE_HIGH>;
115                         wlf,ldo2ena = <&gpf3 4 GPIO_ACTIVE_HIGH>;
116
117                         wlf,lineout1-se;
118                         wlf,lineout2-se;
119
120                         assigned-clocks = <&clocks MOUT_CLKOUT>;
121                         assigned-clock-rates = <0>;
122                         assigned-clock-parents = <&xusbxti>;
123
124                         pinctrl-names = "default";
125                         pinctrl-0 = <&codec_ldo>;
126                 };
127         };
128
129         i2c_accel: i2c-gpio-1 {
130                 compatible = "i2c-gpio";
131                 sda-gpios = <&gpj3 6 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
132                 scl-gpios = <&gpj3 7 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
133                 i2c-gpio,delay-us = <2>;
134                 #address-cells = <1>;
135                 #size-cells = <0>;
136
137                 pinctrl-names = "default";
138                 pinctrl-0 = <&accel_i2c_pins>;
139
140                 status = "disabled";
141
142                 /* bma023 accelerometer, no mainline binding */
143         };
144
145         i2c_pmic: i2c-gpio-2 {
146                 compatible = "i2c-gpio";
147                 sda-gpios = <&gpj4 0 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
148                 scl-gpios = <&gpj4 3 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
149                 i2c-gpio,delay-us = <2>;
150                 #address-cells = <1>;
151                 #size-cells = <0>;
152
153                 pinctrl-names = "default";
154                 pinctrl-0 = <&pmic_i2c_pins>;
155
156                 pmic@66 {
157                         compatible = "maxim,max8998";
158                         reg = <0x66>;
159                         interrupt-parent = <&gph0>;
160                         interrupts = <7 IRQ_TYPE_EDGE_FALLING>;
161
162                         max8998,pmic-buck1-default-dvs-idx = <1>;
163                         max8998,pmic-buck1-dvs-gpios = <&gph0 3 GPIO_ACTIVE_HIGH>,
164                                                         <&gph0 4 GPIO_ACTIVE_HIGH>;
165                         max8998,pmic-buck1-dvs-voltage = <1275000>, <1200000>,
166                                                         <1050000>, <950000>;
167
168                         max8998,pmic-buck2-default-dvs-idx = <0>;
169                         max8998,pmic-buck2-dvs-gpio = <&gph0 5 GPIO_ACTIVE_HIGH>;
170                         max8998,pmic-buck2-dvs-voltage = <1100000>, <1000000>;
171
172                         pinctrl-names = "default";
173                         pinctrl-0 = <&pmic_dvs_pins &pmic_irq>;
174
175                         regulators {
176                                 ldo2_reg: LDO2 {
177                                         regulator-name = "VALIVE_1.2V";
178                                         regulator-min-microvolt = <1200000>;
179                                         regulator-max-microvolt = <1200000>;
180                                         regulator-always-on;
181
182                                         regulator-state-mem {
183                                                 regulator-on-in-suspend;
184                                         };
185                                 };
186
187                                 ldo3_reg: LDO3 {
188                                         regulator-name = "VUSB_1.1V";
189                                         regulator-min-microvolt = <1100000>;
190                                         regulator-max-microvolt = <1100000>;
191
192                                         regulator-state-mem {
193                                                 regulator-off-in-suspend;
194                                         };
195                                 };
196
197                                 ldo4_reg: LDO4 {
198                                         regulator-name = "VADC_3.3V";
199                                         regulator-min-microvolt = <3300000>;
200                                         regulator-max-microvolt = <3300000>;
201
202                                         regulator-state-mem {
203                                                 regulator-off-in-suspend;
204                                         };
205                                 };
206
207                                 ldo5_reg: LDO5 {
208                                         regulator-name = "VTF_2.8V";
209                                         regulator-min-microvolt = <2800000>;
210                                         regulator-max-microvolt = <2800000>;
211
212                                         regulator-state-mem {
213                                                 regulator-off-in-suspend;
214                                         };
215                                 };
216
217                                 ldo6_reg: LDO6 {
218                                         regulator-name = "LDO6";
219                                         regulator-min-microvolt = <1600000>;
220                                         regulator-max-microvolt = <3600000>;
221                                 };
222
223                                 ldo7_reg: LDO7 {
224                                         regulator-name = "VLCD_1.8V";
225                                         regulator-min-microvolt = <1800000>;
226                                         regulator-max-microvolt = <1800000>;
227
228                                         regulator-state-mem {
229                                                 regulator-off-in-suspend;
230                                         };
231                                 };
232
233                                 ldo8_reg: LDO8 {
234                                         regulator-name = "VUSB_3.3V";
235                                         regulator-min-microvolt = <3300000>;
236                                         regulator-max-microvolt = <3300000>;
237
238                                         regulator-state-mem {
239                                                 regulator-off-in-suspend;
240                                         };
241                                 };
242
243                                 ldo9_reg: LDO9 {
244                                         regulator-name = "VCC_2.8V_PDA";
245                                         regulator-min-microvolt = <2800000>;
246                                         regulator-max-microvolt = <2800000>;
247                                         regulator-always-on;
248                                 };
249
250                                 ldo10_reg: LDO10 {
251                                         regulator-name = "VPLL_1.2V";
252                                         regulator-min-microvolt = <1200000>;
253                                         regulator-max-microvolt = <1200000>;
254                                         regulator-always-on;
255
256                                         regulator-state-mem {
257                                                 regulator-on-in-suspend;
258                                         };
259                                 };
260
261                                 ldo11_reg: LDO11 {
262                                         regulator-name = "CAM_AF_3.0V";
263                                         regulator-min-microvolt = <3000000>;
264                                         regulator-max-microvolt = <3000000>;
265
266                                         regulator-state-mem {
267                                                 regulator-off-in-suspend;
268                                         };
269                                 };
270
271                                 ldo12_reg: LDO12 {
272                                         regulator-name = "CAM_SENSOR_CORE_1.2V";
273                                         regulator-min-microvolt = <1200000>;
274                                         regulator-max-microvolt = <1200000>;
275
276                                         regulator-state-mem {
277                                                 regulator-off-in-suspend;
278                                         };
279                                 };
280
281                                 ldo13_reg: LDO13 {
282                                         regulator-name = "VGA_VDDIO_2.8V";
283                                         regulator-min-microvolt = <2800000>;
284                                         regulator-max-microvolt = <2800000>;
285
286                                         regulator-state-mem {
287                                                 regulator-off-in-suspend;
288                                         };
289                                 };
290
291                                 ldo14_reg: LDO14 {
292                                         regulator-name = "VGA_DVDD_1.8V";
293                                         regulator-min-microvolt = <1800000>;
294                                         regulator-max-microvolt = <1800000>;
295
296                                         regulator-state-mem {
297                                                 regulator-off-in-suspend;
298                                         };
299                                 };
300
301                                 ldo15_reg: LDO15 {
302                                         regulator-name = "CAM_ISP_HOST_2.8V";
303                                         regulator-min-microvolt = <2800000>;
304                                         regulator-max-microvolt = <2800000>;
305
306                                         regulator-state-mem {
307                                                 regulator-off-in-suspend;
308                                         };
309                                 };
310
311                                 ldo16_reg: LDO16 {
312                                         regulator-name = "VGA_AVDD_2.8V";
313                                         regulator-min-microvolt = <2800000>;
314                                         regulator-max-microvolt = <2800000>;
315
316                                         regulator-state-mem {
317                                                 regulator-off-in-suspend;
318                                         };
319                                 };
320
321                                 ldo17_reg: LDO17 {
322                                         regulator-name = "VCC_3.0V_LCD";
323                                         regulator-min-microvolt = <3000000>;
324                                         regulator-max-microvolt = <3000000>;
325
326                                         regulator-state-mem {
327                                                 regulator-off-in-suspend;
328                                         };
329                                 };
330
331                                 buck1_reg: BUCK1 {
332                                         regulator-name = "vddarm";
333                                         regulator-min-microvolt = <750000>;
334                                         regulator-max-microvolt = <1500000>;
335
336                                         regulator-state-mem {
337                                                 regulator-off-in-suspend;
338                                                 regulator-suspend-microvolt = <1250000>;
339                                         };
340                                 };
341
342                                 buck2_reg: BUCK2 {
343                                         regulator-name = "vddint";
344                                         regulator-min-microvolt = <750000>;
345                                         regulator-max-microvolt = <1500000>;
346
347                                         regulator-state-mem {
348                                                 regulator-off-in-suspend;
349                                                 regulator-suspend-microvolt = <1100000>;
350                                         };
351                                 };
352
353                                 buck3_reg: BUCK3 {
354                                         regulator-name = "VCC_1.8V";
355                                         regulator-min-microvolt = <1800000>;
356                                         regulator-max-microvolt = <1800000>;
357                                         regulator-always-on;
358                                 };
359
360                                 buck4_reg: BUCK4 {
361                                         regulator-name = "CAM_ISP_CORE_1.2V";
362                                         regulator-min-microvolt = <1200000>;
363                                         regulator-max-microvolt = <1200000>;
364
365                                         regulator-state-mem {
366                                                 regulator-off-in-suspend;
367                                         };
368                                 };
369
370                                 ap32khz_reg: EN32KHz-AP {
371                                         regulator-name = "32KHz AP";
372                                         regulator-always-on;
373                                 };
374
375                                 cp32khz_reg: EN32KHz-CP {
376                                         regulator-name = "32KHz CP";
377                                 };
378
379                                 vichg_reg: ENVICHG {
380                                         regulator-name = "VICHG";
381                                         regulator-always-on;
382                                 };
383
384                                 safe1_sreg: ESAFEOUT1 {
385                                         regulator-name = "SAFEOUT1";
386                                 };
387
388                                 safe2_sreg: ESAFEOUT2 {
389                                         regulator-name = "SAFEOUT2";
390                                 };
391                         };
392                 };
393         };
394
395         i2c_musb: i2c-gpio-3 {
396                 compatible = "i2c-gpio";
397                 sda-gpios = <&gpj3 4 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
398                 scl-gpios = <&gpj3 5 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
399                 i2c-gpio,delay-us = <2>;
400                 #address-cells = <1>;
401                 #size-cells = <0>;
402
403                 pinctrl-names = "default";
404                 pinctrl-0 = <&musb_i2c_pins>;
405
406                 fsa9480: musb@25 {
407                         compatible = "fcs,fsa9480";
408                         reg = <0x25>;
409                         interrupt-parent = <&gph2>;
410                         interrupts = <7 IRQ_TYPE_EDGE_FALLING>;
411
412                         pinctrl-names = "default";
413                         pinctrl-0 = <&musb_irq>;
414                 };
415         };
416
417         i2c_fuel: i2c-gpio-4 {
418                 compatible = "i2c-gpio";
419                 sda-gpios = <&mp05 1 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
420                 scl-gpios = <&mp05 0 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
421                 i2c-gpio,delay-us = <2>;
422                 #address-cells = <1>;
423                 #size-cells = <0>;
424
425                 pinctrl-names = "default";
426                 pinctrl-0 = <&fg_i2c_pins>;
427
428                 fuelgauge@36 {
429                         compatible = "maxim,max17040";
430                         interrupt-parent = <&vic0>;
431                         interrupts = <7>;
432                         reg = <0x36>;
433                 };
434         };
435
436         i2c_touchkey: i2c-gpio-5 {
437                 compatible = "i2c-gpio";
438                 sda-gpios = <&gpj3 0 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
439                 scl-gpios = <&gpj3 1 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
440                 i2c-gpio,delay-us = <2>;
441                 #address-cells = <1>;
442                 #size-cells = <0>;
443
444                 pinctrl-names = "default";
445                 pinctrl-0 = <&touchkey_i2c_pins>;
446
447                 touchkey@20 {
448                         compatible = "cypress,aries-touchkey";
449                         reg = <0x20>;
450                         vdd-supply = <&touchkey_vdd>;
451                         vcc-supply = <&buck3_reg>;
452                         linux,keycodes = <KEY_MENU KEY_BACK
453                                           KEY_HOMEPAGE KEY_SEARCH>;
454                         interrupt-parent = <&gpj4>;
455                         interrupts = <1 IRQ_TYPE_LEVEL_LOW>;
456
457                         pinctrl-names = "default";
458                         pinctrl-0 = <&touchkey_irq>;
459                 };
460         };
461
462         i2c_prox: i2c-gpio-6 {
463                 compatible = "i2c-gpio";
464                 sda-gpios = <&gpg2 2 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
465                 scl-gpios = <&gpg0 2 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
466                 i2c-gpio,delay-us = <2>;
467                 #address-cells = <1>;
468                 #size-cells = <0>;
469
470                 pinctrl-names = "default";
471                 pinctrl-0 = <&prox_i2c_pins>;
472
473                 status = "disabled";
474
475                 /* Sharp gp2a prox/light sensor, incomplete mainline binding */
476         };
477
478         i2c_magnetometer: i2c-gpio-7 {
479                 compatible = "i2c-gpio";
480                 sda-gpios = <&gpj0 1 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
481                 scl-gpios = <&gpj0 0 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
482                 i2c-gpio,delay-us = <2>;
483                 #address-cells = <1>;
484                 #size-cells = <0>;
485
486                 pinctrl-names = "default";
487                 pinctrl-0 = <&magnetometer_i2c_pins>;
488
489                 status = "disabled";
490
491                 /* Yamaha yas529 magnetometer, no mainline binding */
492         };
493
494         vibrator: pwm-vibrator {
495                 compatible = "pwm-vibrator";
496                 pwms = <&pwm 1 44642 0>;
497                 pwm-names = "enable";
498                 vcc-supply = <&vibrator_pwr>;
499                 pinctrl-names = "default";
500                 pinctrl-0 = <&pwm1_out>;
501         };
502
503         poweroff: syscon-poweroff {
504                 compatible = "syscon-poweroff";
505                 regmap = <&pmu_syscon>;
506                 offset = <0x681c>; /* PS_HOLD_CONTROL */
507                 value = <0x5200>;
508         };
509
510         spi_lcd: spi-gpio-0 {
511                 compatible = "spi-gpio";
512                 #address-cells = <1>;
513                 #size-cells = <0>;
514
515                 sck-gpios = <&mp04 1 GPIO_ACTIVE_HIGH>;
516                 mosi-gpios = <&mp04 3 GPIO_ACTIVE_HIGH>;
517                 cs-gpios = <&mp01 1 GPIO_ACTIVE_HIGH>;
518                 num-chipselects = <1>;
519
520                 pinctrl-names = "default";
521                 pinctrl-0 = <&lcd_spi_pins>;
522
523                 panel@0 {
524                         compatible = "samsung,s6e63m0";
525                         reg = <0>;
526                         reset-gpios = <&mp05 5 GPIO_ACTIVE_LOW>;
527                         vdd3-supply = <&ldo7_reg>;
528                         vci-supply = <&ldo17_reg>;
529                         spi-cs-high;
530                         spi-max-frequency = <1200000>;
531
532                         pinctrl-names = "default";
533                         pinctrl-0 = <&panel_rst>;
534
535                         port {
536                                 lcd_ep: endpoint {
537                                         remote-endpoint = <&fimd_ep>;
538                                 };
539                         };
540                 };
541         };
542 };
543
544 &adc {
545         vdd-supply = <&ldo4_reg>;
546
547         status = "okay";
548 };
549
550 &fimd {
551         pinctrl-names = "default";
552         pinctrl-0 = <&lcd_clk &lcd_data24>;
553         status = "okay";
554
555         samsung,invert-vden;
556         samsung,invert-vclk;
557
558         #address-cells = <1>;
559         #size-cells = <0>;
560
561         port@3 {
562                 reg = <3>;
563                 fimd_ep: endpoint {
564                         remote-endpoint = <&lcd_ep>;
565                 };
566         };
567 };
568
569 &hsotg {
570         vusb_a-supply = <&ldo8_reg>;
571         vusb_d-supply = <&ldo3_reg>;
572         dr_mode = "peripheral";
573         status = "okay";
574 };
575
576 &i2c2 {
577         samsung,i2c-sda-delay = <100>;
578         samsung,i2c-max-bus-freq = <400000>;
579         samsung,i2c-slave-addr = <0x10>;
580         status = "okay";
581
582         touchscreen@4a {
583                 compatible = "atmel,maxtouch";
584                 reg = <0x4a>;
585                 interrupt-parent = <&gpj0>;
586                 interrupts = <5 IRQ_TYPE_EDGE_FALLING>;
587                 pinctrl-names = "default";
588                 pinctrl-0 = <&ts_irq>;
589                 reset-gpios = <&gpj1 3 GPIO_ACTIVE_HIGH>;
590         };
591 };
592
593 &mfc {
594         memory-region = <&mfc_left>, <&mfc_right>;
595 };
596
597 &pinctrl0 {
598         wlan_bt_en: wlan-bt-en {
599                 samsung,pins = "gpb-5";
600                 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
601                 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
602                 samsung,pin-val = <1>;
603         };
604
605         codec_ldo: codec-ldo {
606                 samsung,pins = "gpf3-4";
607                 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
608                 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
609         };
610
611         prox_i2c_pins: gp2a-i2c-pins {
612                 samsung,pins = "gpg0-2", "gpg2-2";
613                 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
614                 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
615         };
616
617         wlan_gpio_rst: wlan-gpio-rst {
618                 samsung,pins = "gpg1-2";
619                 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
620                 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
621         };
622
623         pmic_dvs_pins: pmic-dvs-pins {
624                 samsung,pins = "gph0-3", "gph0-4", "gph0-5";
625                 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
626                 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
627                 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
628                 samsung,pin-val = <0>;
629         };
630
631         pmic_irq: pmic-irq {
632                 samsung,pins = "gph0-7";
633                 samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
634                 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
635                 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
636         };
637
638         wifi_host_wake: wifi-host-wake {
639                 samsung,pins = "gph2-4";
640                 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
641                 samsung,pin-pud = <S3C64XX_PIN_PULL_DOWN>;
642                 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
643         };
644
645         bt_host_wake: bt-host-wake {
646                 samsung,pins = "gph2-5";
647                 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
648                 samsung,pin-pud = <S3C64XX_PIN_PULL_DOWN>;
649                 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
650         };
651
652         musb_irq: musq-irq {
653                 samsung,pins = "gph2-7";
654                 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
655                 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
656                 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
657         };
658
659         tf_detect: tf-detect {
660                 samsung,pins = "gph3-4";
661                 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
662                 samsung,pin-pud = <S3C64XX_PIN_PULL_DOWN>;
663                 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
664         };
665
666         wifi_wake: wifi-wake {
667                 samsung,pins = "gph3-5";
668                 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
669                 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
670         };
671
672         magnetometer_i2c_pins: yas529-i2c-pins {
673                 samsung,pins = "gpj0-0", "gpj0-1";
674                 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
675                 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
676         };
677
678         ts_irq: ts-irq {
679                 samsung,pins = "gpj0-5";
680                 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
681                 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
682                 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
683         };
684
685         vibrator_ena: vibrator-ena {
686                 samsung,pins = "gpj1-1";
687                 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
688                 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
689         };
690
691         touchkey_i2c_pins: touchkey-i2c-pins {
692                 samsung,pins = "gpj3-0", "gpj3-1";
693                 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
694                 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
695         };
696
697         touchkey_vdd_ena: touchkey-vdd-ena {
698                 samsung,pins = "gpj3-2";
699                 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
700                 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
701         };
702
703         musb_i2c_pins: musb-i2c-pins {
704                 samsung,pins = "gpj3-4", "gpj3-5";
705                 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
706                 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
707         };
708
709         accel_i2c_pins: accel-i2c-pins {
710                 samsung,pins = "gpj3-6", "gpj3-7";
711                 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
712                 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
713         };
714
715         pmic_i2c_pins: pmic-i2c-pins {
716                 samsung,pins = "gpj4-0", "gpj4-3";
717                 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
718                 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
719         };
720
721         touchkey_irq: touchkey-irq {
722                 samsung,pins = "gpj4-1";
723                 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
724                 samsung,pin-pud = <S3C64XX_PIN_PULL_UP>;
725                 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
726         };
727
728         lcd_spi_pins: spi-lcd-pins {
729                 samsung,pins = "mp01-1", "mp04-1", "mp04-3";
730                 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
731                 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
732         };
733
734         fg_i2c_pins: fg-i2c-pins {
735                 samsung,pins = "mp05-0", "mp05-1";
736                 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
737                 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
738         };
739
740         sound_i2c_pins: sound-i2c-pins {
741                 samsung,pins = "mp05-2", "mp05-3";
742                 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
743                 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
744         };
745
746         panel_rst: panel-rst {
747                 samsung,pins = "mp05-5";
748                 samsung,pin-pud = <S3C64XX_PIN_PULL_NONE>;
749                 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
750         };
751 };
752
753 &pwm {
754         samsung,pwm-outputs = <1>;
755 };
756
757 &sdhci1 {
758         #address-cells = <1>;
759         #size-cells = <0>;
760
761         bus-width = <4>;
762         max-frequency = <38400000>;
763         pinctrl-0 = <&sd1_clk &sd1_cmd &sd1_bus4 &wifi_wake &wifi_host_wake &wlan_bt_en>;
764         pinctrl-names = "default";
765         cap-sd-highspeed;
766         cap-mmc-highspeed;
767         keep-power-in-suspend;
768
769         mmc-pwrseq = <&wifi_pwrseq>;
770         non-removable;
771         status = "okay";
772
773         assigned-clocks = <&clocks MOUT_MMC1>, <&clocks SCLK_MMC1>;
774         assigned-clock-rates = <0>, <50000000>;
775         assigned-clock-parents = <&clocks MOUT_MPLL>;
776
777         wlan@1 {
778                 reg = <1>;
779                 compatible = "brcm,bcm4329-fmac";
780                 interrupt-parent = <&gph2>;
781                 interrupts = <4 IRQ_TYPE_LEVEL_HIGH>;
782                 interrupt-names = "host-wake";
783         };
784 };
785
786 &sdhci2 {
787         bus-width = <4>;
788         cd-gpios = <&gph3 4 GPIO_ACTIVE_LOW>;
789         vmmc-supply = <&ldo5_reg>;
790         pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4 &tf_detect>;
791         pinctrl-names = "default";
792         status = "okay";
793
794         assigned-clocks = <&clocks MOUT_MMC2>, <&clocks SCLK_MMC2>;
795         assigned-clock-rates = <0>, <50000000>;
796         assigned-clock-parents = <&clocks MOUT_MPLL>;
797 };
798
799 &uart0 {
800         status = "okay";
801
802         bluetooth {
803                 compatible = "brcm,bcm43438-bt";
804                 max-speed = <115200>;
805                 pinctrl-names = "default";
806                 pinctrl-0 = <&uart0_data &uart0_fctl &bt_host_wake>;
807                 shutdown-gpios = <&gpb 3 GPIO_ACTIVE_HIGH>;
808                 device-wakeup-gpios = <&gpg3 4 GPIO_ACTIVE_HIGH>;
809                 host-wakeup-gpios = <&gph2 5 GPIO_ACTIVE_HIGH>;
810         };
811 };
812
813 &uart1 {
814         status = "okay";
815 };
816
817 &uart2 {
818         status = "okay";
819 };
820
821 &usbphy {
822         status = "okay";
823         vbus-supply = <&safe1_sreg>;
824 };
825
826 &xusbxti {
827         clock-frequency = <24000000>;
828 };