1// SPDX-License-Identifier: GPL-2.0 2/* 3 * Samsung's Exynos4212 based Galaxy Tab 3 board common source 4 * 5 * Copyright (c) 2013 Samsung Electronics Co., Ltd. 6 * http://www.samsung.com 7 */ 8 9/dts-v1/; 10#include "exynos4212.dtsi" 11#include "exynos4412-ppmu-common.dtsi" 12#include "exynos-mfc-reserved-memory.dtsi" 13#include <dt-bindings/clock/samsung,s2mps11.h> 14#include <dt-bindings/gpio/gpio.h> 15#include <dt-bindings/leds/common.h> 16#include <dt-bindings/input/gpio-keys.h> 17#include <dt-bindings/input/input.h> 18#include <dt-bindings/interrupt-controller/irq.h> 19#include "exynos-pinctrl.h" 20 21/ { 22 compatible = "samsung,tab3", "samsung,exynos4212", "samsung,exynos4"; 23 24 memory@40000000 { 25 device_type = "memory"; 26 27 /* 28 * Technically 1.5GB is available, but the latter 512MB is handled 29 * in a special way by downstream (every second page is skipped), 30 * and thus doesn't initialize correctly on mainline. Only 1020M is 31 * used for now. 32 */ 33 reg = <0x40000000 0x3fc00000>; 34 }; 35 36 aliases { 37 mmc0 = &mshc_0; /* Internal storage */ 38 mmc1 = &sdhci_2; /* SD card */ 39 mmc2 = &sdhci_3; /* WiFi */ 40 }; 41 42 chosen { 43 stdout-path = &serial_2; 44 45 /* Default S-BOOT bootloader loads initramfs here */ 46 linux,initrd-start = <0x42000000>; 47 linux,initrd-end = <0x42800000>; 48 49 /* 50 * Stock bootloader provides incorrect memory size in ATAG_MEM; 51 * override it here 52 */ 53 linux,usable-memory-range = <0x40000000 0x3fc00000>; 54 }; 55 56 firmware@204f000 { 57 compatible = "samsung,secure-firmware"; 58 reg = <0x0204F000 0x1000>; 59 }; 60 61 fixed-rate-clocks { 62 xxti { 63 compatible = "samsung,clock-xxti"; 64 clock-frequency = <0>; 65 }; 66 67 xusbxti { 68 compatible = "samsung,clock-xusbxti"; 69 clock-frequency = <24000000>; 70 }; 71 }; 72 73 gpio-keys { 74 compatible = "gpio-keys"; 75 pinctrl-names = "default"; 76 pinctrl-0 = <&gpio_keys>; 77 78 key-power { 79 gpios = <&gpx2 7 GPIO_ACTIVE_LOW>; 80 linux,code = <KEY_POWER>; 81 label = "power"; 82 debounce-interval = <10>; 83 wakeup-source; 84 }; 85 86 key-up { 87 gpios = <&gpx2 2 GPIO_ACTIVE_LOW>; 88 linux,code = <KEY_VOLUMEUP>; 89 label = "volume down"; 90 debounce-interval = <10>; 91 }; 92 93 key-down { 94 gpios = <&gpx3 3 GPIO_ACTIVE_LOW>; 95 linux,code = <KEY_VOLUMEDOWN>; 96 label = "volume up"; 97 debounce-interval = <10>; 98 }; 99 100 key-home { 101 gpios = <&gpx1 2 GPIO_ACTIVE_LOW>; 102 linux,code = <KEY_HOME>; 103 label = "home"; 104 debounce-interval = <10>; 105 }; 106 107 switch-hall-sensor { 108 gpios = <&gpx2 4 GPIO_ACTIVE_LOW>; 109 linux,input-type = <EV_SW>; 110 linux,code = <SW_LID>; 111 linux,can-disable; 112 label = "hall effect sensor"; 113 debounce-interval = <10>; 114 wakeup-source; 115 }; 116 }; 117 118 led-touchkeys { 119 compatible = "regulator-led"; 120 vled-supply = <&ldo20_reg>; 121 default-state = "off"; 122 function = LED_FUNCTION_KBD_BACKLIGHT; 123 color = <LED_COLOR_ID_WHITE>; 124 }; 125 126 i2c_max77693: i2c-gpio-1 { 127 compatible = "i2c-gpio"; 128 sda-gpios = <&gpm2 0 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 129 scl-gpios = <&gpm2 1 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 130 i2c-gpio,delay-us = <2>; 131 #address-cells = <1>; 132 #size-cells = <0>; 133 134 pmic@66 { 135 compatible = "maxim,max77693"; 136 reg = <0x66>; 137 interrupt-parent = <&gpx1>; 138 interrupts = <5 IRQ_TYPE_EDGE_FALLING>; 139 pinctrl-names = "default"; 140 pinctrl-0 = <&max77693_irq>; 141 142 regulators { 143 esafeout1_reg: ESAFEOUT1 { 144 regulator-name = "ESAFEOUT1"; 145 regulator-boot-on; 146 }; 147 148 esafeout2_reg: ESAFEOUT2 { 149 regulator-name = "ESAFEOUT2"; 150 }; 151 152 charger_reg: CHARGER { 153 regulator-name = "CHARGER"; 154 regulator-min-microamp = <60000>; 155 regulator-max-microamp = <2580000>; 156 regulator-boot-on; 157 }; 158 }; 159 160 charger { 161 compatible = "maxim,max77693-charger"; 162 163 maxim,constant-microvolt = <4350000>; 164 maxim,min-system-microvolt = <3600000>; 165 maxim,thermal-regulation-celsius = <100>; 166 maxim,battery-overcurrent-microamp = <3500000>; 167 maxim,charge-input-threshold-microvolt = <4300000>; 168 }; 169 }; 170 }; 171 172 i2c_max77693_fuel: i2c-gpio-2 { 173 compatible = "i2c-gpio"; 174 sda-gpios = <&gpy0 2 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 175 scl-gpios = <&gpy0 3 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 176 i2c-gpio,delay-us = <2>; 177 #address-cells = <1>; 178 #size-cells = <0>; 179 180 fuel-gauge@36 { 181 compatible = "maxim,max17050"; 182 reg = <0x36>; 183 interrupt-parent = <&gpx2>; 184 interrupts = <3 IRQ_TYPE_EDGE_FALLING>; 185 pinctrl-names = "default"; 186 pinctrl-0 = <&max77693_fuel_irq>; 187 188 maxim,over-heat-temp = <500>; 189 maxim,over-volt = <4500>; 190 }; 191 }; 192 193 i2c_magnetometer: i2c-gpio-3 { 194 compatible = "i2c-gpio"; 195 sda-gpios = <&gpy2 4 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 196 scl-gpios = <&gpy2 5 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 197 i2c-gpio,delay-us = <2>; 198 #address-cells = <1>; 199 #size-cells = <0>; 200 201 magnetometer@2e { 202 compatible = "yamaha,yas532"; 203 reg = <0x2e>; 204 iovdd-supply = <&ldo3_reg>; 205 mount-matrix = "-1", "0", "0", 206 "0", "1", "0", 207 "0", "0", "-1"; 208 }; 209 }; 210 211 i2c_lightsensor: i2c-gpio-4 { 212 compatible = "i2c-gpio"; 213 sda-gpios = <&gpl0 2 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 214 scl-gpios = <&gpl0 1 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 215 i2c-gpio,delay-us = <2>; 216 #address-cells = <1>; 217 #size-cells = <0>; 218 status = "disabled"; 219 220 /* WiFi model uses CM3323, 3G/LTE use CM36653 */ 221 }; 222 223 i2c_bl: i2c-gpio-5 { 224 compatible = "i2c-gpio"; 225 sda-gpios = <&gpm4 3 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 226 scl-gpios = <&gpm4 2 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 227 #address-cells = <1>; 228 #size-cells = <0>; 229 230 backlight: backlight@2c { 231 compatible = "ti,lp8556"; 232 reg = <0x2c>; 233 234 bl-name = "lcd-bl"; 235 dev-ctrl = /bits/ 8 <0x80>; 236 init-brt = /bits/ 8 <0x78>; /* 120 */ 237 238 power-supply = <&vbatt_reg>; 239 enable-supply = <&backlight_reset_supply>; 240 241 pwms = <&pwm 1 78770 0>; 242 pwm-names = "lp8556"; 243 244 rom-a3h { 245 rom-addr = /bits/ 8 <0xa3>; 246 rom-val = /bits/ 8 <0x5e>; 247 }; 248 249 rom-a5h { 250 rom-addr = /bits/ 8 <0xa5>; 251 rom-val = /bits/ 8 <0x34>; 252 }; 253 254 rom-a7h { 255 rom-addr = /bits/ 8 <0xa7>; 256 rom-val = /bits/ 8 <0xfa>; 257 }; 258 }; 259 }; 260 261 vbatt_reg: voltage-regulator-1 { 262 compatible = "regulator-fixed"; 263 regulator-name = "VBATT"; 264 regulator-min-microvolt = <5000000>; 265 regulator-max-microvolt = <5000000>; 266 regulator-always-on; 267 }; 268 269 backlight_reset_supply: voltage-regulator-2 { 270 compatible = "regulator-fixed"; 271 regulator-name = "BACKLIGHT_ENVDDIO"; 272 pinctrl-names = "default"; 273 pinctrl-0 = <&backlight_reset>; 274 gpio = <&gpm0 1 GPIO_ACTIVE_HIGH>; 275 enable-active-high; 276 }; 277 278 display_3v3_supply: voltage-regulator-3 { 279 compatible = "regulator-fixed"; 280 regulator-name = "DISPLAY_3.3V"; 281 regulator-min-microvolt = <3300000>; 282 regulator-max-microvolt = <3300000>; 283 pinctrl-names = "default"; 284 pinctrl-0 = <&lcd_en>; 285 gpio = <&gpc0 1 GPIO_ACTIVE_HIGH>; /* LCD_EN */ 286 enable-active-high; 287 }; 288 289 mic_bias_reg: voltage-regulator-4 { 290 compatible = "regulator-fixed"; 291 regulator-name = "MICBIAS_LDO_2.8V"; 292 regulator-min-microvolt = <2800000>; 293 regulator-max-microvolt = <2800000>; 294 }; 295 296 submic_bias_reg: voltage-regulator-5 { 297 compatible = "regulator-fixed"; 298 regulator-name = "SUB_MICBIAS_LDO_2.8V"; 299 regulator-min-microvolt = <2800000>; 300 regulator-max-microvolt = <2800000>; 301 }; 302 303 earmic_bias_reg: voltage-regulator-6 { 304 compatible = "regulator-fixed"; 305 regulator-name = "EAR_MICBIAS_LDO_2.8V"; 306 regulator-min-microvolt = <2800000>; 307 regulator-max-microvolt = <2800000>; 308 gpio = <&gpm0 0 GPIO_ACTIVE_HIGH>; 309 enable-active-high; 310 }; 311 312 sound: sound { 313 compatible = "samsung,midas-audio"; 314 model = "TAB3"; 315 mic-bias-supply = <&mic_bias_reg>; 316 submic-bias-supply = <&submic_bias_reg>; 317 318 lineout-sel-gpios = <&gpj1 2 GPIO_ACTIVE_HIGH>; 319 320 headset-mic-bias-supply = <&earmic_bias_reg>; 321 headset-detect-gpios = <&gpx0 4 GPIO_ACTIVE_LOW>; 322 headset-key-gpios = <&gpx3 6 GPIO_ACTIVE_LOW>; 323 samsung,headset-4pole-threshold-microvolt = <710 2000>; 324 samsung,headset-button-threshold-microvolt = <0 130 260>; 325 io-channel-names = "headset-detect"; 326 io-channels = <&adc 0>; 327 328 audio-routing = "HP", "HPOUT1L", 329 "HP", "HPOUT1R", 330 331 "SPK", "SPKOUTLN", 332 "SPK", "SPKOUTLP", 333 "SPK", "SPKOUTRN", 334 "SPK", "SPKOUTRP", 335 336 "RCV", "HPOUT2N", 337 "RCV", "HPOUT2P", 338 339 "LINE", "LINEOUT2N", 340 "LINE", "LINEOUT2P", 341 342 "HDMI", "LINEOUT1N", 343 "HDMI", "LINEOUT1P", 344 345 "IN2LP:VXRN", "MICBIAS1", 346 "IN2LN", "MICBIAS1", 347 "Main Mic", "MICBIAS1", 348 349 "IN1RP", "MICBIAS2", 350 "IN1RN", "MICBIAS2", 351 "Sub Mic", "MICBIAS2", 352 353 "IN1LP", "Headset Mic", 354 "IN1LN", "Headset Mic"; 355 356 cpu { 357 sound-dai = <&i2s0 0>; 358 }; 359 360 codec { 361 sound-dai = <&wm1811>; 362 }; 363 }; 364 365 wlan_pwrseq: sdhci3-pwrseq { 366 compatible = "mmc-pwrseq-simple"; 367 reset-gpios = <&gpm3 5 GPIO_ACTIVE_LOW>; 368 clocks = <&s5m8767_osc S2MPS11_CLK_BT>; 369 clock-names = "ext_clock"; 370 }; 371}; 372 373&adc { 374 vdd-supply = <&ldo3_reg>; 375 status = "okay"; 376}; 377 378&bus_acp { 379 devfreq = <&bus_dmc>; 380 status = "okay"; 381}; 382 383&bus_c2c { 384 devfreq = <&bus_dmc>; 385 status = "okay"; 386}; 387 388&bus_display { 389 devfreq = <&bus_leftbus>; 390 status = "okay"; 391}; 392 393&bus_dmc { 394 devfreq-events = <&ppmu_dmc0_3>, <&ppmu_dmc1_3>; 395 vdd-supply = <&buck1_reg>; 396 status = "okay"; 397}; 398 399&bus_fsys { 400 devfreq = <&bus_leftbus>; 401 status = "okay"; 402}; 403 404&bus_leftbus { 405 devfreq-events = <&ppmu_leftbus_3>, <&ppmu_rightbus_3>; 406 vdd-supply = <&buck3_reg>; 407 status = "okay"; 408}; 409 410&bus_mfc { 411 devfreq = <&bus_leftbus>; 412 status = "okay"; 413}; 414 415&bus_peri { 416 devfreq = <&bus_leftbus>; 417 status = "okay"; 418}; 419 420&bus_rightbus { 421 devfreq = <&bus_leftbus>; 422 status = "okay"; 423}; 424 425&cpu0 { 426 cpu0-supply = <&buck2_reg>; 427}; 428 429&cpu_thermal { 430 cooling-maps { 431 map0 { 432 /* Corresponds to 800MHz at freq_table */ 433 cooling-device = <&cpu0 7 7>, <&cpu1 7 7>; 434 }; 435 map1 { 436 /* Corresponds to 200MHz at freq_table */ 437 cooling-device = <&cpu0 13 13>, <&cpu1 13 13>; 438 }; 439 }; 440}; 441 442&dsi_0 { 443 vddcore-supply = <&ldo8_reg>; 444 vddio-supply = <&ldo10_reg>; 445 samsung,burst-clock-frequency = <500000000>; 446 samsung,esc-clock-frequency = <20000000>; 447 samsung,pll-clock-frequency = <24000000>; 448 status = "okay"; 449 450 panel@0 { 451 compatible = "samsung,lsl080al02", "samsung,s6d7aa0"; 452 reg = <0>; 453 power-supply = <&display_3v3_supply>; 454 pinctrl-names = "default"; 455 pinctrl-0 = <&lcd_nrst>; 456 reset-gpios = <&gpf0 4 GPIO_ACTIVE_LOW>; 457 backlight = <&backlight>; 458 }; 459}; 460 461&exynos_usbphy { 462 vbus-supply = <&esafeout1_reg>; 463 status = "okay"; 464}; 465 466&fimd { 467 samsung,invert-vclk; 468 status = "okay"; 469}; 470 471&gpu { 472 mali-supply = <&buck4_reg>; 473 status = "okay"; 474}; 475 476&hsotg { 477 vusb_d-supply = <&ldo15_reg>; 478 vusb_a-supply = <&ldo12_reg>; 479 dr_mode = "otg"; 480 status = "okay"; 481}; 482 483&i2c_1 { 484 pinctrl-0 = <&i2c1_bus>; 485 pinctrl-names = "default"; 486 status = "okay"; 487 488 lis3dh: accelerometer@19 { 489 /* K2DH seems to be the same as lis2dh12 in terms of registers */ 490 compatible = "st,lis2dh12-accel"; 491 reg = <0x19>; 492 493 interrupt-parent = <&gpx0>; 494 interrupts = <0 IRQ_TYPE_EDGE_FALLING>; 495 496 vdd-supply = <&ldo17_reg>; 497 vddio-supply = <&ldo3_reg>; 498 499 mount-matrix = "-1", "0", "0", 500 "0", "1", "0", 501 "0", "0", "-1"; 502 }; 503}; 504 505&i2c_3 { 506 samsung,i2c-sda-delay = <100>; 507 samsung,i2c-slave-addr = <0x10>; 508 samsung,i2c-max-bus-freq = <400000>; 509 pinctrl-0 = <&i2c3_bus>; 510 pinctrl-names = "default"; 511 status = "okay"; 512 513 touchscreen@48 { 514 /* MELFAS MMS252, using MMS114 compatible for now */ 515 compatible = "melfas,mms114"; 516 reg = <0x48>; 517 interrupt-parent = <&gpb>; 518 interrupts = <4 IRQ_TYPE_EDGE_FALLING>; 519 touchscreen-size-x = <800>; 520 touchscreen-size-y = <1280>; 521 avdd-supply = <&ldo21_reg>; 522 vdd-supply = <&ldo25_reg>; 523 linux,keycodes = <KEY_MENU KEY_BACK>; 524 }; 525}; 526 527&i2c_4 { 528 samsung,i2c-sda-delay = <100>; 529 samsung,i2c-slave-addr = <0x10>; 530 samsung,i2c-max-bus-freq = <100000>; 531 pinctrl-0 = <&i2c4_bus>; 532 pinctrl-names = "default"; 533 status = "okay"; 534 535 wm1811: audio-codec@1a { 536 compatible = "wlf,wm1811"; 537 reg = <0x1a>; 538 clocks = <&pmu_system_controller 0>, 539 <&s5m8767_osc S2MPS11_CLK_BT>; 540 clock-names = "MCLK1", "MCLK2"; 541 interrupt-controller; 542 #interrupt-cells = <2>; 543 544 gpio-controller; 545 #gpio-cells = <2>; 546 #sound-dai-cells = <0>; 547 548 wlf,gpio-cfg = <0x3 0x0 0x0 0x0 0x0 0x0 549 0x0 0x8000 0x0 0x0 0x0>; 550 wlf,micbias-cfg = <0x25 0x2f>; 551 552 wlf,lineout1-feedback; 553 wlf,lineout1-se; 554 wlf,lineout2-se; 555 wlf,ldoena-always-driven; 556 557 AVDD2-supply = <&ldo3_reg>; 558 CPVDD-supply = <&ldo3_reg>; 559 DBVDD1-supply = <&ldo3_reg>; 560 DBVDD2-supply = <&ldo3_reg>; 561 DBVDD3-supply = <&ldo3_reg>; 562 SPKVDD1-supply = <&vbatt_reg>; 563 SPKVDD2-supply = <&vbatt_reg>; 564 wlf,ldo1ena-gpios = <&gpm4 4 GPIO_ACTIVE_HIGH>; 565 wlf,ldo2ena-gpios = <&gpm4 4 GPIO_ACTIVE_HIGH>; 566 }; 567}; 568 569&i2c_7 { 570 samsung,i2c-sda-delay = <100>; 571 samsung,i2c-slave-addr = <0x10>; 572 samsung,i2c-max-bus-freq = <100000>; 573 pinctrl-0 = <&i2c7_bus>; 574 pinctrl-names = "default"; 575 status = "okay"; 576 577 s5m8767: pmic@66 { 578 compatible = "samsung,s5m8767-pmic"; 579 reg = <0x66>; 580 interrupt-parent = <&gpx0>; 581 interrupts = <7 IRQ_TYPE_LEVEL_LOW>; 582 pinctrl-names = "default"; 583 pinctrl-0 = <&s5m8767_irq &s5m8767_dvs &s5m8767_ds>; 584 wakeup-source; 585 586 s5m8767,pmic-buck-default-dvs-idx = <1>; 587 588 s5m8767,pmic-buck-dvs-gpios = <&gpm3 0 GPIO_ACTIVE_HIGH>, 589 <&gpm3 1 GPIO_ACTIVE_HIGH>, 590 <&gpm3 2 GPIO_ACTIVE_HIGH>; 591 592 s5m8767,pmic-buck-ds-gpios = <&gpf3 1 GPIO_ACTIVE_HIGH>, 593 <&gpf3 2 GPIO_ACTIVE_HIGH>, 594 <&gpf3 3 GPIO_ACTIVE_HIGH>; 595 596 s5m8767,pmic-buck2-dvs-voltage = <1100000>, <1100000>, 597 <1100000>, <1100000>, 598 <1100000>, <1100000>, 599 <1100000>, <1100000>; 600 601 s5m8767,pmic-buck3-dvs-voltage = <1100000>, <1100000>, 602 <1100000>, <1100000>, 603 <1100000>, <1100000>, 604 <1100000>, <1100000>; 605 606 s5m8767,pmic-buck4-dvs-voltage = <1100000>, <1100000>, 607 <1100000>, <1100000>, 608 <1100000>, <1100000>, 609 <1100000>, <1100000>; 610 611 regulators { 612 ldo1_reg: LDO1 { 613 regulator-name = "VALIVE_1.0V_AP"; 614 regulator-min-microvolt = <1000000>; 615 regulator-max-microvolt = <1000000>; 616 regulator-always-on; 617 regulator-boot-on; 618 op_mode = <1>; 619 }; 620 621 ldo2_reg: LDO2 { 622 regulator-name = "VM1M2_1.2V_AP"; 623 regulator-min-microvolt = <1200000>; 624 regulator-max-microvolt = <1200000>; 625 regulator-always-on; 626 regulator-boot-on; 627 op_mode = <1>; 628 }; 629 630 ldo3_reg: LDO3 { 631 regulator-name = "VCC_1.8V_AP"; 632 regulator-min-microvolt = <1800000>; 633 regulator-max-microvolt = <1800000>; 634 regulator-always-on; 635 op_mode = <1>; 636 }; 637 638 ldo5_reg: LDO5 { 639 regulator-name = "VCC_3.3V_MHL"; 640 regulator-min-microvolt = <3300000>; 641 regulator-max-microvolt = <3300000>; 642 op_mode = <1>; 643 }; 644 645 ldo8_reg: LDO8 { 646 regulator-name = "VMIPI_1.0V"; 647 regulator-min-microvolt = <1000000>; 648 regulator-max-microvolt = <1000000>; 649 op_mode = <3>; 650 }; 651 652 ldo9_reg: LDO9 { 653 regulator-name = "VSIL_1.2V"; 654 regulator-min-microvolt = <1200000>; 655 regulator-max-microvolt = <1200000>; 656 op_mode = <1>; 657 }; 658 659 ldo10_reg: LDO10 { 660 regulator-name = "VMIPI_1.8V"; 661 regulator-min-microvolt = <1800000>; 662 regulator-max-microvolt = <1800000>; 663 op_mode = <3>; 664 }; 665 666 ldo12_reg: LDO12 { 667 regulator-name = "VUOTG_3.0V"; 668 regulator-min-microvolt = <3000000>; 669 regulator-max-microvolt = <3000000>; 670 op_mode = <1>; 671 regulator-state-mem { 672 regulator-off-in-suspend; 673 }; 674 }; 675 676 ldo13_reg: LDO13 { 677 regulator-name = "VCC_1.8V_MHL"; 678 regulator-min-microvolt = <1800000>; 679 regulator-max-microvolt = <1800000>; 680 op_mode = <1>; 681 }; 682 683 ldo15_reg: LDO15 { 684 regulator-name = "VHSIC_1.0V"; 685 regulator-min-microvolt = <1000000>; 686 regulator-max-microvolt = <1000000>; 687 op_mode = <1>; 688 regulator-state-mem { 689 regulator-on-in-suspend; 690 }; 691 }; 692 693 ldo17_reg: LDO17 { 694 regulator-name = "VCC_2.8V_AP"; 695 regulator-min-microvolt = <2800000>; 696 regulator-max-microvolt = <2800000>; 697 op_mode = <1>; 698 regulator-always-on; 699 }; 700 701 ldo19_reg: LDO19 { 702 regulator-name = "VLED_IC_1.9V"; 703 regulator-min-microvolt = <1900000>; 704 regulator-max-microvolt = <1900000>; 705 op_mode = <1>; 706 regulator-always-on; 707 }; 708 709 ldo20_reg: LDO20 { 710 regulator-name = "VTOUCH_3.3V"; 711 regulator-min-microvolt = <3300000>; 712 regulator-max-microvolt = <3300000>; 713 op_mode = <1>; 714 }; 715 716 ldo21_reg: LDO21 { 717 regulator-name = "TSP_VDD_3.3V"; 718 regulator-min-microvolt = <3300000>; 719 regulator-max-microvolt = <3300000>; 720 op_mode = <1>; 721 }; 722 723 ldo22_reg: LDO22 { 724 regulator-name = "5M_AF_2.8V"; 725 regulator-min-microvolt = <2800000>; 726 regulator-max-microvolt = <2800000>; 727 op_mode = <1>; 728 }; 729 730 ldo23_reg: LDO23 { 731 regulator-name = "VTF_2.8V"; 732 regulator-min-microvolt = <2800000>; 733 regulator-max-microvolt = <2800000>; 734 op_mode = <3>; 735 }; 736 737 ldo24_reg: LDO24 { 738 regulator-name = "LEDA_2.8V"; 739 regulator-min-microvolt = <2800000>; 740 regulator-max-microvolt = <2800000>; 741 op_mode = <1>; 742 }; 743 744 ldo25_reg: LDO25 { 745 regulator-name = "TSP_VDD_1.8V"; 746 regulator-min-microvolt = <1800000>; 747 regulator-max-microvolt = <1800000>; 748 op_mode = <1>; 749 }; 750 751 ldo26_reg: LDO26 { 752 regulator-name = "CAM_IO_1.8V"; 753 regulator-min-microvolt = <1800000>; 754 regulator-max-microvolt = <1800000>; 755 op_mode = <1>; 756 }; 757 758 ldo27_reg: LDO27 { 759 regulator-name = "VTCAM_1.8V"; 760 regulator-min-microvolt = <1800000>; 761 regulator-max-microvolt = <1800000>; 762 op_mode = <1>; 763 }; 764 765 buck1_reg: BUCK1 { 766 regulator-name = "VDD_MIF"; 767 regulator-min-microvolt = <850000>; 768 regulator-max-microvolt = <1100000>; 769 regulator-always-on; 770 regulator-boot-on; 771 op_mode = <3>; 772 }; 773 774 buck2_reg: BUCK2 { 775 regulator-name = "VDD_ARM"; 776 regulator-min-microvolt = <850000>; 777 regulator-max-microvolt = <1500000>; 778 regulator-always-on; 779 regulator-boot-on; 780 op_mode = <3>; 781 }; 782 783 buck3_reg: BUCK3 { 784 regulator-name = "VDD_INT"; 785 regulator-min-microvolt = <850000>; 786 regulator-max-microvolt = <1300000>; 787 regulator-always-on; 788 regulator-boot-on; 789 op_mode = <3>; 790 }; 791 792 buck4_reg: BUCK4 { 793 regulator-name = "VDD_G3D"; 794 regulator-min-microvolt = <850000>; 795 regulator-max-microvolt = <1150000>; 796 regulator-boot-on; 797 op_mode = <3>; 798 }; 799 800 buck5_reg: BUCK5 { 801 regulator-name = "VMEM_1.2V_AP"; 802 regulator-min-microvolt = <1200000>; 803 regulator-max-microvolt = <1200000>; 804 regulator-always-on; 805 regulator-boot-on; 806 op_mode = <1>; 807 }; 808 809 buck6_reg: BUCK6 { 810 regulator-name = "CAM_ISP_CORE_1.2V"; 811 regulator-min-microvolt = <1200000>; 812 regulator-max-microvolt = <1200000>; 813 op_mode = <1>; 814 815 regulator-state-mem { 816 regulator-off-in-suspend; 817 }; 818 }; 819 }; 820 821 s5m8767_osc: clocks { 822 compatible = "samsung,s5m8767-clk"; 823 #clock-cells = <1>; 824 clock-output-names = "en32khz_ap", 825 "en32khz_cp", 826 "en32khz_bt"; 827 }; 828 }; 829}; 830 831&i2s0 { 832 pinctrl-0 = <&i2s0_bus>; 833 pinctrl-names = "default"; 834 status = "okay"; 835}; 836 837&mshc_0 { 838 broken-cd; 839 non-removable; 840 card-detect-delay = <200>; 841 vmmc-supply = <&ldo22_reg>; 842 clock-frequency = <400000000>; 843 samsung,dw-mshc-ciu-div = <0>; 844 samsung,dw-mshc-sdr-timing = <2 3>; 845 samsung,dw-mshc-ddr-timing = <1 2>; 846 pinctrl-0 = <&sd4_clk &sd4_cmd &sd4_bus4 &sd4_bus8>; 847 pinctrl-names = "default"; 848 bus-width = <8>; 849 cap-mmc-highspeed; 850 mmc-ddr-1_8v; 851 status = "okay"; 852}; 853 854&pinctrl_0 { 855 pinctrl-names = "default"; 856 pinctrl-0 = <&sleep0>; 857 858 lcd_en: lcd-en-pins { 859 samsung,pins = "gpc0-1"; 860 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>; 861 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 862 }; 863 864 lcd_nrst: lcd-nrst-pins { 865 samsung,pins = "gpf0-4"; 866 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>; 867 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 868 }; 869 870 s5m8767_ds: s5m8767-ds-pins { 871 samsung,pins = "gpf3-1", "gpf3-2", "gpf3-3"; 872 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>; 873 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>; 874 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>; 875 }; 876 877 sleep0: sleep-state { 878 PIN_SLP(gpa0-0, INPUT, NONE); 879 PIN_SLP(gpa0-1, OUT0, NONE); 880 PIN_SLP(gpa0-2, INPUT, NONE); 881 PIN_SLP(gpa0-3, INPUT, UP); 882 PIN_SLP(gpa0-4, INPUT, DOWN); 883 PIN_SLP(gpa0-5, INPUT, DOWN); 884 PIN_SLP(gpa0-6, INPUT, DOWN); 885 PIN_SLP(gpa0-7, INPUT, DOWN); 886 887 PIN_SLP(gpa1-0, INPUT, DOWN); 888 PIN_SLP(gpa1-1, INPUT, DOWN); 889 PIN_SLP(gpa1-2, INPUT, DOWN); 890 PIN_SLP(gpa1-3, INPUT, DOWN); 891 PIN_SLP(gpa1-4, INPUT, DOWN); 892 PIN_SLP(gpa1-5, INPUT, DOWN); 893 894 PIN_SLP(gpb-0, INPUT, NONE); 895 PIN_SLP(gpb-1, INPUT, NONE); 896 PIN_SLP(gpb-2, INPUT, NONE); 897 PIN_SLP(gpb-3, INPUT, NONE); 898 PIN_SLP(gpb-4, INPUT, DOWN); 899 PIN_SLP(gpb-5, INPUT, DOWN); 900 PIN_SLP(gpb-6, INPUT, DOWN); 901 PIN_SLP(gpb-7, INPUT, DOWN); 902 903 PIN_SLP(gpc0-0, INPUT, DOWN); 904 PIN_SLP(gpc0-1, INPUT, DOWN); 905 PIN_SLP(gpc0-2, INPUT, NONE); 906 PIN_SLP(gpc0-3, INPUT, NONE); 907 PIN_SLP(gpc0-4, INPUT, NONE); 908 909 PIN_SLP(gpc1-0, INPUT, DOWN); 910 PIN_SLP(gpc1-1, INPUT, DOWN); 911 PIN_SLP(gpc1-2, INPUT, DOWN); 912 PIN_SLP(gpc1-3, INPUT, DOWN); 913 PIN_SLP(gpc1-4, INPUT, DOWN); 914 915 PIN_SLP(gpd0-0, INPUT, DOWN); 916 PIN_SLP(gpd0-1, OUT0, NONE); 917 PIN_SLP(gpd0-2, INPUT, NONE); 918 PIN_SLP(gpd0-3, INPUT, NONE); 919 920 PIN_SLP(gpd1-0, INPUT, DOWN); 921 PIN_SLP(gpd1-1, INPUT, DOWN); 922 PIN_SLP(gpd1-2, INPUT, NONE); 923 PIN_SLP(gpd1-3, INPUT, NONE); 924 925 PIN_SLP(gpf0-0, INPUT, DOWN); 926 PIN_SLP(gpf0-1, INPUT, DOWN); 927 PIN_SLP(gpf0-2, INPUT, DOWN); 928 PIN_SLP(gpf0-3, INPUT, DOWN); 929 PIN_SLP(gpf0-4, OUT0, NONE); 930 PIN_SLP(gpf0-5, OUT0, NONE); 931 PIN_SLP(gpf0-6, INPUT, DOWN); 932 PIN_SLP(gpf0-7, INPUT, DOWN); 933 934 PIN_SLP(gpf1-0, INPUT, DOWN); 935 PIN_SLP(gpf1-1, INPUT, DOWN); 936 PIN_SLP(gpf1-2, INPUT, DOWN); 937 PIN_SLP(gpf1-3, INPUT, DOWN); 938 PIN_SLP(gpf1-4, INPUT, DOWN); 939 PIN_SLP(gpf1-5, INPUT, DOWN); 940 PIN_SLP(gpf1-6, INPUT, DOWN); 941 PIN_SLP(gpf1-7, INPUT, DOWN); 942 943 PIN_SLP(gpf2-0, INPUT, DOWN); 944 PIN_SLP(gpf2-1, INPUT, DOWN); 945 PIN_SLP(gpf2-2, INPUT, DOWN); 946 PIN_SLP(gpf2-3, INPUT, DOWN); 947 PIN_SLP(gpf2-4, INPUT, DOWN); 948 PIN_SLP(gpf2-5, INPUT, DOWN); 949 PIN_SLP(gpf2-6, INPUT, DOWN); 950 PIN_SLP(gpf2-7, INPUT, DOWN); 951 952 PIN_SLP(gpf3-0, INPUT, DOWN); 953 PIN_SLP(gpf3-1, INPUT, DOWN); 954 PIN_SLP(gpf3-2, INPUT, DOWN); 955 PIN_SLP(gpf3-3, INPUT, DOWN); 956 PIN_SLP(gpf3-4, PREV, NONE); 957 PIN_SLP(gpf3-5, OUT0, DOWN); 958 959 PIN_SLP(gpj0-0, INPUT, DOWN); 960 PIN_SLP(gpj0-1, INPUT, DOWN); 961 PIN_SLP(gpj0-2, INPUT, DOWN); 962 PIN_SLP(gpj0-3, OUT0, NONE); 963 PIN_SLP(gpj0-4, INPUT, DOWN); 964 PIN_SLP(gpj0-5, INPUT, DOWN); 965 PIN_SLP(gpj0-6, OUT0, NONE); 966 PIN_SLP(gpj0-7, OUT0, NONE); 967 968 PIN_SLP(gpj1-0, OUT0, NONE); 969 PIN_SLP(gpj1-1, INPUT, DOWN); 970 PIN_SLP(gpj1-2, PREV, NONE); 971 PIN_SLP(gpj1-3, INPUT, DOWN); 972 PIN_SLP(gpj1-4, INPUT, DOWN); 973 }; 974}; 975 976&pinctrl_1 { 977 pinctrl-names = "default"; 978 pinctrl-0 = <&sleep1>; 979 980 bt_shutdown: bt-shutdown-pins { 981 samsung,pins = "gpl0-6"; 982 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 983 }; 984 985 bt_host_wakeup: bt-host-wakeup-pins { 986 samsung,pins = "gpx2-6"; 987 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 988 }; 989 990 bt_device_wakeup: bt-device-wakeup-pins { 991 samsung,pins = "gpx3-1"; 992 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 993 }; 994 995 backlight_reset: backlight-reset-pins { 996 samsung,pins = "gpm0-1"; 997 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>; 998 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 999 }; 1000 1001 gpio_keys: gpio-keys-pins { 1002 samsung,pins = "gpx1-2", "gpx2-2", "gpx2-4", "gpx2-7", "gpx3-3"; 1003 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 1004 }; 1005 1006 max77693_irq: max77693-irq-pins { 1007 samsung,pins = "gpx1-5"; 1008 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>; 1009 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 1010 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>; 1011 }; 1012 1013 max77693_fuel_irq: max77693-fuel-irq-pins { 1014 samsung,pins = "gpx2-3"; 1015 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>; 1016 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 1017 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>; 1018 }; 1019 1020 sdhci2_cd: sdhci2-cd-irq-pins { 1021 samsung,pins = "gpx3-4"; 1022 samsung,pin-function = <EXYNOS_PIN_FUNC_INPUT>; 1023 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 1024 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>; 1025 }; 1026 1027 s5m8767_dvs: s5m8767-dvs-pins { 1028 samsung,pins = "gpm3-0", "gpm3-1", "gpm3-2"; 1029 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>; 1030 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 1031 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>; 1032 }; 1033 1034 s5m8767_irq: s5m8767-irq-pins { 1035 samsung,pins = "gpx0-7"; 1036 samsung,pin-function = <EXYNOS_PIN_FUNC_EINT>; 1037 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 1038 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>; 1039 }; 1040 1041 sleep1: sleep-state { 1042 PIN_SLP(gpk0-0, PREV, NONE); 1043 PIN_SLP(gpk0-1, PREV, NONE); 1044 PIN_SLP(gpk0-2, PREV, NONE); 1045 PIN_SLP(gpk0-3, PREV, NONE); 1046 PIN_SLP(gpk0-4, PREV, NONE); 1047 PIN_SLP(gpk0-5, PREV, NONE); 1048 PIN_SLP(gpk0-6, PREV, NONE); 1049 1050 PIN_SLP(gpk1-0, INPUT, DOWN); 1051 PIN_SLP(gpk1-1, INPUT, DOWN); 1052 PIN_SLP(gpk1-2, INPUT, DOWN); 1053 PIN_SLP(gpk1-3, PREV, NONE); 1054 PIN_SLP(gpk1-4, PREV, NONE); 1055 PIN_SLP(gpk1-5, PREV, NONE); 1056 PIN_SLP(gpk1-6, PREV, NONE); 1057 1058 PIN_SLP(gpk2-0, INPUT, DOWN); 1059 PIN_SLP(gpk2-1, INPUT, DOWN); 1060 PIN_SLP(gpk2-2, INPUT, DOWN); 1061 PIN_SLP(gpk2-3, INPUT, DOWN); 1062 PIN_SLP(gpk2-4, INPUT, DOWN); 1063 PIN_SLP(gpk2-5, INPUT, DOWN); 1064 PIN_SLP(gpk2-6, INPUT, DOWN); 1065 1066 PIN_SLP(gpk3-0, OUT0, NONE); 1067 PIN_SLP(gpk3-1, INPUT, NONE); 1068 PIN_SLP(gpk3-2, INPUT, DOWN); 1069 PIN_SLP(gpk3-3, INPUT, NONE); 1070 PIN_SLP(gpk3-4, INPUT, NONE); 1071 PIN_SLP(gpk3-5, INPUT, NONE); 1072 PIN_SLP(gpk3-6, INPUT, NONE); 1073 1074 PIN_SLP(gpl0-0, INPUT, DOWN); 1075 PIN_SLP(gpl0-1, INPUT, NONE); 1076 PIN_SLP(gpl0-2, INPUT, NONE); 1077 PIN_SLP(gpl0-3, INPUT, DOWN); 1078 PIN_SLP(gpl0-4, INPUT, DOWN); 1079 PIN_SLP(gpl0-6, PREV, NONE); 1080 1081 PIN_SLP(gpl1-0, INPUT, DOWN); 1082 PIN_SLP(gpl1-1, OUT0, NONE); 1083 PIN_SLP(gpl2-0, INPUT, DOWN); 1084 PIN_SLP(gpl2-1, PREV, NONE); 1085 PIN_SLP(gpl2-2, PREV, NONE); 1086 PIN_SLP(gpl2-3, INPUT, DOWN); 1087 PIN_SLP(gpl2-4, INPUT, DOWN); 1088 PIN_SLP(gpl2-5, INPUT, DOWN); 1089 PIN_SLP(gpl2-6, INPUT, DOWN); 1090 PIN_SLP(gpl2-7, INPUT, DOWN); 1091 1092 PIN_SLP(gpm0-0, PREV, NONE); 1093 PIN_SLP(gpm0-1, OUT0, NONE); 1094 PIN_SLP(gpm0-2, INPUT, DOWN); 1095 PIN_SLP(gpm0-3, INPUT, DOWN); 1096 PIN_SLP(gpm0-4, INPUT, DOWN); 1097 PIN_SLP(gpm0-5, INPUT, DOWN); 1098 PIN_SLP(gpm0-6, INPUT, DOWN); 1099 PIN_SLP(gpm0-7, INPUT, DOWN); 1100 1101 PIN_SLP(gpm1-0, INPUT, DOWN); 1102 PIN_SLP(gpm1-1, INPUT, DOWN); 1103 PIN_SLP(gpm1-2, INPUT, NONE); 1104 PIN_SLP(gpm1-3, INPUT, NONE); 1105 PIN_SLP(gpm1-4, INPUT, NONE); 1106 PIN_SLP(gpm1-5, INPUT, NONE); 1107 PIN_SLP(gpm1-6, OUT0, NONE); 1108 1109 PIN_SLP(gpm2-0, INPUT, NONE); 1110 PIN_SLP(gpm2-1, INPUT, NONE); 1111 PIN_SLP(gpm2-2, OUT0, NONE); 1112 PIN_SLP(gpm2-3, INPUT, DOWN); 1113 PIN_SLP(gpm2-4, INPUT, DOWN); 1114 1115 PIN_SLP(gpm3-0, PREV, NONE); 1116 PIN_SLP(gpm3-1, PREV, NONE); 1117 PIN_SLP(gpm3-2, PREV, NONE); 1118 PIN_SLP(gpm3-3, INPUT, DOWN); 1119 PIN_SLP(gpm3-4, INPUT, DOWN); 1120 PIN_SLP(gpm3-5, PREV, NONE); 1121 PIN_SLP(gpm3-6, INPUT, DOWN); 1122 PIN_SLP(gpm3-7, OUT0, NONE); 1123 1124 PIN_SLP(gpm4-0, INPUT, DOWN); 1125 PIN_SLP(gpm4-1, INPUT, DOWN); 1126 PIN_SLP(gpm4-2, INPUT, DOWN); 1127 PIN_SLP(gpm4-3, INPUT, DOWN); 1128 PIN_SLP(gpm4-4, PREV, NONE); 1129 PIN_SLP(gpm4-5, INPUT, NONE); 1130 PIN_SLP(gpm4-6, INPUT, DOWN); 1131 PIN_SLP(gpm4-7, INPUT, DOWN); 1132 1133 PIN_SLP(gpy0-0, INPUT, DOWN); 1134 PIN_SLP(gpy0-1, INPUT, DOWN); 1135 PIN_SLP(gpy0-2, INPUT, NONE); 1136 PIN_SLP(gpy0-3, INPUT, NONE); 1137 PIN_SLP(gpy0-4, INPUT, DOWN); 1138 PIN_SLP(gpy0-5, INPUT, DOWN); 1139 1140 PIN_SLP(gpy1-0, INPUT, DOWN); 1141 PIN_SLP(gpy1-1, INPUT, DOWN); 1142 PIN_SLP(gpy1-2, INPUT, DOWN); 1143 PIN_SLP(gpy1-3, INPUT, DOWN); 1144 1145 PIN_SLP(gpy2-0, PREV, NONE); 1146 PIN_SLP(gpy2-1, INPUT, DOWN); 1147 PIN_SLP(gpy2-2, INPUT, NONE); 1148 PIN_SLP(gpy2-3, INPUT, NONE); 1149 PIN_SLP(gpy2-4, INPUT, NONE); 1150 PIN_SLP(gpy2-5, INPUT, NONE); 1151 1152 PIN_SLP(gpy3-0, INPUT, DOWN); 1153 PIN_SLP(gpy3-1, INPUT, DOWN); 1154 PIN_SLP(gpy3-2, INPUT, DOWN); 1155 PIN_SLP(gpy3-3, INPUT, DOWN); 1156 PIN_SLP(gpy3-4, INPUT, DOWN); 1157 PIN_SLP(gpy3-5, INPUT, DOWN); 1158 PIN_SLP(gpy3-6, INPUT, DOWN); 1159 PIN_SLP(gpy3-7, INPUT, DOWN); 1160 1161 PIN_SLP(gpy4-0, INPUT, DOWN); 1162 PIN_SLP(gpy4-1, INPUT, DOWN); 1163 PIN_SLP(gpy4-2, INPUT, DOWN); 1164 PIN_SLP(gpy4-3, INPUT, DOWN); 1165 PIN_SLP(gpy4-4, INPUT, DOWN); 1166 PIN_SLP(gpy4-5, INPUT, DOWN); 1167 PIN_SLP(gpy4-6, INPUT, DOWN); 1168 PIN_SLP(gpy4-7, INPUT, DOWN); 1169 1170 PIN_SLP(gpy5-0, INPUT, DOWN); 1171 PIN_SLP(gpy5-1, INPUT, DOWN); 1172 PIN_SLP(gpy5-2, INPUT, DOWN); 1173 PIN_SLP(gpy5-3, INPUT, DOWN); 1174 PIN_SLP(gpy5-4, INPUT, DOWN); 1175 PIN_SLP(gpy5-5, INPUT, DOWN); 1176 PIN_SLP(gpy5-6, INPUT, DOWN); 1177 PIN_SLP(gpy5-7, INPUT, DOWN); 1178 1179 PIN_SLP(gpy6-0, INPUT, DOWN); 1180 PIN_SLP(gpy6-1, INPUT, DOWN); 1181 PIN_SLP(gpy6-2, INPUT, DOWN); 1182 PIN_SLP(gpy6-3, INPUT, DOWN); 1183 PIN_SLP(gpy6-4, INPUT, DOWN); 1184 PIN_SLP(gpy6-5, INPUT, DOWN); 1185 PIN_SLP(gpy6-6, INPUT, DOWN); 1186 PIN_SLP(gpy6-7, INPUT, DOWN); 1187 }; 1188}; 1189 1190&pinctrl_2 { 1191 pinctrl-names = "default"; 1192 pinctrl-0 = <&sleep2>; 1193 1194 sleep2: sleep-state { 1195 PIN_SLP(gpz-0, INPUT, DOWN); 1196 PIN_SLP(gpz-1, INPUT, DOWN); 1197 PIN_SLP(gpz-2, INPUT, DOWN); 1198 PIN_SLP(gpz-3, INPUT, DOWN); 1199 PIN_SLP(gpz-4, INPUT, DOWN); 1200 PIN_SLP(gpz-5, INPUT, DOWN); 1201 PIN_SLP(gpz-6, INPUT, DOWN); 1202 }; 1203}; 1204 1205&pinctrl_3 { 1206 pinctrl-names = "default"; 1207 pinctrl-0 = <&sleep3>; 1208 1209 sleep3: sleep-state { 1210 PIN_SLP(gpv0-0, INPUT, DOWN); 1211 PIN_SLP(gpv0-1, INPUT, DOWN); 1212 PIN_SLP(gpv0-2, INPUT, DOWN); 1213 PIN_SLP(gpv0-3, INPUT, DOWN); 1214 PIN_SLP(gpv0-4, INPUT, DOWN); 1215 PIN_SLP(gpv0-5, INPUT, DOWN); 1216 PIN_SLP(gpv0-6, INPUT, DOWN); 1217 PIN_SLP(gpv0-7, INPUT, DOWN); 1218 1219 PIN_SLP(gpv1-0, INPUT, DOWN); 1220 PIN_SLP(gpv1-1, INPUT, DOWN); 1221 PIN_SLP(gpv1-2, INPUT, DOWN); 1222 PIN_SLP(gpv1-3, INPUT, DOWN); 1223 PIN_SLP(gpv1-4, INPUT, DOWN); 1224 PIN_SLP(gpv1-5, INPUT, DOWN); 1225 PIN_SLP(gpv1-6, INPUT, DOWN); 1226 PIN_SLP(gpv1-7, INPUT, DOWN); 1227 1228 PIN_SLP(gpv2-0, INPUT, DOWN); 1229 PIN_SLP(gpv2-1, INPUT, DOWN); 1230 PIN_SLP(gpv2-2, INPUT, DOWN); 1231 PIN_SLP(gpv2-3, INPUT, DOWN); 1232 PIN_SLP(gpv2-4, INPUT, DOWN); 1233 PIN_SLP(gpv2-5, INPUT, DOWN); 1234 PIN_SLP(gpv2-6, INPUT, DOWN); 1235 PIN_SLP(gpv2-7, INPUT, DOWN); 1236 1237 PIN_SLP(gpv3-0, INPUT, DOWN); 1238 PIN_SLP(gpv3-1, INPUT, DOWN); 1239 PIN_SLP(gpv3-2, INPUT, DOWN); 1240 PIN_SLP(gpv3-3, INPUT, DOWN); 1241 PIN_SLP(gpv3-4, INPUT, DOWN); 1242 PIN_SLP(gpv3-5, INPUT, DOWN); 1243 PIN_SLP(gpv3-6, INPUT, DOWN); 1244 PIN_SLP(gpv3-7, INPUT, DOWN); 1245 1246 PIN_SLP(gpv4-0, INPUT, DOWN); 1247 PIN_SLP(gpv4-1, INPUT, DOWN); 1248 }; 1249}; 1250 1251&pmu_system_controller { 1252 assigned-clocks = <&pmu_system_controller 0>; 1253 assigned-clock-parents = <&clock CLK_XUSBXTI>; 1254}; 1255 1256&pwm { 1257 pinctrl-0 = <&pwm1_out>; 1258 pinctrl-names = "default"; 1259 samsung,pwm-outputs = <1>; 1260 status = "okay"; 1261}; 1262 1263/* 1264 * The internal RTC does not work; instead, the RTC provided by the 1265 * S5M8766 PMIC is used. Disable the RTC to make sure the working 1266 * one gets used. 1267 * 1268 * We add this node to avoid DTB check warnings, as the Exynos4 RTC 1269 * requires two clocks, and only one is set up by default. 1270 */ 1271&rtc { 1272 clocks = <&clock CLK_RTC>, <&s5m8767_osc S2MPS11_CLK_AP>; 1273 clock-names = "rtc", "rtc_src"; 1274 status = "disabled"; 1275}; 1276 1277&sdhci_2 { 1278 bus-width = <4>; 1279 cd-gpios = <&gpx3 4 GPIO_ACTIVE_LOW>; 1280 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4 &sdhci2_cd>; 1281 pinctrl-names = "default"; 1282 vmmc-supply = <&ldo23_reg>; 1283 status = "okay"; 1284}; 1285 1286&sdhci_3 { 1287 #address-cells = <1>; 1288 #size-cells = <0>; 1289 non-removable; 1290 bus-width = <4>; 1291 1292 mmc-pwrseq = <&wlan_pwrseq>; 1293 pinctrl-names = "default"; 1294 pinctrl-0 = <&sd3_clk &sd3_cmd &sd3_bus4>; 1295 status = "okay"; 1296 1297 brcmf: wifi@1 { 1298 compatible = "brcm,bcm4334-fmac", "brcm,bcm4329-fmac"; 1299 reg = <1>; 1300 1301 interrupt-parent = <&gpx2>; 1302 interrupts = <5 IRQ_TYPE_LEVEL_HIGH>; 1303 interrupt-names = "host-wake"; 1304 }; 1305}; 1306 1307&serial_0 { 1308 pinctrl-0 = <&uart0_data &uart0_fctl>; 1309 pinctrl-names = "default"; 1310 status = "okay"; 1311 1312 bluetooth { 1313 compatible = "brcm,bcm4330-bt"; /* BCM4334B0 */ 1314 pinctrl-0 = <&bt_shutdown &bt_device_wakeup &bt_host_wakeup>; 1315 pinctrl-names = "default"; 1316 max-speed = <3000000>; 1317 shutdown-gpios = <&gpl0 6 GPIO_ACTIVE_HIGH>; 1318 device-wakeup-gpios = <&gpx3 1 GPIO_ACTIVE_HIGH>; 1319 host-wakeup-gpios = <&gpx2 6 GPIO_ACTIVE_HIGH>; 1320 clocks = <&s5m8767_osc S2MPS11_CLK_BT>; 1321 }; 1322}; 1323 1324&serial_1 { 1325 status = "okay"; 1326}; 1327 1328&serial_2 { 1329 status = "okay"; 1330}; 1331 1332&serial_3 { 1333 status = "okay"; 1334}; 1335 1336&tmu { 1337 vtmu-supply = <&ldo10_reg>; 1338 status = "okay"; 1339}; 1340