Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 /*
0003  * Samsung's Exynos5420 based Arndale Octa board device tree source
0004  *
0005  * Copyright (c) 2013 Samsung Electronics Co., Ltd.
0006  *              http://www.samsung.com
0007  */
0008 
0009 /dts-v1/;
0010 #include "exynos5420.dtsi"
0011 #include "exynos5420-cpus.dtsi"
0012 #include <dt-bindings/gpio/gpio.h>
0013 #include <dt-bindings/interrupt-controller/irq.h>
0014 #include <dt-bindings/input/input.h>
0015 #include <dt-bindings/clock/samsung,s2mps11.h>
0016 
0017 / {
0018         model = "Insignal Arndale Octa evaluation board based on Exynos5420";
0019         compatible = "insignal,arndale-octa", "samsung,exynos5420", "samsung,exynos5";
0020 
0021         memory@20000000 {
0022                 device_type = "memory";
0023                 reg = <0x20000000 0x80000000>;
0024         };
0025 
0026         chosen {
0027                 stdout-path = "serial3:115200n8";
0028         };
0029 
0030         firmware@2073000 {
0031                 compatible = "samsung,secure-firmware";
0032                 reg = <0x02073000 0x1000>;
0033         };
0034 
0035         fixed-rate-clocks {
0036                 oscclk {
0037                         compatible = "samsung,exynos5420-oscclk";
0038                         clock-frequency = <24000000>;
0039                 };
0040         };
0041 
0042         gpio-keys {
0043                 compatible = "gpio-keys";
0044 
0045                 key-wakeup {
0046                         label = "SW-TACT1";
0047                         gpios = <&gpx2 7 GPIO_ACTIVE_LOW>;
0048                         linux,code = <KEY_WAKEUP>;
0049                         wakeup-source;
0050                 };
0051         };
0052 };
0053 
0054 &adc {
0055         vdd-supply = <&ldo4_reg>;
0056         status = "okay";
0057 };
0058 
0059 &cci {
0060         status = "disabled";
0061 };
0062 
0063 &cpu0 {
0064         cpu-supply = <&buck2_reg>;
0065 };
0066 
0067 &cpu4 {
0068         cpu-supply = <&buck6_reg>;
0069 };
0070 
0071 &cpu0_thermal {
0072         trips {
0073                 cpu0_alert0: cpu-alert-0 {
0074                         temperature = <60000>; /* millicelsius */
0075                         hysteresis = <5000>; /* millicelsius */
0076                         type = "passive";
0077                 };
0078                 cpu0_alert1: cpu-alert-1 {
0079                         temperature = <80000>; /* millicelsius */
0080                         hysteresis = <10000>; /* millicelsius */
0081                         type = "passive";
0082                 };
0083                 cpu0_alert2: cpu-alert-2 {
0084                         temperature = <110000>; /* millicelsius */
0085                         hysteresis = <10000>; /* millicelsius */
0086                         type = "passive";
0087                 };
0088                 cpu0_crit0: cpu-crit-0 {
0089                         temperature = <120000>; /* millicelsius */
0090                         hysteresis = <0>; /* millicelsius */
0091                         type = "critical";
0092                 };
0093         };
0094 
0095         cooling-maps {
0096                 /*
0097                  * Reduce the CPU speed by 2 steps, down to: 1600 MHz
0098                  * and 1100 MHz.
0099                  */
0100                 map0 {
0101                         trip = <&cpu0_alert0>;
0102                         cooling-device = <&cpu0 0 2>,
0103                                          <&cpu1 0 2>,
0104                                          <&cpu2 0 2>,
0105                                          <&cpu3 0 2>,
0106                                          <&cpu4 0 2>,
0107                                          <&cpu5 0 2>,
0108                                          <&cpu6 0 2>,
0109                                          <&cpu7 0 2>;
0110                 };
0111 
0112                 /*
0113                  * Reduce the CPU speed down to 1200 MHz big (6 steps)
0114                  * and 800 MHz LITTLE (5 steps).
0115                  */
0116                 map1 {
0117                         trip = <&cpu0_alert1>;
0118                         cooling-device = <&cpu0 3 6>,
0119                                          <&cpu1 3 6>,
0120                                          <&cpu2 3 6>,
0121                                          <&cpu3 3 6>,
0122                                          <&cpu4 3 5>,
0123                                          <&cpu5 3 5>,
0124                                          <&cpu6 3 5>,
0125                                          <&cpu7 3 5>;
0126                 };
0127 
0128                 /*
0129                  * Reduce the CPU speed as much as possible, down to 700 MHz
0130                  * big (11 steps) and 600 MHz LITTLE (7 steps).
0131                  */
0132                 map2 {
0133                         trip = <&cpu0_alert2>;
0134                         cooling-device = <&cpu0 6 11>,
0135                                          <&cpu1 6 11>,
0136                                          <&cpu2 6 11>,
0137                                          <&cpu3 6 11>,
0138                                          <&cpu4 5 7>,
0139                                          <&cpu5 5 7>,
0140                                          <&cpu6 5 7>,
0141                                          <&cpu7 5 7>;
0142                 };
0143         };
0144 };
0145 
0146 &cpu1_thermal {
0147         trips {
0148                 cpu1_alert0: cpu-alert-0 {
0149                         temperature = <60000>; /* millicelsius */
0150                         hysteresis = <5000>; /* millicelsius */
0151                         type = "passive";
0152                 };
0153                 cpu1_alert1: cpu-alert-1 {
0154                         temperature = <80000>; /* millicelsius */
0155                         hysteresis = <10000>; /* millicelsius */
0156                         type = "passive";
0157                 };
0158                 cpu1_alert2: cpu-alert-2 {
0159                         temperature = <110000>; /* millicelsius */
0160                         hysteresis = <10000>; /* millicelsius */
0161                         type = "passive";
0162                 };
0163                 cpu1_crit0: cpu-crit-0 {
0164                         temperature = <120000>; /* millicelsius */
0165                         hysteresis = <0>; /* millicelsius */
0166                         type = "critical";
0167                 };
0168         };
0169 
0170         cooling-maps {
0171                 map0 {
0172                         trip = <&cpu1_alert0>;
0173                         cooling-device = <&cpu0 0 2>,
0174                                          <&cpu1 0 2>,
0175                                          <&cpu2 0 2>,
0176                                          <&cpu3 0 2>,
0177                                          <&cpu4 0 2>,
0178                                          <&cpu5 0 2>,
0179                                          <&cpu6 0 2>,
0180                                          <&cpu7 0 2>;
0181                 };
0182 
0183                 map1 {
0184                         trip = <&cpu1_alert1>;
0185                         cooling-device = <&cpu0 3 6>,
0186                                          <&cpu1 3 6>,
0187                                          <&cpu2 3 6>,
0188                                          <&cpu3 3 6>,
0189                                          <&cpu4 3 5>,
0190                                          <&cpu5 3 5>,
0191                                          <&cpu6 3 5>,
0192                                          <&cpu7 3 5>;
0193                 };
0194 
0195                 map2 {
0196                         trip = <&cpu1_alert2>;
0197                         cooling-device = <&cpu0 6 11>,
0198                                          <&cpu1 6 11>,
0199                                          <&cpu2 6 11>,
0200                                          <&cpu3 6 11>,
0201                                          <&cpu4 5 7>,
0202                                          <&cpu5 5 7>,
0203                                          <&cpu6 5 7>,
0204                                          <&cpu7 5 7>;
0205                 };
0206         };
0207 };
0208 
0209 &cpu2_thermal {
0210         trips {
0211                 cpu2_alert0: cpu-alert-0 {
0212                         temperature = <60000>; /* millicelsius */
0213                         hysteresis = <5000>; /* millicelsius */
0214                         type = "passive";
0215                 };
0216                 cpu2_alert1: cpu-alert-1 {
0217                         temperature = <80000>; /* millicelsius */
0218                         hysteresis = <10000>; /* millicelsius */
0219                         type = "passive";
0220                 };
0221                 cpu2_alert2: cpu-alert-2 {
0222                         temperature = <110000>; /* millicelsius */
0223                         hysteresis = <10000>; /* millicelsius */
0224                         type = "passive";
0225                 };
0226                 cpu2_crit0: cpu-crit-0 {
0227                         temperature = <120000>; /* millicelsius */
0228                         hysteresis = <0>; /* millicelsius */
0229                         type = "critical";
0230                 };
0231         };
0232 
0233         cooling-maps {
0234                 map0 {
0235                         trip = <&cpu2_alert0>;
0236                         cooling-device = <&cpu0 0 2>,
0237                                          <&cpu1 0 2>,
0238                                          <&cpu2 0 2>,
0239                                          <&cpu3 0 2>,
0240                                          <&cpu4 0 2>,
0241                                          <&cpu5 0 2>,
0242                                          <&cpu6 0 2>,
0243                                          <&cpu7 0 2>;
0244                 };
0245 
0246                 map1 {
0247                         trip = <&cpu2_alert1>;
0248                         cooling-device = <&cpu0 3 6>,
0249                                          <&cpu1 3 6>,
0250                                          <&cpu2 3 6>,
0251                                          <&cpu3 3 6>,
0252                                          <&cpu4 3 5>,
0253                                          <&cpu5 3 5>,
0254                                          <&cpu6 3 5>,
0255                                          <&cpu7 3 5>;
0256                 };
0257 
0258                 map2 {
0259                         trip = <&cpu2_alert2>;
0260                         cooling-device = <&cpu0 6 11>,
0261                                          <&cpu1 6 11>,
0262                                          <&cpu2 6 11>,
0263                                          <&cpu3 6 11>,
0264                                          <&cpu4 6 7>,
0265                                          <&cpu5 6 7>,
0266                                          <&cpu6 6 7>,
0267                                          <&cpu7 6 7>;
0268                 };
0269         };
0270 };
0271 
0272 &cpu3_thermal {
0273         trips {
0274                 cpu3_alert0: cpu-alert-0 {
0275                         temperature = <60000>; /* millicelsius */
0276                         hysteresis = <5000>; /* millicelsius */
0277                         type = "passive";
0278                 };
0279                 cpu3_alert1: cpu-alert-1 {
0280                         temperature = <80000>; /* millicelsius */
0281                         hysteresis = <10000>; /* millicelsius */
0282                         type = "passive";
0283                 };
0284                 cpu3_alert2: cpu-alert-2 {
0285                         temperature = <110000>; /* millicelsius */
0286                         hysteresis = <10000>; /* millicelsius */
0287                         type = "passive";
0288                 };
0289                 cpu3_crit0: cpu-crit-0 {
0290                         temperature = <120000>; /* millicelsius */
0291                         hysteresis = <0>; /* millicelsius */
0292                         type = "critical";
0293                 };
0294         };
0295 
0296         cooling-maps {
0297                 map0 {
0298                         trip = <&cpu3_alert0>;
0299                         cooling-device = <&cpu0 0 2>,
0300                                          <&cpu1 0 2>,
0301                                          <&cpu2 0 2>,
0302                                          <&cpu3 0 2>,
0303                                          <&cpu4 0 2>,
0304                                          <&cpu5 0 2>,
0305                                          <&cpu6 0 2>,
0306                                          <&cpu7 0 2>;
0307                 };
0308 
0309                 map1 {
0310                         trip = <&cpu3_alert1>;
0311                         cooling-device = <&cpu0 3 6>,
0312                                          <&cpu1 3 6>,
0313                                          <&cpu2 3 6>,
0314                                          <&cpu3 3 6>,
0315                                          <&cpu4 3 5>,
0316                                          <&cpu5 3 5>,
0317                                          <&cpu6 3 5>,
0318                                          <&cpu7 3 5>;
0319                 };
0320 
0321                 map2 {
0322                         trip = <&cpu3_alert2>;
0323                         cooling-device = <&cpu0 6 11>,
0324                                          <&cpu1 6 11>,
0325                                          <&cpu2 6 11>,
0326                                          <&cpu3 6 11>,
0327                                          <&cpu4 5 7>,
0328                                          <&cpu5 5 7>,
0329                                          <&cpu6 5 7>,
0330                                          <&cpu7 5 7>;
0331                 };
0332         };
0333 };
0334 
0335 &hdmi {
0336         hpd-gpios = <&gpx3 7 GPIO_ACTIVE_HIGH>;
0337         vdd_osc-supply = <&ldo7_reg>;
0338         vdd_pll-supply = <&ldo6_reg>;
0339         vdd-supply = <&ldo6_reg>;
0340         ddc = <&i2c_2>;
0341         status = "okay";
0342 };
0343 
0344 &hsi2c_4 {
0345         status = "okay";
0346 
0347         pmic@66 {
0348                 compatible = "samsung,s2mps11-pmic";
0349                 reg = <0x66>;
0350 
0351                 interrupt-parent = <&gpx3>;
0352                 interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
0353                 pinctrl-names = "default";
0354                 pinctrl-0 = <&s2mps11_irq>;
0355                 wakeup-source;
0356 
0357                 s2mps11_osc: clocks {
0358                         compatible = "samsung,s2mps11-clk";
0359                         #clock-cells = <1>;
0360                         clock-output-names = "s2mps11_ap",
0361                                         "s2mps11_cp", "s2mps11_bt";
0362                 };
0363 
0364                 regulators {
0365                         ldo1_reg: LDO1 {
0366                                 regulator-name = "PVDD_ALIVE_1V0";
0367                                 regulator-min-microvolt = <1000000>;
0368                                 regulator-max-microvolt = <1000000>;
0369                                 regulator-always-on;
0370                         };
0371 
0372                         ldo2_reg: LDO2 {
0373                                 regulator-name = "PVDD_APIO_1V8";
0374                                 regulator-min-microvolt = <1800000>;
0375                                 regulator-max-microvolt = <1800000>;
0376                                 regulator-always-on;
0377                         };
0378 
0379                         ldo3_reg: LDO3 {
0380                                 regulator-name = "PVDD_APIO_MMCON_1V8";
0381                                 regulator-min-microvolt = <1800000>;
0382                                 regulator-max-microvolt = <1800000>;
0383                                 /*
0384                                  * Must be always on, even though there is
0385                                  * a consumer (mmc_0).  Otherwise the board
0386                                  * does not reboot with vendor U-Boot
0387                                  * (Linaro for Arndale Octa, v2012.07).
0388                                  */
0389                                 regulator-always-on;
0390 
0391                                 regulator-state-mem {
0392                                         regulator-off-in-suspend;
0393                                 };
0394                         };
0395 
0396                         ldo4_reg: LDO4 {
0397                                 regulator-name = "PVDD_ADC_1V8";
0398                                 regulator-min-microvolt = <1800000>;
0399                                 regulator-max-microvolt = <1800000>;
0400                         };
0401 
0402                         ldo5_reg: LDO5 {
0403                                 regulator-name = "PVDD_PLL_1V8";
0404                                 regulator-min-microvolt = <1800000>;
0405                                 regulator-max-microvolt = <1800000>;
0406                                 regulator-always-on;
0407                         };
0408 
0409                         ldo6_reg: LDO6 {
0410                                 regulator-name = "PVDD_ANAIP_1V0";
0411                                 regulator-min-microvolt = <1000000>;
0412                                 regulator-max-microvolt = <1000000>;
0413                         };
0414 
0415                         ldo7_reg: LDO7 {
0416                                 regulator-name = "PVDD_ANAIP_1V8";
0417                                 regulator-min-microvolt = <1800000>;
0418                                 regulator-max-microvolt = <1800000>;
0419 
0420                                 regulator-state-mem {
0421                                         regulator-off-in-suspend;
0422                                 };
0423                         };
0424 
0425                         ldo8_reg: LDO8 {
0426                                 regulator-name = "PVDD_ABB_1V8";
0427                                 regulator-min-microvolt = <1800000>;
0428                                 regulator-max-microvolt = <1800000>;
0429                                 regulator-always-on;
0430                         };
0431 
0432                         ldo9_reg: LDO9 {
0433                                 regulator-name = "PVDD_USB_3V3";
0434                                 regulator-min-microvolt = <3000000>;
0435                                 regulator-max-microvolt = <3000000>;
0436                                 regulator-always-on;
0437                         };
0438 
0439                         ldo10_reg: LDO10 {
0440                                 regulator-name = "PVDD_PRE_1V8";
0441                                 regulator-min-microvolt = <1800000>;
0442                                 regulator-max-microvolt = <1800000>;
0443                                 regulator-always-on;
0444                         };
0445 
0446                         ldo11_reg: LDO11 {
0447                                 regulator-name = "PVDD_USB_1V0";
0448                                 regulator-min-microvolt = <1000000>;
0449                                 regulator-max-microvolt = <1000000>;
0450                                 regulator-always-on;
0451                         };
0452 
0453                         ldo12_reg: LDO12 {
0454                                 regulator-name = "PVDD_HSIC_1V8";
0455                                 regulator-min-microvolt = <1800000>;
0456                                 regulator-max-microvolt = <1800000>;
0457                         };
0458 
0459                         ldo13_reg: LDO13 {
0460                                 regulator-name = "PVDD_APIO_MMCOFF_2V8";
0461                                 regulator-min-microvolt = <1800000>;
0462                                 regulator-max-microvolt = <2800000>;
0463 
0464                                 regulator-state-mem {
0465                                         regulator-off-in-suspend;
0466                                 };
0467                         };
0468 
0469                         ldo14_reg: LDO14 {
0470                                 /* Unused */
0471                                 regulator-name = "PVDD_LDO14";
0472                                 regulator-min-microvolt = <800000>;
0473                                 regulator-max-microvolt = <3950000>;
0474                         };
0475 
0476                         ldo15_reg: LDO15 {
0477                                 regulator-name = "PVDD_PERI_2V8";
0478                                 regulator-min-microvolt = <3300000>;
0479                                 regulator-max-microvolt = <3300000>;
0480 
0481                                 regulator-state-mem {
0482                                         regulator-on-in-suspend;
0483                                 };
0484                         };
0485 
0486                         ldo16_reg: LDO16 {
0487                                 regulator-name = "PVDD_PERI_3V3";
0488                                 regulator-min-microvolt = <2200000>;
0489                                 regulator-max-microvolt = <2200000>;
0490 
0491                                 regulator-state-mem {
0492                                         regulator-on-in-suspend;
0493                                 };
0494                         };
0495 
0496                         ldo17_reg: LDO17 {
0497                                 /* Unused */
0498                                 regulator-name = "PVDD_LDO17";
0499                                 regulator-min-microvolt = <800000>;
0500                                 regulator-max-microvolt = <3950000>;
0501                         };
0502 
0503                         ldo18_reg: LDO18 {
0504                                 regulator-name = "PVDD_EMMC_1V8";
0505                                 regulator-min-microvolt = <1800000>;
0506                                 regulator-max-microvolt = <1800000>;
0507                                 /*
0508                                  * Must stay in "off" mode during shutdown for
0509                                  * proper eMMC reset.  The "off" mode is in
0510                                  * fact controlled by LDO18EN.  The eMMC does
0511                                  * not have reset pin connected so the reset
0512                                  * will be triggered by falling edge of
0513                                  * LDO18EN.
0514                                  */
0515 
0516                                 regulator-state-mem {
0517                                         regulator-off-in-suspend;
0518                                 };
0519                         };
0520 
0521                         ldo19_reg: LDO19 {
0522                                 regulator-name = "PVDD_TFLASH_2V8";
0523                                 regulator-min-microvolt = <2800000>;
0524                                 regulator-max-microvolt = <2800000>;
0525 
0526                                 regulator-state-mem {
0527                                         regulator-off-in-suspend;
0528                                 };
0529                         };
0530 
0531                         ldo20_reg: LDO20 {
0532                                 regulator-name = "PVDD_BTWIFI_1V8";
0533                                 regulator-min-microvolt = <1800000>;
0534                                 regulator-max-microvolt = <1800000>;
0535                         };
0536 
0537                         ldo21_reg: LDO21 {
0538                                 regulator-name = "PVDD_CAM1IO_1V8";
0539                                 regulator-min-microvolt = <1800000>;
0540                                 regulator-max-microvolt = <1800000>;
0541                         };
0542 
0543                         ldo22_reg: LDO22 {
0544                                 /* Unused */
0545                                 regulator-name = "PVDD_LDO22";
0546                                 regulator-min-microvolt = <800000>;
0547                                 regulator-max-microvolt = <2375000>;
0548                         };
0549 
0550                         ldo23_reg: LDO23 {
0551                                 regulator-name = "PVDD_MIFS_1V1";
0552                                 regulator-min-microvolt = <800000>;
0553                                 regulator-max-microvolt = <1100000>;
0554                                 regulator-always-on;
0555 
0556                                 regulator-state-mem {
0557                                         regulator-on-in-suspend;
0558                                 };
0559                         };
0560 
0561                         ldo24_reg: LDO24 {
0562                                 regulator-name = "PVDD_CAM1_AVDD_2V8";
0563                                 regulator-min-microvolt = <2800000>;
0564                                 regulator-max-microvolt = <2800000>;
0565 
0566                                 regulator-state-mem {
0567                                         regulator-on-in-suspend;
0568                                 };
0569                         };
0570 
0571                         ldo25_reg: LDO25 {
0572                                 /* Unused */
0573                                 regulator-name = "PVDD_LDO25";
0574                                 regulator-min-microvolt = <800000>;
0575                                 regulator-max-microvolt = <3950000>;
0576                         };
0577 
0578                         ldo26_reg: LDO26 {
0579                                 regulator-name = "PVDD_CAM0_AF_2V8";
0580                                 regulator-min-microvolt = <3000000>;
0581                                 regulator-max-microvolt = <3000000>;
0582                         };
0583 
0584                         ldo27_reg: LDO27 {
0585                                 regulator-name = "PVDD_G3DS_1V0";
0586                                 regulator-min-microvolt = <800000>;
0587                                 regulator-max-microvolt = <1100000>;
0588                                 regulator-always-on;
0589 
0590                                 regulator-state-mem {
0591                                         regulator-on-in-suspend;
0592                                 };
0593                         };
0594 
0595                         ldo28_reg: LDO28 {
0596                                 regulator-name = "PVDD_TSP_3V3";
0597                                 regulator-min-microvolt = <3300000>;
0598                                 regulator-max-microvolt = <3300000>;
0599                         };
0600 
0601                         ldo29_reg: LDO29 {
0602                                 regulator-name = "PVDD_AUDIO_1V8";
0603                                 regulator-min-microvolt = <1800000>;
0604                                 regulator-max-microvolt = <1800000>;
0605                         };
0606 
0607                         ldo30_reg: LDO30 {
0608                                 /* Unused */
0609                                 regulator-name = "PVDD_LDO30";
0610                                 regulator-min-microvolt = <800000>;
0611                                 regulator-max-microvolt = <3950000>;
0612                         };
0613 
0614                         ldo31_reg: LDO31 {
0615                                 regulator-name = "PVDD_PERI_1V8";
0616                                 regulator-min-microvolt = <1800000>;
0617                                 regulator-max-microvolt = <1800000>;
0618                         };
0619 
0620                         ldo32_reg: LDO32 {
0621                                 regulator-name = "PVDD_LCD_1V8";
0622                                 regulator-min-microvolt = <1800000>;
0623                                 regulator-max-microvolt = <1800000>;
0624                         };
0625 
0626                         ldo33_reg: LDO33 {
0627                                 regulator-name = "PVDD_CAM0IO_1V8";
0628                                 regulator-min-microvolt = <1800000>;
0629                                 regulator-max-microvolt = <1800000>;
0630                         };
0631 
0632                         ldo34_reg: LDO34 {
0633                                 /* Unused */
0634                                 regulator-name = "PVDD_LDO34";
0635                                 regulator-min-microvolt = <800000>;
0636                                 regulator-max-microvolt = <3950000>;
0637                         };
0638 
0639                         ldo35_reg: LDO35 {
0640                                 regulator-name = "PVDD_CAM0_DVDD_1V2";
0641                                 regulator-min-microvolt = <1200000>;
0642                                 regulator-max-microvolt = <1200000>;
0643                         };
0644 
0645                         ldo36_reg: LDO36 {
0646                                 /* Unused */
0647                                 regulator-name = "PVDD_LDO36";
0648                                 regulator-min-microvolt = <800000>;
0649                                 regulator-max-microvolt = <3950000>;
0650                         };
0651 
0652                         ldo37_reg: LDO37 {
0653                                 /* Unused */
0654                                 regulator-name = "PVDD_LDO37";
0655                                 regulator-min-microvolt = <800000>;
0656                                 regulator-max-microvolt = <3950000>;
0657                         };
0658 
0659                         ldo38_reg: LDO38 {
0660                                 regulator-name = "PVDD_CAM0_AVDD_2V8";
0661                                 regulator-min-microvolt = <2800000>;
0662                                 regulator-max-microvolt = <2800000>;
0663                         };
0664 
0665                         buck1_reg: BUCK1 {
0666                                 regulator-name = "PVDD_MIF_1V1";
0667                                 regulator-min-microvolt = <800000>;
0668                                 regulator-max-microvolt = <1300000>;
0669                                 regulator-always-on;
0670 
0671                                 regulator-state-mem {
0672                                         regulator-off-in-suspend;
0673                                 };
0674                         };
0675 
0676                         buck2_reg: BUCK2 {
0677                                 regulator-name = "PVDD_ARM_1V0";
0678                                 regulator-min-microvolt = <800000>;
0679                                 regulator-max-microvolt = <1500000>;
0680                                 regulator-always-on;
0681 
0682                                 regulator-state-mem {
0683                                         regulator-off-in-suspend;
0684                                 };
0685                         };
0686 
0687                         buck3_reg: BUCK3 {
0688                                 regulator-name = "PVDD_INT_1V0";
0689                                 regulator-min-microvolt = <800000>;
0690                                 regulator-max-microvolt = <1400000>;
0691                                 regulator-always-on;
0692 
0693                                 regulator-state-mem {
0694                                         regulator-off-in-suspend;
0695                                 };
0696                         };
0697 
0698                         buck4_reg: BUCK4 {
0699                                 regulator-name = "PVDD_G3D_1V0";
0700                                 regulator-min-microvolt = <800000>;
0701                                 regulator-max-microvolt = <1400000>;
0702                                 regulator-always-on;
0703 
0704                                 regulator-state-mem {
0705                                         regulator-off-in-suspend;
0706                                 };
0707                         };
0708 
0709                         buck5_reg: BUCK5 {
0710                                 regulator-name = "PVDD_LPDDR3_1V2";
0711                                 regulator-min-microvolt = <800000>;
0712                                 regulator-max-microvolt = <1400000>;
0713                                 regulator-always-on;
0714                         };
0715 
0716                         buck6_reg: BUCK6 {
0717                                 regulator-name = "PVDD_KFC_1V0";
0718                                 regulator-min-microvolt = <800000>;
0719                                 regulator-max-microvolt = <1500000>;
0720                                 regulator-always-on;
0721 
0722                                 regulator-state-mem {
0723                                         regulator-off-in-suspend;
0724                                 };
0725                         };
0726 
0727                         buck7_reg: BUCK7 {
0728                                 regulator-name = "VIN_LLDO_1V4";
0729                                 regulator-min-microvolt = <1200000>;
0730                                 regulator-max-microvolt = <1500000>;
0731                                 regulator-always-on;
0732                         };
0733 
0734                         buck8_reg: BUCK8 {
0735                                 regulator-name = "VIN_MLDO_2V0";
0736                                 regulator-min-microvolt = <1800000>;
0737                                 regulator-max-microvolt = <2100000>;
0738                                 regulator-always-on;
0739                         };
0740 
0741                         buck9_reg: BUCK9 {
0742                                 regulator-name = "VIN_HLDO_3V5";
0743                                 regulator-min-microvolt = <3000000>;
0744                                 regulator-max-microvolt = <3500000>;
0745                                 regulator-always-on;
0746                         };
0747 
0748                         buck10_reg: BUCK10 {
0749                                 regulator-name = "PVDD_EMMCF_2V8";
0750                                 regulator-min-microvolt = <2800000>;
0751                                 regulator-max-microvolt = <2800000>;
0752                                 /*
0753                                  * Must stay in "off" mode during shutdown for
0754                                  * proper eMMC reset.  The "off" mode is in
0755                                  * fact controlled by BUCK10EN.  The eMMC does
0756                                  * not have reset pin connected so the reset
0757                                  * will be triggered by falling edge of
0758                                  * BUCK10EN.
0759                                  */
0760 
0761                                 regulator-state-mem {
0762                                         regulator-off-in-suspend;
0763                                 };
0764                         };
0765                 };
0766         };
0767 };
0768 
0769 &i2c_2 {
0770         status = "okay";
0771 };
0772 
0773 &mixer {
0774         status = "okay";
0775 };
0776 
0777 &mmc_0 {
0778         status = "okay";
0779         non-removable;
0780         card-detect-delay = <200>;
0781         samsung,dw-mshc-ciu-div = <3>;
0782         samsung,dw-mshc-sdr-timing = <0 4>;
0783         samsung,dw-mshc-ddr-timing = <0 2>;
0784         pinctrl-names = "default";
0785         pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus1 &sd0_bus4 &sd0_bus8>;
0786         vmmc-supply = <&ldo18_reg>;
0787         vqmmc-supply = <&ldo3_reg>;
0788         bus-width = <8>;
0789         cap-mmc-highspeed;
0790         mmc-hs200-1_8v;
0791 };
0792 
0793 &mmc_2 {
0794         status = "okay";
0795         card-detect-delay = <200>;
0796         samsung,dw-mshc-ciu-div = <3>;
0797         samsung,dw-mshc-sdr-timing = <0 4>;
0798         samsung,dw-mshc-ddr-timing = <0 2>;
0799         pinctrl-names = "default";
0800         pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus1 &sd2_bus4>;
0801         vmmc-supply = <&ldo19_reg>;
0802         vqmmc-supply = <&ldo13_reg>;
0803         bus-width = <4>;
0804         cap-sd-highspeed;
0805         sd-uhs-sdr50;
0806         sd-uhs-sdr104;
0807         sd-uhs-ddr50;
0808 };
0809 
0810 &pinctrl_0 {
0811         s2mps11_irq: s2mps11-irq-pins {
0812                 samsung,pins = "gpx3-2";
0813                 samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
0814                 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
0815                 samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
0816         };
0817 };
0818 
0819 &rtc {
0820         status = "okay";
0821         clocks = <&clock CLK_RTC>, <&s2mps11_osc S2MPS11_CLK_AP>;
0822         clock-names = "rtc", "rtc_src";
0823 };
0824 
0825 &usbdrd_dwc3_1 {
0826         dr_mode = "host";
0827 };
0828 
0829 &usbdrd3_0 {
0830         vdd10-supply = <&ldo11_reg>;
0831         vdd33-supply = <&ldo9_reg>;
0832 };
0833 
0834 &usbdrd3_1 {
0835         vdd10-supply = <&ldo11_reg>;
0836         vdd33-supply = <&ldo9_reg>;
0837 };