tegra20.dtsi 16.8 KB
Newer Older
1
#include <dt-bindings/clock/tegra20-car.h>
2
#include <dt-bindings/gpio/tegra-gpio.h>
3
#include <dt-bindings/interrupt-controller/arm-gic.h>
4

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

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

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

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

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

		ranges = <0x54000000 0x54000000 0x04000000>;

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

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

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

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

		gr2d {
			compatible = "nvidia,tegra20-gr2d";
			reg = <0x54140000 0x00040000>;
62
			interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
63
			clocks = <&tegra_car TEGRA20_CLK_GR2D>;
64 65 66 67 68
		};

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

		dc@54200000 {
			compatible = "nvidia,tegra20-dc";
			reg = <0x54200000 0x00040000>;
75
			interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
76 77
			clocks = <&tegra_car TEGRA20_CLK_DISP1>,
				 <&tegra_car TEGRA20_CLK_PLL_P>;
78
			clock-names = "disp1", "parent";
79 80 81 82 83 84 85 86 87

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

		dc@54240000 {
			compatible = "nvidia,tegra20-dc";
			reg = <0x54240000 0x00040000>;
88
			interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
89 90
			clocks = <&tegra_car TEGRA20_CLK_DISP2>,
				 <&tegra_car TEGRA20_CLK_PLL_P>;
91
			clock-names = "disp2", "parent";
92 93 94 95 96 97 98 99 100

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

		hdmi {
			compatible = "nvidia,tegra20-hdmi";
			reg = <0x54280000 0x00040000>;
101
			interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
102 103
			clocks = <&tegra_car TEGRA20_CLK_HDMI>,
				 <&tegra_car TEGRA20_CLK_PLL_D_OUT0>;
104
			clock-names = "hdmi", "parent";
105 106 107 108 109 110
			status = "disabled";
		};

		tvo {
			compatible = "nvidia,tegra20-tvo";
			reg = <0x542c0000 0x00040000>;
111
			interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
112
			clocks = <&tegra_car TEGRA20_CLK_TVO>;
113 114 115 116 117 118
			status = "disabled";
		};

		dsi {
			compatible = "nvidia,tegra20-dsi";
			reg = <0x54300000 0x00040000>;
119
			clocks = <&tegra_car TEGRA20_CLK_DSI>;
120 121 122 123
			status = "disabled";
		};
	};

124 125 126
	timer@50004600 {
		compatible = "arm,cortex-a9-twd-timer";
		reg = <0x50040600 0x20>;
127 128
		interrupts = <GIC_PPI 13
			(GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>;
129
		clocks = <&tegra_car TEGRA20_CLK_TWD>;
130 131
	};

132
	intc: interrupt-controller {
133
		compatible = "arm,cortex-a9-gic";
134 135
		reg = <0x50041000 0x1000
		       0x50040100 0x0100>;
136 137
		interrupt-controller;
		#interrupt-cells = <3>;
G
Grant Likely 已提交
138 139
	};

140 141 142 143 144 145 146 147 148
	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>;
	};

149 150 151
	timer@60005000 {
		compatible = "nvidia,tegra20-timer";
		reg = <0x60005000 0x60>;
152 153 154 155
		interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
			     <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,
			     <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>,
			     <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
156
		clocks = <&tegra_car TEGRA20_CLK_TIMER>;
157 158
	};

159 160 161 162 163 164
	tegra_car: clock {
		compatible = "nvidia,tegra20-car";
		reg = <0x60006000 0x1000>;
		#clock-cells = <1>;
	};

165
	apbdma: dma {
166 167
		compatible = "nvidia,tegra20-apbdma";
		reg = <0x6000a000 0x1200>;
168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183
		interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>,
			     <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>,
			     <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>,
			     <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>,
			     <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>,
			     <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
			     <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
			     <GIC_SPI 111 IRQ_TYPE_LEVEL_HIGH>,
			     <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>,
			     <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>,
			     <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>,
			     <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>,
			     <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
			     <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
			     <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
			     <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>;
184
		clocks = <&tegra_car TEGRA20_CLK_APBDMA>;
185 186
	};

187 188 189
	ahb {
		compatible = "nvidia,tegra20-ahb";
		reg = <0x6000c004 0x10c>; /* AHB Arbitration + Gizmo Controller */
G
Grant Likely 已提交
190 191
	};

192
	gpio: gpio {
G
Grant Likely 已提交
193
		compatible = "nvidia,tegra20-gpio";
194
		reg = <0x6000d000 0x1000>;
195 196 197 198 199 200 201
		interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>,
			     <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>,
			     <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>,
			     <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>,
			     <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>,
			     <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>,
			     <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
G
Grant Likely 已提交
202 203
		#gpio-cells = <2>;
		gpio-controller;
204 205
		#interrupt-cells = <2>;
		interrupt-controller;
G
Grant Likely 已提交
206 207
	};

208
	pinmux: pinmux {
209
		compatible = "nvidia,tegra20-pinmux";
210 211 212 213
		reg = <0x70000014 0x10   /* Tri-state registers */
		       0x70000080 0x20   /* Mux registers */
		       0x700000a0 0x14   /* Pull-up/down registers */
		       0x70000868 0xa8>; /* Pad control registers */
214 215
	};

216 217 218 219
	das {
		compatible = "nvidia,tegra20-das";
		reg = <0x70000c00 0x80>;
	};
220

221 222 223
	tegra_ac97: ac97 {
		compatible = "nvidia,tegra20-ac97";
		reg = <0x70002000 0x200>;
224
		interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
225
		nvidia,dma-request-selector = <&apbdma 12>;
226
		clocks = <&tegra_car TEGRA20_CLK_AC97>;
227 228
		status = "disabled";
	};
229 230 231 232

	tegra_i2s1: i2s@70002800 {
		compatible = "nvidia,tegra20-i2s";
		reg = <0x70002800 0x200>;
233
		interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
234
		nvidia,dma-request-selector = <&apbdma 2>;
235
		clocks = <&tegra_car TEGRA20_CLK_I2S1>;
236
		status = "disabled";
237 238 239 240 241
	};

	tegra_i2s2: i2s@70002a00 {
		compatible = "nvidia,tegra20-i2s";
		reg = <0x70002a00 0x200>;
242
		interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
243
		nvidia,dma-request-selector = <&apbdma 1>;
244
		clocks = <&tegra_car TEGRA20_CLK_I2S2>;
245
		status = "disabled";
246 247
	};

248 249 250 251 252 253 254 255
	/*
	 * 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 已提交
256 257 258
		compatible = "nvidia,tegra20-uart";
		reg = <0x70006000 0x40>;
		reg-shift = <2>;
259
		interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
260
		nvidia,dma-request-selector = <&apbdma 8>;
261
		clocks = <&tegra_car TEGRA20_CLK_UARTA>;
262
		status = "disabled";
G
Grant Likely 已提交
263 264
	};

265
	uartb: serial@70006040 {
G
Grant Likely 已提交
266 267 268
		compatible = "nvidia,tegra20-uart";
		reg = <0x70006040 0x40>;
		reg-shift = <2>;
269
		interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
270
		nvidia,dma-request-selector = <&apbdma 9>;
271
		clocks = <&tegra_car TEGRA20_CLK_UARTB>;
272
		status = "disabled";
G
Grant Likely 已提交
273 274
	};

275
	uartc: serial@70006200 {
G
Grant Likely 已提交
276 277 278
		compatible = "nvidia,tegra20-uart";
		reg = <0x70006200 0x100>;
		reg-shift = <2>;
279
		interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
280
		nvidia,dma-request-selector = <&apbdma 10>;
281
		clocks = <&tegra_car TEGRA20_CLK_UARTC>;
282
		status = "disabled";
G
Grant Likely 已提交
283 284
	};

285
	uartd: serial@70006300 {
G
Grant Likely 已提交
286 287 288
		compatible = "nvidia,tegra20-uart";
		reg = <0x70006300 0x100>;
		reg-shift = <2>;
289
		interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>;
290
		nvidia,dma-request-selector = <&apbdma 19>;
291
		clocks = <&tegra_car TEGRA20_CLK_UARTD>;
292
		status = "disabled";
G
Grant Likely 已提交
293 294
	};

295
	uarte: serial@70006400 {
G
Grant Likely 已提交
296 297 298
		compatible = "nvidia,tegra20-uart";
		reg = <0x70006400 0x100>;
		reg-shift = <2>;
299
		interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
300
		nvidia,dma-request-selector = <&apbdma 20>;
301
		clocks = <&tegra_car TEGRA20_CLK_UARTE>;
302
		status = "disabled";
G
Grant Likely 已提交
303 304
	};

T
Thierry Reding 已提交
305
	pwm: pwm {
306 307 308
		compatible = "nvidia,tegra20-pwm";
		reg = <0x7000a000 0x100>;
		#pwm-cells = <2>;
309
		clocks = <&tegra_car TEGRA20_CLK_PWM>;
310
		status = "disabled";
311 312
	};

313 314 315
	rtc {
		compatible = "nvidia,tegra20-rtc";
		reg = <0x7000e000 0x100>;
316
		interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
317
		clocks = <&tegra_car TEGRA20_CLK_RTC>;
318 319
	};

320 321 322
	i2c@7000c000 {
		compatible = "nvidia,tegra20-i2c";
		reg = <0x7000c000 0x100>;
323
		interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
324 325
		#address-cells = <1>;
		#size-cells = <0>;
326 327
		clocks = <&tegra_car TEGRA20_CLK_I2C1>,
			 <&tegra_car TEGRA20_CLK_PLL_P_OUT3>;
328
		clock-names = "div-clk", "fast-clk";
329
		status = "disabled";
330 331
	};

332 333 334
	spi@7000c380 {
		compatible = "nvidia,tegra20-sflash";
		reg = <0x7000c380 0x80>;
335
		interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>;
336 337 338
		nvidia,dma-request-selector = <&apbdma 11>;
		#address-cells = <1>;
		#size-cells = <0>;
339
		clocks = <&tegra_car TEGRA20_CLK_SPI>;
340 341 342
		status = "disabled";
	};

343 344 345
	i2c@7000c400 {
		compatible = "nvidia,tegra20-i2c";
		reg = <0x7000c400 0x100>;
346
		interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
347 348
		#address-cells = <1>;
		#size-cells = <0>;
349 350
		clocks = <&tegra_car TEGRA20_CLK_I2C2>,
			 <&tegra_car TEGRA20_CLK_PLL_P_OUT3>;
351
		clock-names = "div-clk", "fast-clk";
352
		status = "disabled";
G
Grant Likely 已提交
353 354
	};

355 356 357
	i2c@7000c500 {
		compatible = "nvidia,tegra20-i2c";
		reg = <0x7000c500 0x100>;
358
		interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>;
359 360
		#address-cells = <1>;
		#size-cells = <0>;
361 362
		clocks = <&tegra_car TEGRA20_CLK_I2C3>,
			 <&tegra_car TEGRA20_CLK_PLL_P_OUT3>;
363
		clock-names = "div-clk", "fast-clk";
364
		status = "disabled";
G
Grant Likely 已提交
365 366
	};

367 368 369
	i2c@7000d000 {
		compatible = "nvidia,tegra20-i2c-dvc";
		reg = <0x7000d000 0x200>;
370
		interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
371 372
		#address-cells = <1>;
		#size-cells = <0>;
373 374
		clocks = <&tegra_car TEGRA20_CLK_DVC>,
			 <&tegra_car TEGRA20_CLK_PLL_P_OUT3>;
375
		clock-names = "div-clk", "fast-clk";
376
		status = "disabled";
G
Grant Likely 已提交
377 378
	};

379 380 381
	spi@7000d400 {
		compatible = "nvidia,tegra20-slink";
		reg = <0x7000d400 0x200>;
382
		interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>;
383 384 385
		nvidia,dma-request-selector = <&apbdma 15>;
		#address-cells = <1>;
		#size-cells = <0>;
386
		clocks = <&tegra_car TEGRA20_CLK_SBC1>;
387 388 389 390 391 392
		status = "disabled";
	};

	spi@7000d600 {
		compatible = "nvidia,tegra20-slink";
		reg = <0x7000d600 0x200>;
393
		interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
394 395 396
		nvidia,dma-request-selector = <&apbdma 16>;
		#address-cells = <1>;
		#size-cells = <0>;
397
		clocks = <&tegra_car TEGRA20_CLK_SBC2>;
398 399 400 401 402
		status = "disabled";
	};

	spi@7000d800 {
		compatible = "nvidia,tegra20-slink";
403
		reg = <0x7000d800 0x200>;
404
		interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
405 406 407
		nvidia,dma-request-selector = <&apbdma 17>;
		#address-cells = <1>;
		#size-cells = <0>;
408
		clocks = <&tegra_car TEGRA20_CLK_SBC3>;
409 410 411 412 413 414
		status = "disabled";
	};

	spi@7000da00 {
		compatible = "nvidia,tegra20-slink";
		reg = <0x7000da00 0x200>;
415
		interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>;
416 417 418
		nvidia,dma-request-selector = <&apbdma 18>;
		#address-cells = <1>;
		#size-cells = <0>;
419
		clocks = <&tegra_car TEGRA20_CLK_SBC4>;
420 421 422
		status = "disabled";
	};

423 424 425
	kbc {
		compatible = "nvidia,tegra20-kbc";
		reg = <0x7000e200 0x100>;
426
		interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
427
		clocks = <&tegra_car TEGRA20_CLK_KBC>;
428 429 430
		status = "disabled";
	};

431 432 433
	pmc {
		compatible = "nvidia,tegra20-pmc";
		reg = <0x7000e400 0x400>;
434
		clocks = <&tegra_car TEGRA20_CLK_PCLK>, <&clk32k_in>;
435
		clock-names = "pclk", "clk32k_in";
436 437
	};

438
	memory-controller@7000f000 {
439 440 441
		compatible = "nvidia,tegra20-mc";
		reg = <0x7000f000 0x024
		       0x7000f03c 0x3c4>;
442
		interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
443 444
	};

445
	iommu {
446 447 448 449 450
		compatible = "nvidia,tegra20-gart";
		reg = <0x7000f024 0x00000018	/* controller registers */
		       0x58000000 0x02000000>;	/* GART aperture */
	};

