Linux Audio

Check our new training course

Loading...
v6.2
   1// SPDX-License-Identifier: GPL-2.0
   2/*
   3 * Hardkernel Odroid XU3/XU3-Lite/XU4/HC1 boards core device tree source
   4 *
   5 * Copyright (c) 2017 Marek Szyprowski
   6 * Copyright (c) 2013-2017 Samsung Electronics Co., Ltd.
   7 *		http://www.samsung.com
   8 */
   9
  10#include <dt-bindings/clock/samsung,s2mps11.h>
  11#include <dt-bindings/interrupt-controller/irq.h>
  12#include <dt-bindings/gpio/gpio.h>
  13#include "exynos5800.dtsi"
  14#include "exynos5422-cpus.dtsi"
  15
  16/ {
  17	memory@40000000 {
  18		device_type = "memory";
  19		reg = <0x40000000 0x7EA00000>;
  20	};
  21
  22	chosen {
  23		stdout-path = "serial2:115200n8";
  24	};
  25
  26	firmware@2073000 {
  27		compatible = "samsung,secure-firmware";
  28		reg = <0x02073000 0x1000>;
  29	};
  30
  31	fixed-rate-clocks {
  32		oscclk {
  33			compatible = "samsung,exynos5420-oscclk";
  34			clock-frequency = <24000000>;
  35		};
  36	};
  37
  38	bus_wcore_opp_table: opp-table2 {
  39		compatible = "operating-points-v2";
  40
  41		/* derived from 532MHz MPLL */
  42		opp00 {
  43			opp-hz = /bits/ 64 <88700000>;
  44			opp-microvolt = <925000 925000 1400000>;
  45		};
  46		opp01 {
  47			opp-hz = /bits/ 64 <133000000>;
  48			opp-microvolt = <950000 950000 1400000>;
  49		};
  50		opp02 {
  51			opp-hz = /bits/ 64 <177400000>;
  52			opp-microvolt = <950000 950000 1400000>;
  53		};
  54		opp03 {
  55			opp-hz = /bits/ 64 <266000000>;
  56			opp-microvolt = <950000 950000 1400000>;
  57		};
  58		opp04 {
  59			opp-hz = /bits/ 64 <532000000>;
  60			opp-microvolt = <1000000 1000000 1400000>;
  61		};
  62	};
  63
  64	bus_noc_opp_table: opp-table3 {
  65		compatible = "operating-points-v2";
  66
  67		/* derived from 666MHz CPLL */
  68		opp00 {
  69			opp-hz = /bits/ 64 <66600000>;
  70		};
  71		opp01 {
  72			opp-hz = /bits/ 64 <74000000>;
  73		};
  74		opp02 {
  75			opp-hz = /bits/ 64 <83250000>;
  76		};
  77		opp03 {
  78			opp-hz = /bits/ 64 <111000000>;
  79		};
  80	};
  81
  82	bus_fsys_apb_opp_table: opp-table4 {
  83		compatible = "operating-points-v2";
  84
  85		/* derived from 666MHz CPLL */
  86		opp00 {
  87			opp-hz = /bits/ 64 <111000000>;
  88		};
  89		opp01 {
  90			opp-hz = /bits/ 64 <222000000>;
  91		};
  92	};
  93
  94	bus_fsys2_opp_table: opp-table5 {
  95		compatible = "operating-points-v2";
  96
  97		/* derived from 600MHz DPLL */
  98		opp00 {
  99			opp-hz = /bits/ 64 <75000000>;
 100		};
 101		opp01 {
 102			opp-hz = /bits/ 64 <120000000>;
 103		};
 104		opp02 {
 105			opp-hz = /bits/ 64 <200000000>;
 106		};
 107	};
 108
 109	bus_mfc_opp_table: opp-table6 {
 110		compatible = "operating-points-v2";
 111
 112		/* derived from 666MHz CPLL */
 113		opp00 {
 114			opp-hz = /bits/ 64 <83250000>;
 115		};
 116		opp01 {
 117			opp-hz = /bits/ 64 <111000000>;
 118		};
 119		opp02 {
 120			opp-hz = /bits/ 64 <166500000>;
 121		};
 122		opp03 {
 123			opp-hz = /bits/ 64 <222000000>;
 124		};
 125		opp04 {
 126			opp-hz = /bits/ 64 <333000000>;
 127		};
 128	};
 129
 130	bus_gen_opp_table: opp-table7 {
 131		compatible = "operating-points-v2";
 132
 133		/* derived from 532MHz MPLL */
 134		opp00 {
 135			opp-hz = /bits/ 64 <88700000>;
 136		};
 137		opp01 {
 138			opp-hz = /bits/ 64 <133000000>;
 139		};
 140		opp02 {
 141			opp-hz = /bits/ 64 <178000000>;
 142		};
 143		opp03 {
 144			opp-hz = /bits/ 64 <266000000>;
 145		};
 146	};
 147
 148	bus_peri_opp_table: opp-table8 {
 149		compatible = "operating-points-v2";
 150
 151		/* derived from 666MHz CPLL */
 152		opp00 {
 153			opp-hz = /bits/ 64 <66600000>;
 154		};
 155	};
 156
 157	bus_g2d_opp_table: opp-table9 {
 158		compatible = "operating-points-v2";
 159
 160		/* derived from 666MHz CPLL */
 161		opp00 {
 162			opp-hz = /bits/ 64 <83250000>;
 163		};
 164		opp01 {
 165			opp-hz = /bits/ 64 <111000000>;
 166		};
 167		opp02 {
 168			opp-hz = /bits/ 64 <166500000>;
 169		};
 170		opp03 {
 171			opp-hz = /bits/ 64 <222000000>;
 172		};
 173		opp04 {
 174			opp-hz = /bits/ 64 <333000000>;
 175		};
 176	};
 177
 178	bus_g2d_acp_opp_table: opp-table10 {
 179		compatible = "operating-points-v2";
 180
 181		/* derived from 532MHz MPLL */
 182		opp00 {
 183			opp-hz = /bits/ 64 <66500000>;
 184		};
 185		opp01 {
 186			opp-hz = /bits/ 64 <133000000>;
 187		};
 188		opp02 {
 189			opp-hz = /bits/ 64 <178000000>;
 190		};
 191		opp03 {
 192			opp-hz = /bits/ 64 <266000000>;
 193		};
 194	};
 195
 196	bus_jpeg_opp_table: opp-table11 {
 197		compatible = "operating-points-v2";
 198
 199		/* derived from 600MHz DPLL */
 200		opp00 {
 201			opp-hz = /bits/ 64 <75000000>;
 202		};
 203		opp01 {
 204			opp-hz = /bits/ 64 <150000000>;
 205		};
 206		opp02 {
 207			opp-hz = /bits/ 64 <200000000>;
 208		};
 209		opp03 {
 210			opp-hz = /bits/ 64 <300000000>;
 211		};
 212	};
 213
 214	bus_jpeg_apb_opp_table: opp-table12 {
 215		compatible = "operating-points-v2";
 216
 217		/* derived from 666MHz CPLL */
 218		opp00 {
 219			opp-hz = /bits/ 64 <83250000>;
 220		};
 221		opp01 {
 222			opp-hz = /bits/ 64 <111000000>;
 223		};
 224		opp02 {
 225			opp-hz = /bits/ 64 <133000000>;
 226		};
 227		opp03 {
 228			opp-hz = /bits/ 64 <166500000>;
 229		};
 230	};
 231
 232	bus_disp1_fimd_opp_table: opp-table13 {
 233		compatible = "operating-points-v2";
 234
 235		/* derived from 600MHz DPLL */
 236		opp00 {
 237			opp-hz = /bits/ 64 <120000000>;
 238		};
 239		opp01 {
 240			opp-hz = /bits/ 64 <200000000>;
 241		};
 242	};
 243
 244	bus_disp1_opp_table: opp-table14 {
 245		compatible = "operating-points-v2";
 246
 247		/* derived from 600MHz DPLL */
 248		opp00 {
 249			opp-hz = /bits/ 64 <120000000>;
 250		};
 251		opp01 {
 252			opp-hz = /bits/ 64 <200000000>;
 253		};
 254		opp02 {
 255			opp-hz = /bits/ 64 <300000000>;
 256		};
 257	};
 258
 259	bus_gscl_opp_table: opp-table15 {
 260		compatible = "operating-points-v2";
 261
 262		/* derived from 600MHz DPLL */
 263		opp00 {
 264			opp-hz = /bits/ 64 <150000000>;
 265		};
 266		opp01 {
 267			opp-hz = /bits/ 64 <200000000>;
 268		};
 269		opp02 {
 270			opp-hz = /bits/ 64 <300000000>;
 271		};
 272	};
 273
 274	bus_mscl_opp_table: opp-table16 {
 275		compatible = "operating-points-v2";
 276
 277		/* derived from 666MHz CPLL */
 278		opp00 {
 279			opp-hz = /bits/ 64 <84000000>;
 280		};
 281		opp01 {
 282			opp-hz = /bits/ 64 <167000000>;
 283		};
 284		opp02 {
 285			opp-hz = /bits/ 64 <222000000>;
 286		};
 287		opp03 {
 288			opp-hz = /bits/ 64 <333000000>;
 289		};
 290		opp04 {
 291			opp-hz = /bits/ 64 <666000000>;
 292		};
 293	};
 294
 295	dmc_opp_table: opp-table17 {
 296		compatible = "operating-points-v2";
 297
 298		opp00 {
 299			opp-hz = /bits/ 64 <165000000>;
 300			opp-microvolt = <875000>;
 301		};
 302		opp01 {
 303			opp-hz = /bits/ 64 <206000000>;
 304			opp-microvolt = <875000>;
 305		};
 306		opp02 {
 307			opp-hz = /bits/ 64 <275000000>;
 308			opp-microvolt = <875000>;
 309		};
 310		opp03 {
 311			opp-hz = /bits/ 64 <413000000>;
 312			opp-microvolt = <887500>;
 313		};
 314		opp04 {
 315			opp-hz = /bits/ 64 <543000000>;
 316			opp-microvolt = <937500>;
 317		};
 318		opp05 {
 319			opp-hz = /bits/ 64 <633000000>;
 320			opp-microvolt = <1012500>;
 321		};
 322		opp06 {
 323			opp-hz = /bits/ 64 <728000000>;
 324			opp-microvolt = <1037500>;
 325		};
 326		opp07 {
 327			opp-hz = /bits/ 64 <825000000>;
 328			opp-microvolt = <1050000>;
 329		};
 330	};
 331
 332	samsung_K3QF2F20DB: lpddr3 {
 333		compatible	= "samsung,K3QF2F20DB", "jedec,lpddr3";
 334		density		= <16384>;
 335		io-width	= <32>;
 336
 337		tRFC-min-tck		= <17>;
 338		tRRD-min-tck		= <2>;
 339		tRPab-min-tck		= <2>;
 340		tRPpb-min-tck		= <2>;
 341		tRCD-min-tck		= <3>;
 342		tRC-min-tck		= <6>;
 343		tRAS-min-tck		= <5>;
 344		tWTR-min-tck		= <2>;
 345		tWR-min-tck		= <7>;
 346		tRTP-min-tck		= <2>;
 347		tW2W-C2C-min-tck	= <0>;
 348		tR2R-C2C-min-tck	= <0>;
 349		tWL-min-tck		= <8>;
 350		tDQSCK-min-tck		= <5>;
 351		tRL-min-tck		= <14>;
 352		tFAW-min-tck		= <5>;
 353		tXSR-min-tck		= <12>;
 354		tXP-min-tck		= <2>;
 355		tCKE-min-tck		= <2>;
 356		tCKESR-min-tck		= <2>;
 357		tMRD-min-tck		= <5>;
 358
 359		timings_samsung_K3QF2F20DB_800mhz: timings {
 360			compatible	= "jedec,lpddr3-timings";
 361			max-freq	= <800000000>;
 362			min-freq	= <100000000>;
 363			tRFC		= <65000>;
 364			tRRD		= <6000>;
 365			tRPab		= <12000>;
 366			tRPpb		= <12000>;
 367			tRCD		= <10000>;
 368			tRC		= <33750>;
 369			tRAS		= <23000>;
 370			tWTR		= <3750>;
 371			tWR		= <7500>;
 372			tRTP		= <3750>;
 373			tW2W-C2C	= <0>;
 374			tR2R-C2C	= <0>;
 375			tFAW		= <25000>;
 376			tXSR		= <70000>;
 377			tXP		= <3750>;
 378			tCKE		= <3750>;
 379			tCKESR		= <3750>;
 380			tMRD		= <7000>;
 381		};
 382	};
 383};
 384
 385&adc {
 386	vdd-supply = <&ldo4_reg>;
 387	status = "okay";
 388};
 389
 390&bus_wcore {
 391	operating-points-v2 = <&bus_wcore_opp_table>;
 392	devfreq-events = <&nocp_mem0_0>, <&nocp_mem0_1>,
 393			<&nocp_mem1_0>, <&nocp_mem1_1>;
 394	vdd-supply = <&buck3_reg>;
 395	exynos,saturation-ratio = <100>;
 396	status = "okay";
 397};
 398
 399&bus_noc {
 400	operating-points-v2 = <&bus_noc_opp_table>;
 401	devfreq = <&bus_wcore>;
 402	status = "okay";
 403};
 404
 405&bus_fsys_apb {
 406	operating-points-v2 = <&bus_fsys_apb_opp_table>;
 
 
 
 
 407	devfreq = <&bus_wcore>;
 408	status = "okay";
 409};
 410
 411&bus_fsys2 {
 412	operating-points-v2 = <&bus_fsys2_opp_table>;
 413	devfreq = <&bus_wcore>;
 414	status = "okay";
 415};
 416
 417&bus_mfc {
 418	operating-points-v2 = <&bus_mfc_opp_table>;
 419	devfreq = <&bus_wcore>;
 420	status = "okay";
 421};
 422
 423&bus_gen {
 424	operating-points-v2 = <&bus_gen_opp_table>;
 425	devfreq = <&bus_wcore>;
 426	status = "okay";
 427};
 428
 429&bus_peri {
 430	operating-points-v2 = <&bus_peri_opp_table>;
 431	devfreq = <&bus_wcore>;
 432	status = "okay";
 433};
 434
 435&bus_g2d {
 436	operating-points-v2 = <&bus_g2d_opp_table>;
 437	devfreq = <&bus_wcore>;
 438	status = "okay";
 439};
 440
 441&bus_g2d_acp {
 442	operating-points-v2 = <&bus_g2d_acp_opp_table>;
 443	devfreq = <&bus_wcore>;
 444	status = "okay";
 445};
 446
 447&bus_jpeg {
 448	operating-points-v2 = <&bus_jpeg_opp_table>;
 449	devfreq = <&bus_wcore>;
 450	status = "okay";
 451};
 452
 453&bus_jpeg_apb {
 454	operating-points-v2 = <&bus_jpeg_apb_opp_table>;
 455	devfreq = <&bus_wcore>;
 456	status = "okay";
 457};
 458
 459&bus_disp1_fimd {
 460	operating-points-v2 = <&bus_disp1_fimd_opp_table>;
 461	devfreq = <&bus_wcore>;
 462	status = "okay";
 463};
 464
 465&bus_disp1 {
 466	operating-points-v2 = <&bus_disp1_opp_table>;
 467	devfreq = <&bus_wcore>;
 468	status = "okay";
 469};
 470
 471&bus_gscl_scaler {
 472	operating-points-v2 = <&bus_gscl_opp_table>;
 473	devfreq = <&bus_wcore>;
 474	status = "okay";
 475};
 476
 477&bus_mscl {
 478	operating-points-v2 = <&bus_mscl_opp_table>;
 479	devfreq = <&bus_wcore>;
 480	status = "okay";
 481};
 482
 483&cpu0 {
 484	cpu-supply = <&buck6_reg>;
 485};
 486
 487&cpu4 {
 488	cpu-supply = <&buck2_reg>;
 489};
 490
 491&dmc {
 492	devfreq-events = <&ppmu_event3_dmc0_0>,	<&ppmu_event3_dmc0_1>,
 493			<&ppmu_event3_dmc1_0>, <&ppmu_event3_dmc1_1>;
 494	device-handle = <&samsung_K3QF2F20DB>;
 495	operating-points-v2 = <&dmc_opp_table>;
 496	vdd-supply = <&buck1_reg>;
 497	status = "okay";
 498};
 499
 500&hsi2c_4 {
 501	status = "okay";
 502
 503	pmic@66 {
 504		compatible = "samsung,s2mps11-pmic";
 505		reg = <0x66>;
 506		samsung,s2mps11-acokb-ground;
 507
 508		interrupt-parent = <&gpx0>;
 509		interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
 510		pinctrl-names = "default";
 511		pinctrl-0 = <&s2mps11_irq>;
 512		wakeup-source;
 513
 514		s2mps11_osc: clocks {
 515			compatible = "samsung,s2mps11-clk";
 516			#clock-cells = <1>;
 517			clock-output-names = "s2mps11_ap",
 518					"s2mps11_cp", "s2mps11_bt";
 519		};
 520
 521		regulators {
 522			ldo1_reg: LDO1 {
 523				regulator-name = "vdd_ldo1";
 524				regulator-min-microvolt = <1000000>;
 525				regulator-max-microvolt = <1000000>;
 526				regulator-always-on;
 527			};
 528
 529			ldo2_reg: LDO2 {
 530				regulator-name = "vdd_ldo2";
 531				regulator-min-microvolt = <1800000>;
 532				regulator-max-microvolt = <1800000>;
 533				regulator-always-on;
 534			};
 535
 536			ldo3_reg: LDO3 {
 537				regulator-name = "vddq_mmc0";
 538				regulator-min-microvolt = <1800000>;
 539				regulator-max-microvolt = <1800000>;
 540			};
 541
 542			ldo4_reg: LDO4 {
 543				regulator-name = "vdd_adc";
 544				regulator-min-microvolt = <1800000>;
 545				regulator-max-microvolt = <1800000>;
 546
 547				regulator-state-mem {
 548					regulator-off-in-suspend;
 549				};
 550			};
 551
 552			ldo5_reg: LDO5 {
 553				regulator-name = "vdd_ldo5";
 554				regulator-min-microvolt = <1800000>;
 555				regulator-max-microvolt = <1800000>;
 556				regulator-always-on;
 557
 558				regulator-state-mem {
 559					regulator-off-in-suspend;
 560				};
 561			};
 562
 563			ldo6_reg: LDO6 {
 564				regulator-name = "vdd_ldo6";
 565				regulator-min-microvolt = <1000000>;
 566				regulator-max-microvolt = <1000000>;
 567				regulator-always-on;
 568
 569				regulator-state-mem {
 570					regulator-off-in-suspend;
 571				};
 572			};
 573
 574			ldo7_reg: LDO7 {
 575				regulator-name = "vdd_ldo7";
 576				regulator-min-microvolt = <1800000>;
 577				regulator-max-microvolt = <1800000>;
 578				regulator-always-on;
 579
 580				regulator-state-mem {
 581					regulator-off-in-suspend;
 582				};
 583			};
 584
 585			ldo8_reg: LDO8 {
 586				regulator-name = "vdd_ldo8";
 587				regulator-min-microvolt = <1800000>;
 588				regulator-max-microvolt = <1800000>;
 589				regulator-always-on;
 590
 591				regulator-state-mem {
 592					regulator-off-in-suspend;
 593				};
 594			};
 595
 596			ldo9_reg: LDO9 {
 597				regulator-name = "vdd_ldo9";
 598				regulator-min-microvolt = <3000000>;
 599				regulator-max-microvolt = <3000000>;
 600				regulator-always-on;
 601
 602				regulator-state-mem {
 603					regulator-off-in-suspend;
 604				};
 605			};
 606
 607			ldo10_reg: LDO10 {
 608				regulator-name = "vdd_ldo10";
 609				regulator-min-microvolt = <1800000>;
 610				regulator-max-microvolt = <1800000>;
 611				regulator-always-on;
 612
 613				regulator-state-mem {
 614					regulator-off-in-suspend;
 615				};
 616			};
 617
 618			ldo11_reg: LDO11 {
 619				regulator-name = "vdd_ldo11";
 620				regulator-min-microvolt = <1000000>;
 621				regulator-max-microvolt = <1000000>;
 622				regulator-always-on;
 623
 624				regulator-state-mem {
 625					regulator-off-in-suspend;
 626				};
 627			};
 628
 629			ldo12_reg: LDO12 {
 630				/* Unused */
 631				regulator-name = "vdd_ldo12";
 632				regulator-min-microvolt = <800000>;
 633				regulator-max-microvolt = <2375000>;
 634			};
 635
 636			ldo13_reg: LDO13 {
 637				regulator-name = "vddq_mmc2";
 638				regulator-min-microvolt = <1800000>;
 639				regulator-max-microvolt = <2800000>;
 640
 641				regulator-state-mem {
 642					regulator-off-in-suspend;
 643				};
 644			};
 645
 646			ldo14_reg: LDO14 {
 647				/* Unused */
 648				regulator-name = "vdd_ldo14";
 649				regulator-min-microvolt = <800000>;
 650				regulator-max-microvolt = <3950000>;
 651			};
 652
 653			ldo15_reg: LDO15 {
 654				regulator-name = "vdd_ldo15";
 655				regulator-min-microvolt = <3300000>;
 656				regulator-max-microvolt = <3300000>;
 657				regulator-always-on;
 658
 659				regulator-state-mem {
 660					regulator-off-in-suspend;
 661				};
 662			};
 663
 664			ldo16_reg: LDO16 {
 665				/* Unused */
 666				regulator-name = "vdd_ldo16";
 667				regulator-min-microvolt = <800000>;
 668				regulator-max-microvolt = <3950000>;
 669			};
 670
 671			ldo17_reg: LDO17 {
 672				regulator-name = "vdd_ldo17";
 673				regulator-min-microvolt = <3300000>;
 674				regulator-max-microvolt = <3300000>;
 675				regulator-always-on;
 676
 677				regulator-state-mem {
 678					regulator-off-in-suspend;
 679				};
 680			};
 681
 682			ldo18_reg: LDO18 {
 683				regulator-name = "vdd_emmc_1V8";
 684				regulator-min-microvolt = <1800000>;
 685				regulator-max-microvolt = <1800000>;
 686
 687				regulator-state-mem {
 688					regulator-off-in-suspend;
 689				};
 690			};
 691
 692			ldo19_reg: LDO19 {
 693				regulator-name = "vdd_sd";
 694				regulator-min-microvolt = <2800000>;
 695				regulator-max-microvolt = <2800000>;
 696
 697				regulator-state-mem {
 698					regulator-off-in-suspend;
 699				};
 700			};
 701
 702			ldo20_reg: LDO20 {
 703				/* Unused */
 704				regulator-name = "vdd_ldo20";
 705				regulator-min-microvolt = <800000>;
 706				regulator-max-microvolt = <3950000>;
 707			};
 708
 709			ldo21_reg: LDO21 {
 710				/* Unused */
 711				regulator-name = "vdd_ldo21";
 712				regulator-min-microvolt = <800000>;
 713				regulator-max-microvolt = <3950000>;
 714			};
 715
 716			ldo22_reg: LDO22 {
 717				/* Unused */
 718				regulator-name = "vdd_ldo22";
 719				regulator-min-microvolt = <800000>;
 720				regulator-max-microvolt = <2375000>;
 721			};
 722
 723			ldo23_reg: LDO23 {
 724				regulator-name = "vdd_mifs";
 725				regulator-min-microvolt = <1100000>;
 726				regulator-max-microvolt = <1100000>;
 727				regulator-always-on;
 728
 729				regulator-state-mem {
 730					regulator-off-in-suspend;
 731				};
 732			};
 733
 734			ldo24_reg: LDO24 {
 735				/* Unused */
 736				regulator-name = "vdd_ldo24";
 737				regulator-min-microvolt = <800000>;
 738				regulator-max-microvolt = <3950000>;
 739			};
 740
 741			ldo25_reg: LDO25 {
 742				/* Unused */
 743				regulator-name = "vdd_ldo25";
 744				regulator-min-microvolt = <800000>;
 745				regulator-max-microvolt = <3950000>;
 746			};
 747
 748			ldo26_reg: LDO26 {
 749				/* Used on XU3, XU3-Lite and XU4 */
 750				regulator-name = "vdd_ldo26";
 751				regulator-min-microvolt = <800000>;
 752				regulator-max-microvolt = <3950000>;
 753
 754				regulator-state-mem {
 755					regulator-off-in-suspend;
 756				};
 757			};
 758
 759			ldo27_reg: LDO27 {
 760				regulator-name = "vdd_g3ds";
 761				regulator-min-microvolt = <1000000>;
 762				regulator-max-microvolt = <1000000>;
 763				regulator-always-on;
 764
 765				regulator-state-mem {
 766					regulator-off-in-suspend;
 767				};
 768			};
 769
 770			ldo28_reg: LDO28 {
 771				/* Used on XU3 */
 772				regulator-name = "vdd_ldo28";
 773				regulator-min-microvolt = <800000>;
 774				regulator-max-microvolt = <3950000>;
 775
 776				regulator-state-mem {
 777					regulator-off-in-suspend;
 778				};
 779			};
 780
 781			ldo29_reg: LDO29 {
 782				/* Unused */
 783				regulator-name = "vdd_ldo29";
 784				regulator-min-microvolt = <800000>;
 785				regulator-max-microvolt = <3950000>;
 786			};
 787
 788			ldo30_reg: LDO30 {
 789				/* Unused */
 790				regulator-name = "vdd_ldo30";
 791				regulator-min-microvolt = <800000>;
 792				regulator-max-microvolt = <3950000>;
 793			};
 794
 795			ldo31_reg: LDO31 {
 796				/* Unused */
 797				regulator-name = "vdd_ldo31";
 798				regulator-min-microvolt = <800000>;
 799				regulator-max-microvolt = <3950000>;
 800			};
 801
 802			ldo32_reg: LDO32 {
 803				/* Unused */
 804				regulator-name = "vdd_ldo32";
 805				regulator-min-microvolt = <800000>;
 806				regulator-max-microvolt = <3950000>;
 807			};
 808
 809			ldo33_reg: LDO33 {
 810				/* Unused */
 811				regulator-name = "vdd_ldo33";
 812				regulator-min-microvolt = <800000>;
 813				regulator-max-microvolt = <3950000>;
 814			};
 815
 816			ldo34_reg: LDO34 {
 817				/* Unused */
 818				regulator-name = "vdd_ldo34";
 819				regulator-min-microvolt = <800000>;
 820				regulator-max-microvolt = <3950000>;
 821			};
 822
 823			ldo35_reg: LDO35 {
 824				/* Unused */
 825				regulator-name = "vdd_ldo35";
 826				regulator-min-microvolt = <800000>;
 827				regulator-max-microvolt = <2375000>;
 828			};
 829
 830			ldo36_reg: LDO36 {
 831				/* Unused */
 832				regulator-name = "vdd_ldo36";
 833				regulator-min-microvolt = <800000>;
 834				regulator-max-microvolt = <3950000>;
 835			};
 836
 837			ldo37_reg: LDO37 {
 838				/* Unused */
 839				regulator-name = "vdd_ldo37";
 840				regulator-min-microvolt = <800000>;
 841				regulator-max-microvolt = <3950000>;
 842			};
 843
 844			ldo38_reg: LDO38 {
 845				/* Unused */
 846				regulator-name = "vdd_ldo38";
 847				regulator-min-microvolt = <800000>;
 848				regulator-max-microvolt = <3950000>;
 849			};
 850
 851			buck1_reg: BUCK1 {
 852				regulator-name = "vdd_mif";
 853				regulator-min-microvolt = <800000>;
 854				regulator-max-microvolt = <1300000>;
 855				regulator-always-on;
 856				regulator-boot-on;
 857
 858				regulator-state-mem {
 859					regulator-off-in-suspend;
 860				};
 861			};
 862
 863			buck2_reg: BUCK2 {
 864				regulator-name = "vdd_arm";
 865				regulator-min-microvolt = <800000>;
 866				regulator-max-microvolt = <1500000>;
 867				regulator-always-on;
 868				regulator-boot-on;
 869				regulator-coupled-with = <&buck3_reg>;
 870				regulator-coupled-max-spread = <300000>;
 871
 872				regulator-state-mem {
 873					regulator-off-in-suspend;
 874				};
 875			};
 876
 877			buck3_reg: BUCK3 {
 878				regulator-name = "vdd_int";
 879				regulator-min-microvolt = <800000>;
 880				regulator-max-microvolt = <1400000>;
 881				regulator-always-on;
 882				regulator-boot-on;
 883				regulator-coupled-with = <&buck2_reg>;
 884				regulator-coupled-max-spread = <300000>;
 885
 886				regulator-state-mem {
 887					regulator-off-in-suspend;
 888				};
 889			};
 890
 891			buck4_reg: BUCK4 {
 892				regulator-name = "vdd_g3d";
 893				regulator-min-microvolt = <800000>;
 894				regulator-max-microvolt = <1400000>;
 895				regulator-boot-on;
 896				regulator-always-on;
 
 897
 898				regulator-state-mem {
 899					regulator-off-in-suspend;
 900				};
 901			};
 902
 903			buck5_reg: BUCK5 {
 904				regulator-name = "vdd_mem";
 905				regulator-min-microvolt = <800000>;
 906				regulator-max-microvolt = <1400000>;
 907				regulator-always-on;
 908				regulator-boot-on;
 909			};
 910
 911			buck6_reg: BUCK6 {
 912				regulator-name = "vdd_kfc";
 913				regulator-min-microvolt = <800000>;
 914				regulator-max-microvolt = <1500000>;
 915				regulator-always-on;
 916				regulator-boot-on;
 917
 918				regulator-state-mem {
 919					regulator-off-in-suspend;
 920				};
 921			};
 922
 923			buck7_reg: BUCK7 {
 924				regulator-name = "vdd_1.35v_ldo";
 925				regulator-min-microvolt = <1200000>;
 926				regulator-max-microvolt = <1500000>;
 927				regulator-always-on;
 928				regulator-boot-on;
 929			};
 930
 931			buck8_reg: BUCK8 {
 932				regulator-name = "vdd_2.0v_ldo";
 933				regulator-min-microvolt = <1800000>;
 934				regulator-max-microvolt = <2100000>;
 935				regulator-always-on;
 936				regulator-boot-on;
 937			};
 938
 939			buck9_reg: BUCK9 {
 940				regulator-name = "vdd_2.8v_ldo";
 941				regulator-min-microvolt = <3000000>;
 942				regulator-max-microvolt = <3750000>;
 943				regulator-always-on;
 944				regulator-boot-on;
 945
 946				regulator-state-mem {
 947					regulator-off-in-suspend;
 948				};
 949			};
 950
 951			buck10_reg: BUCK10 {
 952				regulator-name = "vdd_vmem";
 953				regulator-min-microvolt = <2850000>;
 954				regulator-max-microvolt = <2850000>;
 955
 956				regulator-state-mem {
 957					regulator-off-in-suspend;
 958				};
 959			};
 960		};
 961	};
 962};
 963
 964&mmc_2 {
 965	status = "okay";
 966	card-detect-delay = <200>;
 967	samsung,dw-mshc-ciu-div = <3>;
 968	samsung,dw-mshc-sdr-timing = <0 4>;
 969	samsung,dw-mshc-ddr-timing = <0 2>;
 970	pinctrl-names = "default";
 971	pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_wp &sd2_bus1 &sd2_bus4>;
 972	bus-width = <4>;
 973	cap-sd-highspeed;
 974	max-frequency = <200000000>;
 975	vmmc-supply = <&ldo19_reg>;
 976	vqmmc-supply = <&ldo13_reg>;
 977	sd-uhs-sdr50;
 978	sd-uhs-sdr104;
 979	sd-uhs-ddr50;
 980};
 981
 982&nocp_mem0_0 {
 983	status = "okay";
 984};
 985
 986&nocp_mem0_1 {
 987	status = "okay";
 988};
 989
 990&nocp_mem1_0 {
 991	status = "okay";
 992};
 993
 994&nocp_mem1_1 {
 995	status = "okay";
 996};
 997
 998&pinctrl_0 {
 999	s2mps11_irq: s2mps11-irq-pins {
1000		samsung,pins = "gpx0-4";
1001		samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
1002		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
1003		samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
1004	};
1005};
1006
1007&ppmu_dmc0_0 {
1008	status = "okay";
1009};
1010
1011&ppmu_dmc0_1 {
1012	status = "okay";
1013};
1014
1015&ppmu_dmc1_0 {
1016	status = "okay";
1017};
1018
1019&ppmu_dmc1_1 {
1020	status = "okay";
1021};
1022
1023&tmu_cpu0 {
1024	vtmu-supply = <&ldo7_reg>;
1025};
1026
1027&tmu_cpu1 {
1028	vtmu-supply = <&ldo7_reg>;
1029};
1030
1031&tmu_cpu2 {
1032	vtmu-supply = <&ldo7_reg>;
1033};
1034
1035&tmu_cpu3 {
1036	vtmu-supply = <&ldo7_reg>;
1037};
1038
1039&tmu_gpu {
1040	vtmu-supply = <&ldo7_reg>;
1041};
1042
1043&gpu {
1044	mali-supply = <&buck4_reg>;
1045	status = "okay";
1046};
1047
1048&rtc {
1049	status = "okay";
1050	clocks = <&clock CLK_RTC>, <&s2mps11_osc S2MPS11_CLK_AP>;
1051	clock-names = "rtc", "rtc_src";
1052};
1053
1054&usbdrd_dwc3_0 {
1055	dr_mode = "host";
1056};
1057
1058/* usbdrd_dwc3_1 mode customized in each board */
1059
1060&usbdrd3_0 {
1061	vdd33-supply = <&ldo9_reg>;
1062	vdd10-supply = <&ldo11_reg>;
1063};
1064
1065&usbdrd3_1 {
1066	vdd33-supply = <&ldo9_reg>;
1067	vdd10-supply = <&ldo11_reg>;
1068};
v5.4
  1// SPDX-License-Identifier: GPL-2.0
  2/*
  3 * Hardkernel Odroid XU3/XU3-Lite/XU4/HC1 boards core device tree source
  4 *
  5 * Copyright (c) 2017 Marek Szyprowski
  6 * Copyright (c) 2013-2017 Samsung Electronics Co., Ltd.
  7 *		http://www.samsung.com
  8 */
  9
 10#include <dt-bindings/clock/samsung,s2mps11.h>
 11#include <dt-bindings/interrupt-controller/irq.h>
 12#include <dt-bindings/gpio/gpio.h>
 13#include "exynos5800.dtsi"
 14#include "exynos5422-cpus.dtsi"
 15
 16/ {
 17	memory@40000000 {
 18		device_type = "memory";
 19		reg = <0x40000000 0x7EA00000>;
 20	};
 21
 22	chosen {
 23		stdout-path = "serial2:115200n8";
 24	};
 25
 26	firmware@2073000 {
 27		compatible = "samsung,secure-firmware";
 28		reg = <0x02073000 0x1000>;
 29	};
 30
 31	fixed-rate-clocks {
 32		oscclk {
 33			compatible = "samsung,exynos5420-oscclk";
 34			clock-frequency = <24000000>;
 35		};
 36	};
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 37};
 38
 39&adc {
 40	vdd-supply = <&ldo4_reg>;
 41	status = "okay";
 42};
 43
 44&bus_wcore {
 
 45	devfreq-events = <&nocp_mem0_0>, <&nocp_mem0_1>,
 46			<&nocp_mem1_0>, <&nocp_mem1_1>;
 47	vdd-supply = <&buck3_reg>;
 48	exynos,saturation-ratio = <100>;
 49	status = "okay";
 50};
 51
 52&bus_noc {
 
 53	devfreq = <&bus_wcore>;
 54	status = "okay";
 55};
 56
 57&bus_fsys_apb {
 58	devfreq = <&bus_wcore>;
 59	status = "okay";
 60};
 61
 62&bus_fsys {
 63	devfreq = <&bus_wcore>;
 64	status = "okay";
 65};
 66
 67&bus_fsys2 {
 
 68	devfreq = <&bus_wcore>;
 69	status = "okay";
 70};
 71
 72&bus_mfc {
 
 73	devfreq = <&bus_wcore>;
 74	status = "okay";
 75};
 76
 77&bus_gen {
 
 78	devfreq = <&bus_wcore>;
 79	status = "okay";
 80};
 81
 82&bus_peri {
 
 83	devfreq = <&bus_wcore>;
 84	status = "okay";
 85};
 86
 87&bus_g2d {
 
 88	devfreq = <&bus_wcore>;
 89	status = "okay";
 90};
 91
 92&bus_g2d_acp {
 
 93	devfreq = <&bus_wcore>;
 94	status = "okay";
 95};
 96
 97&bus_jpeg {
 
 98	devfreq = <&bus_wcore>;
 99	status = "okay";
100};
101
102&bus_jpeg_apb {
 
103	devfreq = <&bus_wcore>;
104	status = "okay";
105};
106
107&bus_disp1_fimd {
 
108	devfreq = <&bus_wcore>;
109	status = "okay";
110};
111
112&bus_disp1 {
 
113	devfreq = <&bus_wcore>;
114	status = "okay";
115};
116
117&bus_gscl_scaler {
 
118	devfreq = <&bus_wcore>;
119	status = "okay";
120};
121
122&bus_mscl {
 
123	devfreq = <&bus_wcore>;
124	status = "okay";
125};
126
127&cpu0 {
128	cpu-supply = <&buck6_reg>;
129};
130
131&cpu4 {
132	cpu-supply = <&buck2_reg>;
133};
134
 
 
 
 
 
 
 
 
 
