tegra20.dtsi 12.7 KB
Newer Older
1 2
#include <dt-bindings/gpio/tegra-gpio.h>

3
#include "skeleton.dtsi"
G
Grant Likely 已提交
4 5 6 7 8

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

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

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

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

		ranges = <0x54000000 0x54000000 0x04000000>;

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

		vi {
			compatible = "nvidia,tegra20-vi";
			reg = <0x54080000 0x00040000>;
			interrupts = <0 69 0x04>;
40
			clocks = <&tegra_car 100>;
41 42 43 44 45 46
		};

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

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

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

		gr3d {
			compatible = "nvidia,tegra20-gr3d";
			reg = <0x54180000 0x00040000>;
67
			clocks = <&tegra_car 24>;
68 69 70 71 72 73
		};

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

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

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

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

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

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

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

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

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

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

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

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

159
	apbdma: dma {
160 161
		compatible = "nvidia,tegra20-apbdma";
		reg = <0x6000a000 0x1200>;
162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177
		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>;
178
		clocks = <&tegra_car 34>;
179 180
	};

181 182 183
	ahb {
		compatible = "nvidia,tegra20-ahb";
		reg = <0x6000c004 0x10c>; /* AHB Arbitration + Gizmo Controller */
G
Grant Likely 已提交
184 185
	};

186
	gpio: gpio {
G
Grant Likely 已提交
187
		compatible = "nvidia,tegra20-gpio";
188 189 190 191 192 193 194 195
		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>;
G
Grant Likely 已提交
196 197
		#gpio-cells = <2>;
		gpio-controller;
198 199
		#interrupt-cells = <2>;
		interrupt-controller;
G
Grant Likely 已提交
200 201
	};

202
	pinmux: pinmux {
203
		compatible = "nvidia,tegra20-pinmux";
204 205 206 207
		reg = <0x70000014 0x10   /* Tri-state registers */
		       0x70000080 0x20   /* Mux registers */
		       0x700000a0 0x14   /* Pull-up/down registers */
		       0x70000868 0xa8>; /* Pad control registers */
208 209
	};

210 211 212 213
	das {
		compatible = "nvidia,tegra20-das";
		reg = <0x70000c00 0x80>;
	};
214

215 216 217 218 219 220 221 222
	tegra_ac97: ac97 {
		compatible = "nvidia,tegra20-ac97";
		reg = <0x70002000 0x200>;
		interrupts = <0 81 0x04>;
		nvidia,dma-request-selector = <&apbdma 12>;
		clocks = <&tegra_car 3>;
		status = "disabled";
	};
223 224 225 226 227 228

	tegra_i2s1: i2s@70002800 {
		compatible = "nvidia,tegra20-i2s";
		reg = <0x70002800 0x200>;
		interrupts = <0 13 0x04>;
		nvidia,dma-request-selector = <&apbdma 2>;
229
		clocks = <&tegra_car 11>;
230
		status = "disabled";
231 232 233 234 235 236 237
	};

	tegra_i2s2: i2s@70002a00 {
		compatible = "nvidia,tegra20-i2s";
		reg = <0x70002a00 0x200>;
		interrupts = <0 3 0x04>;
		nvidia,dma-request-selector = <&apbdma 1>;
238
		clocks = <&tegra_car 18>;
239
		status = "disabled";
240 241
	};

242 243 244 245 246 247 248 249
	/*
	 * 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,tegra20-uart" and to enable the APB DMA based serial
	 * driver, the comptible is "nvidia,tegra20-hsuart".
	 */
	uarta: serial@70006000 {
G
Grant Likely 已提交
250 251 252
		compatible = "nvidia,tegra20-uart";
		reg = <0x70006000 0x40>;
		reg-shift = <2>;
253
		interrupts = <0 36 0x04>;
254
		nvidia,dma-request-selector = <&apbdma 8>;
255
		clocks = <&tegra_car 6>;
256
		status = "disabled";
G
Grant Likely 已提交
257 258
	};

