imx28.dtsi 23.1 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 21 22
	aliases {
		gpio0 = &gpio0;
		gpio1 = &gpio1;
		gpio2 = &gpio2;
		gpio3 = &gpio3;
		gpio4 = &gpio4;
23 24
		saif0 = &saif0;
		saif1 = &saif1;
25 26 27 28 29
		serial0 = &auart0;
		serial1 = &auart1;
		serial2 = &auart2;
		serial3 = &auart3;
		serial4 = &auart4;
30 31
		ethernet0 = &mac0;
		ethernet1 = &mac1;
32 33
	};

34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
	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 0x3c900>;
			ranges;

			icoll: interrupt-controller@80000000 {
55
				compatible = "fsl,imx28-icoll", "fsl,icoll";
56 57 58 59 60 61
				interrupt-controller;
				#interrupt-cells = <1>;
				reg = <0x80000000 0x2000>;
			};

			hsadc@80002000 {
F
Fabio Estevam 已提交
62
				reg = <0x80002000 0x2000>;
63 64 65 66 67
				interrupts = <13 87>;
				status = "disabled";
			};

			dma-apbh@80004000 {
D
Dong Aisheng 已提交
68
				compatible = "fsl,imx28-dma-apbh";
F
Fabio Estevam 已提交
69
				reg = <0x80004000 0x2000>;
70
				clocks = <&clks 25>;
71 72 73
			};

			perfmon@80006000 {
F
Fabio Estevam 已提交
74
				reg = <0x80006000 0x800>;
75 76 77 78
				interrupts = <27>;
				status = "disabled";
			};