451
	memory-controller@7000f400 {
452 453
		compatible = "nvidia,tegra20-emc";
		reg = <0x7000f400 0x200>;
454 455
		#address-cells = <1>;
		#size-cells = <0>;
G
Grant Likely 已提交
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 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512
	pcie-controller {
		compatible = "nvidia,tegra20-pcie";
		device_type = "pci";
		reg = <0x80003000 0x00000800   /* PADS registers */
		       0x80003800 0x00000200   /* AFI registers */
		       0x90000000 0x10000000>; /* configuration space */
		reg-names = "pads", "afi", "cs";
		interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH   /* controller interrupt */
			      GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>; /* MSI interrupt */
		interrupt-names = "intr", "msi";

		bus-range = <0x00 0xff>;
		#address-cells = <3>;
		#size-cells = <2>;

		ranges = <0x82000000 0 0x80000000 0x80000000 0 0x00001000   /* port 0 registers */
			  0x82000000 0 0x80001000 0x80001000 0 0x00001000   /* port 1 registers */
			  0x81000000 0 0          0x82000000 0 0x00010000   /* downstream I/O */
			  0x82000000 0 0xa0000000 0xa0000000 0 0x10000000   /* non-prefetchable memory */
			  0xc2000000 0 0xb0000000 0xb0000000 0 0x10000000>; /* prefetchable memory */

		clocks = <&tegra_car TEGRA20_CLK_PEX>,
			 <&tegra_car TEGRA20_CLK_AFI>,
			 <&tegra_car TEGRA20_CLK_PCIE_XCLK>,
			 <&tegra_car TEGRA20_CLK_PLL_E>;
		clock-names = "pex", "afi", "pcie_xclk", "pll_e";
		status = "disabled";

		pci@1,0 {
			device_type = "pci";
			assigned-addresses = <0x82000800 0 0x80000000 0 0x1000>;
			reg = <0x000800 0 0 0 0>;
			status = "disabled";

			#address-cells = <3>;
			#size-cells = <2>;
			ranges;

			nvidia,num-lanes = <2>;
		};

		pci@2,0 {
			device_type = "pci";
			assigned-addresses = <0x82001000 0 0x80001000 0 0x1000>;
			reg = <0x001000 0 0 0 0>;
			status = "disabled";

			#address-cells = <3>;
			#size-cells = <2>;
			ranges;

			nvidia,num-lanes = <2>;
		};
	};

513 514 515
	usb@c5000000 {
		compatible = "nvidia,tegra20-ehci", "usb-ehci";
		reg = <0xc5000000 0x4000>;
516
		interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
517
		phy_type = "utmi";
518
		nvidia,has-legacy-mode;
519
		clocks = <&tegra_car TEGRA20_CLK_USBD>;
520
		nvidia,needs-double-reset;
521
		nvidia,phy = <&phy1>;
522
		status = "disabled";
523 524
	};

525
	phy1: usb-phy@c5000000 {
526
		compatible = "nvidia,tegra20-usb-phy";
527
		reg = <0xc5000000 0x4000 0xc5000000 0x4000>;
528
		phy_type = "utmi";
529 530 531 532
		clocks = <&tegra_car TEGRA20_CLK_USBD>,
			 <&tegra_car TEGRA20_CLK_PLL_U>,
			 <&tegra_car TEGRA20_CLK_CLK_M>,
			 <&tegra_car TEGRA20_CLK_USBD>;
533
		clock-names = "reg", "pll_u", "timer", "utmi-pads";
534
		nvidia,has-legacy-mode;
535 536 537 538 539 540 541 542
		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";
543 544
	};

545 546 547
	usb@c5004000 {
		compatible = "nvidia,tegra20-ehci", "usb-ehci";
		reg = <0xc5004000 0x4000>;
548
		interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
549
		phy_type = "ulpi";
550
		clocks = <&tegra_car TEGRA20_CLK_USB2>;
551
		nvidia,phy = <&phy2>;
552
		status = "disabled";
553 554
	};

555
	phy2: usb-phy@c5004000 {
556
		compatible = "nvidia,tegra20-usb-phy";
557
		reg = <0xc5004000 0x4000>;
558
		phy_type = "ulpi";
559 560 561
		clocks = <&tegra_car TEGRA20_CLK_USB2>,
			 <&tegra_car TEGRA20_CLK_PLL_U>,
			 <&tegra_car TEGRA20_CLK_CDEV2>;
562 563
		clock-names = "reg", "pll_u", "ulpi-link";
		status = "disabled";
564 565
	};

566 567 568
	usb@c5008000 {
		compatible = "nvidia,tegra20-ehci", "usb-ehci";
		reg = <0xc5008000 0x4000>;
569
		interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
570
		phy_type = "utmi";
571
		clocks = <&tegra_car TEGRA20_CLK_USB3>;
572
		nvidia,phy = <&phy3>;
573
		status = "disabled";
574
	};
575

576
	phy3: usb-phy@c5008000 {
577
		compatible = "nvidia,tegra20-usb-phy";
578
		reg = <0xc5008000 0x4000 0xc5000000 0x4000>;
579
		phy_type = "utmi";
580 581 582 583
		clocks = <&tegra_car TEGRA20_CLK_USB3>,
			 <&tegra_car TEGRA20_CLK_PLL_U>,
			 <&tegra_car TEGRA20_CLK_CLK_M>,
			 <&tegra_car TEGRA20_CLK_USBD>;
584 585 586 587 588 589 590 591 592
		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";
593 594
	};

595 596 597
	sdhci@c8000000 {
		compatible = "nvidia,tegra20-sdhci";
		reg = <0xc8000000 0x200>;
598
		interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
599
		clocks = <&tegra_car TEGRA20_CLK_SDMMC1>;
600
		status = "disabled";
601
	};
602

603 604 605
	sdhci@c8000200 {
		compatible = "nvidia,tegra20-sdhci";
		reg = <0xc8000200 0x200>;
606
		interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
607
		clocks = <&tegra_car TEGRA20_CLK_SDMMC2>;
608
		status = "disabled";
609
	};
610

611 612 613
	sdhci@c8000400 {
		compatible = "nvidia,tegra20-sdhci";
		reg = <0xc8000400 0x200>;
614
		interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
615
		clocks = <&tegra_car TEGRA20_CLK_SDMMC3>;
616
		status = "disabled";
617 618 619 620 621
	};

	sdhci@c8000600 {
		compatible = "nvidia,tegra20-sdhci";
		reg = <0xc8000600 0x200>;
622
		interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
623
		clocks = <&tegra_car TEGRA20_CLK_SDMMC4>;
624
		status = "disabled";
625 626
	};

627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643
	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>;
		};
	};

644 645
	pmu {
		compatible = "arm,cortex-a9-pmu";
646 647
		interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>,
			     <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
648
	};
G
Grant Likely 已提交
649
};