259
	uartb: serial@70006040 {
G
Grant Likely 已提交
260 261 262
		compatible = "nvidia,tegra20-uart";
		reg = <0x70006040 0x40>;
		reg-shift = <2>;
263
		interrupts = <0 37 0x04>;
264
		nvidia,dma-request-selector = <&apbdma 9>;
265
		clocks = <&tegra_car 96>;
266
		status = "disabled";
G
Grant Likely 已提交
267 268
	};

269
	uartc: serial@70006200 {
G
Grant Likely 已提交
270 271 272
		compatible = "nvidia,tegra20-uart";
		reg = <0x70006200 0x100>;
		reg-shift = <2>;
273
		interrupts = <0 46 0x04>;
274
		nvidia,dma-request-selector = <&apbdma 10>;
275
		clocks = <&tegra_car 55>;
276
		status = "disabled";
G
Grant Likely 已提交
277 278
	};

279
	uartd: serial@70006300 {
G
Grant Likely 已提交
280 281 282
		compatible = "nvidia,tegra20-uart";
		reg = <0x70006300 0x100>;
		reg-shift = <2>;
283
		interrupts = <0 90 0x04>;
284
		nvidia,dma-request-selector = <&apbdma 19>;
285
		clocks = <&tegra_car 65>;
286
		status = "disabled";
G
Grant Likely 已提交
287 288
	};

289
	uarte: serial@70006400 {
G
Grant Likely 已提交
290 291 292
		compatible = "nvidia,tegra20-uart";
		reg = <0x70006400 0x100>;
		reg-shift = <2>;
293
		interrupts = <0 91 0x04>;
294
		nvidia,dma-request-selector = <&apbdma 20>;
295
		clocks = <&tegra_car 66>;
296
		status = "disabled";
G
Grant Likely 已提交
297 298
	};

T
Thierry Reding 已提交
299
	pwm: pwm {
300 301 302
		compatible = "nvidia,tegra20-pwm";
		reg = <0x7000a000 0x100>;
		#pwm-cells = <2>;
303
		clocks = <&tegra_car 17>;
304
		status = "disabled";
305 306
	};

307 308 309 310
	rtc {
		compatible = "nvidia,tegra20-rtc";
		reg = <0x7000e000 0x100>;
		interrupts = <0 2 0x04>;
311
		clocks = <&tegra_car 4>;
312 313
	};

314 315 316 317
	i2c@7000c000 {
		compatible = "nvidia,tegra20-i2c";
		reg = <0x7000c000 0x100>;
		interrupts = <0 38 0x04>;
318 319
		#address-cells = <1>;
		#size-cells = <0>;
320 321
		clocks = <&tegra_car 12>, <&tegra_car 124>;
		clock-names = "div-clk", "fast-clk";
322
		status = "disabled";
323 324
	};

325 326 327 328 329 330 331
	spi@7000c380 {
		compatible = "nvidia,tegra20-sflash";
		reg = <0x7000c380 0x80>;
		interrupts = <0 39 0x04>;
		nvidia,dma-request-selector = <&apbdma 11>;
		#address-cells = <1>;
		#size-cells = <0>;
332
		clocks = <&tegra_car 43>;
333 334 335
		status = "disabled";
	};

336 337 338 339
	i2c@7000c400 {
		compatible = "nvidia,tegra20-i2c";
		reg = <0x7000c400 0x100>;
		interrupts = <0 84 0x04>;
340 341
		#address-cells = <1>;
		#size-cells = <0>;
342 343
		clocks = <&tegra_car 54>, <&tegra_car 124>;
		clock-names = "div-clk", "fast-clk";
344
		status = "disabled";
G
Grant Likely 已提交
345 346
	};

347 348 349 350
	i2c@7000c500 {
		compatible = "nvidia,tegra20-i2c";
		reg = <0x7000c500 0x100>;
		interrupts = <0 92 0x04>;
351 352
		#address-cells = <1>;
		#size-cells = <0>;
353 354
		clocks = <&tegra_car 67>, <&tegra_car 124>;
		clock-names = "div-clk", "fast-clk";
355
		status = "disabled";
G
Grant Likely 已提交
356 357
	};

