imx23.dtsi 10.3 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
/*
 * Copyright 2012 Freescale Semiconductor, Inc.
 *
 * 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
 */

/include/ "skeleton.dtsi"

/ {
	interrupt-parent = <&icoll>;

17 18 19 20
	aliases {
		gpio0 = &gpio0;
		gpio1 = &gpio1;
		gpio2 = &gpio2;
21 22
		serial0 = &auart0;
		serial1 = &auart1;
23 24
	};

25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
	cpus {
		cpu@0 {
			compatible = "arm,arm926ejs";
		};
	};

	apb@80000000 {
		compatible = "simple-bus";
		#address-cells = <1>;
		#size-cells = <1>;
		reg = <0x80000000 0x80000>;
		ranges;

		apbh@80000000 {
			compatible = "simple-bus";
			#address-cells = <1>;
			#size-cells = <1>;
			reg = <0x80000000 0x40000>;
			ranges;

			icoll: interrupt-controller@80000000 {
				compatible = "fsl,imx23-icoll", "fsl,mxs-icoll";
				interrupt-controller;
				#interrupt-cells = <1>;
				reg = <0x80000000 0x2000>;
			};

			dma-apbh@80004000 {
D
Dong Aisheng 已提交
53
				compatible = "fsl,imx23-dma-apbh";
F
Fabio Estevam 已提交
54
				reg = <0x80004000 0x2000>;
55 56 57
			};

			ecc@80008000 {
F
Fabio Estevam 已提交
58
				reg = <0x80008000 0x2000>;
59 60 61
				status = "disabled";
			};

62
			gpmi-nand@8000c000 {
63 64 65
				compatible = "fsl,imx23-gpmi-nand";
				#address-cells = <1>;
				#size-cells = <1>;
F
Fabio Estevam 已提交
66
				reg = <0x8000c000 0x2000>, <0x8000a000 0x2000>;
67 68 69 70
				reg-names = "gpmi-nand", "bch";
				interrupts = <13>, <56>;
				interrupt-names = "gpmi-dma", "bch";
				fsl,gpmi-dma-channel = <4>;
71 72 73 74
				status = "disabled";
			};

			ssp0: ssp@80010000 {
F
Fabio Estevam 已提交
75
				reg = <0x80010000 0x2000>;
S
Shawn Guo 已提交
76 77
				interrupts = <15 14>;
				fsl,ssp-dma-channel = <1>;
78 79 80 81
				status = "disabled";
			};

			etm@80014000 {
F
Fabio Estevam 已提交
82
				reg = <0x80014000 0x2000>;
83 84 85 86 87 88
				status = "disabled";
			};

			pinctrl@80018000 {
				#address-cells = <1>;
				#size-cells = <0>;
89
				compatible = "fsl,imx23-pinctrl", "simple-bus";
F
Fabio Estevam 已提交
90
				reg = <0x80018000 0x2000>;
91

92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118
				gpio0: gpio@0 {
					compatible = "fsl,imx23-gpio", "fsl,mxs-gpio";
					interrupts = <16>;
					gpio-controller;
					#gpio-cells = <2>;
					interrupt-controller;
					#interrupt-cells = <2>;
				};

				gpio1: gpio@1 {
					compatible = "fsl,imx23-gpio", "fsl,mxs-gpio";
					interrupts = <17>;
					gpio-controller;
					#gpio-cells = <2>;
					interrupt-controller;
					#interrupt-cells = <2>;
				};

				gpio2: gpio@2 {
					compatible = "fsl,imx23-gpio", "fsl,mxs-gpio";
					interrupts = <18>;
					gpio-controller;
					#gpio-cells = <2>;
					interrupt-controller;
					#interrupt-cells = <2>;
				};

119 120
				duart_pins_a: duart@0 {
					reg = <0>;
121 122 123 124
					fsl,pinmux-ids = <
						0x11a2 /* MX23_PAD_PWM0__DUART_RX */
						0x11b2 /* MX23_PAD_PWM1__DUART_TX */
					>;
125 126 127 128
					fsl,drive-strength = <0>;
					fsl,voltage = <1>;
					fsl,pull-up = <0>;
				};
S
Shawn Guo 已提交
129

130 131 132 133 134 135 136 137 138 139 140 141 142
				auart0_pins_a: auart0@0 {
					reg = <0>;
					fsl,pinmux-ids = <
						0x01c0 /* MX23_PAD_AUART1_RX__AUART1_RX */
						0x01d0 /* MX23_PAD_AUART1_TX__AUART1_TX */
						0x01a0 /* MX23_PAD_AUART1_CTS__AUART1_CTS */
						0x01b0 /* MX23_PAD_AUART1_RTS__AUART1_RTS */
					>;
					fsl,drive-strength = <0>;
					fsl,voltage = <1>;
					fsl,pull-up = <0>;
				};

143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177
				gpmi_pins_a: gpmi-nand@0 {
					reg = <0>;
					fsl,pinmux-ids = <
						0x0000 /* MX23_PAD_GPMI_D00__GPMI_D00 */
						0x0010 /* MX23_PAD_GPMI_D01__GPMI_D01 */
						0x0020 /* MX23_PAD_GPMI_D02__GPMI_D02 */
						0x0030 /* MX23_PAD_GPMI_D03__GPMI_D03 */
						0x0040 /* MX23_PAD_GPMI_D04__GPMI_D04 */
						0x0050 /* MX23_PAD_GPMI_D05__GPMI_D05 */
						0x0060 /* MX23_PAD_GPMI_D06__GPMI_D06 */
						0x0070 /* MX23_PAD_GPMI_D07__GPMI_D07 */
						0x0100 /* MX23_PAD_GPMI_CLE__GPMI_CLE */
						0x0110 /* MX23_PAD_GPMI_ALE__GPMI_ALE */
						0x0130 /* MX23_PAD_GPMI_RDY0__GPMI_RDY0 */
						0x0140 /* MX23_PAD_GPMI_RDY1__GPMI_RDY1 */
						0x0170 /* MX23_PAD_GPMI_WPN__GPMI_WPN */
						0x0180 /* MX23_PAD_GPMI_WRN__GPMI_WRN */
						0x0190 /* MX23_PAD_GPMI_RDN__GPMI_RDN */
						0x21b0 /* MX23_PAD_GPMI_CE1N__GPMI_CE1N */
						0x21c0 /* MX23_PAD_GPMI_CE0N__GPMI_CE0N	*/
					>;
					fsl,drive-strength = <0>;
					fsl,voltage = <1>;
					fsl,pull-up = <0>;
				};

				gpmi_pins_fixup: gpmi-pins-fixup {
					fsl,pinmux-ids = <
						0x0170 /* MX23_PAD_GPMI_WPN__GPMI_WPN */
						0x0180 /* MX23_PAD_GPMI_WRN__GPMI_WRN */
						0x0190 /* MX23_PAD_GPMI_RDN__GPMI_RDN */
					>;
					fsl,drive-strength = <2>;
				};

178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193
				mmc0_4bit_pins_a: mmc0-4bit@0 {
					reg = <0>;
					fsl,pinmux-ids = <
						0x2020 /* MX23_PAD_SSP1_DATA0__SSP1_DATA0 */
						0x2030 /* MX23_PAD_SSP1_DATA1__SSP1_DATA1 */
						0x2040 /* MX23_PAD_SSP1_DATA2__SSP1_DATA2 */
						0x2050 /* MX23_PAD_SSP1_DATA3__SSP1_DATA3 */
						0x2000 /* MX23_PAD_SSP1_CMD__SSP1_CMD */
						0x2010 /* MX23_PAD_SSP1_DETECT__SSP1_DETECT */
						0x2060 /* MX23_PAD_SSP1_SCK__SSP1_SCK */
					>;
					fsl,drive-strength = <1>;
					fsl,voltage = <1>;
					fsl,pull-up = <1>;
				};

S
Shawn Guo 已提交
194 195
				mmc0_8bit_pins_a: mmc0-8bit@0 {
					reg = <0>;
196 197 198 199 200 201 202 203 204 205 206 207 208
					fsl,pinmux-ids = <
						0x2020 /* MX23_PAD_SSP1_DATA0__SSP1_DATA0 */
						0x2030 /* MX23_PAD_SSP1_DATA1__SSP1_DATA1 */
						0x2040 /* MX23_PAD_SSP1_DATA2__SSP1_DATA2 */
						0x2050 /* MX23_PAD_SSP1_DATA3__SSP1_DATA3 */
						0x0082 /* MX23_PAD_GPMI_D08__SSP1_DATA4 */
						0x0092 /* MX23_PAD_GPMI_D09__SSP1_DATA5 */
						0x00a2 /* MX23_PAD_GPMI_D10__SSP1_DATA6 */
						0x00b2 /* MX23_PAD_GPMI_D11__SSP1_DATA7 */
						0x2000 /* MX23_PAD_SSP1_CMD__SSP1_CMD */
						0x2010 /* MX23_PAD_SSP1_DETECT__SSP1_DETECT */
						0x2060 /* MX23_PAD_SSP1_SCK__SSP1_SCK */
					>;
S
Shawn Guo 已提交
209 210 211 212 213 214
					fsl,drive-strength = <1>;
					fsl,voltage = <1>;
					fsl,pull-up = <1>;
				};

				mmc0_pins_fixup: mmc0-pins-fixup {
215 216 217 218
					fsl,pinmux-ids = <
						0x2010 /* MX23_PAD_SSP1_DETECT__SSP1_DETECT */
						0x2060 /* MX23_PAD_SSP1_SCK__SSP1_SCK */
					>;
S
Shawn Guo 已提交
219 220
					fsl,pull-up = <0>;
				};
221 222 223 224 225 226 227 228 229 230

				pwm2_pins_a: pwm2@0 {
					reg = <0>;
					fsl,pinmux-ids = <
						0x11c0 /* MX23_PAD_PWM2__PWM2 */
					>;
					fsl,drive-strength = <0>;
					fsl,voltage = <1>;
					fsl,pull-up = <0>;
				};
231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267

				lcdif_24bit_pins_a: lcdif-24bit@0 {
					reg = <0>;
					fsl,pinmux-ids = <
						0x1000 /* MX23_PAD_LCD_D00__LCD_D0 */
						0x1010 /* MX23_PAD_LCD_D01__LCD_D1 */
						0x1020 /* MX23_PAD_LCD_D02__LCD_D2 */
						0x1030 /* MX23_PAD_LCD_D03__LCD_D3 */
						0x1040 /* MX23_PAD_LCD_D04__LCD_D4 */
						0x1050 /* MX23_PAD_LCD_D05__LCD_D5 */
						0x1060 /* MX23_PAD_LCD_D06__LCD_D6 */
						0x1070 /* MX23_PAD_LCD_D07__LCD_D7 */
						0x1080 /* MX23_PAD_LCD_D08__LCD_D8 */
						0x1090 /* MX23_PAD_LCD_D09__LCD_D9 */
						0x10a0 /* MX23_PAD_LCD_D10__LCD_D10 */
						0x10b0 /* MX23_PAD_LCD_D11__LCD_D11 */
						0x10c0 /* MX23_PAD_LCD_D12__LCD_D12 */
						0x10d0 /* MX23_PAD_LCD_D13__LCD_D13 */
						0x10e0 /* MX23_PAD_LCD_D14__LCD_D14 */
						0x10f0 /* MX23_PAD_LCD_D15__LCD_D15 */
						0x1100 /* MX23_PAD_LCD_D16__LCD_D16 */
						0x1110 /* MX23_PAD_LCD_D17__LCD_D17 */
						0x0081 /* MX23_PAD_GPMI_D08__LCD_D18 */
						0x0091 /* MX23_PAD_GPMI_D09__LCD_D19 */
						0x00a1 /* MX23_PAD_GPMI_D10__LCD_D20 */
						0x00b1 /* MX23_PAD_GPMI_D11__LCD_D21 */
						0x00c1 /* MX23_PAD_GPMI_D12__LCD_D22 */
						0x00d1 /* MX23_PAD_GPMI_D13__LCD_D23 */
						0x1160 /* MX23_PAD_LCD_DOTCK__LCD_DOTCK */
						0x1170 /* MX23_PAD_LCD_ENABLE__LCD_ENABLE */
						0x1180 /* MX23_PAD_LCD_HSYNC__LCD_HSYNC */
						0x1190 /* MX23_PAD_LCD_VSYNC__LCD_VSYNC */
					>;
					fsl,drive-strength = <0>;
					fsl,voltage = <1>;
					fsl,pull-up = <0>;
				};
268 269 270 271 272 273 274 275
			};

			digctl@8001c000 {
				reg = <0x8001c000 2000>;
				status = "disabled";
			};

			emi@80020000 {
F
Fabio Estevam 已提交
276
				reg = <0x80020000 0x2000>;
277 278 279 280
				status = "disabled";
			};

			dma-apbx@80024000 {
D
Dong Aisheng 已提交
281
				compatible = "fsl,imx23-dma-apbx";
F
Fabio Estevam 已提交
282
				reg = <0x80024000 0x2000>;
283 284 285
			};

			dcp@80028000 {
F
Fabio Estevam 已提交
286
				reg = <0x80028000 0x2000>;
287 288 289 290
				status = "disabled";
			};

			pxp@8002a000 {
F
Fabio Estevam 已提交
291
				reg = <0x8002a000 0x2000>;
292 293 294 295
				status = "disabled";
			};

			ocotp@8002c000 {
F
Fabio Estevam 已提交
296
				reg = <0x8002c000 0x2000>;
297 298 299 300
				status = "disabled";
			};

			axi-ahb@8002e000 {
F
Fabio Estevam 已提交
301
				reg = <0x8002e000 0x2000>;
302 303 304 305
				status = "disabled";
			};

			lcdif@80030000 {
306
				compatible = "fsl,imx23-lcdif";
307
				reg = <0x80030000 2000>;
308
				interrupts = <46 45>;
309 310 311 312
				status = "disabled";
			};

			ssp1: ssp@80034000 {
F
Fabio Estevam 已提交
313
				reg = <0x80034000 0x2000>;
S
Shawn Guo 已提交
314 315
				interrupts = <2 20>;
				fsl,ssp-dma-channel = <2>;
316 317 318 319
				status = "disabled";
			};

			tvenc@80038000 {
F
Fabio Estevam 已提交
320
				reg = <0x80038000 0x2000>;
321 322 323 324 325 326 327 328 329 330 331 332
				status = "disabled";
			};
                };

		apbx@80040000 {
			compatible = "simple-bus";
			#address-cells = <1>;
			#size-cells = <1>;
			reg = <0x80040000 0x40000>;
			ranges;

			clkctl@80040000 {
F
Fabio Estevam 已提交
333
				reg = <0x80040000 0x2000>;
334 335 336 337
				status = "disabled";
			};

			saif0: saif@80042000 {
F
Fabio Estevam 已提交
338
				reg = <0x80042000 0x2000>;
339 340 341 342
				status = "disabled";
			};

			power@80044000 {
F
Fabio Estevam 已提交
343
				reg = <0x80044000 0x2000>;
344 345 346 347
				status = "disabled";
			};

			saif1: saif@80046000 {
F
Fabio Estevam 已提交
348
				reg = <0x80046000 0x2000>;
349 350 351 352
				status = "disabled";
			};

			audio-out@80048000 {
F
Fabio Estevam 已提交
353
				reg = <0x80048000 0x2000>;
354 355 356 357
				status = "disabled";
			};

			audio-in@8004c000 {
F
Fabio Estevam 已提交
358
				reg = <0x8004c000 0x2000>;
359 360 361 362
				status = "disabled";
			};

			lradc@80050000 {
F
Fabio Estevam 已提交
363
				reg = <0x80050000 0x2000>;
364 365 366 367 368 369 370 371 372
				status = "disabled";
			};

			spdif@80054000 {
				reg = <0x80054000 2000>;
				status = "disabled";
			};

			i2c@80058000 {
F
Fabio Estevam 已提交
373
				reg = <0x80058000 0x2000>;
374 375 376 377
				status = "disabled";
			};

			rtc@8005c000 {
378
				compatible = "fsl,imx23-rtc", "fsl,stmp3xxx-rtc";
F
Fabio Estevam 已提交
379
				reg = <0x8005c000 0x2000>;
380
				interrupts = <22>;
381 382
			};

383 384
			pwm: pwm@80064000 {
				compatible = "fsl,imx23-pwm";
F
Fabio Estevam 已提交
385
				reg = <0x80064000 0x2000>;
386 387
				#pwm-cells = <2>;
				fsl,pwm-number = <5>;
388 389 390 391
				status = "disabled";
			};

			timrot@80068000 {
F
Fabio Estevam 已提交
392
				reg = <0x80068000 0x2000>;
393 394 395 396
				status = "disabled";
			};

			auart0: serial@8006c000 {
397
				compatible = "fsl,imx23-auart";
398
				reg = <0x8006c000 0x2000>;
399
				interrupts = <24 25 23>;
400 401 402 403
				status = "disabled";
			};

			auart1: serial@8006e000 {
404
				compatible = "fsl,imx23-auart";
405
				reg = <0x8006e000 0x2000>;
406
				interrupts = <59 60 58>;
407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431
				status = "disabled";
			};

			duart: serial@80070000 {
				compatible = "arm,pl011", "arm,primecell";
				reg = <0x80070000 0x2000>;
				interrupts = <0>;
				status = "disabled";
			};

			usbphy@8007c000 {
				reg = <0x8007c000 0x2000>;
				status = "disabled";
			};
		};
	};

	ahb@80080000 {
		compatible = "simple-bus";
		#address-cells = <1>;
		#size-cells = <1>;
		reg = <0x80080000 0x80000>;
		ranges;

		usbctrl@80080000 {
F
Fabio Estevam 已提交
432
			reg = <0x80080000 0x40000>;
433 434 435 436
			status = "disabled";
		};
	};
};