exynos5250-arndale.dts 12.4 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
/*
 * Samsung's Exynos5250 based Arndale board device tree source
 *
 * Copyright (c) 2013 Samsung Electronics Co., Ltd.
 *		http://www.samsung.com
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
*/

/dts-v1/;
13
#include "exynos5250.dtsi"
14
#include <dt-bindings/interrupt-controller/irq.h>
15 16 17

/ {
	model = "Insignal Arndale evaluation board based on EXYNOS5250";
18
	compatible = "insignal,arndale", "samsung,exynos5250", "samsung,exynos5";
19 20 21 22 23 24 25 26 27

	memory {
		reg = <0x40000000 0x80000000>;
	};

	chosen {
		bootargs = "console=ttySAC2,115200";
	};

28 29 30 31
	rtc@101E0000 {
		status = "okay";
	};

32 33 34 35 36
	codec@11000000 {
		samsung,mfc-r = <0x43000000 0x800000>;
		samsung,mfc-l = <0x51000000 0x800000>;
	};

37
	i2c@12C60000 {
38 39 40
		samsung,i2c-sda-delay = <100>;
		samsung,i2c-max-bus-freq = <20000>;
		samsung,i2c-slave-addr = <0x66>;
41
		status = "okay";
42 43 44 45

		s5m8767_pmic@66 {
			compatible = "samsung,s5m8767-pmic";
			reg = <0x66>;
46 47
			interrupt-parent = <&gpx3>;
			interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
48

49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
			vinb1-supply = <&main_dc_reg>;
			vinb2-supply = <&main_dc_reg>;
			vinb3-supply = <&main_dc_reg>;
			vinb4-supply = <&main_dc_reg>;
			vinb5-supply = <&main_dc_reg>;
			vinb6-supply = <&main_dc_reg>;
			vinb7-supply = <&main_dc_reg>;
			vinb8-supply = <&main_dc_reg>;
			vinb9-supply = <&main_dc_reg>;

			vinl1-supply = <&buck7_reg>;
			vinl2-supply = <&buck7_reg>;
			vinl3-supply = <&buck7_reg>;
			vinl4-supply = <&main_dc_reg>;
			vinl5-supply = <&main_dc_reg>;
			vinl6-supply = <&main_dc_reg>;
			vinl7-supply = <&main_dc_reg>;
			vinl8-supply = <&buck8_reg>;
			vinl9-supply = <&buck8_reg>;

69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273
			s5m8767,pmic-buck2-dvs-voltage = <1300000>;
			s5m8767,pmic-buck3-dvs-voltage = <1100000>;
			s5m8767,pmic-buck4-dvs-voltage = <1200000>;
			s5m8767,pmic-buck-dvs-gpios = <&gpd1 0 0>,
							<&gpd1 1 0>,
							<&gpd1 2 0>;
			s5m8767,pmic-buck-ds-gpios = <&gpx2 3 0>,
							<&gpx2 4 0>,
							<&gpx2 5 0>;
			regulators {
				ldo1_reg: LDO1 {
					regulator-name = "VDD_ALIVE_1.0V";
					regulator-min-microvolt = <1100000>;
					regulator-max-microvolt = <1100000>;
					regulator-always-on;
					regulator-boot-on;
					op_mode = <1>;
				};

				ldo2_reg: LDO2 {
					regulator-name = "VDD_28IO_DP_1.35V";
					regulator-min-microvolt = <1200000>;
					regulator-max-microvolt = <1200000>;
					regulator-always-on;
					regulator-boot-on;
					op_mode = <1>;
				};

				ldo3_reg: LDO3 {
					regulator-name = "VDD_COMMON1_1.8V";
					regulator-min-microvolt = <1800000>;
					regulator-max-microvolt = <1800000>;
					regulator-always-on;
					regulator-boot-on;
					op_mode = <1>;
				};

				ldo4_reg: LDO4 {
					regulator-name = "VDD_IOPERI_1.8V";
					regulator-min-microvolt = <1800000>;
					regulator-max-microvolt = <1800000>;
					op_mode = <1>;
				};

				ldo5_reg: LDO5 {
					regulator-name = "VDD_EXT_1.8V";
					regulator-min-microvolt = <1800000>;
					regulator-max-microvolt = <1800000>;
					regulator-always-on;
					regulator-boot-on;
					op_mode = <1>;
				};

				ldo6_reg: LDO6 {
					regulator-name = "VDD_MPLL_1.1V";
					regulator-min-microvolt = <1100000>;
					regulator-max-microvolt = <1100000>;
					regulator-always-on;
					regulator-boot-on;
					op_mode = <1>;
				};

				ldo7_reg: LDO7 {
					regulator-name = "VDD_XPLL_1.1V";
					regulator-min-microvolt = <1100000>;
					regulator-max-microvolt = <1100000>;
					regulator-always-on;
					regulator-boot-on;
					op_mode = <1>;
				};

				ldo8_reg: LDO8 {
					regulator-name = "VDD_COMMON2_1.0V";
					regulator-min-microvolt = <1000000>;
					regulator-max-microvolt = <1000000>;
					regulator-always-on;
					regulator-boot-on;
					op_mode = <1>;
				};

				ldo9_reg: LDO9 {
					regulator-name = "VDD_33ON_3.0V";
					regulator-min-microvolt = <3000000>;
					regulator-max-microvolt = <3000000>;
					op_mode = <1>;
				};

				ldo10_reg: LDO10 {
					regulator-name = "VDD_COMMON3_1.8V";
					regulator-min-microvolt = <1800000>;
					regulator-max-microvolt = <1800000>;
					regulator-always-on;
					regulator-boot-on;
					op_mode = <1>;
				};

				ldo11_reg: LDO11 {
					regulator-name = "VDD_ABB2_1.8V";
					regulator-min-microvolt = <1800000>;
					regulator-max-microvolt = <1800000>;
					regulator-always-on;
					regulator-boot-on;
					op_mode = <1>;
				};

				ldo12_reg: LDO12 {
					regulator-name = "VDD_USB_3.0V";
					regulator-min-microvolt = <3000000>;
					regulator-max-microvolt = <3000000>;
					regulator-always-on;
					regulator-boot-on;
					op_mode = <1>;
				};

				ldo13_reg: LDO13 {
					regulator-name = "VDDQ_C2C_W_1.8V";
					regulator-min-microvolt = <1800000>;
					regulator-max-microvolt = <1800000>;
					regulator-always-on;
					regulator-boot-on;
					op_mode = <1>;
				};

				ldo14_reg: LDO14 {
					regulator-name = "VDD18_ABB0_3_1.8V";
					regulator-min-microvolt = <1800000>;
					regulator-max-microvolt = <1800000>;
					regulator-always-on;
					regulator-boot-on;
					op_mode = <1>;
				};

				ldo15_reg: LDO15 {
					regulator-name = "VDD10_COMMON4_1.0V";
					regulator-min-microvolt = <1000000>;
					regulator-max-microvolt = <1000000>;
					regulator-always-on;
					regulator-boot-on;
					op_mode = <1>;
				};

				ldo16_reg: LDO16 {
					regulator-name = "VDD18_HSIC_1.8V";
					regulator-min-microvolt = <1800000>;
					regulator-max-microvolt = <1800000>;
					regulator-always-on;
					regulator-boot-on;
					op_mode = <1>;
				};

				ldo17_reg: LDO17 {
					regulator-name = "VDDQ_MMC2_3_2.8V";
					regulator-min-microvolt = <2800000>;
					regulator-max-microvolt = <2800000>;
					regulator-always-on;
					regulator-boot-on;
					op_mode = <1>;
				};

				ldo18_reg: LDO18 {
					regulator-name = "VDD_33ON_2.8V";
					regulator-min-microvolt = <2800000>;
					regulator-max-microvolt = <2800000>;
					op_mode = <1>;
				};

				ldo22_reg: LDO22 {
					regulator-name = "EXT_33_OFF";
					regulator-min-microvolt = <3300000>;
					regulator-max-microvolt = <3300000>;
					op_mode = <1>;
				};

				ldo23_reg: LDO23 {
					regulator-name = "EXT_28_OFF";
					regulator-min-microvolt = <2800000>;
					regulator-max-microvolt = <2800000>;
					op_mode = <1>;
				};

				ldo25_reg: LDO25 {
					regulator-name = "PVDD_LDO25";
					regulator-min-microvolt = <1200000>;
					regulator-max-microvolt = <1200000>;
					op_mode = <1>;
				};

				ldo26_reg: LDO26 {
					regulator-name = "EXT_18_OFF";
					regulator-min-microvolt = <1800000>;
					regulator-max-microvolt = <1800000>;
					op_mode = <1>;
				};

				buck1_reg: BUCK1 {
					regulator-name = "vdd_mif";
					regulator-min-microvolt = <950000>;
					regulator-max-microvolt = <1200000>;
					regulator-always-on;
					regulator-boot-on;
					op_mode = <1>;
				};

				buck2_reg: BUCK2 {
					regulator-name = "vdd_arm";
274
					regulator-min-microvolt = <912500>;
275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293
					regulator-max-microvolt = <1300000>;
					regulator-always-on;
					regulator-boot-on;
					op_mode = <1>;
				};

				buck3_reg: BUCK3 {
					regulator-name = "vdd_int";
					regulator-min-microvolt = <900000>;
					regulator-max-microvolt = <1200000>;
					regulator-always-on;
					regulator-boot-on;
					op_mode = <1>;
				};

				buck4_reg: BUCK4 {
					regulator-name = "vdd_g3d";
					regulator-min-microvolt = <1000000>;
					regulator-max-microvolt = <1000000>;
294
					regulator-always-on;
295 296 297 298 299 300 301 302 303 304 305 306 307
					regulator-boot-on;
					op_mode = <1>;
				};

				buck5_reg: BUCK5 {
					regulator-name = "VDD_MEM_1.35V";
					regulator-min-microvolt = <750000>;
					regulator-max-microvolt = <1355000>;
					regulator-always-on;
					regulator-boot-on;
					op_mode = <1>;
				};

308 309 310
				buck7_reg: BUCK7 {
					regulator-name = "PVDD_BUCK7";
					regulator-always-on;
311
					op_mode = <1>;
312 313 314 315 316
				};

				buck8_reg: BUCK8 {
					regulator-name = "PVDD_BUCK8";
					regulator-always-on;
317
					op_mode = <1>;
318 319
				};

320 321 322 323 324 325 326 327
				buck9_reg: BUCK9 {
					regulator-name = "VDD_33_OFF_EXT1";
					regulator-min-microvolt = <750000>;
					regulator-max-microvolt = <3000000>;
					op_mode = <1>;
				};
			};
		};
328 329 330
	};

	i2c@12C80000 {
331 332
		status = "okay";

333 334 335 336 337 338 339 340
		samsung,i2c-sda-delay = <100>;
		samsung,i2c-max-bus-freq = <66000>;
		samsung,i2c-slave-addr = <0x50>;

		hdmiddc@50 {
			compatible = "samsung,exynos4210-hdmiddc";
			reg = <0x50>;
		};
341 342 343
	};

	i2c@12C90000 {
344 345
		status = "okay";

346
		wm1811a@1a {
347

348 349 350 351 352 353 354 355 356 357 358 359 360 361 362
			compatible = "wlf,wm1811";
			reg = <0x1a>;

			AVDD2-supply = <&main_dc_reg>;
			CPVDD-supply = <&main_dc_reg>;
			DBVDD1-supply = <&main_dc_reg>;
			DBVDD2-supply = <&main_dc_reg>;
			DBVDD3-supply = <&main_dc_reg>;
			LDO1VDD-supply = <&main_dc_reg>;
			SPKVDD1-supply = <&main_dc_reg>;
			SPKVDD2-supply = <&main_dc_reg>;

			wlf,ldo1ena = <&gpb0 0 0>;
			wlf,ldo2ena = <&gpb0 1 0>;
		};
363 364
	};

365
	i2c@12CE0000 {
366 367
		status = "okay";

368 369 370 371 372 373 374 375 376 377
		samsung,i2c-sda-delay = <100>;
		samsung,i2c-max-bus-freq = <66000>;
		samsung,i2c-slave-addr = <0x38>;

		hdmiphy@38 {
			compatible = "samsung,exynos4212-hdmiphy";
			reg = <0x38>;
		};
	};

378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398
	i2c@121D0000 {
		status = "okay";
		samsung,i2c-sda-delay = <100>;
		samsung,i2c-max-bus-freq = <40000>;
		samsung,i2c-slave-addr = <0x38>;

		sata_phy_i2c:sata-phy@38 {
			compatible = "samsung,exynos-sataphy-i2c";
			reg = <0x38>;
		};
	};

	sata@122F0000 {
		status = "okay";
	};

	sata-phy@12170000 {
		status = "okay";
		samsung,exynos-sataphy-i2c-phandle = <&sata_phy_i2c>;
	};

399
	mmc_0: mmc@12200000 {
400
		status = "okay";
401 402 403 404 405 406 407
		num-slots = <1>;
		supports-highspeed;
		broken-cd;
		card-detect-delay = <200>;
		samsung,dw-mshc-ciu-div = <3>;
		samsung,dw-mshc-sdr-timing = <2 3>;
		samsung,dw-mshc-ddr-timing = <1 2>;
408
		vmmc-supply = <&mmc_reg>;
409 410
		pinctrl-names = "default";
		pinctrl-0 = <&sd0_clk &sd0_cmd &sd0_bus4 &sd0_bus8>;
411 412 413 414 415 416 417

		slot@0 {
			reg = <0>;
			bus-width = <8>;
		};
	};

418
	mmc_2: mmc@12220000 {
419
		status = "okay";
420 421 422 423 424 425
		num-slots = <1>;
		supports-highspeed;
		card-detect-delay = <200>;
		samsung,dw-mshc-ciu-div = <3>;
		samsung,dw-mshc-sdr-timing = <2 3>;
		samsung,dw-mshc-ddr-timing = <1 2>;
426
		vmmc-supply = <&mmc_reg>;
427 428
		pinctrl-names = "default";
		pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>;
429 430 431 432

		slot@0 {
			reg = <0>;
			bus-width = <4>;
433
			disable-wp;
434 435 436
		};
	};

437 438 439 440
	i2s0: i2s@03830000 {
		status = "okay";
	};

441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486
	gpio_keys {
		compatible = "gpio-keys";

		menu {
			label = "SW-TACT2";
			gpios = <&gpx1 4 1>;
			linux,code = <139>;
			gpio-key,wakeup;
		};

		home {
			label = "SW-TACT3";
			gpios = <&gpx1 5 1>;
			linux,code = <102>;
			gpio-key,wakeup;
		};

		up {
			label = "SW-TACT4";
			gpios = <&gpx1 6 1>;
			linux,code = <103>;
			gpio-key,wakeup;
		};

		down {
			label = "SW-TACT5";
			gpios = <&gpx1 7 1>;
			linux,code = <108>;
			gpio-key,wakeup;
		};

		back {
			label = "SW-TACT6";
			gpios = <&gpx2 0 1>;
			linux,code = <158>;
			gpio-key,wakeup;
		};

		wakeup {
			label = "SW-TACT7";
			gpios = <&gpx2 1 1>;
			linux,code = <143>;
			gpio-key,wakeup;
		};
	};

487 488 489 490 491 492 493
	hdmi {
		hpd-gpio = <&gpx3 7 2>;
		vdd_osc-supply = <&ldo10_reg>;
		vdd_pll-supply = <&ldo8_reg>;
		vdd-supply = <&ldo8_reg>;
	};

494 495 496 497 498
	regulators {
		compatible = "simple-bus";
		#address-cells = <1>;
		#size-cells = <0>;

499
		main_dc_reg: regulator@0 {
500
			compatible = "regulator-fixed";
501
			reg = <0>;
502 503 504
			regulator-name = "MAIN_DC";
		};

505
		mmc_reg: regulator@1 {
506
			compatible = "regulator-fixed";
507
			reg = <1>;
508 509 510 511 512 513
			regulator-name = "VDD_33ON_2.8V";
			regulator-min-microvolt = <2800000>;
			regulator-max-microvolt = <2800000>;
			gpio = <&gpx1 1 1>;
			enable-active-high;
		};
514

515
		reg_hdmi_en: regulator@2 {
516
			compatible = "regulator-fixed";
517
			reg = <2>;
518 519
			regulator-name = "hdmi-en";
		};
520 521
	};

522 523 524 525 526 527
	fixed-rate-clocks {
		xxti {
			compatible = "samsung,clock-xxti";
			clock-frequency = <24000000>;
		};
	};
528

529
	dp-controller@145B0000 {
530 531 532 533 534 535
		samsung,color-space = <0>;
		samsung,dynamic-range = <0>;
		samsung,ycbcr-coeff = <0>;
		samsung,color-depth = <1>;
		samsung,link-rate = <0x0a>;
		samsung,lane-count = <4>;
536
		status = "okay";
537 538
	};

539
	fimd: fimd@14400000 {
540
		status = "okay";
541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557
		display-timings {
			native-mode = <&timing0>;
			timing0: timing@0 {
				/* 2560x1600 DP panel */
				clock-frequency = <50000>;
				hactive = <2560>;
				vactive = <1600>;
				hfront-porch = <48>;
				hback-porch = <80>;
				hsync-len = <32>;
				vback-porch = <16>;
				vfront-porch = <8>;
				vsync-len = <6>;
			};
		};
	};

M
Mark Brown 已提交
558 559 560 561 562 563 564 565 566 567 568 569 570
	usb_hub_bus {
		compatible = "simple-bus";
		#address-cells = <1>;
		#size-cells = <0>;

		// SMSC USB3503 connected in hardware only mode as a PHY
		usb_hub: usb_hub {
			compatible = "smsc,usb3503a";

			reset-gpios = <&gpx3 5 1>;
			connect-gpios = <&gpd1 7 1>;
		};
	};
571 572 573 574

	usb@12110000 {
		usb-phy = <&usb2_phy>;
	};
575
};