tegra30.dtsi 13.2 KB
Newer Older
1
#include "skeleton.dtsi"
2 3 4 5 6

/ {
	compatible = "nvidia,tegra30";
	interrupt-parent = <&intc>;

7 8 9 10 11 12 13 14
	aliases {
		serial0 = &uarta;
		serial1 = &uartb;
		serial2 = &uartc;
		serial3 = &uartd;
		serial4 = &uarte;
	};

15 16 17 18 19
	host1x {
		compatible = "nvidia,tegra30-host1x", "simple-bus";
		reg = <0x50000000 0x00024000>;
		interrupts = <0 65 0x04   /* mpcore syncpt */
			      0 67 0x04>; /* mpcore general */
20
		clocks = <&tegra_car 28>;
21 22 23 24 25 26 27 28 29 30

		#address-cells = <1>;
		#size-cells = <1>;

		ranges = <0x54000000 0x54000000 0x04000000>;

		mpe {
			compatible = "nvidia,tegra30-mpe";
			reg = <0x54040000 0x00040000>;
			interrupts = <0 68 0x04>;
31
			clocks = <&tegra_car 60>;
32 33 34 35 36 37
		};

		vi {
			compatible = "nvidia,tegra30-vi";
			reg = <0x54080000 0x00040000>;
			interrupts = <0 69 0x04>;
38
			clocks = <&tegra_car 164>;
39 40 41 42 43 44
		};

		epp {
			compatible = "nvidia,tegra30-epp";
			reg = <0x540c0000 0x00040000>;
			interrupts = <0 70 0x04>;
45
			clocks = <&tegra_car 19>;
46 47 48 49 50 51
		};

		isp {
			compatible = "nvidia,tegra30-isp";
			reg = <0x54100000 0x00040000>;
			interrupts = <0 71 0x04>;
52
			clocks = <&tegra_car 23>;
53 54 55 56 57 58
		};

		gr2d {
			compatible = "nvidia,tegra30-gr2d";
			reg = <0x54140000 0x00040000>;
			interrupts = <0 72 0x04>;
59
			clocks = <&tegra_car 21>;
60 61 62 63 64
		};

		gr3d {
			compatible = "nvidia,tegra30-gr3d";
			reg = <0x54180000 0x00040000>;
65 66
			clocks = <&tegra_car 24 &tegra_car 98>;
			clock-names = "3d", "3d2";
67 68 69 70 71 72
		};

		dc@54200000 {
			compatible = "nvidia,tegra30-dc";
			reg = <0x54200000 0x00040000>;
			interrupts = <0 73 0x04>;
73 74
			clocks = <&tegra_car 27>, <&tegra_car 179>;
			clock-names = "disp1", "parent";
75 76 77 78 79 80 81 82 83 84

			rgb {
				status = "disabled";
			};
		};

		dc@54240000 {
			compatible = "nvidia,tegra30-dc";
			reg = <0x54240000 0x00040000>;
			interrupts = <0 74 0x04>;
85 86
			clocks = <&tegra_car 26>, <&tegra_car 179>;
			clock-names = "disp2", "parent";
87 88 89 90 91 92 93 94 95 96

			rgb {
				status = "disabled";
			};
		};

		hdmi {
			compatible = "nvidia,tegra30-hdmi";
			reg = <0x54280000 0x00040000>;
			interrupts = <0 75 0x04>;
97 98
			clocks = <&tegra_car 51>, <&tegra_car 189>;
			clock-names = "hdmi", "parent";
99 100 101 102 103 104 105
			status = "disabled";
		};

		tvo {
			compatible = "nvidia,tegra30-tvo";
			reg = <0x542c0000 0x00040000>;
			interrupts = <0 76 0x04>;
106
			clocks = <&tegra_car 169>;
107 108 109 110 111 112
			status = "disabled";
		};

		dsi {
			compatible = "nvidia,tegra30-dsi";
			reg = <0x54300000 0x00040000>;
113
			clocks = <&tegra_car 48>;
114 115 116 117
			status = "disabled";
		};
	};

118 119 120 121
	timer@50004600 {
		compatible = "arm,cortex-a9-twd-timer";
		reg = <0x50040600 0x20>;
		interrupts = <1 13 0xf04>;
122
		clocks = <&tegra_car 214>;
123 124
	};

125
	intc: interrupt-controller {
126
		compatible = "arm,cortex-a9-gic";
127 128
		reg = <0x50041000 0x1000
		       0x50040100 0x0100>;
129 130
		interrupt-controller;
		#interrupt-cells = <3>;
131 132
	};

133 134 135 136 137 138 139 140 141
	cache-controller {
		compatible = "arm,pl310-cache";
		reg = <0x50043000 0x1000>;
		arm,data-latency = <6 6 2>;
		arm,tag-latency = <5 5 2>;
		cache-unified;
		cache-level = <2>;
	};

142 143 144 145 146 147 148 149 150
	timer@60005000 {
		compatible = "nvidia,tegra30-timer", "nvidia,tegra20-timer";
		reg = <0x60005000 0x400>;
		interrupts = <0 0 0x04
			      0 1 0x04
			      0 41 0x04
			      0 42 0x04
			      0 121 0x04
			      0 122 0x04>;
151
		clocks = <&tegra_car 5>;
152 153
	};

154 155 156 157 158 159
	tegra_car: clock {
		compatible = "nvidia,tegra30-car";
		reg = <0x60006000 0x1000>;
		#clock-cells = <1>;
	};

160
	apbdma: dma {
161 162
		compatible = "nvidia,tegra30-apbdma", "nvidia,tegra20-apbdma";
		reg = <0x6000a000 0x1400>;
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
		interrupts = <0 104 0x04
			      0 105 0x04
			      0 106 0x04
			      0 107 0x04
			      0 108 0x04
			      0 109 0x04
			      0 110 0x04
			      0 111 0x04
			      0 112 0x04
			      0 113 0x04
			      0 114 0x04
			      0 115 0x04
			      0 116 0x04
			      0 117 0x04
			      0 118 0x04
			      0 119 0x04
			      0 128 0x04
			      0 129 0x04
			      0 130 0x04
			      0 131 0x04
			      0 132 0x04
			      0 133 0x04
			      0 134 0x04
			      0 135 0x04
			      0 136 0x04
			      0 137 0x04
			      0 138 0x04
			      0 139 0x04
			      0 140 0x04
			      0 141 0x04
			      0 142 0x04
			      0 143 0x04>;
195
		clocks = <&tegra_car 34>;
196 197
	};

198 199 200
	ahb: ahb {
		compatible = "nvidia,tegra30-ahb";
		reg = <0x6000c004 0x14c>; /* AHB Arbitration + Gizmo Controller */
201 202
	};

203
	gpio: gpio {
204
		compatible = "nvidia,tegra30-gpio";
205 206 207 208 209 210 211 212 213
		reg = <0x6000d000 0x1000>;
		interrupts = <0 32 0x04
			      0 33 0x04
			      0 34 0x04
			      0 35 0x04
			      0 55 0x04
			      0 87 0x04
			      0 89 0x04
			      0 125 0x04>;
214 215
		#gpio-cells = <2>;
		gpio-controller;
216 217
		#interrupt-cells = <2>;
		interrupt-controller;
218 219
	};

220 221
	pinmux: pinmux {
		compatible = "nvidia,tegra30-pinmux";
222 223
		reg = <0x70000868 0xd4    /* Pad control registers */
		       0x70003000 0x3e4>; /* Mux registers */
224 225
	};

226 227 228 229 230 231 232 233 234
	/*
	 * There are two serial driver i.e. 8250 based simple serial
	 * driver and APB DMA based serial driver for higher baudrate
	 * and performace. To enable the 8250 based driver, the compatible
	 * is "nvidia,tegra30-uart", "nvidia,tegra20-uart" and to enable
	 * the APB DMA based serial driver, the comptible is
	 * "nvidia,tegra30-hsuart", "nvidia,tegra20-hsuart".
	 */
	uarta: serial@70006000 {
235 236 237
		compatible = "nvidia,tegra30-uart", "nvidia,tegra20-uart";
		reg = <0x70006000 0x40>;
		reg-shift = <2>;
238
		interrupts = <0 36 0x04>;
239
		nvidia,dma-request-selector = <&apbdma 8>;
240
		clocks = <&tegra_car 6>;
241
		status = "disabled";
242 243
	};

244
	uartb: serial@70006040 {
245 246 247
		compatible = "nvidia,tegra30-uart", "nvidia,tegra20-uart";
		reg = <0x70006040 0x40>;
		reg-shift = <2>;
248
		interrupts = <0 37 0x04>;
249
		nvidia,dma-request-selector = <&apbdma 9>;
250
		clocks = <&tegra_car 160>;
251
		status = "disabled";
252 253
	};

254
	uartc: serial@70006200 {
255 256 257
		compatible = "nvidia,tegra30-uart", "nvidia,tegra20-uart";
		reg = <0x70006200 0x100>;
		reg-shift = <2>;
258
		interrupts = <0 46 0x04>;
259
		nvidia,dma-request-selector = <&apbdma 10>;
260
		clocks = <&tegra_car 55>;
261
		status = "disabled";
262 263
	};

264
	uartd: serial@70006300 {
265 266 267
		compatible = "nvidia,tegra30-uart", "nvidia,tegra20-uart";
		reg = <0x70006300 0x100>;
		reg-shift = <2>;
268
		interrupts = <0 90 0x04>;
269
		nvidia,dma-request-selector = <&apbdma 19>;
270
		clocks = <&tegra_car 65>;
271
		status = "disabled";
272 273
	};

274
	uarte: serial@70006400 {
275 276 277
		compatible = "nvidia,tegra30-uart", "nvidia,tegra20-uart";
		reg = <0x70006400 0x100>;
		reg-shift = <2>;
278
		interrupts = <0 91 0x04>;
279
		nvidia,dma-request-selector = <&apbdma 20>;
280
		clocks = <&tegra_car 66>;
281
		status = "disabled";
282 283
	};

T
Thierry Reding 已提交
284
	pwm: pwm {
285 286 287
		compatible = "nvidia,tegra30-pwm", "nvidia,tegra20-pwm";
		reg = <0x7000a000 0x100>;
		#pwm-cells = <2>;
288
		clocks = <&tegra_car 17>;
289
		status = "disabled";
290 291
	};

292 293 294 295
	rtc {
		compatible = "nvidia,tegra30-rtc", "nvidia,tegra20-rtc";
		reg = <0x7000e000 0x100>;
		interrupts = <0 2 0x04>;
296
		clocks = <&tegra_car 4>;
297 298
	};

299 300 301 302
	i2c@7000c000 {
		compatible =  "nvidia,tegra30-i2c", "nvidia,tegra20-i2c";
		reg = <0x7000c000 0x100>;
		interrupts = <0 38 0x04>;
303 304
		#address-cells = <1>;
		#size-cells = <0>;
305 306
		clocks = <&tegra_car 12>, <&tegra_car 182>;
		clock-names = "div-clk", "fast-clk";
307
		status = "disabled";
308 309
	};

310 311 312 313
	i2c@7000c400 {
		compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c";
		reg = <0x7000c400 0x100>;
		interrupts = <0 84 0x04>;
314 315
		#address-cells = <1>;
		#size-cells = <0>;
316 317
		clocks = <&tegra_car 54>, <&tegra_car 182>;
		clock-names = "div-clk", "fast-clk";
318
		status = "disabled";
319 320
	};

321 322 323 324
	i2c@7000c500 {
		compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c";
		reg = <0x7000c500 0x100>;
		interrupts = <0 92 0x04>;
325 326
		#address-cells = <1>;
		#size-cells = <0>;
327 328
		clocks = <&tegra_car 67>, <&tegra_car 182>;
		clock-names = "div-clk", "fast-clk";
329
		status = "disabled";
330 331
	};

332 333 334 335
	i2c@7000c700 {
		compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c";
		reg = <0x7000c700 0x100>;
		interrupts = <0 120 0x04>;
336 337
		#address-cells = <1>;
		#size-cells = <0>;
338 339
		clocks = <&tegra_car 103>, <&tegra_car 182>;
		clock-names = "div-clk", "fast-clk";
340
		status = "disabled";
341 342
	};

343 344 345 346
	i2c@7000d000 {
		compatible = "nvidia,tegra30-i2c", "nvidia,tegra20-i2c";
		reg = <0x7000d000 0x100>;
		interrupts = <0 53 0x04>;
347 348
		#address-cells = <1>;
		#size-cells = <0>;
349 350
		clocks = <&tegra_car 47>, <&tegra_car 182>;
		clock-names = "div-clk", "fast-clk";
351
		status = "disabled";
352 353
	};

354 355 356 357 358 359 360
	spi@7000d400 {
		compatible = "nvidia,tegra30-slink", "nvidia,tegra20-slink";
		reg = <0x7000d400 0x200>;
		interrupts = <0 59 0x04>;
		nvidia,dma-request-selector = <&apbdma 15>;
		#address-cells = <1>;
		#size-cells = <0>;
361
		clocks = <&tegra_car 41>;
362 363 364 365 366 367 368 369 370 371
		status = "disabled";
	};

	spi@7000d600 {
		compatible = "nvidia,tegra30-slink", "nvidia,tegra20-slink";
		reg = <0x7000d600 0x200>;
		interrupts = <0 82 0x04>;
		nvidia,dma-request-selector = <&apbdma 16>;
		#address-cells = <1>;
		#size-cells = <0>;
372
		clocks = <&tegra_car 44>;
373 374 375 376 377
		status = "disabled";
	};

	spi@7000d800 {
		compatible = "nvidia,tegra30-slink", "nvidia,tegra20-slink";
378
		reg = <0x7000d800 0x200>;
379 380 381 382
		interrupts = <0 83 0x04>;
		nvidia,dma-request-selector = <&apbdma 17>;
		#address-cells = <1>;
		#size-cells = <0>;
383
		clocks = <&tegra_car 46>;
384 385 386 387 388 389 390 391 392 393
		status = "disabled";
	};

	spi@7000da00 {
		compatible = "nvidia,tegra30-slink", "nvidia,tegra20-slink";
		reg = <0x7000da00 0x200>;
		interrupts = <0 93 0x04>;
		nvidia,dma-request-selector = <&apbdma 18>;
		#address-cells = <1>;
		#size-cells = <0>;
394
		clocks = <&tegra_car 68>;
395 396 397 398 399 400 401 402 403 404
		status = "disabled";
	};

	spi@7000dc00 {
		compatible = "nvidia,tegra30-slink", "nvidia,tegra20-slink";
		reg = <0x7000dc00 0x200>;
		interrupts = <0 94 0x04>;
		nvidia,dma-request-selector = <&apbdma 27>;
		#address-cells = <1>;
		#size-cells = <0>;
405
		clocks = <&tegra_car 104>;
406 407 408 409 410 411 412 413 414 415
		status = "disabled";
	};

	spi@7000de00 {
		compatible = "nvidia,tegra30-slink", "nvidia,tegra20-slink";
		reg = <0x7000de00 0x200>;
		interrupts = <0 79 0x04>;
		nvidia,dma-request-selector = <&apbdma 28>;
		#address-cells = <1>;
		#size-cells = <0>;
416
		clocks = <&tegra_car 105>;
417 418 419
		status = "disabled";
	};

420 421 422 423 424 425 426 427
	kbc {
		compatible = "nvidia,tegra30-kbc", "nvidia,tegra20-kbc";
		reg = <0x7000e200 0x100>;
		interrupts = <0 85 0x04>;
		clocks = <&tegra_car 36>;
		status = "disabled";
	};

428
	pmc {
429
		compatible = "nvidia,tegra30-pmc";
430
		reg = <0x7000e400 0x400>;
431 432
		clocks = <&tegra_car 218>, <&clk32k_in>;
		clock-names = "pclk", "clk32k_in";
433 434
	};

435
	memory-controller {
436 437 438 439 440 441 442 443
		compatible = "nvidia,tegra30-mc";
		reg = <0x7000f000 0x010
		       0x7000f03c 0x1b4
		       0x7000f200 0x028
		       0x7000f284 0x17c>;
		interrupts = <0 77 0x04>;
	};

444
	iommu {
445 446 447 448 449 450 451
		compatible = "nvidia,tegra30-smmu";
		reg = <0x7000f010 0x02c
		       0x7000f1f0 0x010
		       0x7000f228 0x05c>;
		nvidia,#asids = <4>;		/* # of ASIDs */
		dma-window = <0 0x40000000>;	/* IOVA start & length */
		nvidia,ahb = <&ahb>;
452
	};
453 454 455

	ahub {
		compatible = "nvidia,tegra30-ahub";
456 457
		reg = <0x70080000 0x200
		       0x70080200 0x100>;
458
		interrupts = <0 103 0x04>;
459
		nvidia,dma-request-selector = <&apbdma 1>;
460 461 462 463 464 465 466
		clocks = <&tegra_car 106>, <&tegra_car 107>, <&tegra_car 30>,
			 <&tegra_car 11>, <&tegra_car 18>, <&tegra_car 101>,
			 <&tegra_car 102>, <&tegra_car 108>, <&tegra_car 109>,
			 <&tegra_car 110>, <&tegra_car 162>;
		clock-names = "d_audio", "apbif", "i2s0", "i2s1", "i2s2",
			      "i2s3", "i2s4", "dam0", "dam1", "dam2",
			      "spdif_in";
467 468 469 470 471 472 473 474
		ranges;
		#address-cells = <1>;
		#size-cells = <1>;

		tegra_i2s0: i2s@70080300 {
			compatible = "nvidia,tegra30-i2s";
			reg = <0x70080300 0x100>;
			nvidia,ahub-cif-ids = <4 4>;
475
			clocks = <&tegra_car 30>;
476
			status = "disabled";
477 478 479 480 481 482
		};

		tegra_i2s1: i2s@70080400 {
			compatible = "nvidia,tegra30-i2s";
			reg = <0x70080400 0x100>;
			nvidia,ahub-cif-ids = <5 5>;
483
			clocks = <&tegra_car 11>;
484
			status = "disabled";
485 486 487 488 489 490
		};

		tegra_i2s2: i2s@70080500 {
			compatible = "nvidia,tegra30-i2s";
			reg = <0x70080500 0x100>;
			nvidia,ahub-cif-ids = <6 6>;
491
			clocks = <&tegra_car 18>;
492
			status = "disabled";
493 494 495 496 497 498
		};

		tegra_i2s3: i2s@70080600 {
			compatible = "nvidia,tegra30-i2s";
			reg = <0x70080600 0x100>;
			nvidia,ahub-cif-ids = <7 7>;
499
			clocks = <&tegra_car 101>;
500
			status = "disabled";
501 502 503 504 505 506
		};

		tegra_i2s4: i2s@70080700 {
			compatible = "nvidia,tegra30-i2s";
			reg = <0x70080700 0x100>;
			nvidia,ahub-cif-ids = <8 8>;
507
			clocks = <&tegra_car 102>;
508
			status = "disabled";
509 510
		};
	};
511

512 513 514 515
	sdhci@78000000 {
		compatible = "nvidia,tegra30-sdhci", "nvidia,tegra20-sdhci";
		reg = <0x78000000 0x200>;
		interrupts = <0 14 0x04>;
516
		clocks = <&tegra_car 14>;
517
		status = "disabled";
518
	};
519

520 521 522 523
	sdhci@78000200 {
		compatible = "nvidia,tegra30-sdhci", "nvidia,tegra20-sdhci";
		reg = <0x78000200 0x200>;
		interrupts = <0 15 0x04>;
524
		clocks = <&tegra_car 9>;
525
		status = "disabled";
526
	};
527

528 529 530 531
	sdhci@78000400 {
		compatible = "nvidia,tegra30-sdhci", "nvidia,tegra20-sdhci";
		reg = <0x78000400 0x200>;
		interrupts = <0 19 0x04>;
532
		clocks = <&tegra_car 69>;
533
		status = "disabled";
534 535 536 537 538 539
	};

	sdhci@78000600 {
		compatible = "nvidia,tegra30-sdhci", "nvidia,tegra20-sdhci";
		reg = <0x78000600 0x200>;
		interrupts = <0 31 0x04>;
540
		clocks = <&tegra_car 15>;
541
		status = "disabled";
542 543
	};

544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572
	cpus {
		#address-cells = <1>;
		#size-cells = <0>;

		cpu@0 {
			device_type = "cpu";
			compatible = "arm,cortex-a9";
			reg = <0>;
		};

		cpu@1 {
			device_type = "cpu";
			compatible = "arm,cortex-a9";
			reg = <1>;
		};

		cpu@2 {
			device_type = "cpu";
			compatible = "arm,cortex-a9";
			reg = <2>;
		};

		cpu@3 {
			device_type = "cpu";
			compatible = "arm,cortex-a9";
			reg = <3>;
		};
	};

573 574 575 576 577 578
	pmu {
		compatible = "arm,cortex-a9-pmu";
		interrupts = <0 144 0x04
			      0 145 0x04
			      0 146 0x04
			      0 147 0x04>;
579
	};
580
};