Merge tag 'sound-fix-4.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai...
[sfrench/cifs-2.6.git] / arch / arm / boot / dts / exynos4412-midas.dtsi
1 // SPDX-License-Identifier: GPL-2.0
2 /*
3  * Samsung's Exynos4412 based Trats 2 board device tree source
4  *
5  * Copyright (c) 2013 Samsung Electronics Co., Ltd.
6  *              http://www.samsung.com
7  *
8  * Device tree source file for Samsung's Trats 2 board which is based on
9  * Samsung's Exynos4412 SoC.
10  */
11
12 /dts-v1/;
13 #include "exynos4412.dtsi"
14 #include "exynos4412-ppmu-common.dtsi"
15 #include <dt-bindings/gpio/gpio.h>
16 #include <dt-bindings/interrupt-controller/irq.h>
17 #include <dt-bindings/clock/maxim,max77686.h>
18 #include <dt-bindings/pinctrl/samsung.h>
19
20 / {
21         compatible = "samsung,midas", "samsung,exynos4412", "samsung,exynos4";
22
23         aliases {
24                 i2c11 = &i2c_max77693;
25                 i2c12 = &i2c_max77693_fuel;
26         };
27
28         chosen {
29                 stdout-path = &serial_2;
30         };
31
32         firmware@204f000 {
33                 compatible = "samsung,secure-firmware";
34                 reg = <0x0204F000 0x1000>;
35         };
36
37         fixed-rate-clocks {
38                 xxti {
39                         compatible = "samsung,clock-xxti", "fixed-clock";
40                         clock-frequency = <0>;
41                 };
42
43                 xusbxti {
44                         compatible = "samsung,clock-xusbxti", "fixed-clock";
45                         clock-frequency = <24000000>;
46                 };
47         };
48
49         cam_io_reg: voltage-regulator-1 {
50                 compatible = "regulator-fixed";
51                 regulator-name = "CAM_SENSOR_A";
52                 regulator-min-microvolt = <2800000>;
53                 regulator-max-microvolt = <2800000>;
54                 enable-active-high;
55                 status = "disabled";
56         };
57
58         cam_af_reg: voltage-regulator-2 {
59                 compatible = "regulator-fixed";
60                 regulator-name = "CAM_AF";
61                 regulator-min-microvolt = <2800000>;
62                 regulator-max-microvolt = <2800000>;
63                 enable-active-high;
64                 status = "disabled";
65         };
66
67         vsil12: voltage-regulator-3 {
68                 compatible = "regulator-fixed";
69                 regulator-name = "VSIL_1.2V";
70                 regulator-min-microvolt = <1200000>;
71                 regulator-max-microvolt = <1200000>;
72                 gpio = <&gpl0 4 GPIO_ACTIVE_HIGH>;
73                 enable-active-high;
74                 vin-supply = <&buck7_reg>;
75         };
76
77         vcc33mhl: voltage-regulator-4 {
78                 compatible = "regulator-fixed";
79                 regulator-name = "VCC_3.3_MHL";
80                 regulator-min-microvolt = <3300000>;
81                 regulator-max-microvolt = <3300000>;
82                 gpio = <&gpl0 4 GPIO_ACTIVE_HIGH>;
83                 enable-active-high;
84         };
85
86         vcc18mhl: voltage-regulator-5 {
87                 compatible = "regulator-fixed";
88                 regulator-name = "VCC_1.8_MHL";
89                 regulator-min-microvolt = <1800000>;
90                 regulator-max-microvolt = <1800000>;
91                 gpio = <&gpl0 4 GPIO_ACTIVE_HIGH>;
92                 enable-active-high;
93         };
94
95         gpio-keys {
96                 compatible = "gpio-keys";
97
98                 key-down {
99                         gpios = <&gpx3 3 GPIO_ACTIVE_LOW>;
100                         linux,code = <114>;
101                         label = "volume down";
102                         debounce-interval = <10>;
103                 };
104
105                 key-up {
106                         gpios = <&gpx2 2 GPIO_ACTIVE_LOW>;
107                         linux,code = <115>;
108                         label = "volume up";
109                         debounce-interval = <10>;
110                 };
111
112                 key-power {
113                         gpios = <&gpx2 7 GPIO_ACTIVE_LOW>;
114                         linux,code = <116>;
115                         label = "power";
116                         debounce-interval = <10>;
117                         wakeup-source;
118                 };
119
120                 key-ok {
121                         gpios = <&gpx0 1 GPIO_ACTIVE_LOW>;
122                         linux,code = <139>;
123                         label = "ok";
124                         debounce-interval = <10>;
125                         wakeup-source;
126                 };
127         };
128
129         i2c_max77693: i2c-gpio-1 {
130                 compatible = "i2c-gpio";
131                 gpios = <&gpm2 0 GPIO_ACTIVE_HIGH>, <&gpm2 1 GPIO_ACTIVE_HIGH>;
132                 i2c-gpio,delay-us = <2>;
133                 #address-cells = <1>;
134                 #size-cells = <0>;
135                 status = "okay";
136
137                 max77693@66 {
138                         compatible = "maxim,max77693";
139                         interrupt-parent = <&gpx1>;
140                         interrupts = <5 IRQ_TYPE_EDGE_FALLING>;
141                         reg = <0x66>;
142
143                         regulators {
144                                 esafeout1_reg: ESAFEOUT1 {
145                                         regulator-name = "ESAFEOUT1";
146                                 };
147                                 esafeout2_reg: ESAFEOUT2 {
148                                         regulator-name = "ESAFEOUT2";
149                                 };
150                                 charger_reg: CHARGER {
151                                         regulator-name = "CHARGER";
152                                         regulator-min-microamp = <60000>;
153                                         regulator-max-microamp = <2580000>;
154                                 };
155                         };
156
157                         max77693_haptic {
158                                 compatible = "maxim,max77693-haptic";
159                                 haptic-supply = <&ldo26_reg>;
160                                 pwms = <&pwm 0 38022 0>;
161                         };
162
163                         charger {
164                                 compatible = "maxim,max77693-charger";
165
166                                 maxim,constant-microvolt = <4350000>;
167                                 maxim,min-system-microvolt = <3600000>;
168                                 maxim,thermal-regulation-celsius = <100>;
169                                 maxim,battery-overcurrent-microamp = <3500000>;
170                                 maxim,charge-input-threshold-microvolt = <4300000>;
171                         };
172                 };
173         };
174
175         i2c_max77693_fuel: i2c-gpio-3 {
176                 compatible = "i2c-gpio";
177                 gpios = <&gpf1 5 GPIO_ACTIVE_HIGH>, <&gpf1 4 GPIO_ACTIVE_HIGH>;
178                 i2c-gpio,delay-us = <2>;
179                 #address-cells = <1>;
180                 #size-cells = <0>;
181                 status = "okay";
182
183                 max77693-fuel-gauge@36 {
184                         compatible = "maxim,max17047";
185                         interrupt-parent = <&gpx2>;
186                         interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
187                         reg = <0x36>;
188
189                         maxim,over-heat-temp = <700>;
190                         maxim,over-volt = <4500>;
191                 };
192         };
193
194         i2c-mhl {
195                 compatible = "i2c-gpio";
196                 gpios = <&gpf0 4 GPIO_ACTIVE_HIGH>, <&gpf0 6 GPIO_ACTIVE_HIGH>;
197                 i2c-gpio,delay-us = <100>;
198                 #address-cells = <1>;
199                 #size-cells = <0>;
200
201                 pinctrl-0 = <&i2c_mhl_bus>;
202                 pinctrl-names = "default";
203                 status = "okay";
204
205                 sii9234: hdmi-bridge@39 {
206                         compatible = "sil,sii9234";
207                         avcc33-supply = <&vcc33mhl>;
208                         iovcc18-supply = <&vcc18mhl>;
209                         avcc12-supply = <&vsil12>;
210                         cvcc12-supply = <&vsil12>;
211                         reset-gpios = <&gpf3 4 GPIO_ACTIVE_LOW>;
212                         interrupt-parent = <&gpf3>;
213                         interrupts = <5 IRQ_TYPE_LEVEL_HIGH>;
214                         reg = <0x39>;
215
216                         port {
217                                 mhl_to_hdmi: endpoint {
218                                         remote-endpoint = <&hdmi_to_mhl>;
219                                 };
220                         };
221                 };
222         };
223
224         wlan_pwrseq: sdhci3-pwrseq {
225                 compatible = "mmc-pwrseq-simple";
226                 reset-gpios = <&gpj0 0 GPIO_ACTIVE_LOW>;
227                 clocks = <&max77686 MAX77686_CLK_PMIC>;
228                 clock-names = "ext_clock";
229         };
230
231         sound {
232                 compatible = "samsung,trats2-audio";
233                 samsung,i2s-controller = <&i2s0>;
234                 samsung,model = "Trats2";
235                 samsung,audio-codec = <&wm1811>;
236                 samsung,audio-routing =
237                         "SPK", "SPKOUTLN",
238                         "SPK", "SPKOUTLP",
239                         "SPK", "SPKOUTRN",
240                         "SPK", "SPKOUTRP";
241         };
242
243         thermistor-ap {
244                 compatible = "murata,ncp15wb473";
245                 pullup-uv = <1800000>;   /* VCC_1.8V_AP */
246                 pullup-ohm = <100000>;   /* 100K */
247                 pulldown-ohm = <100000>; /* 100K */
248                 io-channels = <&adc 1>;  /* AP temperature */
249         };
250
251         thermistor-battery {
252                 compatible = "murata,ncp15wb473";
253                 pullup-uv = <1800000>;   /* VCC_1.8V_AP */
254                 pullup-ohm = <100000>;   /* 100K */
255                 pulldown-ohm = <100000>; /* 100K */
256                 io-channels = <&adc 2>;  /* Battery temperature */
257         };
258
259         thermal-zones {
260                 cpu_thermal: cpu-thermal {
261                         cooling-maps {
262                                 map0 {
263                                      /* Corresponds to 800MHz at freq_table */
264                                      cooling-device = <&cpu0 7 7>;
265                                 };
266                                 map1 {
267                                      /* Corresponds to 200MHz at freq_table */
268                                      cooling-device = <&cpu0 13 13>;
269                                };
270                        };
271                 };
272         };
273 };
274
275 &adc {
276         vdd-supply = <&ldo3_reg>;
277         status = "okay";
278 };
279
280 &bus_dmc {
281         devfreq-events = <&ppmu_dmc0_3>, <&ppmu_dmc1_3>;
282         vdd-supply = <&buck1_reg>;
283         status = "okay";
284 };
285
286 &bus_acp {
287         devfreq = <&bus_dmc>;
288         status = "okay";
289 };
290
291 &bus_c2c {
292         devfreq = <&bus_dmc>;
293         status = "okay";
294 };
295
296 &bus_leftbus {
297         devfreq-events = <&ppmu_leftbus_3>, <&ppmu_rightbus_3>;
298         vdd-supply = <&buck3_reg>;
299         status = "okay";
300 };
301
302 &bus_rightbus {
303         devfreq = <&bus_leftbus>;
304         status = "okay";
305 };
306
307 &bus_display {
308         devfreq = <&bus_leftbus>;
309         status = "okay";
310 };
311
312 &bus_fsys {
313         devfreq = <&bus_leftbus>;
314         status = "okay";
315 };
316
317 &bus_peri {
318         devfreq = <&bus_leftbus>;
319         status = "okay";
320 };
321
322 &bus_mfc {
323         devfreq = <&bus_leftbus>;
324         status = "okay";
325 };
326
327 &camera {
328         pinctrl-0 = <&cam_port_a_clk_active &cam_port_b_clk_active>;
329         pinctrl-names = "default";
330         status = "okay";
331         assigned-clocks = <&clock CLK_MOUT_CAM0>,
332                 <&clock CLK_MOUT_CAM1>;
333         assigned-clock-parents = <&clock CLK_XUSBXTI>,
334                 <&clock CLK_XUSBXTI>;
335 };
336
337 &cpu0 {
338         cpu0-supply = <&buck2_reg>;
339 };
340
341 &csis_0 {
342         status = "okay";
343         vddcore-supply = <&ldo8_reg>;
344         vddio-supply = <&ldo10_reg>;
345         assigned-clocks = <&clock CLK_MOUT_CSIS0>,
346                         <&clock CLK_SCLK_CSIS0>;
347         assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
348         assigned-clock-rates = <0>, <176000000>;
349
350         /* Camera C (3) MIPI CSI-2 (CSIS0) */
351         port@3 {
352                 reg = <3>;
353                 csis0_ep: endpoint {
354                         remote-endpoint = <&s5c73m3_ep>;
355                         data-lanes = <1 2 3 4>;
356                         samsung,csis-hs-settle = <12>;
357                 };
358         };
359 };
360
361 &csis_1 {
362         status = "okay";
363         vddcore-supply = <&ldo8_reg>;
364         vddio-supply = <&ldo10_reg>;
365         assigned-clocks = <&clock CLK_MOUT_CSIS1>,
366                         <&clock CLK_SCLK_CSIS1>;
367         assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
368         assigned-clock-rates = <0>, <176000000>;
369
370         /* Camera D (4) MIPI CSI-2 (CSIS1) */
371         port@4 {
372                 reg = <4>;
373                 csis1_ep: endpoint {
374                         remote-endpoint = <&is_s5k6a3_ep>;
375                         data-lanes = <1>;
376                         samsung,csis-hs-settle = <18>;
377                         samsung,csis-wclk;
378                 };
379         };
380 };
381
382 &dsi_0 {
383         vddcore-supply = <&ldo8_reg>;
384         vddio-supply = <&ldo10_reg>;
385         samsung,burst-clock-frequency = <500000000>;
386         samsung,esc-clock-frequency = <20000000>;
387         samsung,pll-clock-frequency = <24000000>;
388 };
389
390 &exynos_usbphy {
391         vbus-supply = <&esafeout1_reg>;
392         status = "okay";
393 };
394
395 &fimc_0 {
396         status = "okay";
397         assigned-clocks = <&clock CLK_MOUT_FIMC0>,
398                         <&clock CLK_SCLK_FIMC0>;
399         assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
400         assigned-clock-rates = <0>, <176000000>;
401 };
402
403 &fimc_1 {
404         status = "okay";
405         assigned-clocks = <&clock CLK_MOUT_FIMC1>,
406                         <&clock CLK_SCLK_FIMC1>;
407         assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
408         assigned-clock-rates = <0>, <176000000>;
409 };
410
411 &fimc_2 {
412         status = "okay";
413         assigned-clocks = <&clock CLK_MOUT_FIMC2>,
414                         <&clock CLK_SCLK_FIMC2>;
415         assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
416         assigned-clock-rates = <0>, <176000000>;
417 };
418
419 &fimc_3 {
420         status = "okay";
421         assigned-clocks = <&clock CLK_MOUT_FIMC3>,
422                         <&clock CLK_SCLK_FIMC3>;
423         assigned-clock-parents = <&clock CLK_MOUT_MPLL_USER_T>;
424         assigned-clock-rates = <0>, <176000000>;
425 };
426
427 &fimc_is {
428         pinctrl-0 = <&fimc_is_uart>;
429         pinctrl-names = "default";
430         status = "okay";
431
432         };
433
434 &fimc_lite_0 {
435         status = "okay";
436 };
437
438 &fimc_lite_1 {
439         status = "okay";
440 };
441
442 &fimd {
443         status = "okay";
444 };
445
446 &hdmi {
447         hpd-gpios = <&gpx3 7 GPIO_ACTIVE_HIGH>;
448         pinctrl-names = "default";
449         pinctrl-0 = <&hdmi_hpd>;
450         vdd-supply = <&ldo3_reg>;
451         vdd_osc-supply = <&ldo4_reg>;
452         vdd_pll-supply = <&ldo3_reg>;
453         ddc = <&i2c_5>;
454         status = "okay";
455
456         ports {
457                 #address-cells = <1>;
458                 #size-cells = <0>;
459
460                 port@1 {
461                         reg = <1>;
462                         hdmi_to_mhl: endpoint {
463                                 remote-endpoint = <&mhl_to_hdmi>;
464                         };
465                 };
466         };
467 };
468
469 &hsotg {
470         vusb_d-supply = <&ldo15_reg>;
471         vusb_a-supply = <&ldo12_reg>;
472         dr_mode = "peripheral";
473         status = "okay";
474 };
475
476 &i2c_0 {
477         samsung,i2c-sda-delay = <100>;
478         samsung,i2c-slave-addr = <0x10>;
479         samsung,i2c-max-bus-freq = <400000>;
480         pinctrl-0 = <&i2c0_bus>;
481         pinctrl-names = "default";
482         status = "okay";
483
484         s5c73m3: s5c73m3@3c {
485                 compatible = "samsung,s5c73m3";
486                 reg = <0x3c>;
487                 xshutdown-gpios = <&gpf1 3 GPIO_ACTIVE_LOW>; /* ISP_RESET */
488                 vdd-int-supply = <&buck9_reg>;
489                 vddio-cis-supply = <&ldo9_reg>;
490                 vddio-host-supply = <&ldo18_reg>;
491                 vdd-af-supply = <&cam_af_reg>;
492                 vdd-reg-supply = <&cam_io_reg>;
493                 clock-frequency = <24000000>;
494                 /* CAM_A_CLKOUT */
495                 clocks = <&camera 0>;
496                 clock-names = "cis_extclk";
497                 status = "disabled";
498                 port {
499                         s5c73m3_ep: endpoint {
500                                 remote-endpoint = <&csis0_ep>;
501                                 data-lanes = <1 2 3 4>;
502                         };
503                 };
504         };
505 };
506
507 &i2c1_isp {
508         pinctrl-0 = <&fimc_is_i2c1>;
509         pinctrl-names = "default";
510
511         s5k6a3@10 {
512                 compatible = "samsung,s5k6a3";
513                 reg = <0x10>;
514                 svdda-supply = <&cam_io_reg>;
515                 svddio-supply = <&ldo19_reg>;
516                 afvdd-supply = <&ldo19_reg>;
517                 clock-frequency = <24000000>;
518                 /* CAM_B_CLKOUT */
519                 clocks = <&camera 1>;
520                 clock-names = "extclk";
521                 samsung,camclk-out = <1>;
522                 gpios = <&gpm1 6 GPIO_ACTIVE_HIGH>;
523
524                 port {
525                         is_s5k6a3_ep: endpoint {
526                                 remote-endpoint = <&csis1_ep>;
527                                 data-lanes = <1>;
528                         };
529                 };
530         };
531 };
532
533 &i2c_3 {
534         samsung,i2c-sda-delay = <100>;
535         samsung,i2c-slave-addr = <0x10>;
536         samsung,i2c-max-bus-freq = <400000>;
537         pinctrl-0 = <&i2c3_bus>;
538         pinctrl-names = "default";
539         status = "okay";
540 };
541
542 &i2c_4 {
543         samsung,i2c-sda-delay = <100>;
544         samsung,i2c-slave-addr = <0x10>;
545         samsung,i2c-max-bus-freq = <100000>;
546         pinctrl-0 = <&i2c4_bus>;
547         pinctrl-names = "default";
548         status = "okay";
549
550         wm1811: wm1811@1a {
551                 compatible = "wlf,wm1811";
552                 reg = <0x1a>;
553                 clocks = <&pmu_system_controller 0>;
554                 clock-names = "MCLK1";
555                 DCVDD-supply = <&ldo3_reg>;
556                 DBVDD1-supply = <&ldo3_reg>;
557                 wlf,ldo1ena = <&gpj0 4 0>;
558         };
559 };
560
561 &i2c_5 {
562         status = "okay";
563 };
564
565 &i2c_7 {
566         samsung,i2c-sda-delay = <100>;
567         samsung,i2c-slave-addr = <0x10>;
568         samsung,i2c-max-bus-freq = <100000>;
569         pinctrl-0 = <&i2c7_bus>;
570         pinctrl-names = "default";
571         status = "okay";
572
573         max77686: max77686_pmic@9 {
574                 compatible = "maxim,max77686";
575                 interrupt-parent = <&gpx0>;
576                 interrupts = <7 IRQ_TYPE_NONE>;
577                 reg = <0x09>;
578                 #clock-cells = <1>;
579
580                 voltage-regulators {
581                         ldo1_reg: LDO1 {
582                                 regulator-name = "VALIVE_1.0V_AP";
583                                 regulator-min-microvolt = <1000000>;
584                                 regulator-max-microvolt = <1000000>;
585                                 regulator-always-on;
586                         };
587
588                         ldo2_reg: LDO2 {
589                                 regulator-name = "VM1M2_1.2V_AP";
590                                 regulator-min-microvolt = <1200000>;
591                                 regulator-max-microvolt = <1200000>;
592                                 regulator-always-on;
593                                 regulator-state-mem {
594                                         regulator-on-in-suspend;
595                                 };
596                         };
597
598                         ldo3_reg: LDO3 {
599                                 regulator-name = "VCC_1.8V_AP";
600                                 regulator-min-microvolt = <1800000>;
601                                 regulator-max-microvolt = <1800000>;
602                                 regulator-always-on;
603                         };
604
605                         ldo4_reg: LDO4 {
606                                 regulator-name = "VCC_2.8V_AP";
607                                 regulator-min-microvolt = <2800000>;
608                                 regulator-max-microvolt = <2800000>;
609                                 regulator-always-on;
610                         };
611
612                         ldo5_reg: LDO5 {
613                                 regulator-name = "VCC_1.8V_IO";
614                                 regulator-min-microvolt = <1800000>;
615                                 regulator-max-microvolt = <1800000>;
616                                 regulator-always-on;
617                         };
618
619                         ldo6_reg: LDO6 {
620                                 regulator-name = "VMPLL_1.0V_AP";
621                                 regulator-min-microvolt = <1000000>;
622                                 regulator-max-microvolt = <1000000>;
623                                 regulator-always-on;
624                                 regulator-state-mem {
625                                         regulator-on-in-suspend;
626                                 };
627                         };
628
629                         ldo7_reg: LDO7 {
630                                 regulator-name = "VPLL_1.0V_AP";
631                                 regulator-min-microvolt = <1000000>;
632                                 regulator-max-microvolt = <1000000>;
633                                 regulator-always-on;
634                                 regulator-state-mem {
635                                         regulator-on-in-suspend;
636                                 };
637                         };
638
639                         ldo8_reg: LDO8 {
640                                 regulator-name = "VMIPI_1.0V";
641                                 regulator-min-microvolt = <1000000>;
642                                 regulator-max-microvolt = <1000000>;
643                                 regulator-state-mem {
644                                         regulator-off-in-suspend;
645                                 };
646                         };
647
648                         ldo9_reg: LDO9 {
649                                 regulator-name = "CAM_ISP_MIPI_1.2V";
650                                 regulator-min-microvolt = <1200000>;
651                                 regulator-max-microvolt = <1200000>;
652                         };
653
654                         ldo10_reg: LDO10 {
655                                 regulator-name = "VMIPI_1.8V";
656                                 regulator-min-microvolt = <1800000>;
657                                 regulator-max-microvolt = <1800000>;
658                                 regulator-state-mem {
659                                         regulator-off-in-suspend;
660                                 };
661                         };
662
663                         ldo11_reg: LDO11 {
664                                 regulator-name = "VABB1_1.95V";
665                                 regulator-min-microvolt = <1950000>;
666                                 regulator-max-microvolt = <1950000>;
667                                 regulator-always-on;
668                                 regulator-state-mem {
669                                         regulator-off-in-suspend;
670                                 };
671                         };
672
673                         ldo12_reg: LDO12 {
674                                 regulator-name = "VUOTG_3.0V";
675                                 regulator-min-microvolt = <3000000>;
676                                 regulator-max-microvolt = <3000000>;
677                                 regulator-state-mem {
678                                         regulator-off-in-suspend;
679                                 };
680                         };
681
682                         ldo13_reg: LDO13 {
683                                 regulator-name = "NFC_AVDD_1.8V";
684                                 regulator-min-microvolt = <1800000>;
685                                 regulator-max-microvolt = <1800000>;
686                         };
687
688                         ldo14_reg: LDO14 {
689                                 regulator-name = "VABB2_1.95V";
690                                 regulator-min-microvolt = <1950000>;
691                                 regulator-max-microvolt = <1950000>;
692                                 regulator-always-on;
693                                 regulator-state-mem {
694                                         regulator-off-in-suspend;
695                                 };
696                         };
697
698                         ldo15_reg: LDO15 {
699                                 regulator-name = "VHSIC_1.0V";
700                                 regulator-min-microvolt = <1000000>;
701                                 regulator-max-microvolt = <1000000>;
702                                 regulator-state-mem {
703                                         regulator-on-in-suspend;
704                                 };
705                         };
706
707                         ldo16_reg: LDO16 {
708                                 regulator-name = "VHSIC_1.8V";
709                                 regulator-min-microvolt = <1800000>;
710                                 regulator-max-microvolt = <1800000>;
711                                 regulator-state-mem {
712                                         regulator-on-in-suspend;
713                                 };
714                         };
715
716                         ldo17_reg: LDO17 {
717                                 regulator-name = "CAM_SENSOR_CORE_1.2V";
718                                 regulator-min-microvolt = <1200000>;
719                                 regulator-max-microvolt = <1200000>;
720                         };
721
722                         ldo18_reg: LDO18 {
723                                 regulator-name = "CAM_ISP_SEN_IO_1.8V";
724                                 regulator-min-microvolt = <1800000>;
725                                 regulator-max-microvolt = <1800000>;
726                         };
727
728                         ldo19_reg: LDO19 {
729                                 regulator-name = "VT_CAM_1.8V";
730                                 regulator-min-microvolt = <1800000>;
731                                 regulator-max-microvolt = <1800000>;
732                         };
733
734                         ldo20_reg: LDO20 {
735                                 regulator-name = "VDDQ_PRE_1.8V";
736                                 regulator-min-microvolt = <1800000>;
737                                 regulator-max-microvolt = <1800000>;
738                         };
739
740                         ldo21_reg: LDO21 {
741                                 regulator-name = "VTF_2.8V";
742                                 regulator-min-microvolt = <2800000>;
743                                 regulator-max-microvolt = <2800000>;
744                                 maxim,ena-gpios = <&gpy2 0 GPIO_ACTIVE_HIGH>;
745                         };
746
747                         ldo22_reg: LDO22 {
748                                 regulator-name = "VMEM_VDD_2.8V";
749                                 regulator-min-microvolt = <2800000>;
750                                 regulator-max-microvolt = <2800000>;
751                                 maxim,ena-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>;
752                         };
753
754                         ldo23_reg: LDO23 {
755                                 regulator-name = "TSP_AVDD_3.3V";
756                                 regulator-min-microvolt = <3300000>;
757                                 regulator-max-microvolt = <3300000>;
758                         };
759
760                         ldo24_reg: LDO24 {
761                                 regulator-name = "TSP_VDD_1.8V";
762                                 regulator-min-microvolt = <1800000>;
763                                 regulator-max-microvolt = <1800000>;
764                         };
765
766                         ldo25_reg: LDO25 {
767                                 regulator-name = "LDO25";
768                         };
769
770                         ldo26_reg: LDO26 {
771                                 regulator-name = "MOTOR_VCC_3.0V";
772                                 regulator-min-microvolt = <3000000>;
773                                 regulator-max-microvolt = <3000000>;
774                         };
775
776                         buck1_reg: BUCK1 {
777                                 regulator-name = "vdd_mif";
778                                 regulator-min-microvolt = <850000>;
779                                 regulator-max-microvolt = <1100000>;
780                                 regulator-always-on;
781                                 regulator-boot-on;
782                                 regulator-state-mem {
783                                         regulator-off-in-suspend;
784                                 };
785                         };
786
787                         buck2_reg: BUCK2 {
788                                 regulator-name = "vdd_arm";
789                                 regulator-min-microvolt = <850000>;
790                                 regulator-max-microvolt = <1500000>;
791                                 regulator-always-on;
792                                 regulator-boot-on;
793                                 regulator-state-mem {
794                                         regulator-on-in-suspend;
795                                 };
796                         };
797
798                         buck3_reg: BUCK3 {
799                                 regulator-name = "vdd_int";
800                                 regulator-min-microvolt = <850000>;
801                                 regulator-max-microvolt = <1150000>;
802                                 regulator-always-on;
803                                 regulator-boot-on;
804                                 regulator-state-mem {
805                                         regulator-off-in-suspend;
806                                 };
807                         };
808
809                         buck4_reg: BUCK4 {
810                                 regulator-name = "vdd_g3d";
811                                 regulator-min-microvolt = <850000>;
812                                 regulator-max-microvolt = <1150000>;
813                                 regulator-boot-on;
814                                 regulator-state-mem {
815                                         regulator-off-in-suspend;
816                                 };
817                         };
818
819                         buck5_reg: BUCK5 {
820                                 regulator-name = "VMEM_1.2V_AP";
821                                 regulator-min-microvolt = <1200000>;
822                                 regulator-max-microvolt = <1200000>;
823                                 regulator-always-on;
824                         };
825
826                         buck6_reg: BUCK6 {
827                                 regulator-name = "VCC_SUB_1.35V";
828                                 regulator-min-microvolt = <1350000>;
829                                 regulator-max-microvolt = <1350000>;
830                                 regulator-always-on;
831                         };
832
833                         buck7_reg: BUCK7 {
834                                 regulator-name = "VCC_SUB_2.0V";
835                                 regulator-min-microvolt = <2000000>;
836                                 regulator-max-microvolt = <2000000>;
837                                 regulator-always-on;
838                         };
839
840                         buck8_reg: BUCK8 {
841                                 regulator-name = "VMEM_VDDF_3.0V";
842                                 regulator-min-microvolt = <2850000>;
843                                 regulator-max-microvolt = <2850000>;
844                                 maxim,ena-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>;
845                         };
846
847                         buck9_reg: BUCK9 {
848                                 regulator-name = "CAM_ISP_CORE_1.2V";
849                                 regulator-min-microvolt = <1000000>;
850                                 regulator-max-microvolt = <1200000>;
851                         };
852                 };
853         };
854 };
855
856 &i2c_8 {
857         status = "okay";
858 };
859
860 &i2s0 {
861         pinctrl-0 = <&i2s0_bus>;
862         pinctrl-names = "default";
863         status = "okay";
864 };
865
866 &mixer {
867         status = "okay";
868 };
869
870 &mshc_0 {
871         broken-cd;
872         non-removable;
873         card-detect-delay = <200>;
874         vmmc-supply = <&ldo22_reg>;
875         clock-frequency = <400000000>;
876         samsung,dw-mshc-ciu-div = <0>;
877         samsung,dw-mshc-sdr-timing = <2 3>;
878         samsung,dw-mshc-ddr-timing = <1 2>;
879         pinctrl-0 = <&sd4_clk &sd4_cmd &sd4_bus4 &sd4_bus8>;
880         pinctrl-names = "default";
881         status = "okay";
882         bus-width = <8>;
883         cap-mmc-highspeed;
884 };
885
886 &pmu_system_controller {
887         assigned-clocks = <&pmu_system_controller 0>;
888         assigned-clock-parents =  <&clock CLK_XUSBXTI>;
889 };
890
891 &pinctrl_0 {
892         pinctrl-names = "default";
893         pinctrl-0 = <&sleep0>;
894
895         mhl_int: mhl-int {
896                 samsung,pins = "gpf3-5";
897                 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
898         };
899
900         i2c_mhl_bus: i2c-mhl-bus {
901                 samsung,pins = "gpf0-4", "gpf0-6";
902                 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
903                 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
904                 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>;
905         };
906
907         sleep0: sleep-states {
908                 PIN_SLP(gpa0-0, INPUT, NONE);
909                 PIN_SLP(gpa0-1, OUT0, NONE);
910                 PIN_SLP(gpa0-2, INPUT, NONE);
911                 PIN_SLP(gpa0-3, INPUT, UP);
912                 PIN_SLP(gpa0-4, INPUT, NONE);
913                 PIN_SLP(gpa0-5, INPUT, DOWN);
914                 PIN_SLP(gpa0-6, INPUT, DOWN);
915                 PIN_SLP(gpa0-7, INPUT, UP);
916
917                 PIN_SLP(gpa1-0, INPUT, DOWN);
918                 PIN_SLP(gpa1-1, INPUT, DOWN);
919                 PIN_SLP(gpa1-2, INPUT, DOWN);
920                 PIN_SLP(gpa1-3, INPUT, DOWN);
921                 PIN_SLP(gpa1-4, INPUT, DOWN);
922                 PIN_SLP(gpa1-5, INPUT, DOWN);
923
924                 PIN_SLP(gpb-0, INPUT, NONE);
925                 PIN_SLP(gpb-1, INPUT, NONE);
926                 PIN_SLP(gpb-2, INPUT, NONE);
927                 PIN_SLP(gpb-3, INPUT, NONE);
928                 PIN_SLP(gpb-4, INPUT, DOWN);
929                 PIN_SLP(gpb-5, INPUT, UP);
930                 PIN_SLP(gpb-6, INPUT, DOWN);
931                 PIN_SLP(gpb-7, INPUT, DOWN);
932
933                 PIN_SLP(gpc0-0, INPUT, DOWN);
934                 PIN_SLP(gpc0-1, INPUT, DOWN);
935                 PIN_SLP(gpc0-2, INPUT, DOWN);
936                 PIN_SLP(gpc0-3, INPUT, DOWN);
937                 PIN_SLP(gpc0-4, INPUT, DOWN);
938
939                 PIN_SLP(gpc1-0, INPUT, NONE);
940                 PIN_SLP(gpc1-1, PREV, NONE);
941                 PIN_SLP(gpc1-2, INPUT, NONE);
942                 PIN_SLP(gpc1-3, INPUT, NONE);
943                 PIN_SLP(gpc1-4, INPUT, NONE);
944
945                 PIN_SLP(gpd0-0, INPUT, DOWN);
946                 PIN_SLP(gpd0-1, INPUT, DOWN);
947                 PIN_SLP(gpd0-2, INPUT, NONE);
948                 PIN_SLP(gpd0-3, INPUT, NONE);
949
950                 PIN_SLP(gpd1-0, INPUT, DOWN);
951                 PIN_SLP(gpd1-1, INPUT, DOWN);
952                 PIN_SLP(gpd1-2, INPUT, NONE);
953                 PIN_SLP(gpd1-3, INPUT, NONE);
954
955                 PIN_SLP(gpf0-0, INPUT, NONE);
956                 PIN_SLP(gpf0-1, INPUT, NONE);
957                 PIN_SLP(gpf0-2, INPUT, DOWN);
958                 PIN_SLP(gpf0-3, INPUT, DOWN);
959                 PIN_SLP(gpf0-4, INPUT, NONE);
960                 PIN_SLP(gpf0-5, INPUT, DOWN);
961                 PIN_SLP(gpf0-6, INPUT, NONE);
962                 PIN_SLP(gpf0-7, INPUT, DOWN);
963
964                 PIN_SLP(gpf1-0, INPUT, DOWN);
965                 PIN_SLP(gpf1-1, INPUT, DOWN);
966                 PIN_SLP(gpf1-2, INPUT, DOWN);
967                 PIN_SLP(gpf1-3, INPUT, DOWN);
968                 PIN_SLP(gpf1-4, INPUT, NONE);
969                 PIN_SLP(gpf1-5, INPUT, NONE);
970                 PIN_SLP(gpf1-6, INPUT, DOWN);
971                 PIN_SLP(gpf1-7, PREV, NONE);
972
973                 PIN_SLP(gpf2-0, PREV, NONE);
974                 PIN_SLP(gpf2-1, INPUT, DOWN);
975                 PIN_SLP(gpf2-2, INPUT, DOWN);
976                 PIN_SLP(gpf2-3, INPUT, DOWN);
977                 PIN_SLP(gpf2-4, INPUT, DOWN);
978                 PIN_SLP(gpf2-5, INPUT, DOWN);
979                 PIN_SLP(gpf2-6, INPUT, NONE);
980                 PIN_SLP(gpf2-7, INPUT, NONE);
981
982                 PIN_SLP(gpf3-0, INPUT, NONE);
983                 PIN_SLP(gpf3-1, PREV, NONE);
984                 PIN_SLP(gpf3-2, PREV, NONE);
985                 PIN_SLP(gpf3-3, PREV, NONE);
986                 PIN_SLP(gpf3-4, OUT1, NONE);
987                 PIN_SLP(gpf3-5, INPUT, DOWN);
988
989                 PIN_SLP(gpj0-0, PREV, NONE);
990                 PIN_SLP(gpj0-1, PREV, NONE);
991                 PIN_SLP(gpj0-2, PREV, NONE);
992                 PIN_SLP(gpj0-3, INPUT, DOWN);
993                 PIN_SLP(gpj0-4, PREV, NONE);
994                 PIN_SLP(gpj0-5, PREV, NONE);
995                 PIN_SLP(gpj0-6, INPUT, DOWN);
996                 PIN_SLP(gpj0-7, INPUT, DOWN);
997
998                 PIN_SLP(gpj1-0, INPUT, DOWN);
999                 PIN_SLP(gpj1-1, PREV, NONE);
1000                 PIN_SLP(gpj1-2, PREV, NONE);
1001                 PIN_SLP(gpj1-3, INPUT, DOWN);
1002                 PIN_SLP(gpj1-4, INPUT, DOWN);
1003         };
1004 };
1005
1006 &pinctrl_1 {
1007         pinctrl-names = "default";
1008         pinctrl-0 = <&sleep1>;
1009
1010         hdmi_hpd: hdmi-hpd {
1011                 samsung,pins = "gpx3-7";
1012                 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
1013         };
1014
1015         sleep1: sleep-states {
1016                 PIN_SLP(gpk0-0, PREV, NONE);
1017                 PIN_SLP(gpk0-1, PREV, NONE);
1018                 PIN_SLP(gpk0-2, OUT0, NONE);
1019                 PIN_SLP(gpk0-3, PREV, NONE);
1020                 PIN_SLP(gpk0-4, PREV, NONE);
1021                 PIN_SLP(gpk0-5, PREV, NONE);
1022                 PIN_SLP(gpk0-6, PREV, NONE);
1023
1024                 PIN_SLP(gpk1-0, INPUT, DOWN);
1025                 PIN_SLP(gpk1-1, INPUT, DOWN);
1026                 PIN_SLP(gpk1-2, INPUT, DOWN);
1027                 PIN_SLP(gpk1-3, PREV, NONE);
1028                 PIN_SLP(gpk1-4, PREV, NONE);
1029                 PIN_SLP(gpk1-5, PREV, NONE);
1030                 PIN_SLP(gpk1-6, PREV, NONE);
1031
1032                 PIN_SLP(gpk2-0, INPUT, DOWN);
1033                 PIN_SLP(gpk2-1, INPUT, DOWN);
1034                 PIN_SLP(gpk2-2, INPUT, DOWN);
1035                 PIN_SLP(gpk2-3, INPUT, DOWN);
1036                 PIN_SLP(gpk2-4, INPUT, DOWN);
1037                 PIN_SLP(gpk2-5, INPUT, DOWN);
1038                 PIN_SLP(gpk2-6, INPUT, DOWN);
1039
1040                 PIN_SLP(gpk3-0, OUT0, NONE);
1041                 PIN_SLP(gpk3-1, INPUT, NONE);
1042                 PIN_SLP(gpk3-2, INPUT, DOWN);
1043                 PIN_SLP(gpk3-3, INPUT, NONE);
1044                 PIN_SLP(gpk3-4, INPUT, NONE);
1045                 PIN_SLP(gpk3-5, INPUT, NONE);
1046                 PIN_SLP(gpk3-6, INPUT, NONE);
1047
1048                 PIN_SLP(gpl0-0, INPUT, DOWN);
1049                 PIN_SLP(gpl0-1, INPUT, DOWN);
1050                 PIN_SLP(gpl0-2, INPUT, DOWN);
1051                 PIN_SLP(gpl0-3, INPUT, DOWN);
1052                 PIN_SLP(gpl0-4, PREV, NONE);
1053                 PIN_SLP(gpl0-6, PREV, NONE);
1054
1055                 PIN_SLP(gpl1-0, INPUT, DOWN);
1056                 PIN_SLP(gpl1-1, INPUT, DOWN);
1057                 PIN_SLP(gpl2-0, INPUT, DOWN);
1058                 PIN_SLP(gpl2-1, INPUT, DOWN);
1059                 PIN_SLP(gpl2-2, INPUT, DOWN);
1060                 PIN_SLP(gpl2-3, INPUT, DOWN);
1061                 PIN_SLP(gpl2-4, INPUT, DOWN);
1062                 PIN_SLP(gpl2-5, INPUT, DOWN);
1063                 PIN_SLP(gpl2-6, PREV, NONE);
1064                 PIN_SLP(gpl2-7, INPUT, DOWN);
1065
1066                 PIN_SLP(gpm0-0, INPUT, DOWN);
1067                 PIN_SLP(gpm0-1, INPUT, DOWN);
1068                 PIN_SLP(gpm0-2, INPUT, DOWN);
1069                 PIN_SLP(gpm0-3, INPUT, DOWN);
1070                 PIN_SLP(gpm0-4, INPUT, DOWN);
1071                 PIN_SLP(gpm0-5, INPUT, DOWN);
1072                 PIN_SLP(gpm0-6, INPUT, DOWN);
1073                 PIN_SLP(gpm0-7, INPUT, DOWN);
1074
1075                 PIN_SLP(gpm1-0, INPUT, DOWN);
1076                 PIN_SLP(gpm1-1, INPUT, DOWN);
1077                 PIN_SLP(gpm1-2, INPUT, NONE);
1078                 PIN_SLP(gpm1-3, INPUT, NONE);
1079                 PIN_SLP(gpm1-4, INPUT, NONE);
1080                 PIN_SLP(gpm1-5, INPUT, NONE);
1081                 PIN_SLP(gpm1-6, INPUT, DOWN);
1082
1083                 PIN_SLP(gpm2-0, INPUT, NONE);
1084                 PIN_SLP(gpm2-1, INPUT, NONE);
1085                 PIN_SLP(gpm2-2, INPUT, DOWN);
1086                 PIN_SLP(gpm2-3, INPUT, DOWN);
1087                 PIN_SLP(gpm2-4, INPUT, DOWN);
1088
1089                 PIN_SLP(gpm3-0, PREV, NONE);
1090                 PIN_SLP(gpm3-1, PREV, NONE);
1091                 PIN_SLP(gpm3-2, PREV, NONE);
1092                 PIN_SLP(gpm3-3, OUT1, NONE);
1093                 PIN_SLP(gpm3-4, INPUT, DOWN);
1094                 PIN_SLP(gpm3-5, INPUT, DOWN);
1095                 PIN_SLP(gpm3-6, INPUT, DOWN);
1096                 PIN_SLP(gpm3-7, INPUT, DOWN);
1097
1098                 PIN_SLP(gpm4-0, INPUT, DOWN);
1099                 PIN_SLP(gpm4-1, INPUT, DOWN);
1100                 PIN_SLP(gpm4-2, INPUT, DOWN);
1101                 PIN_SLP(gpm4-3, INPUT, DOWN);
1102                 PIN_SLP(gpm4-4, INPUT, DOWN);
1103                 PIN_SLP(gpm4-5, INPUT, DOWN);
1104                 PIN_SLP(gpm4-6, INPUT, DOWN);
1105                 PIN_SLP(gpm4-7, INPUT, DOWN);
1106
1107                 PIN_SLP(gpy0-0, INPUT, DOWN);
1108                 PIN_SLP(gpy0-1, INPUT, DOWN);
1109                 PIN_SLP(gpy0-2, INPUT, DOWN);
1110                 PIN_SLP(gpy0-3, INPUT, DOWN);
1111                 PIN_SLP(gpy0-4, INPUT, DOWN);
1112                 PIN_SLP(gpy0-5, INPUT, DOWN);
1113
1114                 PIN_SLP(gpy1-0, INPUT, DOWN);
1115                 PIN_SLP(gpy1-1, INPUT, DOWN);
1116                 PIN_SLP(gpy1-2, INPUT, DOWN);
1117                 PIN_SLP(gpy1-3, INPUT, DOWN);
1118
1119                 PIN_SLP(gpy2-0, PREV, NONE);
1120                 PIN_SLP(gpy2-1, INPUT, DOWN);
1121                 PIN_SLP(gpy2-2, INPUT, NONE);
1122                 PIN_SLP(gpy2-3, INPUT, NONE);
1123                 PIN_SLP(gpy2-4, INPUT, NONE);
1124                 PIN_SLP(gpy2-5, INPUT, NONE);
1125
1126                 PIN_SLP(gpy3-0, INPUT, DOWN);
1127                 PIN_SLP(gpy3-1, INPUT, DOWN);
1128                 PIN_SLP(gpy3-2, INPUT, DOWN);
1129                 PIN_SLP(gpy3-3, INPUT, DOWN);
1130                 PIN_SLP(gpy3-4, INPUT, DOWN);
1131                 PIN_SLP(gpy3-5, INPUT, DOWN);
1132                 PIN_SLP(gpy3-6, INPUT, DOWN);
1133                 PIN_SLP(gpy3-7, INPUT, DOWN);
1134
1135                 PIN_SLP(gpy4-0, INPUT, DOWN);
1136                 PIN_SLP(gpy4-1, INPUT, DOWN);
1137                 PIN_SLP(gpy4-2, INPUT, DOWN);
1138                 PIN_SLP(gpy4-3, INPUT, DOWN);
1139                 PIN_SLP(gpy4-4, INPUT, DOWN);
1140                 PIN_SLP(gpy4-5, INPUT, DOWN);
1141                 PIN_SLP(gpy4-6, INPUT, DOWN);
1142                 PIN_SLP(gpy4-7, INPUT, DOWN);
1143
1144                 PIN_SLP(gpy5-0, INPUT, DOWN);
1145                 PIN_SLP(gpy5-1, INPUT, DOWN);
1146                 PIN_SLP(gpy5-2, INPUT, DOWN);
1147                 PIN_SLP(gpy5-3, INPUT, DOWN);
1148                 PIN_SLP(gpy5-4, INPUT, DOWN);
1149                 PIN_SLP(gpy5-5, INPUT, DOWN);
1150                 PIN_SLP(gpy5-6, INPUT, DOWN);
1151                 PIN_SLP(gpy5-7, INPUT, DOWN);
1152
1153                 PIN_SLP(gpy6-0, INPUT, DOWN);
1154                 PIN_SLP(gpy6-1, INPUT, DOWN);
1155                 PIN_SLP(gpy6-2, INPUT, DOWN);
1156                 PIN_SLP(gpy6-3, INPUT, DOWN);
1157                 PIN_SLP(gpy6-4, INPUT, DOWN);
1158                 PIN_SLP(gpy6-5, INPUT, DOWN);
1159                 PIN_SLP(gpy6-6, INPUT, DOWN);
1160                 PIN_SLP(gpy6-7, INPUT, DOWN);
1161         };
1162 };
1163
1164 &pinctrl_2 {
1165         pinctrl-names = "default";
1166         pinctrl-0 = <&sleep2>;
1167
1168         sleep2: sleep-states {
1169                 PIN_SLP(gpz-0, INPUT, DOWN);
1170                 PIN_SLP(gpz-1, INPUT, DOWN);
1171                 PIN_SLP(gpz-2, INPUT, DOWN);
1172                 PIN_SLP(gpz-3, INPUT, DOWN);
1173                 PIN_SLP(gpz-4, INPUT, DOWN);
1174                 PIN_SLP(gpz-5, INPUT, DOWN);
1175                 PIN_SLP(gpz-6, INPUT, DOWN);
1176         };
1177 };
1178
1179 &pinctrl_3 {
1180         pinctrl-names = "default";
1181         pinctrl-0 = <&sleep3>;
1182
1183         sleep3: sleep-states {
1184                 PIN_SLP(gpv0-0, INPUT, DOWN);
1185                 PIN_SLP(gpv0-1, INPUT, DOWN);
1186                 PIN_SLP(gpv0-2, INPUT, DOWN);
1187                 PIN_SLP(gpv0-3, INPUT, DOWN);
1188                 PIN_SLP(gpv0-4, INPUT, DOWN);
1189                 PIN_SLP(gpv0-5, INPUT, DOWN);
1190                 PIN_SLP(gpv0-6, INPUT, DOWN);
1191                 PIN_SLP(gpv0-7, INPUT, DOWN);
1192
1193                 PIN_SLP(gpv1-0, INPUT, DOWN);
1194                 PIN_SLP(gpv1-1, INPUT, DOWN);
1195                 PIN_SLP(gpv1-2, INPUT, DOWN);
1196                 PIN_SLP(gpv1-3, INPUT, DOWN);
1197                 PIN_SLP(gpv1-4, INPUT, DOWN);
1198                 PIN_SLP(gpv1-5, INPUT, DOWN);
1199                 PIN_SLP(gpv1-6, INPUT, DOWN);
1200                 PIN_SLP(gpv1-7, INPUT, DOWN);
1201
1202                 PIN_SLP(gpv2-0, INPUT, DOWN);
1203                 PIN_SLP(gpv2-1, INPUT, DOWN);
1204                 PIN_SLP(gpv2-2, INPUT, DOWN);
1205                 PIN_SLP(gpv2-3, INPUT, DOWN);
1206                 PIN_SLP(gpv2-4, INPUT, DOWN);
1207                 PIN_SLP(gpv2-5, INPUT, DOWN);
1208                 PIN_SLP(gpv2-6, INPUT, DOWN);
1209                 PIN_SLP(gpv2-7, INPUT, DOWN);
1210
1211                 PIN_SLP(gpv3-0, INPUT, DOWN);
1212                 PIN_SLP(gpv3-1, INPUT, DOWN);
1213                 PIN_SLP(gpv3-2, INPUT, DOWN);
1214                 PIN_SLP(gpv3-3, INPUT, DOWN);
1215                 PIN_SLP(gpv3-4, INPUT, DOWN);
1216                 PIN_SLP(gpv3-5, INPUT, DOWN);
1217                 PIN_SLP(gpv3-6, INPUT, DOWN);
1218                 PIN_SLP(gpv3-7, INPUT, DOWN);
1219
1220                 PIN_SLP(gpv4-0, INPUT, DOWN);
1221         };
1222 };
1223
1224 &pwm {
1225         pinctrl-0 = <&pwm0_out>;
1226         pinctrl-names = "default";
1227         samsung,pwm-outputs = <0>;
1228         status = "okay";
1229 };
1230
1231 &rtc {
1232         status = "okay";
1233         clocks = <&clock CLK_RTC>, <&max77686 MAX77686_CLK_AP>;
1234         clock-names = "rtc", "rtc_src";
1235 };
1236
1237 &sdhci_2 {
1238         bus-width = <4>;
1239         cd-gpios = <&gpx3 4 GPIO_ACTIVE_HIGH>;
1240         cd-inverted;
1241         pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4>;
1242         pinctrl-names = "default";
1243         vmmc-supply = <&ldo21_reg>;
1244         status = "okay";
1245 };
1246
1247 &sdhci_3 {
1248         #address-cells = <1>;
1249         #size-cells = <0>;
1250         non-removable;
1251         bus-width = <4>;
1252
1253         mmc-pwrseq = <&wlan_pwrseq>;
1254         pinctrl-names = "default";
1255         pinctrl-0 = <&sd3_clk &sd3_cmd &sd3_bus4>;
1256         status = "okay";
1257
1258         brcmf: wifi@1 {
1259                 reg = <1>;
1260                 compatible = "brcm,bcm4329-fmac";
1261                 interrupt-parent = <&gpx2>;
1262                 interrupts = <5 IRQ_TYPE_NONE>;
1263                 interrupt-names = "host-wake";
1264         };
1265 };
1266
1267 &serial_0 {
1268         status = "okay";
1269 };
1270
1271 &serial_1 {
1272         status = "okay";
1273 };
1274
1275 &serial_2 {
1276         status = "okay";
1277 };
1278
1279 &serial_3 {
1280         status = "okay";
1281 };
1282
1283 &spi_1 {
1284         pinctrl-names = "default";
1285         pinctrl-0 = <&spi1_bus>;
1286         cs-gpios = <&gpb 5 GPIO_ACTIVE_HIGH>;
1287         status = "okay";
1288
1289         s5c73m3_spi: s5c73m3@0 {
1290                 compatible = "samsung,s5c73m3";
1291                 spi-max-frequency = <50000000>;
1292                 reg = <0>;
1293                 controller-data {
1294                         samsung,spi-feedback-delay = <2>;
1295                 };
1296         };
1297 };
1298
1299 &tmu {
1300         vtmu-supply = <&ldo10_reg>;
1301         status = "okay";
1302 };