~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/arm/boot/dts/samsung/exynos4412-p4note.dtsi

Version: ~ [ linux-6.11-rc3 ] ~ [ linux-6.10.4 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.45 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.104 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.164 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.223 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.281 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.319 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

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

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php