Merge tag 'xfs-6.3-merge-4' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux
[linux-2.6-microblaze.git] / arch / arm / boot / dts / exynos4412-p4note.dtsi
1 // SPDX-License-Identifier: GPL-2.0
2 /*
3  * Samsung's Exynos4412 based p4note device family base DT.
4  * Based on exynos4412-midas.dtsi.
5  *
6  * Copyright (c) 2013 Samsung Electronics Co., Ltd.
7  *              http://www.samsung.com
8  */
9
10 /dts-v1/;
11 #include "exynos4412.dtsi"
12 #include "exynos4412-ppmu-common.dtsi"
13
14 #include <dt-bindings/clock/maxim,max77686.h>
15 #include <dt-bindings/gpio/gpio.h>
16 #include <dt-bindings/input/linux-event-codes.h>
17 #include <dt-bindings/interrupt-controller/irq.h>
18 #include <dt-bindings/power/summit,smb347-charger.h>
19 #include "exynos-pinctrl.h"
20
21 / {
22         compatible = "samsung,p4note", "samsung,exynos4412", "samsung,exynos4";
23
24         memory@40000000 {
25                 device_type = "memory";
26                 reg = <0x40000000 0x80000000>;
27         };
28
29         chosen {
30                 stdout-path = &serial_2;
31         };
32
33         firmware@204f000 {
34                 compatible = "samsung,secure-firmware";
35                 reg = <0x0204f000 0x1000>;
36         };
37
38         fixed-rate-clocks {
39                 xxti {
40                         compatible = "samsung,clock-xxti";
41                         clock-frequency = <0>;
42                 };
43
44                 xusbxti {
45                         compatible = "samsung,clock-xusbxti";
46                         clock-frequency = <24000000>;
47                 };
48         };
49
50         gpio-keys {
51                 compatible = "gpio-keys";
52                 pinctrl-names = "default";
53                 pinctrl-0 = <&gpio_keys>;
54
55                 key-down {
56                         gpios = <&gpx2 2 GPIO_ACTIVE_LOW>;
57                         linux,code = <KEY_VOLUMEDOWN>;
58                         label = "volume down";
59                         debounce-interval = <10>;
60                 };
61
62                 key-up {
63                         gpios = <&gpx3 3 GPIO_ACTIVE_LOW>;
64                         linux,code = <KEY_VOLUMEUP>;
65                         label = "volume up";
66                         debounce-interval = <10>;
67                 };
68
69                 key-power {
70                         gpios = <&gpx2 7 GPIO_ACTIVE_LOW>;
71                         linux,code = <KEY_POWER>;
72                         label = "power";
73                         debounce-interval = <10>;
74                         wakeup-source;
75                 };
76         };
77
78         voltage-regulator-1 {
79                 compatible = "regulator-fixed";
80                 regulator-name = "TSP_LDO1";
81                 pinctrl-names = "default";
82                 pinctrl-0 = <&tsp_reg_gpio_1>;
83                 gpios = <&gpm4 5 GPIO_ACTIVE_HIGH>;
84                 enable-active-high;
85                 regulator-always-on;
86         };
87
88         voltage-regulator-2 {
89                 compatible = "regulator-fixed";
90                 regulator-name = "TSP_LDO2";
91                 pinctrl-names = "default";
92                 pinctrl-0 = <&tsp_reg_gpio_2>;
93                 gpios = <&gpb 5 GPIO_ACTIVE_HIGH>;
94                 enable-active-high;
95                 regulator-always-on;
96         };
97
98         voltage-regulator-3 {
99                 compatible = "regulator-fixed";
100                 regulator-name = "TSP_LDO3";
101                 pinctrl-names = "default";
102                 pinctrl-0 = <&tsp_reg_gpio_3>;
103                 gpios = <&gpb 7 GPIO_ACTIVE_HIGH>;
104                 startup-delay-us = <20000>;
105                 enable-active-high;
106                 regulator-always-on;
107         };
108
109         panel_vdd: voltage-regulator-4 {
110                 compatible = "regulator-fixed";
111                 regulator-name = "LCD_ENABLE";
112                 pinctrl-names = "default";
113                 pinctrl-0 = <&lcd_enable>;
114                 gpios = <&gpc0 1 GPIO_ACTIVE_HIGH>;
115                 enable-active-high;
116                 regulator-boot-on;
117         };
118
119         wlan_pwrseq: sdhci3-pwrseq {
120                 compatible = "mmc-pwrseq-simple";
121                 reset-gpios = <&gpm3 5 GPIO_ACTIVE_LOW>;
122                 pinctrl-0 = <&wifi_reset>;
123                 pinctrl-names = "default";
124                 clocks = <&max77686 MAX77686_CLK_PMIC>;
125                 clock-names = "ext_clock";
126         };
127
128         battery_cell: battery-cell {
129                 compatible = "simple-battery";
130                 device-chemistry = "lithium-ion";
131                 constant-charge-current-max-microamp = <2200000>;
132                 precharge-current-microamp = <250000>;
133                 charge-term-current-microamp = <250000>;
134                 constant-charge-voltage-max-microvolt = <4200000>;
135         };
136
137         i2c-gpio-1 {
138                 compatible = "i2c-gpio";
139                 sda-gpios = <&gpy2 4 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
140                 scl-gpios = <&gpy2 5 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
141                 i2c-gpio,delay-us = <2>;
142                 #address-cells = <1>;
143                 #size-cells = <0>;
144
145                 magnetometer@c {
146                         compatible = "asahi-kasei,ak8975";
147                         reg = <0x0c>;
148                         pinctrl-0 = <&ak8975_irq>;
149                         pinctrl-names = "default";
150                         interrupt-parent = <&gpm4>;
151                         interrupts = <7 IRQ_TYPE_EDGE_RISING>;
152                 };
153         };
154
155         i2c-gpio-2 {
156                 compatible = "i2c-gpio";
157                 sda-gpios = <&gpy0 2 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
158                 scl-gpios = <&gpy0 3 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
159                 i2c-gpio,delay-us = <2>;
160                 #address-cells = <1>;
161                 #size-cells = <0>;
162
163                 fuel-gauge@36 {
164                         compatible = "maxim,max17042";
165                         reg = <0x36>;
166                         pinctrl-0 = <&fuel_alert_irq>;
167                         pinctrl-names = "default";
168                         interrupt-parent = <&gpx2>;
169                         interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
170                         maxim,rsns-microohm = <10000>;
171                         maxim,over-heat-temp = <600>;
172                         maxim,over-volt = <4300>;
173                 };
174         };
175
176         i2c-gpio-3 {
177                 compatible = "i2c-gpio";
178                 sda-gpios = <&gpm4 1 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
179                 scl-gpios = <&gpm4 0 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
180                 i2c-gpio,delay-us = <5>;
181                 #address-cells = <1>;
182                 #size-cells = <0>;
183
184                 adc@41 {
185                         compatible = "st,stmpe811";
186                         reg = <0x41>;
187                         pinctrl-0 = <&stmpe_adc_irq>;
188                         pinctrl-names = "default";
189                         interrupt-parent = <&gpx0>;
190                         interrupts = <1 IRQ_TYPE_LEVEL_LOW>;
191                         interrupt-controller;
192                         irq-trigger = <0x1>;
193                         st,adc-freq = <3>;
194                         st,mod-12b = <1>;
195                         st,ref-sel = <0>;
196                         st,sample-time = <3>;
197
198                         stmpe_adc {
199                                 compatible = "st,stmpe-adc";
200                                 #io-channel-cells = <1>;
201                                 st,norequest-mask = <0x2f>;
202                         };
203                 };
204         };
205
206         i2c-gpio-4 {
207                 compatible = "i2c-gpio";
208                 sda-gpios = <&gpm2 0 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
209                 scl-gpios = <&gpm2 1 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
210
211                 i2c-gpio,delay-us = <2>;
212                 #address-cells = <1>;
213                 #size-cells = <0>;
214
215                 power_supply: charger@6 {
216                         compatible = "summit,smb347";
217                         reg = <0x6>;
218                         summit,enable-usb-charging;
219                         summit,enable-charge-control = <SMB3XX_CHG_ENABLE_SW>;
220                         summit,fast-voltage-threshold-microvolt = <2600000>;
221                         summit,chip-temperature-threshold-celsius = <130>;
222                         summit,usb-current-limit-microamp = <1800000>;
223
224                         monitored-battery = <&battery_cell>;
225                 };
226         };
227
228         panel {
229                 compatible = "samsung,ltl101al01";
230                 pinctrl-0 = <&lvds_nshdn>;
231                 pinctrl-names = "default";
232                 power-supply = <&panel_vdd>;
233                 enable-gpios = <&gpm0 5 GPIO_ACTIVE_HIGH>;
234                 backlight = <&backlight>;
235
236                 port {
237                         lcd_ep: endpoint {
238                                 remote-endpoint = <&fimd_ep>;
239                         };
240                 };
241         };
242
243         backlight: backlight {
244                 compatible = "pwm-backlight";
245                 pinctrl-0 = <&led_bl_reset>;
246                 pinctrl-names = "default";
247                 enable-gpios = <&gpm0 1 GPIO_ACTIVE_HIGH>;
248                 power-supply = <&panel_vdd>;
249                 pwms = <&pwm 1 78770 0>;
250                 brightness-levels = <0 48 128 255>;
251                 num-interpolated-steps = <8>;
252                 default-brightness-level = <12>;
253         };
254 };
255
256 &adc {
257         vdd-supply = <&ldo3_reg>;
258         /* not verified */
259         status = "okay";
260 };
261
262 &bus_dmc {
263         devfreq-events = <&ppmu_dmc0_3>, <&ppmu_dmc1_3>;
264         vdd-supply = <&buck1_reg>;
265         status = "okay";
266 };
267
268 &bus_acp {
269         devfreq = <&bus_dmc>;
270         status = "okay";
271 };
272
273 &bus_c2c {
274         devfreq = <&bus_dmc>;
275         status = "okay";
276 };
277
278 &bus_leftbus {
279         devfreq-events = <&ppmu_leftbus_3>, <&ppmu_rightbus_3>;
280         vdd-supply = <&buck3_reg>;
281         status = "okay";
282 };
283
284 &bus_rightbus {
285         devfreq = <&bus_leftbus>;
286         status = "okay";
287 };
288
289 &bus_display {
290         devfreq = <&bus_leftbus>;
291         status = "okay";
292 };
293
294 &bus_fsys {
295         devfreq = <&bus_leftbus>;
296         status = "okay";
297 };
298
299 &bus_peri {
300         devfreq = <&bus_leftbus>;
301         status = "okay";
302 };
303
304 &bus_mfc {
305         devfreq = <&bus_leftbus>;
306         status = "okay";
307 };
308
309 &cpu0 {
310         cpu0-supply = <&buck2_reg>;
311 };
312
313 &cpu_thermal {
314         cooling-maps {
315                 map0 {
316                         /* Corresponds to 800MHz at freq_table */
317                         cooling-device = <&cpu0 7 7>, <&cpu1 7 7>,
318                                          <&cpu2 7 7>, <&cpu3 7 7>;
319                 };
320                 map1 {
321                         /* Corresponds to 200MHz at freq_table */
322                         cooling-device = <&cpu0 13 13>, <&cpu1 13 13>,
323                                          <&cpu2 13 13>, <&cpu3 13 13>;
324                 };
325         };
326 };
327
328 &exynos_usbphy {
329         status = "okay";
330 };
331
332 &fimd {
333         pinctrl-0 = <&lcd_clk &lcd_data24>;
334         pinctrl-names = "default";
335         #address-cells = <1>;
336         #size-cells = <0>;
337         status = "okay";
338
339         samsung,invert-vclk;
340
341         port@3 {
342                 reg = <3>;
343
344                 fimd_ep: endpoint {
345                         remote-endpoint = <&lcd_ep>;
346                 };
347         };
348 };
349
350 &gpu {
351         mali-supply = <&buck4_reg>;
352         status = "okay";
353 };
354
355 &hsotg {
356         vusb_a-supply = <&ldo12_reg>;
357         dr_mode = "peripheral";
358         status = "okay";
359 };
360
361 &i2c_3 {
362         samsung,i2c-sda-delay = <100>;
363         samsung,i2c-slave-addr = <0x10>;
364         samsung,i2c-max-bus-freq = <400000>;
365         pinctrl-0 = <&i2c3_bus>;
366         pinctrl-names = "default";
367         status = "okay";
368
369         touchscreen@4a {
370                 compatible = "atmel,maxtouch";
371                 reg = <0x4a>;
372                 pinctrl-0 = <&tsp_rst &tsp_irq>;
373                 pinctrl-names = "default";
374                 interrupt-parent = <&gpm2>;
375                 interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
376                 reset-gpios = <&gpm0 4 GPIO_ACTIVE_LOW>;
377         };
378 };
379
380 &i2c_7 {
381         samsung,i2c-sda-delay = <100>;
382         samsung,i2c-slave-addr = <0x10>;
383         samsung,i2c-max-bus-freq = <400000>;
384         pinctrl-0 = <&i2c7_bus>;
385         pinctrl-names = "default";
386         status = "okay";
387
388         max77686: pmic@9 {
389                 compatible = "maxim,max77686";
390                 interrupt-parent = <&gpx0>;
391                 interrupts = <7 IRQ_TYPE_LEVEL_LOW>;
392                 pinctrl-0 = <&max77686_irq>;
393                 pinctrl-names = "default";
394                 wakeup-source;
395                 reg = <0x09>;
396                 #clock-cells = <1>;
397
398                 voltage-regulators {
399                         ldo1_reg: LDO1 {
400                                 regulator-name = "ldo1";
401                                 regulator-always-on;
402                         };
403
404                         ldo2_reg: LDO2 {
405                                 regulator-name = "ldo2";
406                                 regulator-always-on;
407                         };
408
409                         /* WM8994 audio */
410                         ldo3_reg: LDO3 {
411                                 regulator-name = "VCC_1.8V_AP";
412                                 regulator-min-microvolt = <1800000>;
413                                 regulator-max-microvolt = <1800000>;
414                                 regulator-always-on;
415                                 regulator-boot-on;
416
417                                 regulator-state-mem {
418                                         regulator-on-in-suspend;
419                                 };
420                         };
421
422                         ldo4_reg: LDO4 {
423                                 regulator-name = "ldo4";
424                                 regulator-always-on;
425                         };
426
427                         ldo5_reg: LDO5 {
428                                 regulator-name = "VCC_1.8V_IO";
429                                 regulator-min-microvolt = <1800000>;
430                                 regulator-max-microvolt = <1800000>;
431
432                                 regulator-state-mem {
433                                         regulator-off-in-suspend;
434                                 };
435                         };
436
437                         ldo6_reg: LDO6 {
438                                 regulator-name = "ldo6";
439                                 regulator-always-on;
440                         };
441
442                         ldo7_reg: LDO7 {
443                                 regulator-name = "ldo7";
444                                 regulator-always-on;
445                         };
446
447                         /* CSI IP block */
448                         ldo8_reg: LDO8 {
449                                 regulator-name = "VMIPI_1.0V";
450                                 regulator-min-microvolt = <1000000>;
451                                 regulator-max-microvolt = <1000000>;
452                                 regulator-always-on;
453                                 regulator-boot-on;
454
455                                 regulator-state-mem {
456                                         regulator-on-in-suspend;
457                                 };
458                         };
459
460                         /* IR LED on/off */
461                         ldo9_reg: LDO9 {
462                                 regulator-name = "VLED_IC_1.9V";
463                                 regulator-min-microvolt = <1950000>;
464                                 regulator-max-microvolt = <1950000>;
465
466                                 regulator-state-mem {
467                                         regulator-off-in-suspend;
468                                 };
469                         };
470
471                         /* CSI IP block */
472                         ldo10_reg: LDO10 {
473                                 regulator-name = "VMIPI_1.8V";
474                                 regulator-min-microvolt = <1800000>;
475                                 regulator-max-microvolt = <1800000>;
476                                 regulator-always-on;
477                                 regulator-boot-on;
478
479                                 regulator-state-mem {
480                                         regulator-on-in-suspend;
481                                 };
482                         };
483
484                         ldo11_reg: LDO11 {
485                                 regulator-name = "VABB1_1.9V";
486                                 regulator-min-microvolt = <1950000>;
487                                 regulator-max-microvolt = <1950000>;
488                                 regulator-always-on;
489                                 regulator-boot-on;
490
491                                 regulator-state-mem {
492                                         regulator-off-in-suspend;
493                                 };
494                         };
495
496                         /* USB OTG */
497                         ldo12_reg: LDO12 {
498                                 regulator-name = "VUOTG_3.0V";
499                                 regulator-min-microvolt = <3000000>;
500                                 regulator-max-microvolt = <3000000>;
501                                 regulator-always-on;
502                                 regulator-boot-on;
503
504                                 regulator-state-mem {
505                                         regulator-on-in-suspend;
506                                 };
507                         };
508
509                         /* not connected */
510                         ldo13_reg: LDO13 {
511                                 regulator-name = "ldo13";
512                         };
513
514                         ldo14_reg: LDO14 {
515                                 regulator-name = "VABB2_1.9V";
516                                 regulator-min-microvolt = <1950000>;
517                                 regulator-max-microvolt = <1950000>;
518                                 regulator-always-on;
519                                 regulator-boot-on;
520
521                                 regulator-state-mem {
522                                         regulator-off-in-suspend;
523                                 };
524                         };
525
526                         ldo15_reg: LDO15 {
527                                 regulator-name = "ldo15";
528                                 regulator-always-on;
529                         };
530
531                         ldo16_reg: LDO16 {
532                                 regulator-name = "ldo16";
533                                 regulator-always-on;
534                         };
535
536                         /* not connected */
537                         ldo17_reg: LDO17 {
538                                 regulator-name = "ldo17";
539                         };
540
541                         /* Camera ISX012 */
542                         ldo18_reg: LDO18 {
543                                 regulator-name = "CAM_IO_1.8V";
544                                 regulator-min-microvolt = <1800000>;
545                                 regulator-max-microvolt = <1800000>;
546
547                                 regulator-state-mem {
548                                         regulator-off-in-suspend;
549                                 };
550                         };
551
552                         /* Camera S5K6A3 */
553                         ldo19_reg: LDO19 {
554                                 regulator-name = "VT_CORE_1.8V";
555                                 regulator-min-microvolt = <1800000>;
556                                 regulator-max-microvolt = <1800000>;
557
558                                 regulator-state-mem {
559                                         regulator-off-in-suspend;
560                                 };
561                         };
562
563                         /* not connected */
564                         ldo20_reg: LDO20 {
565                                 regulator-name = "ldo20";
566                         };
567
568                         /* MMC2 */
569                         ldo21_reg: LDO21 {
570                                 regulator-name = "VTF_2.8V";
571                                 regulator-min-microvolt = <2800000>;
572                                 regulator-max-microvolt = <2800000>;
573                                 maxim,ena-gpios = <&gpy2 0 GPIO_ACTIVE_HIGH>;
574                         };
575
576                         /* not connected */
577                         ldo22_reg: LDO22 {
578                                 regulator-name = "ldo22";
579                         };
580
581                         /* ADC */
582                         ldo23_reg: LDO23 {
583                                 regulator-name = "VDD_ADC_3.3V";
584                                 regulator-min-microvolt = <3300000>;
585                                 regulator-max-microvolt = <3300000>;
586                                 regulator-always-on;
587                                 regulator-boot-on;
588
589                                 regulator-state-mem {
590                                         regulator-off-in-suspend;
591                                 };
592                         };
593
594                         /* Camera S5K6A3 */
595                         ldo24_reg: LDO24 {
596                                 regulator-name = "CAM_A2.8V";
597                                 regulator-min-microvolt = <2800000>;
598                                 regulator-max-microvolt = <2800000>;
599
600                                 regulator-state-mem {
601                                         regulator-off-in-suspend;
602                                 };
603                         };
604
605                         ldo25_reg: LDO25 {
606                                 regulator-name = "VLED_3.3V";
607                                 regulator-min-microvolt = <3300000>;
608                                 regulator-max-microvolt = <3300000>;
609
610                                 regulator-state-mem {
611                                         regulator-off-in-suspend;
612                                 };
613                         };
614
615                         /* Camera ISX012 */
616                         ldo26_reg: LDO26 {
617                                 regulator-name = "3MP_AF_2.8V";
618                                 regulator-min-microvolt = <2800000>;
619                                 regulator-max-microvolt = <2800000>;
620
621                                 regulator-state-mem {
622                                         regulator-off-in-suspend;
623                                 };
624                         };
625
626                         buck1_reg: BUCK1 {
627                                 regulator-name = "VDD_MIF";
628                                 regulator-min-microvolt = <850000>;
629                                 regulator-max-microvolt = <1050000>;
630                                 regulator-always-on;
631                                 regulator-boot-on;
632                         };
633
634                         buck2_reg: BUCK2 {
635                                 regulator-name = "VDD_ARM";
636                                 regulator-min-microvolt = <850000>;
637                                 regulator-max-microvolt = <1500000>;
638                                 regulator-always-on;
639                                 regulator-boot-on;
640                         };
641
642                         buck3_reg: BUCK3 {
643                                 regulator-name = "VDD_INT";
644                                 regulator-min-microvolt = <850000>;
645                                 regulator-max-microvolt = <1100000>;
646                                 regulator-always-on;
647                                 regulator-boot-on;
648                         };
649
650                         buck4_reg: BUCK4 {
651                                 regulator-name = "VDD_G3D";
652                                 regulator-min-microvolt = <850000>;
653                                 regulator-max-microvolt = <1075000>;
654                                 regulator-boot-on;
655                         };
656
657                         buck5_reg: BUCK5 {
658                                 regulator-name = "buck5";
659                                 regulator-always-on;
660                         };
661
662                         buck6_reg: BUCK6 {
663                                 regulator-name = "buck6";
664                                 regulator-always-on;
665                         };
666
667                         buck7_reg: BUCK7 {
668                                 regulator-name = "buck7";
669                                 regulator-always-on;
670                         };
671
672                         /* not connected */
673                         buck8_reg: BUCK8 {
674                                 regulator-name = "buck8";
675                         };
676
677                         buck9_reg: BUCK9 {
678                                 regulator-name = "3MP_CORE_1.2V";
679                                 regulator-min-microvolt = <1200000>;
680                                 regulator-max-microvolt = <1200000>;
681
682                                 regulator-state-mem {
683                                         regulator-off-in-suspend;
684                                 };
685                         };
686                 };
687         };
688 };
689
690 &mshc_0 {
691         broken-cd;
692         non-removable;
693         card-detect-delay = <200>;
694         clock-frequency = <400000000>;
695         samsung,dw-mshc-ciu-div = <0>;
696         samsung,dw-mshc-sdr-timing = <2 3>;
697         samsung,dw-mshc-ddr-timing = <1 2>;
698         pinctrl-0 = <&sd4_clk &sd4_cmd &sd4_bus4 &sd4_bus8>;
699         pinctrl-names = "default";
700         bus-width = <4>;
701         cap-mmc-highspeed;
702         cap-sd-highspeed;
703         status = "okay";
704 };
705
706 &pinctrl_0 {
707         pinctrl-names = "default";
708         pinctrl-0 = <&sleep0>;
709
710         tsp_reg_gpio_2: tsp-reg-gpio-2-pins {
711                 samsung,pins = "gpb-5";
712                 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
713                 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
714         };
715
716         tsp_reg_gpio_3: tsp-reg-gpio-3-pins {
717                 samsung,pins = "gpb-7";
718                 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
719                 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
720         };
721
722         lcd_enable: lcd-enable-pins {
723                 samsung,pins = "gpc0-1";
724                 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
725                 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
726         };
727
728         sleep0: sleep-state {
729                 PIN_SLP(gpa0-0, INPUT, NONE);
730                 PIN_SLP(gpa0-1, OUT0, NONE);
731                 PIN_SLP(gpa0-2, INPUT, NONE);
732                 PIN_SLP(gpa0-3, INPUT, UP);
733                 PIN_SLP(gpa0-4, INPUT, NONE);
734                 PIN_SLP(gpa0-5, INPUT, DOWN);
735                 PIN_SLP(gpa0-6, INPUT, DOWN);
736                 PIN_SLP(gpa0-7, INPUT, UP);
737
738                 PIN_SLP(gpa1-0, INPUT, DOWN);
739                 PIN_SLP(gpa1-1, INPUT, DOWN);
740                 PIN_SLP(gpa1-2, INPUT, DOWN);
741                 PIN_SLP(gpa1-3, INPUT, DOWN);
742                 PIN_SLP(gpa1-4, INPUT, DOWN);
743                 PIN_SLP(gpa1-5, INPUT, DOWN);
744
745                 PIN_SLP(gpb-0, INPUT, NONE);
746                 PIN_SLP(gpb-1, INPUT, NONE);
747                 PIN_SLP(gpb-2, INPUT, NONE);
748                 PIN_SLP(gpb-3, INPUT, NONE);
749                 PIN_SLP(gpb-4, INPUT, DOWN);
750                 PIN_SLP(gpb-5, INPUT, DOWN);
751                 PIN_SLP(gpb-6, INPUT, DOWN);
752                 PIN_SLP(gpb-7, INPUT, DOWN);
753
754                 PIN_SLP(gpc0-0, INPUT, DOWN);
755                 PIN_SLP(gpc0-1, INPUT, DOWN);
756                 PIN_SLP(gpc0-2, INPUT, DOWN);
757                 PIN_SLP(gpc0-3, INPUT, DOWN);
758                 PIN_SLP(gpc0-4, INPUT, DOWN);
759
760                 PIN_SLP(gpc1-0, INPUT, UP);
761                 PIN_SLP(gpc1-1, PREV, NONE);
762                 PIN_SLP(gpc1-2, INPUT, UP);
763                 PIN_SLP(gpc1-3, INPUT, UP);
764                 PIN_SLP(gpc1-4, INPUT, UP);
765
766                 PIN_SLP(gpd0-0, INPUT, DOWN);
767                 PIN_SLP(gpd0-1, OUT0, NONE);
768                 PIN_SLP(gpd0-2, INPUT, NONE);
769                 PIN_SLP(gpd0-3, INPUT, NONE);
770
771                 PIN_SLP(gpd1-0, INPUT, DOWN);
772                 PIN_SLP(gpd1-1, INPUT, DOWN);
773                 PIN_SLP(gpd1-2, INPUT, NONE);
774                 PIN_SLP(gpd1-3, INPUT, NONE);
775
776                 PIN_SLP(gpf0-0, OUT0, NONE);
777                 PIN_SLP(gpf0-1, OUT0, NONE);
778                 PIN_SLP(gpf0-2, OUT0, NONE);
779                 PIN_SLP(gpf0-3, OUT0, NONE);
780                 PIN_SLP(gpf0-4, OUT0, NONE);
781                 PIN_SLP(gpf0-5, OUT0, NONE);
782                 PIN_SLP(gpf0-6, OUT0, NONE);
783                 PIN_SLP(gpf0-7, OUT0, NONE);
784
785                 PIN_SLP(gpf1-0, OUT0, NONE);
786                 PIN_SLP(gpf1-1, OUT0, NONE);
787                 PIN_SLP(gpf1-2, OUT0, NONE);
788                 PIN_SLP(gpf1-3, OUT0, NONE);
789                 PIN_SLP(gpf1-4, OUT0, NONE);
790                 PIN_SLP(gpf1-5, OUT0, NONE);
791                 PIN_SLP(gpf1-6, OUT0, NONE);
792                 PIN_SLP(gpf1-7, OUT0, NONE);
793
794                 PIN_SLP(gpf2-0, OUT0, NONE);
795                 PIN_SLP(gpf2-1, OUT0, NONE);
796                 PIN_SLP(gpf2-2, OUT0, NONE);
797                 PIN_SLP(gpf2-3, OUT0, NONE);
798                 PIN_SLP(gpf2-4, OUT0, NONE);
799                 PIN_SLP(gpf2-5, OUT0, NONE);
800                 PIN_SLP(gpf2-6, OUT0, NONE);
801                 PIN_SLP(gpf2-7, OUT0, NONE);
802
803                 PIN_SLP(gpf3-0, OUT0, NONE);
804                 PIN_SLP(gpf3-1, OUT0, NONE);
805                 PIN_SLP(gpf3-2, OUT0, NONE);
806                 PIN_SLP(gpf3-3, OUT0, NONE);
807                 PIN_SLP(gpf3-4, OUT0, NONE);
808                 PIN_SLP(gpf3-5, OUT0, NONE);
809
810                 PIN_SLP(gpj0-0, INPUT, DOWN);
811                 PIN_SLP(gpj0-1, INPUT, DOWN);
812                 PIN_SLP(gpj0-2, INPUT, DOWN);
813                 PIN_SLP(gpj0-3, PREV, NONE);
814                 PIN_SLP(gpj0-4, PREV, NONE);
815                 PIN_SLP(gpj0-5, OUT0, NONE);
816                 PIN_SLP(gpj0-6, OUT0, NONE);
817                 PIN_SLP(gpj0-7, OUT0, NONE);
818
819                 PIN_SLP(gpj1-0, OUT0, NONE);
820                 PIN_SLP(gpj1-1, INPUT, DOWN);
821                 PIN_SLP(gpj1-2, PREV, NONE);
822                 PIN_SLP(gpj1-3, OUT0, NONE);
823         };
824 };
825
826 &pinctrl_1 {
827         pinctrl-names = "default";
828         pinctrl-0 = <&sleep1>;
829
830         sd3_wifi: sd3-wifi-pins {
831                 samsung,pins = "gpk3-3", "gpk3-4", "gpk3-5", "gpk3-6";
832                 samsung,pin-function = <EXYNOS_PIN_FUNC_2>;
833                 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
834         };
835
836         bt_shutdown: bt-shutdown-pins {
837                 samsung,pins = "gpl0-6";
838                 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
839                 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
840         };
841
842         uart_sel: uart-sel-pins {
843                 samsung,pins = "gpl2-7";
844                 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
845                 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
846                 samsung,pin-val = <1>;
847                 /* 0 = CP, 1 = AP (serial output) */
848         };
849
850         led_bl_reset: led-bl-reset-pins {
851                 samsung,pins = "gpm0-1";
852                 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
853                 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
854         };
855
856         tsp_rst: tsp-rst-pins {
857                 samsung,pins = "gpm0-4";
858                 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
859                 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
860         };
861
862         lvds_nshdn: lvds-nshdn-pins {
863                 samsung,pins = "gpm0-5";
864                 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
865                 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
866         };
867
868         tsp_irq: tsp-irq-pins {
869                 samsung,pins = "gpm2-3";
870                 samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
871                 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
872         };
873
874         wifi_reset: wifi-reset-pins {
875                 samsung,pins = "gpm3-5";
876                 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
877                 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
878         };
879
880         tsp_reg_gpio_1: tsp-reg-gpio-1-pins {
881                 samsung,pins = "gpm4-5";
882                 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
883                 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
884         };
885
886         ak8975_irq: ak8975-irq-pins {
887                 samsung,pins = "gpm4-7";
888                 samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
889                 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
890         };
891
892         stmpe_adc_irq: stmpe-adc-irq-pins {
893                 samsung,pins = "gpx0-1";
894                 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
895                 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
896         };
897
898         max77686_irq: max77686-irq-pins {
899                 samsung,pins = "gpx0-7";
900                 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
901         };
902
903         gpio_keys: gpio-keys-pins {
904                 samsung,pins = "gpx2-2", "gpx2-7", "gpx3-3";
905                 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
906         };
907
908         fuel_alert_irq: fuel-alert-irq-pins {
909                 samsung,pins = "gpx2-3";
910                 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
911                 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
912         };
913
914         wifi_host_wake: wifi-host-wake-pins {
915                 samsung,pins = "gpx2-5";
916                 samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
917                 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>;
918         };
919
920         bt_host_wakeup: bt-host-wakeup-pins {
921                 samsung,pins = "gpx2-6";
922                 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>;
923                 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
924         };
925
926         bt_device_wakeup: bt-device-wakeup-pins {
927                 samsung,pins = "gpx3-1";
928                 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>;
929                 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
930         };
931
932         sdhci2_cd: sdhci2-cd-pins {
933                 samsung,pins = "gpx3-4";
934                 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
935         };
936
937         sleep1: sleep-state {
938                 PIN_SLP(gpk0-0, PREV, NONE);
939                 PIN_SLP(gpk0-1, PREV, NONE);
940                 PIN_SLP(gpk0-2, PREV, NONE);
941                 PIN_SLP(gpk0-3, PREV, NONE);
942                 PIN_SLP(gpk0-4, PREV, NONE);
943                 PIN_SLP(gpk0-5, PREV, NONE);
944                 PIN_SLP(gpk0-6, PREV, NONE);
945
946                 PIN_SLP(gpk1-0, INPUT, DOWN);
947                 PIN_SLP(gpk1-1, INPUT, DOWN);
948                 PIN_SLP(gpk1-2, INPUT, DOWN);
949                 PIN_SLP(gpk1-3, PREV, NONE);
950                 PIN_SLP(gpk1-4, PREV, NONE);
951                 PIN_SLP(gpk1-5, PREV, NONE);
952                 PIN_SLP(gpk1-6, PREV, NONE);
953
954                 PIN_SLP(gpk2-0, INPUT, DOWN);
955                 PIN_SLP(gpk2-1, INPUT, DOWN);
956                 PIN_SLP(gpk2-2, INPUT, DOWN);
957                 PIN_SLP(gpk2-3, INPUT, DOWN);
958                 PIN_SLP(gpk2-4, INPUT, DOWN);
959                 PIN_SLP(gpk2-5, INPUT, DOWN);
960                 PIN_SLP(gpk2-6, INPUT, DOWN);
961
962                 PIN_SLP(gpk3-0, OUT0, NONE);
963                 PIN_SLP(gpk3-1, INPUT, NONE);
964                 PIN_SLP(gpk3-2, INPUT, DOWN);
965                 PIN_SLP(gpk3-3, INPUT, NONE);
966                 PIN_SLP(gpk3-4, INPUT, NONE);
967                 PIN_SLP(gpk3-5, INPUT, NONE);
968                 PIN_SLP(gpk3-6, INPUT, NONE);
969
970                 PIN_SLP(gpl0-0, OUT0, NONE);
971                 PIN_SLP(gpl0-1, INPUT, NONE);
972                 PIN_SLP(gpl0-2, INPUT, NONE);
973                 PIN_SLP(gpl0-3, INPUT, DOWN);
974                 PIN_SLP(gpl0-4, PREV, NONE);
975                 PIN_SLP(gpl0-6, PREV, NONE);
976
977                 PIN_SLP(gpl1-0, OUT0, NONE);
978                 PIN_SLP(gpl1-1, OUT0, NONE);
979
980                 PIN_SLP(gpl2-0, INPUT, DOWN);
981                 PIN_SLP(gpl2-1, INPUT, DOWN);
982                 PIN_SLP(gpl2-2, INPUT, DOWN);
983                 PIN_SLP(gpl2-3, INPUT, DOWN);
984                 PIN_SLP(gpl2-4, OUT0, NONE);
985                 PIN_SLP(gpl2-5, INPUT, DOWN);
986                 PIN_SLP(gpl2-6, PREV, NONE);
987                 PIN_SLP(gpl2-7, PREV, NONE);
988
989                 PIN_SLP(gpm0-0, PREV, NONE);
990                 PIN_SLP(gpm0-1, OUT0, NONE);
991                 PIN_SLP(gpm0-2, INPUT, DOWN);
992                 PIN_SLP(gpm0-3, INPUT, NONE);
993                 PIN_SLP(gpm0-4, OUT0, NONE);
994                 PIN_SLP(gpm0-5, OUT0, NONE);
995                 PIN_SLP(gpm0-6, INPUT, DOWN);
996                 PIN_SLP(gpm0-7, OUT0, NONE);
997
998                 PIN_SLP(gpm1-0, INPUT, NONE);
999                 PIN_SLP(gpm1-1, INPUT, NONE);
1000                 PIN_SLP(gpm1-2, INPUT, NONE);
1001                 PIN_SLP(gpm1-3, INPUT, NONE);
1002                 PIN_SLP(gpm1-4, INPUT, NONE);
1003                 PIN_SLP(gpm1-5, INPUT, NONE);
1004                 PIN_SLP(gpm1-6, INPUT, DOWN);
1005
1006                 PIN_SLP(gpm2-0, INPUT, NONE);
1007                 PIN_SLP(gpm2-1, INPUT, NONE);
1008                 PIN_SLP(gpm2-2, OUT0, NONE);
1009                 PIN_SLP(gpm2-3, OUT0, DOWN);
1010                 PIN_SLP(gpm2-4, INPUT, DOWN);
1011
1012                 PIN_SLP(gpm3-0, PREV, NONE);
1013                 PIN_SLP(gpm3-1, PREV, NONE);
1014                 PIN_SLP(gpm3-2, PREV, NONE);
1015                 PIN_SLP(gpm3-3, OUT1, NONE);
1016                 PIN_SLP(gpm3-4, OUT0, DOWN);
1017                 PIN_SLP(gpm3-5, PREV, NONE);
1018                 PIN_SLP(gpm3-6, PREV, NONE);
1019                 PIN_SLP(gpm3-7, OUT0, NONE);
1020
1021                 PIN_SLP(gpm4-0, INPUT, NONE);
1022                 PIN_SLP(gpm4-1, INPUT, NONE);
1023                 PIN_SLP(gpm4-2, INPUT, DOWN);
1024                 PIN_SLP(gpm4-3, INPUT, DOWN);
1025                 PIN_SLP(gpm4-4, PREV, NONE);
1026                 PIN_SLP(gpm4-5, OUT0, NONE);
1027                 PIN_SLP(gpm4-6, OUT0, NONE);
1028                 PIN_SLP(gpm4-7, INPUT, DOWN);
1029
1030                 PIN_SLP(gpy0-0, INPUT, DOWN);
1031                 PIN_SLP(gpy0-1, INPUT, DOWN);
1032                 PIN_SLP(gpy0-2, INPUT, NONE);
1033                 PIN_SLP(gpy0-3, INPUT, NONE);
1034                 PIN_SLP(gpy0-4, INPUT, NONE);
1035                 PIN_SLP(gpy0-5, INPUT, NONE);
1036
1037                 PIN_SLP(gpy1-0, INPUT, DOWN);
1038                 PIN_SLP(gpy1-1, INPUT, DOWN);
1039                 PIN_SLP(gpy1-2, INPUT, DOWN);
1040                 PIN_SLP(gpy1-3, INPUT, DOWN);
1041
1042                 PIN_SLP(gpy2-0, PREV, NONE);
1043                 PIN_SLP(gpy2-1, INPUT, DOWN);
1044                 PIN_SLP(gpy2-2, INPUT, NONE);
1045                 PIN_SLP(gpy2-3, INPUT, NONE);
1046                 PIN_SLP(gpy2-4, INPUT, NONE);
1047                 PIN_SLP(gpy2-5, INPUT, NONE);
1048
1049                 PIN_SLP(gpy3-0, INPUT, DOWN);
1050                 PIN_SLP(gpy3-1, INPUT, DOWN);
1051                 PIN_SLP(gpy3-2, INPUT, DOWN);
1052                 PIN_SLP(gpy3-3, INPUT, DOWN);
1053                 PIN_SLP(gpy3-4, INPUT, DOWN);
1054                 PIN_SLP(gpy3-5, INPUT, DOWN);
1055                 PIN_SLP(gpy3-6, INPUT, DOWN);
1056                 PIN_SLP(gpy3-7, INPUT, DOWN);
1057
1058                 PIN_SLP(gpy4-0, INPUT, DOWN);
1059                 PIN_SLP(gpy4-1, INPUT, DOWN);
1060                 PIN_SLP(gpy4-2, INPUT, DOWN);
1061                 PIN_SLP(gpy4-3, INPUT, DOWN);
1062                 PIN_SLP(gpy4-4, INPUT, DOWN);
1063                 PIN_SLP(gpy4-5, INPUT, DOWN);
1064                 PIN_SLP(gpy4-6, INPUT, DOWN);
1065                 PIN_SLP(gpy4-7, INPUT, DOWN);
1066
1067                 PIN_SLP(gpy5-0, INPUT, DOWN);
1068                 PIN_SLP(gpy5-1, INPUT, DOWN);
1069                 PIN_SLP(gpy5-2, INPUT, DOWN);
1070                 PIN_SLP(gpy5-3, INPUT, DOWN);
1071                 PIN_SLP(gpy5-4, INPUT, DOWN);
1072                 PIN_SLP(gpy5-5, INPUT, DOWN);
1073                 PIN_SLP(gpy5-6, INPUT, DOWN);
1074                 PIN_SLP(gpy5-7, INPUT, DOWN);
1075
1076                 PIN_SLP(gpy6-0, INPUT, DOWN);
1077                 PIN_SLP(gpy6-1, INPUT, DOWN);
1078                 PIN_SLP(gpy6-2, INPUT, DOWN);
1079                 PIN_SLP(gpy6-3, INPUT, DOWN);
1080                 PIN_SLP(gpy6-4, INPUT, DOWN);
1081                 PIN_SLP(gpy6-5, INPUT, DOWN);
1082                 PIN_SLP(gpy6-6, INPUT, DOWN);
1083                 PIN_SLP(gpy6-7, INPUT, DOWN);
1084         };
1085 };
1086
1087 &pinctrl_2 {
1088         pinctrl-names = "default";
1089         pinctrl-0 = <&sleep2>;
1090
1091         sleep2: sleep-state {
1092                 PIN_SLP(gpz-0, INPUT, DOWN);
1093                 PIN_SLP(gpz-1, INPUT, DOWN);
1094                 PIN_SLP(gpz-2, INPUT, DOWN);
1095                 PIN_SLP(gpz-3, INPUT, DOWN);
1096                 PIN_SLP(gpz-4, INPUT, DOWN);
1097                 PIN_SLP(gpz-5, INPUT, DOWN);
1098                 PIN_SLP(gpz-6, INPUT, DOWN);
1099         };
1100 };
1101
1102 &pinctrl_3 {
1103         pinctrl-names = "default";
1104         pinctrl-0 = <&sleep3>;
1105
1106         sleep3: sleep-state {
1107                 PIN_SLP(gpv0-0, INPUT, DOWN);
1108                 PIN_SLP(gpv0-1, INPUT, DOWN);
1109                 PIN_SLP(gpv0-2, INPUT, DOWN);
1110                 PIN_SLP(gpv0-3, INPUT, DOWN);
1111                 PIN_SLP(gpv0-4, INPUT, DOWN);
1112                 PIN_SLP(gpv0-5, INPUT, DOWN);
1113                 PIN_SLP(gpv0-6, INPUT, DOWN);
1114                 PIN_SLP(gpv0-7, INPUT, DOWN);
1115
1116                 PIN_SLP(gpv1-0, INPUT, DOWN);
1117                 PIN_SLP(gpv1-1, INPUT, DOWN);
1118                 PIN_SLP(gpv1-2, INPUT, DOWN);
1119                 PIN_SLP(gpv1-3, INPUT, DOWN);
1120                 PIN_SLP(gpv1-4, INPUT, DOWN);
1121                 PIN_SLP(gpv1-5, INPUT, DOWN);
1122                 PIN_SLP(gpv1-6, INPUT, DOWN);
1123                 PIN_SLP(gpv1-7, INPUT, DOWN);
1124
1125                 PIN_SLP(gpv2-0, INPUT, DOWN);
1126                 PIN_SLP(gpv2-1, INPUT, DOWN);
1127                 PIN_SLP(gpv2-2, INPUT, DOWN);
1128                 PIN_SLP(gpv2-3, INPUT, DOWN);
1129                 PIN_SLP(gpv2-4, INPUT, DOWN);
1130                 PIN_SLP(gpv2-5, INPUT, DOWN);
1131                 PIN_SLP(gpv2-6, INPUT, DOWN);
1132                 PIN_SLP(gpv2-7, INPUT, DOWN);
1133
1134                 PIN_SLP(gpv3-0, INPUT, DOWN);
1135                 PIN_SLP(gpv3-1, INPUT, DOWN);
1136                 PIN_SLP(gpv3-2, INPUT, DOWN);
1137                 PIN_SLP(gpv3-3, INPUT, DOWN);
1138                 PIN_SLP(gpv3-4, INPUT, DOWN);
1139                 PIN_SLP(gpv3-5, INPUT, DOWN);
1140                 PIN_SLP(gpv3-6, INPUT, DOWN);
1141                 PIN_SLP(gpv3-7, INPUT, DOWN);
1142
1143                 PIN_SLP(gpv4-0, INPUT, DOWN);
1144                 PIN_SLP(gpv4-1, INPUT, DOWN);
1145         };
1146 };
1147
1148 &pmu_system_controller {
1149         assigned-clocks = <&pmu_system_controller 0>;
1150         assigned-clock-parents = <&clock CLK_XUSBXTI>;
1151 };
1152
1153 &pwm {
1154         pinctrl-0 = <&pwm1_out>;
1155         pinctrl-names = "default";
1156         samsung,pwm-outputs = <1>;
1157         status = "okay";
1158 };
1159
1160 &rtc {
1161         clocks = <&clock CLK_RTC>, <&max77686 MAX77686_CLK_AP>;
1162         clock-names = "rtc", "rtc_src";
1163         status = "okay";
1164 };
1165
1166 &sdhci_2 {
1167         bus-width = <4>;
1168         cd-gpios = <&gpx3 4 GPIO_ACTIVE_LOW>;
1169         pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4 &sdhci2_cd>;
1170         pinctrl-names = "default";
1171         vmmc-supply = <&ldo21_reg>;
1172         status = "okay";
1173 };
1174
1175 &sdhci_3 {
1176         #address-cells = <1>;
1177         #size-cells = <0>;
1178         non-removable;
1179         bus-width = <4>;
1180         mmc-pwrseq = <&wlan_pwrseq>;
1181
1182         pinctrl-names = "default";
1183         pinctrl-0 = <&sd3_clk &sd3_cmd &sd3_wifi>;
1184         status = "okay";
1185
1186         wifi@1 {
1187                 compatible = "brcm,bcm4329-fmac";
1188                 reg = <0x1>;
1189                 pinctrl-names = "default";
1190                 pinctrl-0 = <&wifi_host_wake>;
1191                 interrupt-parent = <&gpx2>;
1192                 interrupts = <5 IRQ_TYPE_LEVEL_HIGH>;
1193                 interrupt-names = "host-wake";
1194         };
1195 };
1196
1197 &serial_0 {
1198         pinctrl-0 = <&uart0_data &uart0_fctl>;
1199         pinctrl-names = "default";
1200         status = "okay";
1201
1202         bluetooth {
1203                 compatible = "brcm,bcm4330-bt";
1204                 pinctrl-0 = <&bt_shutdown &bt_device_wakeup &bt_host_wakeup>;
1205                 pinctrl-names = "default";
1206
1207                 max-speed = <2000000>;
1208                 shutdown-gpios = <&gpl0 6 GPIO_ACTIVE_HIGH>;
1209                 device-wakeup-gpios = <&gpx3 1 GPIO_ACTIVE_HIGH>;
1210                 host-wakeup-gpios = <&gpx2 6 GPIO_ACTIVE_HIGH>;
1211                 clocks = <&max77686 MAX77686_CLK_PMIC>;
1212                 clock-names = "lpo";
1213         };
1214 };
1215
1216 &serial_2 {
1217         pinctrl-0 = <&uart_sel>;
1218         pinctrl-names = "default";
1219         status = "okay";
1220 };
1221
1222 &tmu {
1223         status = "okay";
1224 };