H
Huang Shijie 已提交
79 80 81 82
			gpmi-nand@8000c000 {
				compatible = "fsl,imx28-gpmi-nand";
				#address-cells = <1>;
				#size-cells = <1>;
F
Fabio Estevam 已提交
83
				reg = <0x8000c000 0x2000>, <0x8000a000 0x2000>;
H
Huang Shijie 已提交
84 85 86
				reg-names = "gpmi-nand", "bch";
				interrupts = <88>, <41>;
				interrupt-names = "gpmi-dma", "bch";
87
				clocks = <&clks 50>;
88
				clock-names = "gpmi_io";
H
Huang Shijie 已提交
89
				fsl,gpmi-dma-channel = <4>;
90 91 92 93
				status = "disabled";
			};

			ssp0: ssp@80010000 {
94 95
				#address-cells = <1>;
				#size-cells = <0>;
F
Fabio Estevam 已提交
96
				reg = <0x80010000 0x2000>;
97
				interrupts = <96 82>;
98
				clocks = <&clks 46>;
S
Shawn Guo 已提交
99
				fsl,ssp-dma-channel = <0>;
100 101 102 103
				status = "disabled";
			};

			ssp1: ssp@80012000 {
104 105
				#address-cells = <1>;
				#size-cells = <0>;
F
Fabio Estevam 已提交
106
				reg = <0x80012000 0x2000>;
107
				interrupts = <97 83>;
108
				clocks = <&clks 47>;
S
Shawn Guo 已提交
109
				fsl,ssp-dma-channel = <1>;
110 111 112 113
				status = "disabled";
			};

			ssp2: ssp@80014000 {
114 115
				#address-cells = <1>;
				#size-cells = <0>;
F
Fabio Estevam 已提交
116
				reg = <0x80014000 0x2000>;
117
				interrupts = <98 84>;
118
				clocks = <&clks 48>;
S
Shawn Guo 已提交
119
				fsl,ssp-dma-channel = <2>;
120 121 122 123
				status = "disabled";
			};

			ssp3: ssp@80016000 {
124 125
				#address-cells = <1>;
				#size-cells = <0>;
F
Fabio Estevam 已提交
126
				reg = <0x80016000 0x2000>;
127
				interrupts = <99 85>;
128
				clocks = <&clks 49>;
S
Shawn Guo 已提交
129
				fsl,ssp-dma-channel = <3>;
130 131 132 133 134 135
				status = "disabled";
			};

			pinctrl@80018000 {
				#address-cells = <1>;
				#size-cells = <0>;
136
				compatible = "fsl,imx28-pinctrl", "simple-bus";
F
Fabio Estevam 已提交
137
				reg = <0x80018000 0x2000>;
138

139 140 141 142 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 178 179 180 181 182 183
				gpio0: gpio@0 {
					compatible = "fsl,imx28-gpio", "fsl,mxs-gpio";
					interrupts = <127>;
					gpio-controller;
					#gpio-cells = <2>;
					interrupt-controller;
					#interrupt-cells = <2>;
				};

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

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

				gpio3: gpio@3 {
					compatible = "fsl,imx28-gpio", "fsl,mxs-gpio";
					interrupts = <124>;
					gpio-controller;
					#gpio-cells = <2>;
					interrupt-controller;
					#interrupt-cells = <2>;
				};

				gpio4: gpio@4 {
					compatible = "fsl,imx28-gpio", "fsl,mxs-gpio";
					interrupts = <123>;
					gpio-controller;
					#gpio-cells = <2>;
					interrupt-controller;
					#interrupt-cells = <2>;
				};

184 185
				duart_pins_a: duart@0 {
					reg = <0>;
186 187 188 189
					fsl,pinmux-ids = <
						0x3102 /* MX28_PAD_PWM0__DUART_RX */
						0x3112 /* MX28_PAD_PWM1__DUART_TX */
					>;
190 191 192 193 194
					fsl,drive-strength = <0>;
					fsl,voltage = <1>;
					fsl,pull-up = <0>;
				};

195 196
				duart_pins_b: duart@1 {
					reg = <1>;
197 198 199 200
					fsl,pinmux-ids = <
						0x3022 /* MX28_PAD_AUART0_CTS__DUART_RX */
						0x3032 /* MX28_PAD_AUART0_RTS__DUART_TX */
					>;
201 202 203 204 205
					fsl,drive-strength = <0>;
					fsl,voltage = <1>;
					fsl,pull-up = <0>;
				};

206 207 208 209 210 211 212 213 214 215 216 217 218
				duart_4pins_a: duart-4pins@0 {
					reg = <0>;
					fsl,pinmux-ids = <
						0x3022 /* MX28_PAD_AUART0_CTS__DUART_RX */
						0x3032 /* MX28_PAD_AUART0_RTS__DUART_TX */
						0x3002 /* MX28_PAD_AUART0_RX__DUART_CTS */
						0x3012 /* MX28_PAD_AUART0_TX__DUART_RTS */
					>;
					fsl,drive-strength = <0>;
					fsl,voltage = <1>;
					fsl,pull-up = <0>;
				};

H
Huang Shijie 已提交
219 220
				gpmi_pins_a: gpmi-nand@0 {
					reg = <0>;
221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237
					fsl,pinmux-ids = <
						0x0000 /* MX28_PAD_GPMI_D00__GPMI_D0 */
						0x0010 /* MX28_PAD_GPMI_D01__GPMI_D1 */
						0x0020 /* MX28_PAD_GPMI_D02__GPMI_D2 */
						0x0030 /* MX28_PAD_GPMI_D03__GPMI_D3 */
						0x0040 /* MX28_PAD_GPMI_D04__GPMI_D4 */
						0x0050 /* MX28_PAD_GPMI_D05__GPMI_D5 */
						0x0060 /* MX28_PAD_GPMI_D06__GPMI_D6 */
						0x0070 /* MX28_PAD_GPMI_D07__GPMI_D7 */
						0x0100 /* MX28_PAD_GPMI_CE0N__GPMI_CE0N */
						0x0140 /* MX28_PAD_GPMI_RDY0__GPMI_READY0 */
						0x0180 /* MX28_PAD_GPMI_RDN__GPMI_RDN */
						0x0190 /* MX28_PAD_GPMI_WRN__GPMI_WRN */
						0x01a0 /* MX28_PAD_GPMI_ALE__GPMI_ALE */
						0x01b0 /* MX28_PAD_GPMI_CLE__GPMI_CLE */
						0x01c0 /* MX28_PAD_GPMI_RESETN__GPMI_RESETN */
					>;
H
Huang Shijie 已提交
238 239 240 241 242 243
					fsl,drive-strength = <0>;
					fsl,voltage = <1>;
					fsl,pull-up = <0>;
				};

				gpmi_status_cfg: gpmi-status-cfg {
244 245 246 247 248
					fsl,pinmux-ids = <
						0x0180 /* MX28_PAD_GPMI_RDN__GPMI_RDN */
						0x0190 /* MX28_PAD_GPMI_WRN__GPMI_WRN */
						0x01c0 /* MX28_PAD_GPMI_RESETN__GPMI_RESETN */
					>;
H
Huang Shijie 已提交
249 250 251
					fsl,drive-strength = <2>;
				};

252 253
				auart0_pins_a: auart0@0 {
					reg = <0>;
254 255 256 257 258 259
					fsl,pinmux-ids = <
						0x3000 /* MX28_PAD_AUART0_RX__AUART0_RX */
						0x3010 /* MX28_PAD_AUART0_TX__AUART0_TX */
						0x3020 /* MX28_PAD_AUART0_CTS__AUART0_CTS */
						0x3030 /* MX28_PAD_AUART0_RTS__AUART0_RTS */
					>;
260
					fsl,drive-strength = <0>;
261 262 263 264 265 266 267 268 269 270 271
					fsl,voltage = <1>;
					fsl,pull-up = <0>;
				};

				auart0_2pins_a: auart0-2pins@0 {
					reg = <0>;
					fsl,pinmux-ids = <
						0x3000 /* MX28_PAD_AUART0_RX__AUART0_RX */
						0x3010 /* MX28_PAD_AUART0_TX__AUART0_TX */
					>;
					fsl,drive-strength = <0>;
272 273 274 275
					fsl,voltage = <1>;
					fsl,pull-up = <0>;
				};

276 277 278 279 280 281 282 283 284 285 286 287 288
				auart1_pins_a: auart1@0 {
					reg = <0>;
					fsl,pinmux-ids = <
						0x3040 /* MX28_PAD_AUART1_RX__AUART1_RX */
						0x3050 /* MX28_PAD_AUART1_TX__AUART1_TX */
						0x3060 /* MX28_PAD_AUART1_CTS__AUART1_CTS */
						0x3070 /* MX28_PAD_AUART1_RTS__AUART1_RTS */
					>;
					fsl,drive-strength = <0>;
					fsl,voltage = <1>;
					fsl,pull-up = <0>;
				};

289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310
				auart1_2pins_a: auart1-2pins@0 {
					reg = <0>;
					fsl,pinmux-ids = <
						0x3040 /* MX28_PAD_AUART1_RX__AUART1_RX */
						0x3050 /* MX28_PAD_AUART1_TX__AUART1_TX */
					>;
					fsl,drive-strength = <0>;
					fsl,voltage = <1>;
					fsl,pull-up = <0>;
				};

				auart2_2pins_a: auart2-2pins@0 {
					reg = <0>;
					fsl,pinmux-ids = <
						0x2101 /* MX28_PAD_SSP2_SCK__AUART2_RX */
						0x2111 /* MX28_PAD_SSP2_MOSI__AUART2_TX */
					>;
					fsl,drive-strength = <0>;
					fsl,voltage = <1>;
					fsl,pull-up = <0>;
				};

311 312
				auart3_pins_a: auart3@0 {
					reg = <0>;
313 314 315 316 317 318
					fsl,pinmux-ids = <
						0x30c0 /* MX28_PAD_AUART3_RX__AUART3_RX */
						0x30d0 /* MX28_PAD_AUART3_TX__AUART3_TX */
						0x30e0 /* MX28_PAD_AUART3_CTS__AUART3_CTS */
						0x30f0 /* MX28_PAD_AUART3_RTS__AUART3_RTS */
					>;
319 320 321 322 323
					fsl,drive-strength = <0>;
					fsl,voltage = <1>;
					fsl,pull-up = <0>;
				};

324 325 326 327 328 329 330 331 332 333 334
				auart3_2pins_a: auart3-2pins@0 {
					reg = <0>;
					fsl,pinmux-ids = <
						0x2121 /* MX28_PAD_SSP2_MISO__AUART3_RX */
						0x2131 /* MX28_PAD_SSP2_SS0__AUART3_TX */
					>;
					fsl,drive-strength = <0>;
					fsl,voltage = <1>;
					fsl,pull-up = <0>;
				};

335 336
				mac0_pins_a: mac0@0 {
					reg = <0>;
337 338 339 340 341 342 343 344 345 346 347
					fsl,pinmux-ids = <
						0x4000 /* MX28_PAD_ENET0_MDC__ENET0_MDC */
						0x4010 /* MX28_PAD_ENET0_MDIO__ENET0_MDIO */
						0x4020 /* MX28_PAD_ENET0_RX_EN__ENET0_RX_EN */
						0x4030 /* MX28_PAD_ENET0_RXD0__ENET0_RXD0 */
						0x4040 /* MX28_PAD_ENET0_RXD1__ENET0_RXD1 */
						0x4060 /* MX28_PAD_ENET0_TX_EN__ENET0_TX_EN */
						0x4070 /* MX28_PAD_ENET0_TXD0__ENET0_TXD0 */
						0x4080 /* MX28_PAD_ENET0_TXD1__ENET0_TXD1 */
						0x4100 /* MX28_PAD_ENET_CLK__CLKCTRL_ENET */
					>;
348 349 350 351 352 353 354
					fsl,drive-strength = <1>;
					fsl,voltage = <1>;
					fsl,pull-up = <1>;
				};

				mac1_pins_a: mac1@0 {
					reg = <0>;
355 356 357 358 359 360 361 362
					fsl,pinmux-ids = <
						0x40f1 /* MX28_PAD_ENET0_CRS__ENET1_RX_EN */
						0x4091 /* MX28_PAD_ENET0_RXD2__ENET1_RXD0 */
						0x40a1 /* MX28_PAD_ENET0_RXD3__ENET1_RXD1 */
						0x40e1 /* MX28_PAD_ENET0_COL__ENET1_TX_EN */
						0x40b1 /* MX28_PAD_ENET0_TXD2__ENET1_TXD0 */
						0x40c1 /* MX28_PAD_ENET0_TXD3__ENET1_TXD1 */
					>;
363 364 365 366
					fsl,drive-strength = <1>;
					fsl,voltage = <1>;
					fsl,pull-up = <1>;
				};
S
Shawn Guo 已提交
367 368 369

				mmc0_8bit_pins_a: mmc0-8bit@0 {
					reg = <0>;
370 371 372 373 374 375 376 377 378 379 380 381 382
					fsl,pinmux-ids = <
						0x2000 /* MX28_PAD_SSP0_DATA0__SSP0_D0 */
						0x2010 /* MX28_PAD_SSP0_DATA1__SSP0_D1 */
						0x2020 /* MX28_PAD_SSP0_DATA2__SSP0_D2 */
						0x2030 /* MX28_PAD_SSP0_DATA3__SSP0_D3 */
						0x2040 /* MX28_PAD_SSP0_DATA4__SSP0_D4 */
						0x2050 /* MX28_PAD_SSP0_DATA5__SSP0_D5 */
						0x2060 /* MX28_PAD_SSP0_DATA6__SSP0_D6 */
						0x2070 /* MX28_PAD_SSP0_DATA7__SSP0_D7 */
						0x2080 /* MX28_PAD_SSP0_CMD__SSP0_CMD */
						0x2090 /* MX28_PAD_SSP0_DETECT__SSP0_CARD_DETECT */
						0x20a0 /* MX28_PAD_SSP0_SCK__SSP0_SCK */
					>;
S
Shawn Guo 已提交
383 384 385 386 387
					fsl,drive-strength = <1>;
					fsl,voltage = <1>;
					fsl,pull-up = <1>;
				};

388 389
				mmc0_4bit_pins_a: mmc0-4bit@0 {
					reg = <0>;
390 391 392 393 394 395 396 397 398
					fsl,pinmux-ids = <
						0x2000 /* MX28_PAD_SSP0_DATA0__SSP0_D0 */
						0x2010 /* MX28_PAD_SSP0_DATA1__SSP0_D1 */
						0x2020 /* MX28_PAD_SSP0_DATA2__SSP0_D2 */
						0x2030 /* MX28_PAD_SSP0_DATA3__SSP0_D3 */
						0x2080 /* MX28_PAD_SSP0_CMD__SSP0_CMD */
						0x2090 /* MX28_PAD_SSP0_DETECT__SSP0_CARD_DETECT */
						0x20a0 /* MX28_PAD_SSP0_SCK__SSP0_SCK */
					>;
399 400 401 402 403
					fsl,drive-strength = <1>;
					fsl,voltage = <1>;
					fsl,pull-up = <1>;
				};

S
Shawn Guo 已提交
404
				mmc0_cd_cfg: mmc0-cd-cfg {
405 406 407
					fsl,pinmux-ids = <
						0x2090 /* MX28_PAD_SSP0_DETECT__SSP0_CARD_DETECT */
					>;
S
Shawn Guo 已提交
408 409 410 411
					fsl,pull-up = <0>;
				};

				mmc0_sck_cfg: mmc0-sck-cfg {
412 413 414
					fsl,pinmux-ids = <
						0x20a0 /* MX28_PAD_SSP0_SCK__SSP0_SCK */
					>;
S
Shawn Guo 已提交
415 416 417
					fsl,drive-strength = <2>;
					fsl,pull-up = <0>;
				};
418 419 420

				i2c0_pins_a: i2c0@0 {
					reg = <0>;
421 422 423 424
					fsl,pinmux-ids = <
						0x3180 /* MX28_PAD_I2C0_SCL__I2C0_SCL */
						0x3190 /* MX28_PAD_I2C0_SDA__I2C0_SDA */
					>;
425 426 427 428
					fsl,drive-strength = <1>;
					fsl,voltage = <1>;
					fsl,pull-up = <1>;
				};
429

430 431 432 433 434 435 436 437 438 439 440
				i2c0_pins_b: i2c0@1 {
					reg = <1>;
					fsl,pinmux-ids = <
						0x3001 /* MX28_PAD_AUART0_RX__I2C0_SCL */
						0x3011 /* MX28_PAD_AUART0_TX__I2C0_SDA */
					>;
					fsl,drive-strength = <1>;
					fsl,voltage = <1>;
					fsl,pull-up = <1>;
				};

441 442 443 444 445 446 447 448 449 450 451
				i2c1_pins_a: i2c1@0 {
					reg = <0>;
					fsl,pinmux-ids = <
						0x3101 /* MX28_PAD_PWM0__I2C1_SCL */
						0x3111 /* MX28_PAD_PWM1__I2C1_SDA */
					>;
					fsl,drive-strength = <1>;
					fsl,voltage = <1>;
					fsl,pull-up = <1>;
				};

452 453
				saif0_pins_a: saif0@0 {
					reg = <0>;
454 455 456 457 458 459
					fsl,pinmux-ids = <
						0x3140 /* MX28_PAD_SAIF0_MCLK__SAIF0_MCLK */
						0x3150 /* MX28_PAD_SAIF0_LRCLK__SAIF0_LRCLK */
						0x3160 /* MX28_PAD_SAIF0_BITCLK__SAIF0_BITCLK */
						0x3170 /* MX28_PAD_SAIF0_SDATA0__SAIF0_SDATA0 */
					>;
460 461 462 463 464 465 466
					fsl,drive-strength = <2>;
					fsl,voltage = <1>;
					fsl,pull-up = <1>;
				};

				saif1_pins_a: saif1@0 {
					reg = <0>;
467 468 469
					fsl,pinmux-ids = <
						0x31a0 /* MX28_PAD_SAIF1_SDATA0__SAIF1_SDATA0 */
					>;
470 471 472 473
					fsl,drive-strength = <2>;
					fsl,voltage = <1>;
					fsl,pull-up = <1>;
				};
474

475 476 477 478 479 480 481 482 483 484
				pwm0_pins_a: pwm0@0 {
					reg = <0>;
					fsl,pinmux-ids = <
						0x3100 /* MX28_PAD_PWM0__PWM_0 */
					>;
					fsl,drive-strength = <0>;
					fsl,voltage = <1>;
					fsl,pull-up = <0>;
				};

485 486 487 488 489 490 491 492 493
				pwm2_pins_a: pwm2@0 {
					reg = <0>;
					fsl,pinmux-ids = <
						0x3120 /* MX28_PAD_PWM2__PWM_2 */
					>;
					fsl,drive-strength = <0>;
					fsl,voltage = <1>;
					fsl,pull-up = <0>;
				};
494

495 496 497 498 499 500 501 502 503 504
				pwm3_pins_a: pwm3@0 {
					reg = <0>;
					fsl,pinmux-ids = <
						0x31c0 /* MX28_PAD_PWM3__PWM_3 */
					>;
					fsl,drive-strength = <0>;
					fsl,voltage = <1>;
					fsl,pull-up = <0>;
				};

505 506 507 508 509 510 511 512 513 514
				pwm3_pins_b: pwm3@1 {
					reg = <1>;
					fsl,pinmux-ids = <
						0x3141 /* MX28_PAD_SAIF0_MCLK__PWM3 */
					>;
					fsl,drive-strength = <0>;
					fsl,voltage = <1>;
					fsl,pull-up = <0>;
				};

515 516 517 518 519 520 521 522 523 524
				pwm4_pins_a: pwm4@0 {
					reg = <0>;
					fsl,pinmux-ids = <
						0x31d0 /* MX28_PAD_PWM4__PWM_4 */
					>;
					fsl,drive-strength = <0>;
					fsl,voltage = <1>;
					fsl,pull-up = <0>;
				};

525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556
				lcdif_24bit_pins_a: lcdif-24bit@0 {
					reg = <0>;
					fsl,pinmux-ids = <
						0x1000 /* MX28_PAD_LCD_D00__LCD_D0 */
						0x1010 /* MX28_PAD_LCD_D01__LCD_D1 */
						0x1020 /* MX28_PAD_LCD_D02__LCD_D2 */
						0x1030 /* MX28_PAD_LCD_D03__LCD_D3 */
						0x1040 /* MX28_PAD_LCD_D04__LCD_D4 */
						0x1050 /* MX28_PAD_LCD_D05__LCD_D5 */
						0x1060 /* MX28_PAD_LCD_D06__LCD_D6 */
						0x1070 /* MX28_PAD_LCD_D07__LCD_D7 */
						0x1080 /* MX28_PAD_LCD_D08__LCD_D8 */
						0x1090 /* MX28_PAD_LCD_D09__LCD_D9 */
						0x10a0 /* MX28_PAD_LCD_D10__LCD_D10 */
						0x10b0 /* MX28_PAD_LCD_D11__LCD_D11 */
						0x10c0 /* MX28_PAD_LCD_D12__LCD_D12 */
						0x10d0 /* MX28_PAD_LCD_D13__LCD_D13 */
						0x10e0 /* MX28_PAD_LCD_D14__LCD_D14 */
						0x10f0 /* MX28_PAD_LCD_D15__LCD_D15 */
						0x1100 /* MX28_PAD_LCD_D16__LCD_D16 */
						0x1110 /* MX28_PAD_LCD_D17__LCD_D17 */
						0x1120 /* MX28_PAD_LCD_D18__LCD_D18 */
						0x1130 /* MX28_PAD_LCD_D19__LCD_D19 */
						0x1140 /* MX28_PAD_LCD_D20__LCD_D20 */
						0x1150 /* MX28_PAD_LCD_D21__LCD_D21 */
						0x1160 /* MX28_PAD_LCD_D22__LCD_D22 */
						0x1170 /* MX28_PAD_LCD_D23__LCD_D23 */
					>;
					fsl,drive-strength = <0>;
					fsl,voltage = <1>;
					fsl,pull-up = <0>;
				};
557

558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582
				lcdif_16bit_pins_a: lcdif-16bit@0 {
					reg = <0>;
					fsl,pinmux-ids = <
						0x1000 /* MX28_PAD_LCD_D00__LCD_D0 */
						0x1010 /* MX28_PAD_LCD_D01__LCD_D1 */
						0x1020 /* MX28_PAD_LCD_D02__LCD_D2 */
						0x1030 /* MX28_PAD_LCD_D03__LCD_D3 */
						0x1040 /* MX28_PAD_LCD_D04__LCD_D4 */
						0x1050 /* MX28_PAD_LCD_D05__LCD_D5 */
						0x1060 /* MX28_PAD_LCD_D06__LCD_D6 */
						0x1070 /* MX28_PAD_LCD_D07__LCD_D7 */
						0x1080 /* MX28_PAD_LCD_D08__LCD_D8 */
						0x1090 /* MX28_PAD_LCD_D09__LCD_D9 */
						0x10a0 /* MX28_PAD_LCD_D10__LCD_D10 */
						0x10b0 /* MX28_PAD_LCD_D11__LCD_D11 */
						0x10c0 /* MX28_PAD_LCD_D12__LCD_D12 */
						0x10d0 /* MX28_PAD_LCD_D13__LCD_D13 */
						0x10e0 /* MX28_PAD_LCD_D14__LCD_D14 */
						0x10f0 /* MX28_PAD_LCD_D15__LCD_D15 */
					>;
					fsl,drive-strength = <0>;
					fsl,voltage = <1>;
					fsl,pull-up = <0>;
				};

583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603
				can0_pins_a: can0@0 {
					reg = <0>;
					fsl,pinmux-ids = <
						0x0161 /* MX28_PAD_GPMI_RDY2__CAN0_TX */
						0x0171 /* MX28_PAD_GPMI_RDY3__CAN0_RX */
					>;
					fsl,drive-strength = <0>;
					fsl,voltage = <1>;
					fsl,pull-up = <0>;
				};

				can1_pins_a: can1@0 {
					reg = <0>;
					fsl,pinmux-ids = <
						0x0121 /* MX28_PAD_GPMI_CE2N__CAN1_TX */
						0x0131 /* MX28_PAD_GPMI_CE3N__CAN1_RX */
					>;
					fsl,drive-strength = <0>;
					fsl,voltage = <1>;
					fsl,pull-up = <0>;
				};
604 605 606 607 608 609 610 611 612 613 614 615 616

				spi2_pins_a: spi2@0 {
					reg = <0>;
					fsl,pinmux-ids = <
						0x2100 /* MX28_PAD_SSP2_SCK__SSP2_SCK */
						0x2110 /* MX28_PAD_SSP2_MOSI__SSP2_CMD */
						0x2120 /* MX28_PAD_SSP2_MISO__SSP2_D0 */
						0x2130 /* MX28_PAD_SSP2_SS0__SSP2_D3 */
					>;
					fsl,drive-strength = <1>;
					fsl,voltage = <1>;
					fsl,pull-up = <1>;
				};
617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646

				usbphy0_pins_a: usbphy0@0 {
					reg = <0>;
					fsl,pinmux-ids = <
						0x2152 /* MX28_PAD_SSP2_SS2__USB0_OVERCURRENT */
					>;
					fsl,drive-strength = <2>;
					fsl,voltage = <1>;
					fsl,pull-up = <0>;
				};

				usbphy0_pins_b: usbphy0@1 {
					reg = <1>;
					fsl,pinmux-ids = <
						0x3061 /* MX28_PAD_AUART1_CTS__USB0_OVERCURRENT */
					>;
					fsl,drive-strength = <2>;
					fsl,voltage = <1>;
					fsl,pull-up = <0>;
				};

				usbphy1_pins_a: usbphy1@0 {
					reg = <0>;
					fsl,pinmux-ids = <
						0x2142 /* MX28_PAD_SSP2_SS1__USB1_OVERCURRENT */
					>;
					fsl,drive-strength = <2>;
					fsl,voltage = <1>;
					fsl,pull-up = <0>;
				};
647 648 649
			};

			digctl@8001c000 {
F
Fabio Estevam 已提交
650
				reg = <0x8001c000 0x2000>;
651 652 653 654 655
				interrupts = <89>;
				status = "disabled";
			};

			etm@80022000 {
F
Fabio Estevam 已提交
656
				reg = <0x80022000 0x2000>;
657 658 659 660
				status = "disabled";
			};

			dma-apbx@80024000 {
D
Dong Aisheng 已提交
661
				compatible = "fsl,imx28-dma-apbx";
F
Fabio Estevam 已提交
662
				reg = <0x80024000 0x2000>;
663
				clocks = <&clks 26>;
664 665 666
			};

			dcp@80028000 {
F
Fabio Estevam 已提交
667
				reg = <0x80028000 0x2000>;
668 669 670 671 672
				interrupts = <52 53 54>;
				status = "disabled";
			};

			pxp@8002a000 {
F
Fabio Estevam 已提交
673
				reg = <0x8002a000 0x2000>;
674 675 676 677 678
				interrupts = <39>;
				status = "disabled";
			};

			ocotp@8002c000 {
F
Fabio Estevam 已提交
679
				reg = <0x8002c000 0x2000>;
680 681 682 683
				status = "disabled";
			};

			axi-ahb@8002e000 {
F
Fabio Estevam 已提交
684
				reg = <0x8002e000 0x2000>;
685 686 687 688
				status = "disabled";
			};

			lcdif@80030000 {
689
				compatible = "fsl,imx28-lcdif";
F
Fabio Estevam 已提交
690
				reg = <0x80030000 0x2000>;
691
				interrupts = <38 86>;
692
				clocks = <&clks 55>;
693 694 695 696
				status = "disabled";
			};

			can0: can@80032000 {
697
				compatible = "fsl,imx28-flexcan", "fsl,p1010-flexcan";
F
Fabio Estevam 已提交
698
				reg = <0x80032000 0x2000>;
699
				interrupts = <8>;
700 701
				clocks = <&clks 58>, <&clks 58>;
				clock-names = "ipg", "per";
702 703 704 705
				status = "disabled";
			};

			can1: can@80034000 {
706
				compatible = "fsl,imx28-flexcan", "fsl,p1010-flexcan";
F
Fabio Estevam 已提交
707
				reg = <0x80034000 0x2000>;
708
				interrupts = <9>;
709 710
				clocks = <&clks 59>, <&clks 59>;
				clock-names = "ipg", "per";
711 712 713 714
				status = "disabled";
			};

			simdbg@8003c000 {
F
Fabio Estevam 已提交
715
				reg = <0x8003c000 0x200>;
716 717 718 719
				status = "disabled";
			};

			simgpmisel@8003c200 {
F
Fabio Estevam 已提交
720
				reg = <0x8003c200 0x100>;
721 722 723 724
				status = "disabled";
			};

			simsspsel@8003c300 {
F
Fabio Estevam 已提交
725
				reg = <0x8003c300 0x100>;
726 727 728 729
				status = "disabled";
			};

			simmemsel@8003c400 {
F
Fabio Estevam 已提交
730
				reg = <0x8003c400 0x100>;
731 732 733 734
				status = "disabled";
			};

			gpiomon@8003c500 {
F
Fabio Estevam 已提交
735
				reg = <0x8003c500 0x100>;
736 737 738 739
				status = "disabled";
			};

			simenet@8003c700 {
F
Fabio Estevam 已提交
740
				reg = <0x8003c700 0x100>;
741 742 743 744
				status = "disabled";
			};

			armjtag@8003c800 {
F
Fabio Estevam 已提交
745
				reg = <0x8003c800 0x100>;
746 747 748 749 750 751 752 753 754 755 756
				status = "disabled";
			};
                };

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

