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