358 359 360 361
	i2c@7000d000 {
		compatible = "nvidia,tegra20-i2c-dvc";
		reg = <0x7000d000 0x200>;
		interrupts = <0 53 0x04>;
362 363
		#address-cells = <1>;
		#size-cells = <0>;
364 365
		clocks = <&tegra_car 47>, <&tegra_car 124>;
		clock-names = "div-clk", "fast-clk";
366
		status = "disabled";
G
Grant Likely 已提交
367 368
	};

369 370 371 372 373 374 375
	spi@7000d400 {
		compatible = "nvidia,tegra20-slink";
		reg = <0x7000d400 0x200>;
		interrupts = <0 59 0x04>;
		nvidia,dma-request-selector = <&apbdma 15>;
		#address-cells = <1>;
		#size-cells = <0>;
376
		clocks = <&tegra_car 41>;
377 378 379 380 381 382 383 384 385 386
		status = "disabled";
	};

	spi@7000d600 {
		compatible = "nvidia,tegra20-slink";
		reg = <0x7000d600 0x200>;
		interrupts = <0 82 0x04>;
		nvidia,dma-request-selector = <&apbdma 16>;
		#address-cells = <1>;
		#size-cells = <0>;
387
		clocks = <&tegra_car 44>;
388 389 390 391 392
		status = "disabled";
	};

	spi@7000d800 {
		compatible = "nvidia,tegra20-slink";
393
		reg = <0x7000d800 0x200>;
394 395 396 397
		interrupts = <0 83 0x04>;
		nvidia,dma-request-selector = <&apbdma 17>;
		#address-cells = <1>;
		#size-cells = <0>;
398
		clocks = <&tegra_car 46>;
399 400 401 402 403 404 405 406 407 408
		status = "disabled";
	};

	spi@7000da00 {
		compatible = "nvidia,tegra20-slink";
		reg = <0x7000da00 0x200>;
		interrupts = <0 93 0x04>;
		nvidia,dma-request-selector = <&apbdma 18>;
		#address-cells = <1>;
		#size-cells = <0>;
409
		clocks = <&tegra_car 68>;
410 411 412
		status = "disabled";
	};

413 414 415 416 417 418 419 420
	kbc {
		compatible = "nvidia,tegra20-kbc";
		reg = <0x7000e200 0x100>;
		interrupts = <0 85 0x04>;
		clocks = <&tegra_car 36>;
		status = "disabled";
	};

421 422 423
	pmc {
		compatible = "nvidia,tegra20-pmc";
		reg = <0x7000e400 0x400>;
424 425
		clocks = <&tegra_car 110>, <&clk32k_in>;
		clock-names = "pclk", "clk32k_in";
426 427
	};

428
	memory-controller@7000f000 {
429 430 431 432 433 434
		compatible = "nvidia,tegra20-mc";
		reg = <0x7000f000 0x024
		       0x7000f03c 0x3c4>;
		interrupts = <0 77 0x04>;
	};

435
	iommu {
436 437 438 439 440
		compatible = "nvidia,tegra20-gart";
		reg = <0x7000f024 0x00000018	/* controller registers */
		       0x58000000 0x02000000>;	/* GART aperture */
	};

441
	memory-controller@7000f400 {
442 443
		compatible = "nvidia,tegra20-emc";
		reg = <0x7000f400 0x200>;
444 445
		#address-cells = <1>;
		#size-cells = <0>;
G
Grant Likely 已提交
446
	};
447 448 449 450

	usb@c5000000 {
		compatible = "nvidia,tegra20-ehci", "usb-ehci";
		reg = <0xc5000000 0x4000>;
451
		interrupts = <0 20 0x04>;
452
		phy_type = "utmi";
453
		nvidia,has-legacy-mode;
454
		clocks = <&tegra_car 22>;
455
		nvidia,needs-double-reset;
456
		nvidia,phy = <&phy1>;
457
		status = "disabled";
458 459
	};

