imx51.dtsi 12.0 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
/*
 * Copyright 2011 Freescale Semiconductor, Inc.
 * Copyright 2011 Linaro Ltd.
 *
 * The code contained herein is licensed under the GNU General Public
 * License. You may obtain a copy of the GNU General Public License
 * Version 2 or later at the following locations:
 *
 * http://www.opensource.org/licenses/gpl-license.html
 * http://www.gnu.org/copyleft/gpl.html
 */

13
#include "skeleton.dtsi"
14
#include "imx51-pinfunc.h"
15 16 17

/ {
	aliases {
S
Shawn Guo 已提交
18 19 20 21
		gpio0 = &gpio1;
		gpio1 = &gpio2;
		gpio2 = &gpio3;
		gpio3 = &gpio4;
22 23 24 25 26 27 28 29
		i2c0 = &i2c1;
		i2c1 = &i2c2;
		serial0 = &uart1;
		serial1 = &uart2;
		serial2 = &uart3;
		spi0 = &ecspi1;
		spi1 = &ecspi2;
		spi2 = &cspi;
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
	};

	tzic: tz-interrupt-controller@e0000000 {
		compatible = "fsl,imx51-tzic", "fsl,tzic";
		interrupt-controller;
		#interrupt-cells = <1>;
		reg = <0xe0000000 0x4000>;
	};

	clocks {
		#address-cells = <1>;
		#size-cells = <0>;

		ckil {
			compatible = "fsl,imx-ckil", "fixed-clock";
			clock-frequency = <32768>;
		};

		ckih1 {
			compatible = "fsl,imx-ckih1", "fixed-clock";
50
			clock-frequency = <0>;
51 52 53 54 55 56 57 58 59 60 61 62 63
		};

		ckih2 {
			compatible = "fsl,imx-ckih2", "fixed-clock";
			clock-frequency = <0>;
		};

		osc {
			compatible = "fsl,imx-osc", "fixed-clock";
			clock-frequency = <24000000>;
		};
	};

M
Markus Pargmann 已提交
64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81
	cpus {
		#address-cells = <1>;
		#size-cells = <0>;
		cpu@0 {
			device_type = "cpu";
			compatible = "arm,cortex-a8";
			reg = <0>;
			clock-latency = <61036>; /* two CLK32 periods */
			clocks = <&clks 24>;
			clock-names = "cpu";
			operating-points = <
				/* kHz  uV (No regulator support) */
				160000  0
				800000  0
			>;
		};
	};

82 83 84 85 86 87 88
	soc {
		#address-cells = <1>;
		#size-cells = <1>;
		compatible = "simple-bus";
		interrupt-parent = <&tzic>;
		ranges;

89 90 91 92 93
		iram: iram@1ffe0000 {
			compatible = "mmio-sram";
			reg = <0x1ffe0000 0x20000>;
		};

S
Sascha Hauer 已提交
94 95 96 97 98
		ipu: ipu@40000000 {
			#crtc-cells = <1>;
			compatible = "fsl,imx51-ipu";
			reg = <0x40000000 0x20000000>;
			interrupts = <11 10>;
99 100
			clocks = <&clks 59>, <&clks 110>, <&clks 61>;
			clock-names = "bus", "di0", "di1";
101
			resets = <&src 2>;
S
Sascha Hauer 已提交
102 103
		};

104 105 106 107 108 109 110 111 112 113 114 115 116 117
		aips@70000000 { /* AIPS1 */
			compatible = "fsl,aips-bus", "simple-bus";
			#address-cells = <1>;
			#size-cells = <1>;
			reg = <0x70000000 0x10000000>;
			ranges;

			spba@70000000 {
				compatible = "fsl,spba-bus", "simple-bus";
				#address-cells = <1>;
				#size-cells = <1>;
				reg = <0x70000000 0x40000>;
				ranges;

118
				esdhc1: esdhc@70004000 {
119 120 121
					compatible = "fsl,imx51-esdhc";
					reg = <0x70004000 0x4000>;
					interrupts = <1>;
122 123
					clocks = <&clks 44>, <&clks 0>, <&clks 71>;
					clock-names = "ipg", "ahb", "per";
124 125 126
					status = "disabled";
				};

127
				esdhc2: esdhc@70008000 {
128 129 130
					compatible = "fsl,imx51-esdhc";
					reg = <0x70008000 0x4000>;
					interrupts = <2>;
131 132
					clocks = <&clks 45>, <&clks 0>, <&clks 72>;
					clock-names = "ipg", "ahb", "per";
133
					bus-width = <4>;
134 135 136
					status = "disabled";
				};

137
				uart3: serial@7000c000 {
138 139 140
					compatible = "fsl,imx51-uart", "fsl,imx21-uart";
					reg = <0x7000c000 0x4000>;
					interrupts = <33>;
141 142
					clocks = <&clks 32>, <&clks 33>;
					clock-names = "ipg", "per";
143 144 145
					status = "disabled";
				};

146
				ecspi1: ecspi@70010000 {
147 148 149 150 151
					#address-cells = <1>;
					#size-cells = <0>;
					compatible = "fsl,imx51-ecspi";
					reg = <0x70010000 0x4000>;
					interrupts = <36>;
152 153
					clocks = <&clks 51>, <&clks 52>;
					clock-names = "ipg", "per";
154 155 156
					status = "disabled";
				};

157 158 159 160
				ssi2: ssi@70014000 {
					compatible = "fsl,imx51-ssi", "fsl,imx21-ssi";
					reg = <0x70014000 0x4000>;
					interrupts = <30>;
161
					clocks = <&clks 49>;
162 163 164
					dmas = <&sdma 24 1 0>,
					       <&sdma 25 1 0>;
					dma-names = "rx", "tx";
165 166 167 168 169
					fsl,fifo-depth = <15>;
					fsl,ssi-dma-events = <25 24 23 22>; /* TX0 RX0 TX1 RX1 */
					status = "disabled";
				};

170
				esdhc3: esdhc@70020000 {
171 172 173
					compatible = "fsl,imx51-esdhc";
					reg = <0x70020000 0x4000>;
					interrupts = <3>;
174 175
					clocks = <&clks 46>, <&clks 0>, <&clks 73>;
					clock-names = "ipg", "ahb", "per";
176
					bus-width = <4>;
177 178 179
					status = "disabled";
				};

180
				esdhc4: esdhc@70024000 {
181 182 183
					compatible = "fsl,imx51-esdhc";
					reg = <0x70024000 0x4000>;
					interrupts = <4>;
184 185
					clocks = <&clks 47>, <&clks 0>, <&clks 74>;
					clock-names = "ipg", "ahb", "per";
186
					bus-width = <4>;
187 188 189 190
					status = "disabled";
				};
			};

191 192
			usbphy0: usbphy@0 {
				compatible = "usb-nop-xceiv";
193
				clocks = <&clks 75>;
194 195 196 197
				clock-names = "main_clk";
				status = "okay";
			};

198
			usbotg: usb@73f80000 {
199 200 201
				compatible = "fsl,imx51-usb", "fsl,imx27-usb";
				reg = <0x73f80000 0x0200>;
				interrupts = <18>;
202
				clocks = <&clks 108>;
203
				fsl,usbmisc = <&usbmisc 0>;
204
				fsl,usbphy = <&usbphy0>;
205 206 207
				status = "disabled";
			};

208
			usbh1: usb@73f80200 {
209 210 211
				compatible = "fsl,imx51-usb", "fsl,imx27-usb";
				reg = <0x73f80200 0x0200>;
				interrupts = <14>;
212
				clocks = <&clks 108>;
213
				fsl,usbmisc = <&usbmisc 1>;
214 215 216
				status = "disabled";
			};

217
			usbh2: usb@73f80400 {
218 219 220
				compatible = "fsl,imx51-usb", "fsl,imx27-usb";
				reg = <0x73f80400 0x0200>;
				interrupts = <16>;
221
				clocks = <&clks 108>;
222
				fsl,usbmisc = <&usbmisc 2>;
223 224 225
				status = "disabled";
			};

226
			usbh3: usb@73f80600 {
227 228 229
				compatible = "fsl,imx51-usb", "fsl,imx27-usb";
				reg = <0x73f80600 0x0200>;
				interrupts = <17>;
230
				clocks = <&clks 108>;
231
				fsl,usbmisc = <&usbmisc 3>;
232 233 234
				status = "disabled";
			};

235 236 237 238
			usbmisc: usbmisc@73f80800 {
				#index-cells = <1>;
				compatible = "fsl,imx51-usbmisc";
				reg = <0x73f80800 0x200>;
239
				clocks = <&clks 108>;
240 241
			};

242
			gpio1: gpio@73f84000 {
243
				compatible = "fsl,imx51-gpio", "fsl,imx35-gpio";
244 245 246 247 248
				reg = <0x73f84000 0x4000>;
				interrupts = <50 51>;
				gpio-controller;
				#gpio-cells = <2>;
				interrupt-controller;
249
				#interrupt-cells = <2>;
250 251
			};

252
			gpio2: gpio@73f88000 {
253
				compatible = "fsl,imx51-gpio", "fsl,imx35-gpio";
254 255 256 257 258
				reg = <0x73f88000 0x4000>;
				interrupts = <52 53>;
				gpio-controller;
				#gpio-cells = <2>;
				interrupt-controller;
259
				#interrupt-cells = <2>;
260 261
			};

262
			gpio3: gpio@73f8c000 {
263
				compatible = "fsl,imx51-gpio", "fsl,imx35-gpio";
264 265 266 267 268
				reg = <0x73f8c000 0x4000>;
				interrupts = <54 55>;
				gpio-controller;
				#gpio-cells = <2>;
				interrupt-controller;
269
				#interrupt-cells = <2>;
270 271
			};

272
			gpio4: gpio@73f90000 {
273
				compatible = "fsl,imx51-gpio", "fsl,imx35-gpio";
274 275 276 277 278
				reg = <0x73f90000 0x4000>;
				interrupts = <56 57>;
				gpio-controller;
				#gpio-cells = <2>;
				interrupt-controller;
279
				#interrupt-cells = <2>;
280 281
			};

L
Liu Ying 已提交
282 283 284 285 286 287 288 289
			kpp: kpp@73f94000 {
				compatible = "fsl,imx51-kpp", "fsl,imx21-kpp";
				reg = <0x73f94000 0x4000>;
				interrupts = <60>;
				clocks = <&clks 0>;
				status = "disabled";
			};

290
			wdog1: wdog@73f98000 {
291 292 293
				compatible = "fsl,imx51-wdt", "fsl,imx21-wdt";
				reg = <0x73f98000 0x4000>;
				interrupts = <58>;
294
				clocks = <&clks 0>;
295 296
			};

297
			wdog2: wdog@73f9c000 {
298 299 300
				compatible = "fsl,imx51-wdt", "fsl,imx21-wdt";
				reg = <0x73f9c000 0x4000>;
				interrupts = <59>;
301
				clocks = <&clks 0>;
302 303 304
				status = "disabled";
			};

305 306 307 308 309 310 311 312
			gpt: timer@73fa0000 {
				compatible = "fsl,imx51-gpt", "fsl,imx31-gpt";
				reg = <0x73fa0000 0x4000>;
				interrupts = <39>;
				clocks = <&clks 36>, <&clks 41>;
				clock-names = "ipg", "per";
			};

313
			iomuxc: iomuxc@73fa8000 {
314 315 316 317
				compatible = "fsl,imx51-iomuxc";
				reg = <0x73fa8000 0x4000>;
			};

S
Sascha Hauer 已提交
318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335
			pwm1: pwm@73fb4000 {
				#pwm-cells = <2>;
				compatible = "fsl,imx51-pwm", "fsl,imx27-pwm";
				reg = <0x73fb4000 0x4000>;
				clocks = <&clks 37>, <&clks 38>;
				clock-names = "ipg", "per";
				interrupts = <61>;
			};

			pwm2: pwm@73fb8000 {
				#pwm-cells = <2>;
				compatible = "fsl,imx51-pwm", "fsl,imx27-pwm";
				reg = <0x73fb8000 0x4000>;
				clocks = <&clks 39>, <&clks 40>;
				clock-names = "ipg", "per";
				interrupts = <94>;
			};

336
			uart1: serial@73fbc000 {
337 338 339
				compatible = "fsl,imx51-uart", "fsl,imx21-uart";
				reg = <0x73fbc000 0x4000>;
				interrupts = <31>;
340 341
				clocks = <&clks 28>, <&clks 29>;
				clock-names = "ipg", "per";
342 343 344
				status = "disabled";
			};

345
			uart2: serial@73fc0000 {
346 347 348
				compatible = "fsl,imx51-uart", "fsl,imx21-uart";
				reg = <0x73fc0000 0x4000>;
				interrupts = <32>;
349 350
				clocks = <&clks 30>, <&clks 31>;
				clock-names = "ipg", "per";
351 352
				status = "disabled";
			};
353

354 355 356 357 358 359
			src: src@73fd0000 {
				compatible = "fsl,imx51-src";
				reg = <0x73fd0000 0x4000>;
				#reset-cells = <1>;
			};

360 361 362 363 364 365
			clks: ccm@73fd4000{
				compatible = "fsl,imx51-ccm";
				reg = <0x73fd4000 0x4000>;
				interrupts = <0 71 0x04 0 72 0x04>;
				#clock-cells = <1>;
			};
366 367 368 369 370 371 372 373 374
		};

		aips@80000000 {	/* AIPS2 */
			compatible = "fsl,aips-bus", "simple-bus";
			#address-cells = <1>;
			#size-cells = <1>;
			reg = <0x80000000 0x10000000>;
			ranges;

S
Sascha Hauer 已提交
375 376 377 378 379 380 381
			iim: iim@83f98000 {
				compatible = "fsl,imx51-iim", "fsl,imx27-iim";
				reg = <0x83f98000 0x4000>;
				interrupts = <69>;
				clocks = <&clks 107>;
			};

382 383 384 385 386 387 388 389
			owire: owire@83fa4000 {
				compatible = "fsl,imx51-owire", "fsl,imx21-owire";
				reg = <0x83fa4000 0x4000>;
				interrupts = <88>;
				clocks = <&clks 159>;
				status = "disabled";
			};

390
			ecspi2: ecspi@83fac000 {
391 392 393 394 395
				#address-cells = <1>;
				#size-cells = <0>;
				compatible = "fsl,imx51-ecspi";
				reg = <0x83fac000 0x4000>;
				interrupts = <37>;
396 397
				clocks = <&clks 53>, <&clks 54>;
				clock-names = "ipg", "per";
398 399 400
				status = "disabled";
			};

401
			sdma: sdma@83fb0000 {
402 403 404
				compatible = "fsl,imx51-sdma", "fsl,imx35-sdma";
				reg = <0x83fb0000 0x4000>;
				interrupts = <6>;
405 406
				clocks = <&clks 56>, <&clks 56>;
				clock-names = "ipg", "ahb";
407
				#dma-cells = <3>;
408
				fsl,sdma-ram-script-name = "imx/sdma/sdma-imx51.bin";
409 410
			};

411
			cspi: cspi@83fc0000 {
412 413 414 415 416
				#address-cells = <1>;
				#size-cells = <0>;
				compatible = "fsl,imx51-cspi", "fsl,imx35-cspi";
				reg = <0x83fc0000 0x4000>;
				interrupts = <38>;
417
				clocks = <&clks 55>, <&clks 55>;
418
				clock-names = "ipg", "per";
419 420 421
				status = "disabled";
			};

422
			i2c2: i2c@83fc4000 {
423 424
				#address-cells = <1>;
				#size-cells = <0>;
425
				compatible = "fsl,imx51-i2c", "fsl,imx21-i2c";
426 427
				reg = <0x83fc4000 0x4000>;
				interrupts = <63>;
428
				clocks = <&clks 35>;
429 430 431
				status = "disabled";
			};

432
			i2c1: i2c@83fc8000 {
433 434
				#address-cells = <1>;
				#size-cells = <0>;
435
				compatible = "fsl,imx51-i2c", "fsl,imx21-i2c";
436 437
				reg = <0x83fc8000 0x4000>;
				interrupts = <62>;
438
				clocks = <&clks 34>;
439 440 441
				status = "disabled";
			};

442 443 444 445
			ssi1: ssi@83fcc000 {
				compatible = "fsl,imx51-ssi", "fsl,imx21-ssi";
				reg = <0x83fcc000 0x4000>;
				interrupts = <29>;
446
				clocks = <&clks 48>;
447 448 449
				dmas = <&sdma 28 0 0>,
				       <&sdma 29 0 0>;
				dma-names = "rx", "tx";
450 451 452 453 454
				fsl,fifo-depth = <15>;
				fsl,ssi-dma-events = <29 28 27 26>; /* TX0 RX0 TX1 RX1 */
				status = "disabled";
			};

455
			audmux: audmux@83fd0000 {
456 457 458 459 460
				compatible = "fsl,imx51-audmux", "fsl,imx31-audmux";
				reg = <0x83fd0000 0x4000>;
				status = "disabled";
			};

461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477
			weim: weim@83fda000 {
				#address-cells = <2>;
				#size-cells = <1>;
				compatible = "fsl,imx51-weim";
				reg = <0x83fda000 0x1000>;
				clocks = <&clks 57>;
				ranges = <
					0 0 0xb0000000 0x08000000
					1 0 0xb8000000 0x08000000
					2 0 0xc0000000 0x08000000
					3 0 0xc8000000 0x04000000
					4 0 0xcc000000 0x02000000
					5 0 0xce000000 0x02000000
				>;
				status = "disabled";
			};

478
			nfc: nand@83fdb000 {
479 480 481
				compatible = "fsl,imx51-nand";
				reg = <0x83fdb000 0x1000 0xcfff0000 0x10000>;
				interrupts = <8>;
482
				clocks = <&clks 60>;
483 484 485
				status = "disabled";
			};

S
Sascha Hauer 已提交
486 487 488 489
			pata: pata@83fe0000 {
				compatible = "fsl,imx51-pata", "fsl,imx27-pata";
				reg = <0x83fe0000 0x4000>;
				interrupts = <70>;
490
				clocks = <&clks 172>;
S
Sascha Hauer 已提交
491 492 493
				status = "disabled";
			};

494 495 496 497
			ssi3: ssi@83fe8000 {
				compatible = "fsl,imx51-ssi", "fsl,imx21-ssi";
				reg = <0x83fe8000 0x4000>;
				interrupts = <96>;
498
				clocks = <&clks 50>;
499 500 501
				dmas = <&sdma 46 0 0>,
				       <&sdma 47 0 0>;
				dma-names = "rx", "tx";
502 503 504 505 506
				fsl,fifo-depth = <15>;
				fsl,ssi-dma-events = <47 46 37 35>; /* TX0 RX0 TX1 RX1 */
				status = "disabled";
			};

507
			fec: ethernet@83fec000 {
508 509 510
				compatible = "fsl,imx51-fec", "fsl,imx27-fec";
				reg = <0x83fec000 0x4000>;
				interrupts = <87>;
511 512
				clocks = <&clks 42>, <&clks 42>, <&clks 42>;
				clock-names = "ipg", "ahb", "ptp";
513 514 515 516 517
				status = "disabled";
			};
		};
	};
};