757 758
			clks: clkctrl@80040000 {
				compatible = "fsl,imx28-clkctrl";
F
Fabio Estevam 已提交
759
				reg = <0x80040000 0x2000>;
760
				#clock-cells = <1>;
761 762 763
			};

			saif0: saif@80042000 {
764
				compatible = "fsl,imx28-saif";
F
Fabio Estevam 已提交
765
				reg = <0x80042000 0x2000>;
766
				interrupts = <59 80>;
767
				clocks = <&clks 53>;
768
				fsl,saif-dma-channel = <4>;
769 770 771 772
				status = "disabled";
			};

			power@80044000 {
F
Fabio Estevam 已提交
773
				reg = <0x80044000 0x2000>;
774 775 776 777
				status = "disabled";
			};

			saif1: saif@80046000 {
778
				compatible = "fsl,imx28-saif";
F
Fabio Estevam 已提交
779
				reg = <0x80046000 0x2000>;
780
				interrupts = <58 81>;
781
				clocks = <&clks 54>;
782
				fsl,saif-dma-channel = <5>;
783 784 785 786
				status = "disabled";
			};

			lradc@80050000 {
787
				compatible = "fsl,imx28-lradc";
F
Fabio Estevam 已提交
788
				reg = <0x80050000 0x2000>;
789 790
				interrupts = <10 14 15 16 17 18 19
						20 21 22 23 24 25>;
791 792 793 794
				status = "disabled";
			};

			spdif@80054000 {
F
Fabio Estevam 已提交
795
				reg = <0x80054000 0x2000>;
796 797 798 799 800
				interrupts = <45 66>;
				status = "disabled";
			};

			rtc@80056000 {
801
				compatible = "fsl,imx28-rtc", "fsl,stmp3xxx-rtc";
F
Fabio Estevam 已提交
802
				reg = <0x80056000 0x2000>;
803
				interrupts = <29>;
804 805 806
			};

			i2c0: i2c@80058000 {
807 808 809
				#address-cells = <1>;
				#size-cells = <0>;
				compatible = "fsl,imx28-i2c";
F
Fabio Estevam 已提交
810
				reg = <0x80058000 0x2000>;
811
				interrupts = <111 68>;
812
				clock-frequency = <100000>;
813
				fsl,i2c-dma-channel = <6>;
814 815 816 817
				status = "disabled";
			};

			i2c1: i2c@8005a000 {
818 819 820
				#address-cells = <1>;
				#size-cells = <0>;
				compatible = "fsl,imx28-i2c";
F
Fabio Estevam 已提交
821
				reg = <0x8005a000 0x2000>;
822
				interrupts = <110 69>;
823
				clock-frequency = <100000>;
824
				fsl,i2c-dma-channel = <7>;
825 826 827
				status = "disabled";
			};