460
	phy1: usb-phy@c5000000 {
461
		compatible = "nvidia,tegra20-usb-phy";
462
		reg = <0xc5000000 0x4000 0xc5000000 0x4000>;
463
		phy_type = "utmi";
464 465 466 467 468
		clocks = <&tegra_car 22>,
			 <&tegra_car 127>,
			 <&tegra_car 106>,
			 <&tegra_car 22>;
		clock-names = "reg", "pll_u", "timer", "utmi-pads";
469
		nvidia,has-legacy-mode;
470 471 472 473 474 475 476 477
		hssync_start_delay = <9>;
		idle_wait_delay = <17>;
		elastic_limit = <16>;
		term_range_adj = <6>;
		xcvr_setup = <9>;
		xcvr_lsfslew = <1>;
		xcvr_lsrslew = <1>;
		status = "disabled";
478 479
	};

480 481 482
	usb@c5004000 {
		compatible = "nvidia,tegra20-ehci", "usb-ehci";
		reg = <0xc5004000 0x4000>;
483
		interrupts = <0 21 0x04>;
484
		phy_type = "ulpi";
485
		clocks = <&tegra_car 58>;
486
		nvidia,phy = <&phy2>;
487
		status = "disabled";
488 489
	};

490
	phy2: usb-phy@c5004000 {
491
		compatible = "nvidia,tegra20-usb-phy";
492
		reg = <0xc5004000 0x4000>;
493
		phy_type = "ulpi";
494 495 496 497 498
		clocks = <&tegra_car 58>,
			 <&tegra_car 127>,
			 <&tegra_car 93>;
		clock-names = "reg", "pll_u", "ulpi-link";
		status = "disabled";
499 500
	};

501 502 503
	usb@c5008000 {
		compatible = "nvidia,tegra20-ehci", "usb-ehci";
		reg = <0xc5008000 0x4000>;
504
		interrupts = <0 97 0x04>;
505
		phy_type = "utmi";
506
		clocks = <&tegra_car 59>;
507
		nvidia,phy = <&phy3>;
508
		status = "disabled";
509
	};
510

511
	phy3: usb-phy@c5008000 {
512
		compatible = "nvidia,tegra20-usb-phy";
513
		reg = <0xc5008000 0x4000 0xc5000000 0x4000>;
514
		phy_type = "utmi";
515 516 517 518 519 520 521 522 523 524 525 526 527
		clocks = <&tegra_car 59>,
			 <&tegra_car 127>,
			 <&tegra_car 106>,
			 <&tegra_car 22>;
		clock-names = "reg", "pll_u", "timer", "utmi-pads";
		hssync_start_delay = <9>;
		idle_wait_delay = <17>;
		elastic_limit = <16>;
		term_range_adj = <6>;
		xcvr_setup = <9>;
		xcvr_lsfslew = <2>;
		xcvr_lsrslew = <2>;
		status = "disabled";
528 529
	};

530 531 532 533
	sdhci@c8000000 {
		compatible = "nvidia,tegra20-sdhci";
		reg = <0xc8000000 0x200>;
		interrupts = <0 14 0x04>;
534
		clocks = <&tegra_car 14>;
535
		status = "disabled";
536
	};
537

538 539 540 541
	sdhci@c8000200 {
		compatible = "nvidia,tegra20-sdhci";
		reg = <0xc8000200 0x200>;
		interrupts = <0 15 0x04>;
542
		clocks = <&tegra_car 9>;
543
		status = "disabled";
544
	};
545

546 547 548 549
	sdhci@c8000400 {
		compatible = "nvidia,tegra20-sdhci";
		reg = <0xc8000400 0x200>;
		interrupts = <0 19 0x04>;
550
		clocks = <&tegra_car 69>;
551
		status = "disabled";
552 553 554 555 556 557
	};

	sdhci@c8000600 {
		compatible = "nvidia,tegra20-sdhci";
		reg = <0xc8000600 0x200>;
		interrupts = <0 31 0x04>;
558
		clocks = <&tegra_car 15>;
559
		status = "disabled";
560 561
	};

562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578
	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>;
		};
	};

579 580 581 582
	pmu {
		compatible = "arm,cortex-a9-pmu";
		interrupts = <0 56 0x04
			      0 57 0x04>;
583
	};
G
Grant Likely 已提交
584
};