135&hsi2c_4 {
136	status = "okay";
137
138	s2mps11_pmic@66 {
139		compatible = "samsung,s2mps11-pmic";
140		reg = <0x66>;
141		samsung,s2mps11-acokb-ground;
142
143		interrupt-parent = <&gpx0>;
144		interrupts = <4 IRQ_TYPE_EDGE_FALLING>;
145		pinctrl-names = "default";
146		pinctrl-0 = <&s2mps11_irq>;
 
147
148		s2mps11_osc: clocks {
149			compatible = "samsung,s2mps11-clk";
150			#clock-cells = <1>;
151			clock-output-names = "s2mps11_ap",
152					"s2mps11_cp", "s2mps11_bt";
153		};
154
155		regulators {
156			ldo1_reg: LDO1 {
157				regulator-name = "vdd_ldo1";
158				regulator-min-microvolt = <1000000>;
159				regulator-max-microvolt = <1000000>;
160				regulator-always-on;
161			};
162
163			ldo2_reg: LDO2 {
164				regulator-name = "vdd_ldo2";
165				regulator-min-microvolt = <1800000>;
166				regulator-max-microvolt = <1800000>;
167				regulator-always-on;
168			};
169
170			ldo3_reg: LDO3 {
171				regulator-name = "vddq_mmc0";
172				regulator-min-microvolt = <1800000>;
173				regulator-max-microvolt = <1800000>;
174			};
175
176			ldo4_reg: LDO4 {
177				regulator-name = "vdd_adc";
178				regulator-min-microvolt = <1800000>;
179				regulator-max-microvolt = <1800000>;
180
181				regulator-state-mem {
182					regulator-off-in-suspend;
183				};
184			};
185
186			ldo5_reg: LDO5 {
187				regulator-name = "vdd_ldo5";
188				regulator-min-microvolt = <1800000>;
189				regulator-max-microvolt = <1800000>;
190				regulator-always-on;
191
192				regulator-state-mem {
193					regulator-off-in-suspend;
194				};
195			};
196
197			ldo6_reg: LDO6 {
198				regulator-name = "vdd_ldo6";
199				regulator-min-microvolt = <1000000>;
200				regulator-max-microvolt = <1000000>;
201				regulator-always-on;
202
203				regulator-state-mem {
204					regulator-off-in-suspend;
205				};
206			};
207
208			ldo7_reg: LDO7 {
209				regulator-name = "vdd_ldo7";
210				regulator-min-microvolt = <1800000>;
211				regulator-max-microvolt = <1800000>;
212				regulator-always-on;
213
214				regulator-state-mem {
215					regulator-off-in-suspend;
216				};
217			};
218
219			ldo8_reg: LDO8 {
220				regulator-name = "vdd_ldo8";
221				regulator-min-microvolt = <1800000>;
222				regulator-max-microvolt = <1800000>;
223				regulator-always-on;
224
225				regulator-state-mem {
226					regulator-off-in-suspend;
227				};
228			};
229
230			ldo9_reg: LDO9 {
231				regulator-name = "vdd_ldo9";
232				regulator-min-microvolt = <3000000>;
233				regulator-max-microvolt = <3000000>;
234				regulator-always-on;
235
236				regulator-state-mem {
237					regulator-off-in-suspend;
238				};
239			};
240
241			ldo10_reg: LDO10 {
242				regulator-name = "vdd_ldo10";
243				regulator-min-microvolt = <1800000>;
244				regulator-max-microvolt = <1800000>;
245				regulator-always-on;
246
247				regulator-state-mem {
248					regulator-off-in-suspend;
249				};
250			};
251
252			ldo11_reg: LDO11 {
253				regulator-name = "vdd_ldo11";
254				regulator-min-microvolt = <1000000>;
255				regulator-max-microvolt = <1000000>;
256				regulator-always-on;
257
258				regulator-state-mem {
259					regulator-off-in-suspend;
260				};
261			};
262
263			ldo12_reg: LDO12 {
264				/* Unused */
265				regulator-name = "vdd_ldo12";
266				regulator-min-microvolt = <800000>;
267				regulator-max-microvolt = <2375000>;
268			};
269
270			ldo13_reg: LDO13 {
271				regulator-name = "vddq_mmc2";
272				regulator-min-microvolt = <1800000>;
273				regulator-max-microvolt = <2800000>;
274
275				regulator-state-mem {
276					regulator-off-in-suspend;
277				};
278			};
279
280			ldo14_reg: LDO14 {
281				/* Unused */
282				regulator-name = "vdd_ldo14";
283				regulator-min-microvolt = <800000>;
284				regulator-max-microvolt = <3950000>;
285			};
286
287			ldo15_reg: LDO15 {
288				regulator-name = "vdd_ldo15";
289				regulator-min-microvolt = <3300000>;
290				regulator-max-microvolt = <3300000>;
291				regulator-always-on;
292
293				regulator-state-mem {
294					regulator-off-in-suspend;
295				};
296			};
297
298			ldo16_reg: LDO16 {
299				/* Unused */
300				regulator-name = "vdd_ldo16";
301				regulator-min-microvolt = <800000>;
302				regulator-max-microvolt = <3950000>;
303			};
304
305			ldo17_reg: LDO17 {
306				regulator-name = "vdd_ldo17";
307				regulator-min-microvolt = <3300000>;
308				regulator-max-microvolt = <3300000>;
309				regulator-always-on;
310
311				regulator-state-mem {
312					regulator-off-in-suspend;
313				};
314			};
315
316			ldo18_reg: LDO18 {
317				regulator-name = "vdd_emmc_1V8";
318				regulator-min-microvolt = <1800000>;
319				regulator-max-microvolt = <1800000>;
320
321				regulator-state-mem {
322					regulator-off-in-suspend;
323				};
324			};
325
326			ldo19_reg: LDO19 {
327				regulator-name = "vdd_sd";
328				regulator-min-microvolt = <2800000>;
329				regulator-max-microvolt = <2800000>;
330
331				regulator-state-mem {
332					regulator-off-in-suspend;
333				};
334			};
335
336			ldo20_reg: LDO20 {
337				/* Unused */
338				regulator-name = "vdd_ldo20";
339				regulator-min-microvolt = <800000>;
340				regulator-max-microvolt = <3950000>;
341			};
342
343			ldo21_reg: LDO21 {
344				/* Unused */
345				regulator-name = "vdd_ldo21";
346				regulator-min-microvolt = <800000>;
347				regulator-max-microvolt = <3950000>;
348			};
349
350			ldo22_reg: LDO22 {
351				/* Unused */
352				regulator-name = "vdd_ldo22";
353				regulator-min-microvolt = <800000>;
354				regulator-max-microvolt = <2375000>;
355			};
356
357			ldo23_reg: LDO23 {
358				regulator-name = "vdd_mifs";
359				regulator-min-microvolt = <1100000>;
360				regulator-max-microvolt = <1100000>;
361				regulator-always-on;
362
363				regulator-state-mem {
364					regulator-off-in-suspend;
365				};
366			};
367
368			ldo24_reg: LDO24 {
369				/* Unused */
370				regulator-name = "vdd_ldo24";
371				regulator-min-microvolt = <800000>;
372				regulator-max-microvolt = <3950000>;
373			};
374
375			ldo25_reg: LDO25 {
376				/* Unused */
377				regulator-name = "vdd_ldo25";
378				regulator-min-microvolt = <800000>;
379				regulator-max-microvolt = <3950000>;
380			};
381
382			ldo26_reg: LDO26 {
383				/* Used on XU3, XU3-Lite and XU4 */
384				regulator-name = "vdd_ldo26";
385				regulator-min-microvolt = <800000>;
386				regulator-max-microvolt = <3950000>;
387
388				regulator-state-mem {
389					regulator-off-in-suspend;
390				};
391			};
392
393			ldo27_reg: LDO27 {
394				regulator-name = "vdd_g3ds";
395				regulator-min-microvolt = <1000000>;
396				regulator-max-microvolt = <1000000>;
397				regulator-always-on;
398
399				regulator-state-mem {
400					regulator-off-in-suspend;
401				};
402			};
403
404			ldo28_reg: LDO28 {
405				/* Used on XU3 */
406				regulator-name = "vdd_ldo28";
407				regulator-min-microvolt = <800000>;
408				regulator-max-microvolt = <3950000>;
409
410				regulator-state-mem {
411					regulator-off-in-suspend;
412				};
413			};
414
415			ldo29_reg: LDO29 {
416				/* Unused */
417				regulator-name = "vdd_ldo29";
418				regulator-min-microvolt = <800000>;
419				regulator-max-microvolt = <3950000>;
420			};
421
422			ldo30_reg: LDO30 {
423				/* Unused */
424				regulator-name = "vdd_ldo30";
425				regulator-min-microvolt = <800000>;
426				regulator-max-microvolt = <3950000>;
427			};
428
429			ldo31_reg: LDO31 {
430				/* Unused */
431				regulator-name = "vdd_ldo31";
432				regulator-min-microvolt = <800000>;
433				regulator-max-microvolt = <3950000>;
434			};
435
436			ldo32_reg: LDO32 {
437				/* Unused */
438				regulator-name = "vdd_ldo32";
439				regulator-min-microvolt = <800000>;
440				regulator-max-microvolt = <3950000>;
441			};
442
443			ldo33_reg: LDO33 {
444				/* Unused */
445				regulator-name = "vdd_ldo33";
446				regulator-min-microvolt = <800000>;
447				regulator-max-microvolt = <3950000>;
448			};
449
450			ldo34_reg: LDO34 {
451				/* Unused */
452				regulator-name = "vdd_ldo34";
453				regulator-min-microvolt = <800000>;
454				regulator-max-microvolt = <3950000>;
455			};
456
457			ldo35_reg: LDO35 {
458				/* Unused */
459				regulator-name = "vdd_ldo35";
460				regulator-min-microvolt = <800000>;
461				regulator-max-microvolt = <2375000>;
462			};
463
464			ldo36_reg: LDO36 {
465				/* Unused */
466				regulator-name = "vdd_ldo36";
467				regulator-min-microvolt = <800000>;
468				regulator-max-microvolt = <3950000>;
469			};
470
471			ldo37_reg: LDO37 {
472				/* Unused */
473				regulator-name = "vdd_ldo37";
474				regulator-min-microvolt = <800000>;
475				regulator-max-microvolt = <3950000>;
476			};
477
478			ldo38_reg: LDO38 {
479				/* Unused */
480				regulator-name = "vdd_ldo38";
481				regulator-min-microvolt = <800000>;
482				regulator-max-microvolt = <3950000>;
483			};
484
485			buck1_reg: BUCK1 {
486				regulator-name = "vdd_mif";
487				regulator-min-microvolt = <800000>;
488				regulator-max-microvolt = <1300000>;
489				regulator-always-on;
490				regulator-boot-on;
491
492				regulator-state-mem {
493					regulator-off-in-suspend;
494				};
495			};
496
497			buck2_reg: BUCK2 {
498				regulator-name = "vdd_arm";
499				regulator-min-microvolt = <800000>;
500				regulator-max-microvolt = <1500000>;
501				regulator-always-on;
502				regulator-boot-on;
 
 
503
504				regulator-state-mem {
505					regulator-off-in-suspend;
506				};
507			};
508
509			buck3_reg: BUCK3 {
510				regulator-name = "vdd_int";
511				regulator-min-microvolt = <800000>;
512				regulator-max-microvolt = <1400000>;
513				regulator-always-on;
514				regulator-boot-on;
 
 
515
516				regulator-state-mem {
517					regulator-off-in-suspend;
518				};
519			};
520
521			buck4_reg: BUCK4 {
522				regulator-name = "vdd_g3d";
523				regulator-min-microvolt = <800000>;
524				regulator-max-microvolt = <1400000>;
 
525				regulator-always-on;
526				regulator-boot-on;
527
528				regulator-state-mem {
529					regulator-off-in-suspend;
530				};
531			};
532
533			buck5_reg: BUCK5 {
534				regulator-name = "vdd_mem";
535				regulator-min-microvolt = <800000>;
536				regulator-max-microvolt = <1400000>;
537				regulator-always-on;
538				regulator-boot-on;
539			};
540
541			buck6_reg: BUCK6 {
542				regulator-name = "vdd_kfc";
543				regulator-min-microvolt = <800000>;
544				regulator-max-microvolt = <1500000>;
545				regulator-always-on;
546				regulator-boot-on;
547
548				regulator-state-mem {
549					regulator-off-in-suspend;
550				};
551			};
552
553			buck7_reg: BUCK7 {
554				regulator-name = "vdd_1.35v_ldo";
555				regulator-min-microvolt = <1200000>;
556				regulator-max-microvolt = <1500000>;
557				regulator-always-on;
558				regulator-boot-on;
559			};
560
561			buck8_reg: BUCK8 {
562				regulator-name = "vdd_2.0v_ldo";
563				regulator-min-microvolt = <1800000>;
564				regulator-max-microvolt = <2100000>;
565				regulator-always-on;
566				regulator-boot-on;
567			};
568
569			buck9_reg: BUCK9 {
570				regulator-name = "vdd_2.8v_ldo";
571				regulator-min-microvolt = <3000000>;
572				regulator-max-microvolt = <3750000>;
573				regulator-always-on;
574				regulator-boot-on;
575
576				regulator-state-mem {
577					regulator-off-in-suspend;
578				};
579			};
580
581			buck10_reg: BUCK10 {
582				regulator-name = "vdd_vmem";
583				regulator-min-microvolt = <2850000>;
584				regulator-max-microvolt = <2850000>;
585
586				regulator-state-mem {
587					regulator-off-in-suspend;
588				};
589			};
590		};
591	};
592};
593
594&mmc_2 {
595	status = "okay";
596	card-detect-delay = <200>;
597	samsung,dw-mshc-ciu-div = <3>;
598	samsung,dw-mshc-sdr-timing = <0 4>;
599	samsung,dw-mshc-ddr-timing = <0 2>;
600	pinctrl-names = "default";
601	pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_wp &sd2_bus1 &sd2_bus4>;
602	bus-width = <4>;
603	cap-sd-highspeed;
604	max-frequency = <200000000>;
605	vmmc-supply = <&ldo19_reg>;
606	vqmmc-supply = <&ldo13_reg>;
607	sd-uhs-sdr50;
608	sd-uhs-sdr104;
609	sd-uhs-ddr50;
610};
611
612&nocp_mem0_0 {
613	status = "okay";
614};
615
616&nocp_mem0_1 {
617	status = "okay";
618};
619
620&nocp_mem1_0 {
621	status = "okay";
622};
623
624&nocp_mem1_1 {
625	status = "okay";
626};
627
628&pinctrl_0 {
629	s2mps11_irq: s2mps11-irq {
630		samsung,pins = "gpx0-4";
631		samsung,pin-function = <EXYNOS_PIN_FUNC_F>;
632		samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>;
633		samsung,pin-drv = <EXYNOS5420_PIN_DRV_LV1>;
634	};
635};
636
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
637&tmu_cpu0 {
638	vtmu-supply = <&ldo7_reg>;
639};
640
641&tmu_cpu1 {
642	vtmu-supply = <&ldo7_reg>;
643};
644
645&tmu_cpu2 {
646	vtmu-supply = <&ldo7_reg>;
647};
648
649&tmu_cpu3 {
650	vtmu-supply = <&ldo7_reg>;
651};
652
653&tmu_gpu {
654	vtmu-supply = <&ldo7_reg>;
 
 
 
 
 
655};
656
657&rtc {
658	status = "okay";
659	clocks = <&clock CLK_RTC>, <&s2mps11_osc S2MPS11_CLK_AP>;
660	clock-names = "rtc", "rtc_src";
661};
662
663&usbdrd_dwc3_0 {
664	dr_mode = "host";
665};
666
667/* usbdrd_dwc3_1 mode customized in each board */
668
669&usbdrd3_0 {
670	vdd33-supply = <&ldo9_reg>;
671	vdd10-supply = <&ldo11_reg>;
672};
673
674&usbdrd3_1 {
675	vdd33-supply = <&ldo9_reg>;
676	vdd10-supply = <&ldo11_reg>;
677};