exynos4.dtsi 14.9 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
/*
 * Samsung's Exynos4 SoC series common device tree source
 *
 * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd.
 *		http://www.samsung.com
 * Copyright (c) 2010-2011 Linaro Ltd.
 *		www.linaro.org
 *
 * Samsung's Exynos4 SoC series device nodes are listed in this file.  Particular
 * SoCs from Exynos4 series can include this file and provide values for SoCs
 * specfic bindings.
 *
 * Note: This file does not include device nodes for all the controllers in
 * Exynos4 SoCs. As device tree coverage for Exynos4 increases, additional
 * nodes can be added to this file.
 *
 * 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.
 */

22
#include <dt-bindings/clock/exynos4.h>
23
#include <dt-bindings/clock/exynos-audss-clk.h>
24
#include "skeleton.dtsi"
25 26 27 28 29 30 31 32

/ {
	interrupt-parent = <&gic>;

	aliases {
		spi0 = &spi_0;
		spi1 = &spi_1;
		spi2 = &spi_2;
33 34 35 36 37 38 39 40
		i2c0 = &i2c_0;
		i2c1 = &i2c_1;
		i2c2 = &i2c_2;
		i2c3 = &i2c_3;
		i2c4 = &i2c_4;
		i2c5 = &i2c_5;
		i2c6 = &i2c_6;
		i2c7 = &i2c_7;
41 42 43 44 45 46
		csis0 = &csis_0;
		csis1 = &csis_1;
		fimc0 = &fimc_0;
		fimc1 = &fimc_1;
		fimc2 = &fimc_2;
		fimc3 = &fimc_3;
47 48
	};

49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
	clock_audss: clock-controller@03810000 {
		compatible = "samsung,exynos4210-audss-clock";
		reg = <0x03810000 0x0C>;
		#clock-cells = <1>;
	};

	i2s0: i2s@03830000 {
		compatible = "samsung,s5pv210-i2s";
		reg = <0x03830000 0x100>;
		clocks = <&clock_audss EXYNOS_I2S_BUS>;
		clock-names = "iis";
		dmas = <&pdma0 12>, <&pdma0 11>, <&pdma0 10>;
		dma-names = "tx", "rx", "tx-sec";
		samsung,idma-addr = <0x03000000>;
		status = "disabled";
	};

66 67 68 69 70
	chipid@10000000 {
		compatible = "samsung,exynos4210-chipid";
		reg = <0x10000000 0x100>;
	};

71 72 73 74 75 76
	mipi_phy: video-phy@10020710 {
		compatible = "samsung,s5pv210-mipi-video-phy";
		reg = <0x10020710 8>;
		#phy-cells = <1>;
	};

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
	pd_mfc: mfc-power-domain@10023C40 {
		compatible = "samsung,exynos4210-pd";
		reg = <0x10023C40 0x20>;
	};

	pd_g3d: g3d-power-domain@10023C60 {
		compatible = "samsung,exynos4210-pd";
		reg = <0x10023C60 0x20>;
	};

	pd_lcd0: lcd0-power-domain@10023C80 {
		compatible = "samsung,exynos4210-pd";
		reg = <0x10023C80 0x20>;
	};

	pd_tv: tv-power-domain@10023C20 {
		compatible = "samsung,exynos4210-pd";
		reg = <0x10023C20 0x20>;
	};

	pd_cam: cam-power-domain@10023C00 {
		compatible = "samsung,exynos4210-pd";
		reg = <0x10023C00 0x20>;
	};

	pd_gps: gps-power-domain@10023CE0 {
		compatible = "samsung,exynos4210-pd";
		reg = <0x10023CE0 0x20>;
105 106
	};

107 108 109 110 111
	pd_gps_alive: gps-alive-power-domain@10023D00 {
		compatible = "samsung,exynos4210-pd";
		reg = <0x10023D00 0x20>;
	};

112
	gic: interrupt-controller@10490000 {
113 114 115
		compatible = "arm,cortex-a9-gic";
		#interrupt-cells = <3>;
		interrupt-controller;
116
		reg = <0x10490000 0x10000>, <0x10480000 0x10000>;
117 118
	};

119
	combiner: interrupt-controller@10440000 {
120 121 122 123 124 125
		compatible = "samsung,exynos4210-combiner";
		#interrupt-cells = <2>;
		interrupt-controller;
		reg = <0x10440000 0x1000>;
	};

126
	sys_reg: syscon@10010000 {
127 128 129 130
		compatible = "samsung,exynos4-sysreg", "syscon";
		reg = <0x10010000 0x400>;
	};

131 132 133 134 135
	pmu_system_controller: system-controller@10020000 {
		compatible = "samsung,exynos4210-pmu", "syscon";
		reg = <0x10020000 0x4000>;
	};

136 137 138 139 140 141 142
	dsi_0: dsi@11C80000 {
		compatible = "samsung,exynos4210-mipi-dsi";
		reg = <0x11C80000 0x10000>;
		interrupts = <0 79 0>;
		samsung,power-domain = <&pd_lcd0>;
		phys = <&mipi_phy 1>;
		phy-names = "dsim";
143
		clocks = <&clock CLK_DSIM0>, <&clock CLK_SCLK_MIPI0>;
144 145 146 147 148 149
		clock-names = "bus_clk", "pll_clk";
		status = "disabled";
		#address-cells = <1>;
		#size-cells = <0>;
	};

150 151 152 153 154
	camera {
		compatible = "samsung,fimc", "simple-bus";
		status = "disabled";
		#address-cells = <1>;
		#size-cells = <1>;
155 156
		#clock-cells = <1>;
		clock-output-names = "cam_a_clkout", "cam_b_clkout";
157 158 159 160 161 162
		ranges;

		fimc_0: fimc@11800000 {
			compatible = "samsung,exynos4210-fimc";
			reg = <0x11800000 0x1000>;
			interrupts = <0 84 0>;
163
			clocks = <&clock CLK_FIMC0>, <&clock CLK_SCLK_FIMC0>;
164 165 166 167 168 169 170 171 172 173
			clock-names = "fimc", "sclk_fimc";
			samsung,power-domain = <&pd_cam>;
			samsung,sysreg = <&sys_reg>;
			status = "disabled";
		};

		fimc_1: fimc@11810000 {
			compatible = "samsung,exynos4210-fimc";
			reg = <0x11810000 0x1000>;
			interrupts = <0 85 0>;
174
			clocks = <&clock CLK_FIMC1>, <&clock CLK_SCLK_FIMC1>;
175 176 177 178 179 180 181 182 183 184
			clock-names = "fimc", "sclk_fimc";
			samsung,power-domain = <&pd_cam>;
			samsung,sysreg = <&sys_reg>;
			status = "disabled";
		};

		fimc_2: fimc@11820000 {
			compatible = "samsung,exynos4210-fimc";
			reg = <0x11820000 0x1000>;
			interrupts = <0 86 0>;
185
			clocks = <&clock CLK_FIMC2>, <&clock CLK_SCLK_FIMC2>;
186 187 188 189 190 191 192 193 194 195
			clock-names = "fimc", "sclk_fimc";
			samsung,power-domain = <&pd_cam>;
			samsung,sysreg = <&sys_reg>;
			status = "disabled";
		};

		fimc_3: fimc@11830000 {
			compatible = "samsung,exynos4210-fimc";
			reg = <0x11830000 0x1000>;
			interrupts = <0 87 0>;
196
			clocks = <&clock CLK_FIMC3>, <&clock CLK_SCLK_FIMC3>;
197 198 199 200 201 202 203 204 205 206
			clock-names = "fimc", "sclk_fimc";
			samsung,power-domain = <&pd_cam>;
			samsung,sysreg = <&sys_reg>;
			status = "disabled";
		};

		csis_0: csis@11880000 {
			compatible = "samsung,exynos4210-csis";
			reg = <0x11880000 0x4000>;
			interrupts = <0 78 0>;
207
			clocks = <&clock CLK_CSIS0>, <&clock CLK_SCLK_CSIS0>;
208 209 210
			clock-names = "csis", "sclk_csis";
			bus-width = <4>;
			samsung,power-domain = <&pd_cam>;
211 212
			phys = <&mipi_phy 0>;
			phy-names = "csis";
213 214 215 216 217 218 219 220 221
			status = "disabled";
			#address-cells = <1>;
			#size-cells = <0>;
		};

		csis_1: csis@11890000 {
			compatible = "samsung,exynos4210-csis";
			reg = <0x11890000 0x4000>;
			interrupts = <0 80 0>;
222
			clocks = <&clock CLK_CSIS1>, <&clock CLK_SCLK_CSIS1>;
223 224 225
			clock-names = "csis", "sclk_csis";
			bus-width = <2>;
			samsung,power-domain = <&pd_cam>;
226 227
			phys = <&mipi_phy 2>;
			phy-names = "csis";
228 229 230 231 232 233
			status = "disabled";
			#address-cells = <1>;
			#size-cells = <0>;
		};
	};

234 235 236 237
	watchdog@10060000 {
		compatible = "samsung,s3c2410-wdt";
		reg = <0x10060000 0x100>;
		interrupts = <0 43 0>;
238
		clocks = <&clock CLK_WDT>;
239
		clock-names = "watchdog";
240
		status = "disabled";
241 242 243 244 245 246
	};

	rtc@10070000 {
		compatible = "samsung,s3c6410-rtc";
		reg = <0x10070000 0x100>;
		interrupts = <0 44 0>, <0 45 0>;
247
		clocks = <&clock CLK_RTC>;
248
		clock-names = "rtc";
249
		status = "disabled";
250 251 252 253 254 255
	};

	keypad@100A0000 {
		compatible = "samsung,s5pv210-keypad";
		reg = <0x100A0000 0x100>;
		interrupts = <0 109 0>;
256
		clocks = <&clock CLK_KEYIF>;
257
		clock-names = "keypad";
258
		status = "disabled";
259 260 261 262 263 264
	};

	sdhci@12510000 {
		compatible = "samsung,exynos4210-sdhci";
		reg = <0x12510000 0x100>;
		interrupts = <0 73 0>;
265
		clocks = <&clock CLK_SDMMC0>, <&clock CLK_SCLK_MMC0>;
266
		clock-names = "hsmmc", "mmc_busclk.2";
267
		status = "disabled";
268 269 270 271 272 273
	};

	sdhci@12520000 {
		compatible = "samsung,exynos4210-sdhci";
		reg = <0x12520000 0x100>;
		interrupts = <0 74 0>;
274
		clocks = <&clock CLK_SDMMC1>, <&clock CLK_SCLK_MMC1>;
275
		clock-names = "hsmmc", "mmc_busclk.2";
276
		status = "disabled";
277 278 279 280 281 282
	};

	sdhci@12530000 {
		compatible = "samsung,exynos4210-sdhci";
		reg = <0x12530000 0x100>;
		interrupts = <0 75 0>;
283
		clocks = <&clock CLK_SDMMC2>, <&clock CLK_SCLK_MMC2>;
284
		clock-names = "hsmmc", "mmc_busclk.2";
285
		status = "disabled";
286 287 288 289 290 291
	};

	sdhci@12540000 {
		compatible = "samsung,exynos4210-sdhci";
		reg = <0x12540000 0x100>;
		interrupts = <0 76 0>;
292
		clocks = <&clock CLK_SDMMC3>, <&clock CLK_SCLK_MMC3>;
293
		clock-names = "hsmmc", "mmc_busclk.2";
294
		status = "disabled";
295 296 297 298 299 300 301 302 303 304
	};

	exynos_usbphy: exynos-usbphy@125B0000 {
		compatible = "samsung,exynos4210-usb2-phy";
		reg = <0x125B0000 0x100>;
		samsung,pmureg-phandle = <&pmu_system_controller>;
		clocks = <&clock CLK_USB_DEVICE>, <&clock CLK_XUSBXTI>;
		clock-names = "phy", "ref";
		#phy-cells = <1>;
		status = "disabled";
305 306 307 308 309 310 311 312 313 314 315
	};

	hsotg@12480000 {
		compatible = "samsung,s3c6400-hsotg";
		reg = <0x12480000 0x20000>;
		interrupts = <0 71 0>;
		clocks = <&clock CLK_USB_DEVICE>;
		clock-names = "otg";
		phys = <&exynos_usbphy 0>;
		phy-names = "usb2-phy";
		status = "disabled";
316 317
	};

318 319 320 321
	ehci@12580000 {
		compatible = "samsung,exynos4210-ehci";
		reg = <0x12580000 0x100>;
		interrupts = <0 70 0>;
322
		clocks = <&clock CLK_USB_HOST>;
323 324 325 326 327 328 329 330
		clock-names = "usbhost";
		status = "disabled";
	};

	ohci@12590000 {
		compatible = "samsung,exynos4210-ohci";
		reg = <0x12590000 0x100>;
		interrupts = <0 70 0>;
331
		clocks = <&clock CLK_USB_HOST>;
332 333 334 335
		clock-names = "usbhost";
		status = "disabled";
	};

336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355
	i2s1: i2s@13960000 {
		compatible = "samsung,s5pv210-i2s";
		reg = <0x13960000 0x100>;
		clocks = <&clock CLK_I2S1>;
		clock-names = "iis";
		dmas = <&pdma1 12>, <&pdma1 11>;
		dma-names = "tx", "rx";
		status = "disabled";
	};

	i2s2: i2s@13970000 {
		compatible = "samsung,s5pv210-i2s";
		reg = <0x13970000 0x100>;
		clocks = <&clock CLK_I2S2>;
		clock-names = "iis";
		dmas = <&pdma0 14>, <&pdma0 13>;
		dma-names = "tx", "rx";
		status = "disabled";
	};

356 357 358 359 360
	mfc: codec@13400000 {
		compatible = "samsung,mfc-v5";
		reg = <0x13400000 0x10000>;
		interrupts = <0 94 0>;
		samsung,power-domain = <&pd_mfc>;
361
		clocks = <&clock CLK_MFC>;
362
		clock-names = "mfc";
363 364 365
		status = "disabled";
	};

366 367 368 369
	serial@13800000 {
		compatible = "samsung,exynos4210-uart";
		reg = <0x13800000 0x100>;
		interrupts = <0 52 0>;
370
		clocks = <&clock CLK_UART0>, <&clock CLK_SCLK_UART0>;
371
		clock-names = "uart", "clk_uart_baud0";
372
		status = "disabled";
373 374 375 376 377 378
	};

	serial@13810000 {
		compatible = "samsung,exynos4210-uart";
		reg = <0x13810000 0x100>;
		interrupts = <0 53 0>;
379
		clocks = <&clock CLK_UART1>, <&clock CLK_SCLK_UART1>;
380
		clock-names = "uart", "clk_uart_baud0";
381
		status = "disabled";
382 383 384 385 386 387
	};

	serial@13820000 {
		compatible = "samsung,exynos4210-uart";
		reg = <0x13820000 0x100>;
		interrupts = <0 54 0>;
388
		clocks = <&clock CLK_UART2>, <&clock CLK_SCLK_UART2>;
389
		clock-names = "uart", "clk_uart_baud0";
390
		status = "disabled";
391 392 393 394 395 396
	};

	serial@13830000 {
		compatible = "samsung,exynos4210-uart";
		reg = <0x13830000 0x100>;
		interrupts = <0 55 0>;
397
		clocks = <&clock CLK_UART3>, <&clock CLK_SCLK_UART3>;
398
		clock-names = "uart", "clk_uart_baud0";
399
		status = "disabled";
400 401
	};

402
	i2c_0: i2c@13860000 {
403 404
		#address-cells = <1>;
		#size-cells = <0>;
405 406 407
		compatible = "samsung,s3c2440-i2c";
		reg = <0x13860000 0x100>;
		interrupts = <0 58 0>;
408
		clocks = <&clock CLK_I2C0>;
409
		clock-names = "i2c";
410 411
		pinctrl-names = "default";
		pinctrl-0 = <&i2c0_bus>;
412
		status = "disabled";
413 414
	};

415
	i2c_1: i2c@13870000 {
416 417
		#address-cells = <1>;
		#size-cells = <0>;
418 419 420
		compatible = "samsung,s3c2440-i2c";
		reg = <0x13870000 0x100>;
		interrupts = <0 59 0>;
421
		clocks = <&clock CLK_I2C1>;
422
		clock-names = "i2c";
423 424
		pinctrl-names = "default";
		pinctrl-0 = <&i2c1_bus>;
425
		status = "disabled";
426 427
	};

428
	i2c_2: i2c@13880000 {
429 430
		#address-cells = <1>;
		#size-cells = <0>;
431 432 433
		compatible = "samsung,s3c2440-i2c";
		reg = <0x13880000 0x100>;
		interrupts = <0 60 0>;
434
		clocks = <&clock CLK_I2C2>;
435
		clock-names = "i2c";
436 437
		pinctrl-names = "default";
		pinctrl-0 = <&i2c2_bus>;
438
		status = "disabled";
439 440
	};

441
	i2c_3: i2c@13890000 {
442 443
		#address-cells = <1>;
		#size-cells = <0>;
444 445 446
		compatible = "samsung,s3c2440-i2c";
		reg = <0x13890000 0x100>;
		interrupts = <0 61 0>;
447
		clocks = <&clock CLK_I2C3>;
448
		clock-names = "i2c";
449 450
		pinctrl-names = "default";
		pinctrl-0 = <&i2c3_bus>;
451
		status = "disabled";
452 453
	};

454
	i2c_4: i2c@138A0000 {
455 456
		#address-cells = <1>;
		#size-cells = <0>;
457 458 459
		compatible = "samsung,s3c2440-i2c";
		reg = <0x138A0000 0x100>;
		interrupts = <0 62 0>;
460
		clocks = <&clock CLK_I2C4>;
461
		clock-names = "i2c";
462 463
		pinctrl-names = "default";
		pinctrl-0 = <&i2c4_bus>;
464
		status = "disabled";
465 466
	};

467
	i2c_5: i2c@138B0000 {
468 469
		#address-cells = <1>;
		#size-cells = <0>;
470 471 472
		compatible = "samsung,s3c2440-i2c";
		reg = <0x138B0000 0x100>;
		interrupts = <0 63 0>;
473
		clocks = <&clock CLK_I2C5>;
474
		clock-names = "i2c";
475 476
		pinctrl-names = "default";
		pinctrl-0 = <&i2c5_bus>;
477
		status = "disabled";
478 479
	};

480
	i2c_6: i2c@138C0000 {
481 482
		#address-cells = <1>;
		#size-cells = <0>;
483 484 485
		compatible = "samsung,s3c2440-i2c";
		reg = <0x138C0000 0x100>;
		interrupts = <0 64 0>;
486
		clocks = <&clock CLK_I2C6>;
487
		clock-names = "i2c";
488 489
		pinctrl-names = "default";
		pinctrl-0 = <&i2c6_bus>;
490
		status = "disabled";
491 492
	};

493
	i2c_7: i2c@138D0000 {
494 495
		#address-cells = <1>;
		#size-cells = <0>;
496 497 498
		compatible = "samsung,s3c2440-i2c";
		reg = <0x138D0000 0x100>;
		interrupts = <0 65 0>;
499
		clocks = <&clock CLK_I2C7>;
500
		clock-names = "i2c";
501 502
		pinctrl-names = "default";
		pinctrl-0 = <&i2c7_bus>;
503
		status = "disabled";
504 505 506 507 508 509
	};

	spi_0: spi@13920000 {
		compatible = "samsung,exynos4210-spi";
		reg = <0x13920000 0x100>;
		interrupts = <0 66 0>;
510 511
		dmas = <&pdma0 7>, <&pdma0 6>;
		dma-names = "tx", "rx";
512 513
		#address-cells = <1>;
		#size-cells = <0>;
514
		clocks = <&clock CLK_SPI0>, <&clock CLK_SCLK_SPI0>;
515
		clock-names = "spi", "spi_busclk0";
516 517
		pinctrl-names = "default";
		pinctrl-0 = <&spi0_bus>;
518
		status = "disabled";
519 520 521 522 523 524
	};

	spi_1: spi@13930000 {
		compatible = "samsung,exynos4210-spi";
		reg = <0x13930000 0x100>;
		interrupts = <0 67 0>;
525 526
		dmas = <&pdma1 7>, <&pdma1 6>;
		dma-names = "tx", "rx";
527 528
		#address-cells = <1>;
		#size-cells = <0>;
529
		clocks = <&clock CLK_SPI1>, <&clock CLK_SCLK_SPI1>;
530
		clock-names = "spi", "spi_busclk0";
531 532
		pinctrl-names = "default";
		pinctrl-0 = <&spi1_bus>;
533
		status = "disabled";
534 535 536 537 538 539
	};

	spi_2: spi@13940000 {
		compatible = "samsung,exynos4210-spi";
		reg = <0x13940000 0x100>;
		interrupts = <0 68 0>;
540 541
		dmas = <&pdma0 9>, <&pdma0 8>;
		dma-names = "tx", "rx";
542 543
		#address-cells = <1>;
		#size-cells = <0>;
544
		clocks = <&clock CLK_SPI2>, <&clock CLK_SCLK_SPI2>;
545
		clock-names = "spi", "spi_busclk0";
546 547
		pinctrl-names = "default";
		pinctrl-0 = <&spi2_bus>;
548
		status = "disabled";
549 550
	};

551 552 553 554
	pwm@139D0000 {
		compatible = "samsung,exynos4210-pwm";
		reg = <0x139D0000 0x1000>;
		interrupts = <0 37 0>, <0 38 0>, <0 39 0>, <0 40 0>, <0 41 0>;
555
		clocks = <&clock CLK_PWM>;
556
		clock-names = "timers";
557 558 559 560
		#pwm-cells = <2>;
		status = "disabled";
	};

561 562 563 564 565 566 567 568 569 570 571
	amba {
		#address-cells = <1>;
		#size-cells = <1>;
		compatible = "arm,amba-bus";
		interrupt-parent = <&gic>;
		ranges;

		pdma0: pdma@12680000 {
			compatible = "arm,pl330", "arm,primecell";
			reg = <0x12680000 0x1000>;
			interrupts = <0 35 0>;
572
			clocks = <&clock CLK_PDMA0>;
573
			clock-names = "apb_pclk";
574 575 576
			#dma-cells = <1>;
			#dma-channels = <8>;
			#dma-requests = <32>;
577 578 579 580 581 582
		};

		pdma1: pdma@12690000 {
			compatible = "arm,pl330", "arm,primecell";
			reg = <0x12690000 0x1000>;
			interrupts = <0 36 0>;
583
			clocks = <&clock CLK_PDMA1>;
584
			clock-names = "apb_pclk";
585 586 587
			#dma-cells = <1>;
			#dma-channels = <8>;
			#dma-requests = <32>;
588
		};
589 590 591 592 593

		mdma1: mdma@12850000 {
			compatible = "arm,pl330", "arm,primecell";
			reg = <0x12850000 0x1000>;
			interrupts = <0 34 0>;
594
			clocks = <&clock CLK_MDMA>;
595
			clock-names = "apb_pclk";
596 597 598
			#dma-cells = <1>;
			#dma-channels = <8>;
			#dma-requests = <1>;
599
		};
600
	};
601 602 603 604 605 606 607

	fimd: fimd@11c00000 {
		compatible = "samsung,exynos4210-fimd";
		interrupt-parent = <&combiner>;
		reg = <0x11c00000 0x20000>;
		interrupt-names = "fifo", "vsync", "lcd_sys";
		interrupts = <11 0>, <11 1>, <11 2>;
608
		clocks = <&clock CLK_SCLK_FIMD0>, <&clock CLK_FIMD0>;
609 610 611 612
		clock-names = "sclk_fimd", "fimd";
		samsung,power-domain = <&pd_lcd0>;
		status = "disabled";
	};
613
};