828 829
			pwm: pwm@80064000 {
				compatible = "fsl,imx28-pwm", "fsl,imx23-pwm";
F
Fabio Estevam 已提交
830
				reg = <0x80064000 0x2000>;
831
				clocks = <&clks 44>;
832 833
				#pwm-cells = <2>;
				fsl,pwm-number = <8>;
834 835 836 837
				status = "disabled";
			};

			timrot@80068000 {
838
				compatible = "fsl,imx28-timrot", "fsl,timrot";
F
Fabio Estevam 已提交
839
				reg = <0x80068000 0x2000>;
840
				interrupts = <48 49 50 51>;
841 842 843
			};

			auart0: serial@8006a000 {
844
				compatible = "fsl,imx28-auart", "fsl,imx23-auart";
845 846
				reg = <0x8006a000 0x2000>;
				interrupts = <112 70 71>;
847
				fsl,auart-dma-channel = <8 9>;
848
				clocks = <&clks 45>;
849 850 851 852
				status = "disabled";
			};

			auart1: serial@8006c000 {
853
				compatible = "fsl,imx28-auart", "fsl,imx23-auart";
854 855
				reg = <0x8006c000 0x2000>;
				interrupts = <113 72 73>;
856
				clocks = <&clks 45>;
857 858 859 860
				status = "disabled";
			};

			auart2: serial@8006e000 {
861
				compatible = "fsl,imx28-auart", "fsl,imx23-auart";
862 863
				reg = <0x8006e000 0x2000>;
				interrupts = <114 74 75>;
864
				clocks = <&clks 45>;
865 866 867 868
				status = "disabled";
			};

			auart3: serial@80070000 {
869
				compatible = "fsl,imx28-auart", "fsl,imx23-auart";
870 871
				reg = <0x80070000 0x2000>;
				interrupts = <115 76 77>;
872
				clocks = <&clks 45>;
873 874 875 876
				status = "disabled";
			};

			auart4: serial@80072000 {
877
				compatible = "fsl,imx28-auart", "fsl,imx23-auart";
878 879
				reg = <0x80072000 0x2000>;
				interrupts = <116 78 79>;
880
				clocks = <&clks 45>;
881 882 883 884 885 886 887
				status = "disabled";
			};

			duart: serial@80074000 {
				compatible = "arm,pl011", "arm,primecell";
				reg = <0x80074000 0x1000>;
				interrupts = <47>;
888 889
				clocks = <&clks 45>, <&clks 26>;
				clock-names = "uart", "apb_pclk";
890 891 892 893
				status = "disabled";
			};

			usbphy0: usbphy@8007c000 {
894
				compatible = "fsl,imx28-usbphy", "fsl,imx23-usbphy";
895
				reg = <0x8007c000 0x2000>;
896
				clocks = <&clks 62>;
897 898 899 900
				status = "disabled";
			};

			usbphy1: usbphy@8007e000 {
901
				compatible = "fsl,imx28-usbphy", "fsl,imx23-usbphy";
902
				reg = <0x8007e000 0x2000>;
903
				clocks = <&clks 63>;
904 905 906 907 908 909 910 911 912 913 914 915
				status = "disabled";
			};
		};
	};

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

916 917
		usb0: usb@80080000 {
			compatible = "fsl,imx28-usb", "fsl,imx27-usb";
918
			reg = <0x80080000 0x10000>;
919
			interrupts = <93>;
920
			clocks = <&clks 60>;
921
			fsl,usbphy = <&usbphy0>;
922 923 924
			status = "disabled";
		};

925 926
		usb1: usb@80090000 {
			compatible = "fsl,imx28-usb", "fsl,imx27-usb";
927
			reg = <0x80090000 0x10000>;
928
			interrupts = <92>;
929
			clocks = <&clks 61>;
930
			fsl,usbphy = <&usbphy1>;
931 932 933 934 935 936 937 938 939 940 941 942
			status = "disabled";
		};

		dflpt@800c0000 {
			reg = <0x800c0000 0x10000>;
			status = "disabled";
		};

		mac0: ethernet@800f0000 {
			compatible = "fsl,imx28-fec";
			reg = <0x800f0000 0x4000>;
			interrupts = <101>;
943 944
			clocks = <&clks 57>, <&clks 57>;
			clock-names = "ipg", "ahb";
945 946 947 948 949 950 951
			status = "disabled";
		};

		mac1: ethernet@800f4000 {
			compatible = "fsl,imx28-fec";
			reg = <0x800f4000 0x4000>;
			interrupts = <102>;
952 953
			clocks = <&clks 57>, <&clks 57>;
			clock-names = "ipg", "ahb";
954 955 956 957 958 959 960 961 962 963
			status = "disabled";
		};

		switch@800f8000 {
			reg = <0x800f8000 0x8000>;
			status = "disabled";
		};

	};
};