imx28.dtsi 26.5 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11
/*
 * 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
 */

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

/ {
	interrupt-parent = <&icoll>;

18
	aliases {
F
Fabio Estevam 已提交
19 20
		ethernet0 = &mac0;
		ethernet1 = &mac1;
21 22 23 24 25
		gpio0 = &gpio0;
		gpio1 = &gpio1;
		gpio2 = &gpio2;
		gpio3 = &gpio3;
		gpio4 = &gpio4;
26 27
		saif0 = &saif0;
		saif1 = &saif1;
28 29 30 31 32
		serial0 = &auart0;
		serial1 = &auart1;
		serial2 = &auart2;
		serial3 = &auart3;
		serial4 = &auart4;
F
Fabio Estevam 已提交
33 34
		spi0 = &ssp1;
		spi1 = &ssp2;
35 36
	};

37
	cpus {
38 39 40 41 42 43
		#address-cells = <0>;
		#size-cells = <0>;

		cpu {
			compatible = "arm,arm926ej-s";
			device_type = "cpu";
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
		};
	};

	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 {
62
				compatible = "fsl,imx28-icoll", "fsl,icoll";
63 64 65 66 67
				interrupt-controller;
				#interrupt-cells = <1>;
				reg = <0x80000000 0x2000>;
			};

68
			hsadc: hsadc@80002000 {
F
Fabio Estevam 已提交
69
				reg = <0x80002000 0x2000>;
70
				interrupts = <13>;
71 72
				dmas = <&dma_apbh 12>;
				dma-names = "rx";
73 74 75
				status = "disabled";
			};

76
			dma_apbh: dma-apbh@80004000 {
D
Dong Aisheng 已提交
77
				compatible = "fsl,imx28-dma-apbh";
F
Fabio Estevam 已提交
78
				reg = <0x80004000 0x2000>;
79 80 81 82 83 84 85 86 87 88
				interrupts = <82 83 84 85
					      88 88 88 88
					      88 88 88 88
					      87 86 0 0>;
				interrupt-names = "ssp0", "ssp1", "ssp2", "ssp3",
						  "gpmi0", "gmpi1", "gpmi2", "gmpi3",
						  "gpmi4", "gmpi5", "gpmi6", "gmpi7",
						  "hsadc", "lcdif", "empty", "empty";
				#dma-cells = <1>;
				dma-channels = <16>;
89
				clocks = <&clks 25>;
90 91
			};

92
			perfmon: perfmon@80006000 {
F
Fabio Estevam 已提交
93
				reg = <0x80006000 0x800>;
94 95 96 97
				interrupts = <27>;
				status = "disabled";
			};

98
			gpmi: gpmi-nand@8000c000 {
H
Huang Shijie 已提交
99 100 101
				compatible = "fsl,imx28-gpmi-nand";
				#address-cells = <1>;
				#size-cells = <1>;
F
Fabio Estevam 已提交
102
				reg = <0x8000c000 0x2000>, <0x8000a000 0x2000>;
H
Huang Shijie 已提交
103
				reg-names = "gpmi-nand", "bch";
104 105
				interrupts = <41>;
				interrupt-names = "bch";
106
				clocks = <&clks 50>;
107
				clock-names = "gpmi_io";
108 109
				dmas = <&dma_apbh 4>;
				dma-names = "rx-tx";
110 111 112 113
				status = "disabled";
			};

			ssp0: ssp@80010000 {
114 115
				#address-cells = <1>;
				#size-cells = <0>;
F
Fabio Estevam 已提交
116
				reg = <0x80010000 0x2000>;
117
				interrupts = <96>;
118
				clocks = <&clks 46>;
119 120
				dmas = <&dma_apbh 0>;
				dma-names = "rx-tx";
121 122 123 124
				status = "disabled";
			};

			ssp1: ssp@80012000 {
125 126
				#address-cells = <1>;
				#size-cells = <0>;
F
Fabio Estevam 已提交
127
				reg = <0x80012000 0x2000>;
128
				interrupts = <97>;
129
				clocks = <&clks 47>;
130 131
				dmas = <&dma_apbh 1>;
				dma-names = "rx-tx";
132 133 134 135
				status = "disabled";
			};

			ssp2: ssp@80014000 {
136 137
				#address-cells = <1>;
				#size-cells = <0>;
F
Fabio Estevam 已提交
138
				reg = <0x80014000 0x2000>;
139
				interrupts = <98>;
140
				clocks = <&clks 48>;
141 142
				dmas = <&dma_apbh 2>;
				dma-names = "rx-tx";
143 144 145 146
				status = "disabled";
			};

			ssp3: ssp@80016000 {
147 148
				#address-cells = <1>;
				#size-cells = <0>;
F
Fabio Estevam 已提交
149
				reg = <0x80016000 0x2000>;
150
				interrupts = <99>;
151
				clocks = <&clks 49>;
152 153
				dmas = <&dma_apbh 3>;
				dma-names = "rx-tx";
154 155 156
				status = "disabled";
			};

157
			pinctrl: pinctrl@80018000 {
158 159
				#address-cells = <1>;
				#size-cells = <0>;
160
				compatible = "fsl,imx28-pinctrl", "simple-bus";
F
Fabio Estevam 已提交
161
				reg = <0x80018000 0x2000>;
162

163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207
				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>;
				};

208 209
				duart_pins_a: duart@0 {
					reg = <0>;
210
					fsl,pinmux-ids = <
211 212
						MX28_PAD_PWM0__DUART_RX
						MX28_PAD_PWM1__DUART_TX
213
					>;
214 215 216
					fsl,drive-strength = <MXS_DRIVE_4mA>;
					fsl,voltage = <MXS_VOLTAGE_HIGH>;
					fsl,pull-up = <MXS_PULL_DISABLE>;
217 218
				};

219 220
				duart_pins_b: duart@1 {
					reg = <1>;
221
					fsl,pinmux-ids = <
222 223
						MX28_PAD_AUART0_CTS__DUART_RX
						MX28_PAD_AUART0_RTS__DUART_TX
224
					>;
225 226 227
					fsl,drive-strength = <MXS_DRIVE_4mA>;
					fsl,voltage = <MXS_VOLTAGE_HIGH>;
					fsl,pull-up = <MXS_PULL_DISABLE>;
228 229
				};

230 231 232
				duart_4pins_a: duart-4pins@0 {
					reg = <0>;
					fsl,pinmux-ids = <
233 234 235 236
						MX28_PAD_AUART0_CTS__DUART_RX
						MX28_PAD_AUART0_RTS__DUART_TX
						MX28_PAD_AUART0_RX__DUART_CTS
						MX28_PAD_AUART0_TX__DUART_RTS
237
					>;
238 239 240
					fsl,drive-strength = <MXS_DRIVE_4mA>;
					fsl,voltage = <MXS_VOLTAGE_HIGH>;
					fsl,pull-up = <MXS_PULL_DISABLE>;
241 242
				};

H
Huang Shijie 已提交
243 244
				gpmi_pins_a: gpmi-nand@0 {
					reg = <0>;
245
					fsl,pinmux-ids = <
246 247 248 249 250 251 252 253 254 255 256 257 258 259 260
						MX28_PAD_GPMI_D00__GPMI_D0
						MX28_PAD_GPMI_D01__GPMI_D1
						MX28_PAD_GPMI_D02__GPMI_D2
						MX28_PAD_GPMI_D03__GPMI_D3
						MX28_PAD_GPMI_D04__GPMI_D4
						MX28_PAD_GPMI_D05__GPMI_D5
						MX28_PAD_GPMI_D06__GPMI_D6
						MX28_PAD_GPMI_D07__GPMI_D7
						MX28_PAD_GPMI_CE0N__GPMI_CE0N
						MX28_PAD_GPMI_RDY0__GPMI_READY0
						MX28_PAD_GPMI_RDN__GPMI_RDN
						MX28_PAD_GPMI_WRN__GPMI_WRN
						MX28_PAD_GPMI_ALE__GPMI_ALE
						MX28_PAD_GPMI_CLE__GPMI_CLE
						MX28_PAD_GPMI_RESETN__GPMI_RESETN
261
					>;
262 263 264
					fsl,drive-strength = <MXS_DRIVE_4mA>;
					fsl,voltage = <MXS_VOLTAGE_HIGH>;
					fsl,pull-up = <MXS_PULL_DISABLE>;
H
Huang Shijie 已提交
265 266 267
				};

				gpmi_status_cfg: gpmi-status-cfg {
268
					fsl,pinmux-ids = <
269 270 271
						MX28_PAD_GPMI_RDN__GPMI_RDN
						MX28_PAD_GPMI_WRN__GPMI_WRN
						MX28_PAD_GPMI_RESETN__GPMI_RESETN
272
					>;
273
					fsl,drive-strength = <MXS_DRIVE_12mA>;
H
Huang Shijie 已提交
274 275
				};

276 277
				auart0_pins_a: auart0@0 {
					reg = <0>;
278
					fsl,pinmux-ids = <
279 280 281 282
						MX28_PAD_AUART0_RX__AUART0_RX
						MX28_PAD_AUART0_TX__AUART0_TX
						MX28_PAD_AUART0_CTS__AUART0_CTS
						MX28_PAD_AUART0_RTS__AUART0_RTS
283
					>;
284 285 286
					fsl,drive-strength = <MXS_DRIVE_4mA>;
					fsl,voltage = <MXS_VOLTAGE_HIGH>;
					fsl,pull-up = <MXS_PULL_DISABLE>;
287 288 289 290 291
				};

				auart0_2pins_a: auart0-2pins@0 {
					reg = <0>;
					fsl,pinmux-ids = <
292 293
						MX28_PAD_AUART0_RX__AUART0_RX
						MX28_PAD_AUART0_TX__AUART0_TX
294
					>;
295 296 297
					fsl,drive-strength = <MXS_DRIVE_4mA>;
					fsl,voltage = <MXS_VOLTAGE_HIGH>;
					fsl,pull-up = <MXS_PULL_DISABLE>;
298 299
				};

300 301 302
				auart1_pins_a: auart1@0 {
					reg = <0>;
					fsl,pinmux-ids = <
303 304 305 306
						MX28_PAD_AUART1_RX__AUART1_RX
						MX28_PAD_AUART1_TX__AUART1_TX
						MX28_PAD_AUART1_CTS__AUART1_CTS
						MX28_PAD_AUART1_RTS__AUART1_RTS
307
					>;
308 309 310
					fsl,drive-strength = <MXS_DRIVE_4mA>;
					fsl,voltage = <MXS_VOLTAGE_HIGH>;
					fsl,pull-up = <MXS_PULL_DISABLE>;
311 312
				};

313 314 315
				auart1_2pins_a: auart1-2pins@0 {
					reg = <0>;
					fsl,pinmux-ids = <
316 317
						MX28_PAD_AUART1_RX__AUART1_RX
						MX28_PAD_AUART1_TX__AUART1_TX
318
					>;
319 320 321
					fsl,drive-strength = <MXS_DRIVE_4mA>;
					fsl,voltage = <MXS_VOLTAGE_HIGH>;
					fsl,pull-up = <MXS_PULL_DISABLE>;
322 323 324 325 326
				};

				auart2_2pins_a: auart2-2pins@0 {
					reg = <0>;
					fsl,pinmux-ids = <
327 328
						MX28_PAD_SSP2_SCK__AUART2_RX
						MX28_PAD_SSP2_MOSI__AUART2_TX
329
					>;
330 331 332
					fsl,drive-strength = <MXS_DRIVE_4mA>;
					fsl,voltage = <MXS_VOLTAGE_HIGH>;
					fsl,pull-up = <MXS_PULL_DISABLE>;
333 334
				};

335 336 337
				auart2_2pins_b: auart2-2pins@1 {
					reg = <1>;
					fsl,pinmux-ids = <
338 339
						MX28_PAD_AUART2_RX__AUART2_RX
						MX28_PAD_AUART2_TX__AUART2_TX
340
					>;
341 342 343
					fsl,drive-strength = <MXS_DRIVE_4mA>;
					fsl,voltage = <MXS_VOLTAGE_HIGH>;
					fsl,pull-up = <MXS_PULL_DISABLE>;
344 345
				};

346 347
				auart3_pins_a: auart3@0 {
					reg = <0>;
348
					fsl,pinmux-ids = <
349 350 351 352
						MX28_PAD_AUART3_RX__AUART3_RX
						MX28_PAD_AUART3_TX__AUART3_TX
						MX28_PAD_AUART3_CTS__AUART3_CTS
						MX28_PAD_AUART3_RTS__AUART3_RTS
353
					>;
354 355 356
					fsl,drive-strength = <MXS_DRIVE_4mA>;
					fsl,voltage = <MXS_VOLTAGE_HIGH>;
					fsl,pull-up = <MXS_PULL_DISABLE>;
357 358
				};

359 360 361
				auart3_2pins_a: auart3-2pins@0 {
					reg = <0>;
					fsl,pinmux-ids = <
362 363
						MX28_PAD_SSP2_MISO__AUART3_RX
						MX28_PAD_SSP2_SS0__AUART3_TX
364
					>;
365 366 367
					fsl,drive-strength = <MXS_DRIVE_4mA>;
					fsl,voltage = <MXS_VOLTAGE_HIGH>;
					fsl,pull-up = <MXS_PULL_DISABLE>;
368 369
				};

370 371 372
				auart3_2pins_b: auart3-2pins@1 {
					reg = <1>;
					fsl,pinmux-ids = <
373 374
						MX28_PAD_AUART3_RX__AUART3_RX
						MX28_PAD_AUART3_TX__AUART3_TX
375
					>;
376 377 378
					fsl,drive-strength = <MXS_DRIVE_4mA>;
					fsl,voltage = <MXS_VOLTAGE_HIGH>;
					fsl,pull-up = <MXS_PULL_DISABLE>;
379 380
				};

381 382 383
				auart4_2pins_a: auart4@0 {
					reg = <0>;
					fsl,pinmux-ids = <
384 385
						MX28_PAD_SSP3_SCK__AUART4_TX
						MX28_PAD_SSP3_MOSI__AUART4_RX
386
					>;
387 388 389
					fsl,drive-strength = <MXS_DRIVE_4mA>;
					fsl,voltage = <MXS_VOLTAGE_HIGH>;
					fsl,pull-up = <MXS_PULL_DISABLE>;
390 391
				};

392 393
				mac0_pins_a: mac0@0 {
					reg = <0>;
394
					fsl,pinmux-ids = <
395 396 397 398 399 400 401 402 403
						MX28_PAD_ENET0_MDC__ENET0_MDC
						MX28_PAD_ENET0_MDIO__ENET0_MDIO
						MX28_PAD_ENET0_RX_EN__ENET0_RX_EN
						MX28_PAD_ENET0_RXD0__ENET0_RXD0
						MX28_PAD_ENET0_RXD1__ENET0_RXD1
						MX28_PAD_ENET0_TX_EN__ENET0_TX_EN
						MX28_PAD_ENET0_TXD0__ENET0_TXD0
						MX28_PAD_ENET0_TXD1__ENET0_TXD1
						MX28_PAD_ENET_CLK__CLKCTRL_ENET
404
					>;
405 406 407
					fsl,drive-strength = <MXS_DRIVE_8mA>;
					fsl,voltage = <MXS_VOLTAGE_HIGH>;
					fsl,pull-up = <MXS_PULL_ENABLE>;
408 409 410 411
				};

				mac1_pins_a: mac1@0 {
					reg = <0>;
412
					fsl,pinmux-ids = <
413 414 415 416 417 418
						MX28_PAD_ENET0_CRS__ENET1_RX_EN
						MX28_PAD_ENET0_RXD2__ENET1_RXD0
						MX28_PAD_ENET0_RXD3__ENET1_RXD1
						MX28_PAD_ENET0_COL__ENET1_TX_EN
						MX28_PAD_ENET0_TXD2__ENET1_TXD0
						MX28_PAD_ENET0_TXD3__ENET1_TXD1
419
					>;
420 421 422
					fsl,drive-strength = <MXS_DRIVE_8mA>;
					fsl,voltage = <MXS_VOLTAGE_HIGH>;
					fsl,pull-up = <MXS_PULL_ENABLE>;
423
				};
S
Shawn Guo 已提交
424 425 426

				mmc0_8bit_pins_a: mmc0-8bit@0 {
					reg = <0>;
427
					fsl,pinmux-ids = <
428 429 430 431 432 433 434 435 436 437 438
						MX28_PAD_SSP0_DATA0__SSP0_D0
						MX28_PAD_SSP0_DATA1__SSP0_D1
						MX28_PAD_SSP0_DATA2__SSP0_D2
						MX28_PAD_SSP0_DATA3__SSP0_D3
						MX28_PAD_SSP0_DATA4__SSP0_D4
						MX28_PAD_SSP0_DATA5__SSP0_D5
						MX28_PAD_SSP0_DATA6__SSP0_D6
						MX28_PAD_SSP0_DATA7__SSP0_D7
						MX28_PAD_SSP0_CMD__SSP0_CMD
						MX28_PAD_SSP0_DETECT__SSP0_CARD_DETECT
						MX28_PAD_SSP0_SCK__SSP0_SCK
439
					>;
440 441 442
					fsl,drive-strength = <MXS_DRIVE_8mA>;
					fsl,voltage = <MXS_VOLTAGE_HIGH>;
					fsl,pull-up = <MXS_PULL_ENABLE>;
S
Shawn Guo 已提交
443 444
				};

445 446
				mmc0_4bit_pins_a: mmc0-4bit@0 {
					reg = <0>;
447
					fsl,pinmux-ids = <
448 449 450 451 452 453 454
						MX28_PAD_SSP0_DATA0__SSP0_D0
						MX28_PAD_SSP0_DATA1__SSP0_D1
						MX28_PAD_SSP0_DATA2__SSP0_D2
						MX28_PAD_SSP0_DATA3__SSP0_D3
						MX28_PAD_SSP0_CMD__SSP0_CMD
						MX28_PAD_SSP0_DETECT__SSP0_CARD_DETECT
						MX28_PAD_SSP0_SCK__SSP0_SCK
455
					>;
456 457 458
					fsl,drive-strength = <MXS_DRIVE_8mA>;
					fsl,voltage = <MXS_VOLTAGE_HIGH>;
					fsl,pull-up = <MXS_PULL_ENABLE>;
459 460
				};

S
Shawn Guo 已提交
461
				mmc0_cd_cfg: mmc0-cd-cfg {
462
					fsl,pinmux-ids = <
463
						MX28_PAD_SSP0_DETECT__SSP0_CARD_DETECT
464
					>;
465
					fsl,pull-up = <MXS_PULL_DISABLE>;
S
Shawn Guo 已提交
466 467 468
				};

				mmc0_sck_cfg: mmc0-sck-cfg {
469
					fsl,pinmux-ids = <
470
						MX28_PAD_SSP0_SCK__SSP0_SCK
471
					>;
472 473
					fsl,drive-strength = <MXS_DRIVE_12mA>;
					fsl,pull-up = <MXS_PULL_DISABLE>;
S
Shawn Guo 已提交
474
				};
475 476 477

				i2c0_pins_a: i2c0@0 {
					reg = <0>;
478
					fsl,pinmux-ids = <
479 480
						MX28_PAD_I2C0_SCL__I2C0_SCL
						MX28_PAD_I2C0_SDA__I2C0_SDA
481
					>;
482 483 484
					fsl,drive-strength = <MXS_DRIVE_8mA>;
					fsl,voltage = <MXS_VOLTAGE_HIGH>;
					fsl,pull-up = <MXS_PULL_ENABLE>;
485
				};
486

487 488 489
				i2c0_pins_b: i2c0@1 {
					reg = <1>;
					fsl,pinmux-ids = <
490 491
						MX28_PAD_AUART0_RX__I2C0_SCL
						MX28_PAD_AUART0_TX__I2C0_SDA
492
					>;
493 494 495
					fsl,drive-strength = <MXS_DRIVE_8mA>;
					fsl,voltage = <MXS_VOLTAGE_HIGH>;
					fsl,pull-up = <MXS_PULL_ENABLE>;
496 497
				};

498 499 500
				i2c1_pins_a: i2c1@0 {
					reg = <0>;
					fsl,pinmux-ids = <
501 502
						MX28_PAD_PWM0__I2C1_SCL
						MX28_PAD_PWM1__I2C1_SDA
503
					>;
504 505 506
					fsl,drive-strength = <MXS_DRIVE_8mA>;
					fsl,voltage = <MXS_VOLTAGE_HIGH>;
					fsl,pull-up = <MXS_PULL_ENABLE>;
507 508
				};

509 510
				saif0_pins_a: saif0@0 {
					reg = <0>;
511
					fsl,pinmux-ids = <
512 513 514 515
						MX28_PAD_SAIF0_MCLK__SAIF0_MCLK
						MX28_PAD_SAIF0_LRCLK__SAIF0_LRCLK
						MX28_PAD_SAIF0_BITCLK__SAIF0_BITCLK
						MX28_PAD_SAIF0_SDATA0__SAIF0_SDATA0
516
					>;
517 518 519
					fsl,drive-strength = <MXS_DRIVE_12mA>;
					fsl,voltage = <MXS_VOLTAGE_HIGH>;
					fsl,pull-up = <MXS_PULL_ENABLE>;
520 521
				};

522 523 524
				saif0_pins_b: saif0@1 {
					reg = <1>;
					fsl,pinmux-ids = <
525 526 527
						MX28_PAD_SAIF0_LRCLK__SAIF0_LRCLK
						MX28_PAD_SAIF0_BITCLK__SAIF0_BITCLK
						MX28_PAD_SAIF0_SDATA0__SAIF0_SDATA0
528
					>;
529 530 531
					fsl,drive-strength = <MXS_DRIVE_12mA>;
					fsl,voltage = <MXS_VOLTAGE_HIGH>;
					fsl,pull-up = <MXS_PULL_ENABLE>;
532 533
				};

534 535
				saif1_pins_a: saif1@0 {
					reg = <0>;
536
					fsl,pinmux-ids = <
537
						MX28_PAD_SAIF1_SDATA0__SAIF1_SDATA0
538
					>;
539 540 541
					fsl,drive-strength = <MXS_DRIVE_12mA>;
					fsl,voltage = <MXS_VOLTAGE_HIGH>;
					fsl,pull-up = <MXS_PULL_ENABLE>;
542
				};
543

544 545 546
				pwm0_pins_a: pwm0@0 {
					reg = <0>;
					fsl,pinmux-ids = <
547
						MX28_PAD_PWM0__PWM_0
548
					>;
549 550 551
					fsl,drive-strength = <MXS_DRIVE_4mA>;
					fsl,voltage = <MXS_VOLTAGE_HIGH>;
					fsl,pull-up = <MXS_PULL_DISABLE>;
552 553
				};

554 555 556
				pwm2_pins_a: pwm2@0 {
					reg = <0>;
					fsl,pinmux-ids = <
557
						MX28_PAD_PWM2__PWM_2
558
					>;
559 560 561
					fsl,drive-strength = <MXS_DRIVE_4mA>;
					fsl,voltage = <MXS_VOLTAGE_HIGH>;
					fsl,pull-up = <MXS_PULL_DISABLE>;
562
				};
563

564 565 566
				pwm3_pins_a: pwm3@0 {
					reg = <0>;
					fsl,pinmux-ids = <
567
						MX28_PAD_PWM3__PWM_3
568
					>;
569 570 571
					fsl,drive-strength = <MXS_DRIVE_4mA>;
					fsl,voltage = <MXS_VOLTAGE_HIGH>;
					fsl,pull-up = <MXS_PULL_DISABLE>;
572 573
				};

574 575 576
				pwm3_pins_b: pwm3@1 {
					reg = <1>;
					fsl,pinmux-ids = <
577
						MX28_PAD_SAIF0_MCLK__PWM_3
578
					>;
579 580 581
					fsl,drive-strength = <MXS_DRIVE_4mA>;
					fsl,voltage = <MXS_VOLTAGE_HIGH>;
					fsl,pull-up = <MXS_PULL_DISABLE>;
582 583
				};

584 585 586
				pwm4_pins_a: pwm4@0 {
					reg = <0>;
					fsl,pinmux-ids = <
587
						MX28_PAD_PWM4__PWM_4
588
					>;
589 590 591
					fsl,drive-strength = <MXS_DRIVE_4mA>;
					fsl,voltage = <MXS_VOLTAGE_HIGH>;
					fsl,pull-up = <MXS_PULL_DISABLE>;
592 593
				};

594 595 596
				lcdif_24bit_pins_a: lcdif-24bit@0 {
					reg = <0>;
					fsl,pinmux-ids = <
597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620
						MX28_PAD_LCD_D00__LCD_D0
						MX28_PAD_LCD_D01__LCD_D1
						MX28_PAD_LCD_D02__LCD_D2
						MX28_PAD_LCD_D03__LCD_D3
						MX28_PAD_LCD_D04__LCD_D4
						MX28_PAD_LCD_D05__LCD_D5
						MX28_PAD_LCD_D06__LCD_D6
						MX28_PAD_LCD_D07__LCD_D7
						MX28_PAD_LCD_D08__LCD_D8
						MX28_PAD_LCD_D09__LCD_D9
						MX28_PAD_LCD_D10__LCD_D10
						MX28_PAD_LCD_D11__LCD_D11
						MX28_PAD_LCD_D12__LCD_D12
						MX28_PAD_LCD_D13__LCD_D13
						MX28_PAD_LCD_D14__LCD_D14
						MX28_PAD_LCD_D15__LCD_D15
						MX28_PAD_LCD_D16__LCD_D16
						MX28_PAD_LCD_D17__LCD_D17
						MX28_PAD_LCD_D18__LCD_D18
						MX28_PAD_LCD_D19__LCD_D19
						MX28_PAD_LCD_D20__LCD_D20
						MX28_PAD_LCD_D21__LCD_D21
						MX28_PAD_LCD_D22__LCD_D22
						MX28_PAD_LCD_D23__LCD_D23
621
					>;
622 623 624
					fsl,drive-strength = <MXS_DRIVE_4mA>;
					fsl,voltage = <MXS_VOLTAGE_HIGH>;
					fsl,pull-up = <MXS_PULL_DISABLE>;
625
				};
626

627 628 629
				lcdif_16bit_pins_a: lcdif-16bit@0 {
					reg = <0>;
					fsl,pinmux-ids = <
630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645
						MX28_PAD_LCD_D00__LCD_D0
						MX28_PAD_LCD_D01__LCD_D1
						MX28_PAD_LCD_D02__LCD_D2
						MX28_PAD_LCD_D03__LCD_D3
						MX28_PAD_LCD_D04__LCD_D4
						MX28_PAD_LCD_D05__LCD_D5
						MX28_PAD_LCD_D06__LCD_D6
						MX28_PAD_LCD_D07__LCD_D7
						MX28_PAD_LCD_D08__LCD_D8
						MX28_PAD_LCD_D09__LCD_D9
						MX28_PAD_LCD_D10__LCD_D10
						MX28_PAD_LCD_D11__LCD_D11
						MX28_PAD_LCD_D12__LCD_D12
						MX28_PAD_LCD_D13__LCD_D13
						MX28_PAD_LCD_D14__LCD_D14
						MX28_PAD_LCD_D15__LCD_D15
646
					>;
647 648 649
					fsl,drive-strength = <MXS_DRIVE_4mA>;
					fsl,voltage = <MXS_VOLTAGE_HIGH>;
					fsl,pull-up = <MXS_PULL_DISABLE>;
650 651
				};

652 653 654
				lcdif_sync_pins_a: lcdif-sync@0 {
					reg = <0>;
					fsl,pinmux-ids = <
655 656 657 658
						MX28_PAD_LCD_RS__LCD_DOTCLK
						MX28_PAD_LCD_CS__LCD_ENABLE
						MX28_PAD_LCD_RD_E__LCD_VSYNC
						MX28_PAD_LCD_WR_RWN__LCD_HSYNC
659
					>;
660 661 662
					fsl,drive-strength = <MXS_DRIVE_4mA>;
					fsl,voltage = <MXS_VOLTAGE_HIGH>;
					fsl,pull-up = <MXS_PULL_DISABLE>;
663 664
				};

665 666 667
				can0_pins_a: can0@0 {
					reg = <0>;
					fsl,pinmux-ids = <
668 669
						MX28_PAD_GPMI_RDY2__CAN0_TX
						MX28_PAD_GPMI_RDY3__CAN0_RX
670
					>;
671 672 673
					fsl,drive-strength = <MXS_DRIVE_4mA>;
					fsl,voltage = <MXS_VOLTAGE_HIGH>;
					fsl,pull-up = <MXS_PULL_DISABLE>;
674 675 676 677 678
				};

				can1_pins_a: can1@0 {
					reg = <0>;
					fsl,pinmux-ids = <
679 680
						MX28_PAD_GPMI_CE2N__CAN1_TX
						MX28_PAD_GPMI_CE3N__CAN1_RX
681
					>;
682 683 684
					fsl,drive-strength = <MXS_DRIVE_4mA>;
					fsl,voltage = <MXS_VOLTAGE_HIGH>;
					fsl,pull-up = <MXS_PULL_DISABLE>;
685
				};
686 687 688 689

				spi2_pins_a: spi2@0 {
					reg = <0>;
					fsl,pinmux-ids = <
690 691 692 693
						MX28_PAD_SSP2_SCK__SSP2_SCK
						MX28_PAD_SSP2_MOSI__SSP2_CMD
						MX28_PAD_SSP2_MISO__SSP2_D0
						MX28_PAD_SSP2_SS0__SSP2_D3
694
					>;
695 696 697
					fsl,drive-strength = <MXS_DRIVE_8mA>;
					fsl,voltage = <MXS_VOLTAGE_HIGH>;
					fsl,pull-up = <MXS_PULL_ENABLE>;
698
				};
699

700 701 702
				spi3_pins_a: spi3@0 {
					reg = <0>;
					fsl,pinmux-ids = <
703 704 705 706 707 708
						MX28_PAD_AUART2_RX__SSP3_D4
						MX28_PAD_AUART2_TX__SSP3_D5
						MX28_PAD_SSP3_SCK__SSP3_SCK
						MX28_PAD_SSP3_MOSI__SSP3_CMD
						MX28_PAD_SSP3_MISO__SSP3_D0
						MX28_PAD_SSP3_SS0__SSP3_D3
709
					>;
710 711 712
					fsl,drive-strength = <MXS_DRIVE_8mA>;
					fsl,voltage = <MXS_VOLTAGE_HIGH>;
					fsl,pull-up = <MXS_PULL_DISABLE>;
713 714
				};

715 716 717
				usbphy0_pins_a: usbphy0@0 {
					reg = <0>;
					fsl,pinmux-ids = <
718
						MX28_PAD_SSP2_SS2__USB0_OVERCURRENT
719
					>;
720 721 722
					fsl,drive-strength = <MXS_DRIVE_12mA>;
					fsl,voltage = <MXS_VOLTAGE_HIGH>;
					fsl,pull-up = <MXS_PULL_DISABLE>;
723 724 725 726 727
				};

				usbphy0_pins_b: usbphy0@1 {
					reg = <1>;
					fsl,pinmux-ids = <
728
						MX28_PAD_AUART1_CTS__USB0_OVERCURRENT
729
					>;
730 731 732
					fsl,drive-strength = <MXS_DRIVE_12mA>;
					fsl,voltage = <MXS_VOLTAGE_HIGH>;
					fsl,pull-up = <MXS_PULL_DISABLE>;
733 734 735 736 737
				};

				usbphy1_pins_a: usbphy1@0 {
					reg = <0>;
					fsl,pinmux-ids = <
738
						MX28_PAD_SSP2_SS1__USB1_OVERCURRENT
739
					>;
740 741 742
					fsl,drive-strength = <MXS_DRIVE_12mA>;
					fsl,voltage = <MXS_VOLTAGE_HIGH>;
					fsl,pull-up = <MXS_PULL_DISABLE>;
743
				};
744 745 746 747

				usb0_id_pins_a: usb0id@0 {
					reg = <0>;
					fsl,pinmux-ids = <
748
						MX28_PAD_AUART1_RTS__USB0_ID
749
					>;
750 751 752
					fsl,drive-strength = <MXS_DRIVE_12mA>;
					fsl,voltage = <MXS_VOLTAGE_HIGH>;
					fsl,pull-up = <MXS_PULL_ENABLE>;
753
				};
754 755
			};

756
			digctl: digctl@8001c000 {
757
				compatible = "fsl,imx28-digctl", "fsl,imx23-digctl";
F
Fabio Estevam 已提交
758
				reg = <0x8001c000 0x2000>;
759 760 761 762
				interrupts = <89>;
				status = "disabled";
			};

763
			etm: etm@80022000 {
F
Fabio Estevam 已提交
764
				reg = <0x80022000 0x2000>;
765 766 767
				status = "disabled";
			};

768
			dma_apbx: dma-apbx@80024000 {
D
Dong Aisheng 已提交
769
				compatible = "fsl,imx28-dma-apbx";
F
Fabio Estevam 已提交
770
				reg = <0x80024000 0x2000>;
771 772 773 774 775 776 777 778 779 780
				interrupts = <78 79 66 0
					      80 81 68 69
					      70 71 72 73
					      74 75 76 77>;
				interrupt-names = "auart4-rx", "aurat4-tx", "spdif-tx", "empty",
						  "saif0", "saif1", "i2c0", "i2c1",
						  "auart0-rx", "auart0-tx", "auart1-rx", "auart1-tx",
						  "auart2-rx", "auart2-tx", "auart3-rx", "auart3-tx";
				#dma-cells = <1>;
				dma-channels = <16>;
781
				clocks = <&clks 26>;
782 783
			};

784
			dcp: dcp@80028000 {
F
Fabio Estevam 已提交
785
				reg = <0x80028000 0x2000>;
786
				interrupts = <52 53 54>;
787
				compatible = "fsl-dcp";
788 789
			};

790
			pxp: pxp@8002a000 {
F
Fabio Estevam 已提交
791
				reg = <0x8002a000 0x2000>;
792 793 794 795
				interrupts = <39>;
				status = "disabled";
			};

796
			ocotp: ocotp@8002c000 {
797
				compatible = "fsl,ocotp";
F
Fabio Estevam 已提交
798
				reg = <0x8002c000 0x2000>;
799 800 801 802
				status = "disabled";
			};

			axi-ahb@8002e000 {
F
Fabio Estevam 已提交
803
				reg = <0x8002e000 0x2000>;
804 805 806
				status = "disabled";
			};

807
			lcdif: lcdif@80030000 {
808
				compatible = "fsl,imx28-lcdif";
F
Fabio Estevam 已提交
809
				reg = <0x80030000 0x2000>;
810
				interrupts = <38>;
811
				clocks = <&clks 55>;
812 813
				dmas = <&dma_apbh 13>;
				dma-names = "rx";
814 815 816 817
				status = "disabled";
			};

			can0: can@80032000 {
818
				compatible = "fsl,imx28-flexcan", "fsl,p1010-flexcan";
F
Fabio Estevam 已提交
819
				reg = <0x80032000 0x2000>;
820
				interrupts = <8>;
821 822
				clocks = <&clks 58>, <&clks 58>;
				clock-names = "ipg", "per";
823 824 825 826
				status = "disabled";
			};

			can1: can@80034000 {
827
				compatible = "fsl,imx28-flexcan", "fsl,p1010-flexcan";
F
Fabio Estevam 已提交
828
				reg = <0x80034000 0x2000>;
829
				interrupts = <9>;
830 831
				clocks = <&clks 59>, <&clks 59>;
				clock-names = "ipg", "per";
832 833 834
				status = "disabled";
			};

835
			simdbg: simdbg@8003c000 {
F
Fabio Estevam 已提交
836
				reg = <0x8003c000 0x200>;
837 838 839
				status = "disabled";
			};

840
			simgpmisel: simgpmisel@8003c200 {
F
Fabio Estevam 已提交
841
				reg = <0x8003c200 0x100>;
842 843 844
				status = "disabled";
			};

845
			simsspsel: simsspsel@8003c300 {
F
Fabio Estevam 已提交
846
				reg = <0x8003c300 0x100>;
847 848 849
				status = "disabled";
			};

850
			simmemsel: simmemsel@8003c400 {
F
Fabio Estevam 已提交
851
				reg = <0x8003c400 0x100>;
852 853 854
				status = "disabled";
			};

855
			gpiomon: gpiomon@8003c500 {
F
Fabio Estevam 已提交
856
				reg = <0x8003c500 0x100>;
857 858 859
				status = "disabled";
			};

860
			simenet: simenet@8003c700 {
F
Fabio Estevam 已提交
861
				reg = <0x8003c700 0x100>;
862 863 864
				status = "disabled";
			};

865
			armjtag: armjtag@8003c800 {
F
Fabio Estevam 已提交
866
				reg = <0x8003c800 0x100>;
867 868
				status = "disabled";
			};
869
		};
870 871 872 873 874 875 876 877

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

878
			clks: clkctrl@80040000 {
879
				compatible = "fsl,imx28-clkctrl", "fsl,clkctrl";
F
Fabio Estevam 已提交
880
				reg = <0x80040000 0x2000>;
881
				#clock-cells = <1>;
882 883 884
			};

			saif0: saif@80042000 {
885
				compatible = "fsl,imx28-saif";
F
Fabio Estevam 已提交
886
				reg = <0x80042000 0x2000>;
887
				interrupts = <59>;
888
				#clock-cells = <0>;
889
				clocks = <&clks 53>;
890 891
				dmas = <&dma_apbx 4>;
				dma-names = "rx-tx";
892 893 894
				status = "disabled";
			};

895
			power: power@80044000 {
F
Fabio Estevam 已提交
896
				reg = <0x80044000 0x2000>;
897 898 899 900
				status = "disabled";
			};

			saif1: saif@80046000 {
901
				compatible = "fsl,imx28-saif";
F
Fabio Estevam 已提交
902
				reg = <0x80046000 0x2000>;
903
				interrupts = <58>;
904
				clocks = <&clks 54>;
905 906
				dmas = <&dma_apbx 5>;
				dma-names = "rx-tx";
907 908 909
				status = "disabled";
			};

910
			lradc: lradc@80050000 {
911
				compatible = "fsl,imx28-lradc";
F
Fabio Estevam 已提交
912
				reg = <0x80050000 0x2000>;
913 914
				interrupts = <10 14 15 16 17 18 19
						20 21 22 23 24 25>;
915 916 917
				status = "disabled";
			};

918
			spdif: spdif@80054000 {
F
Fabio Estevam 已提交
919
				reg = <0x80054000 0x2000>;
920
				interrupts = <45>;
921 922
				dmas = <&dma_apbx 2>;
				dma-names = "tx";
923 924 925
				status = "disabled";
			};

926
			mxs_rtc: rtc@80056000 {
927
				compatible = "fsl,imx28-rtc", "fsl,stmp3xxx-rtc";
F
Fabio Estevam 已提交
928
				reg = <0x80056000 0x2000>;
929
				interrupts = <29>;
930 931 932
			};

			i2c0: i2c@80058000 {
933 934 935
				#address-cells = <1>;
				#size-cells = <0>;
				compatible = "fsl,imx28-i2c";
F
Fabio Estevam 已提交
936
				reg = <0x80058000 0x2000>;
937
				interrupts = <111>;
938
				clock-frequency = <100000>;
939 940
				dmas = <&dma_apbx 6>;
				dma-names = "rx-tx";
941 942 943 944
				status = "disabled";
			};

			i2c1: i2c@8005a000 {
945 946 947
				#address-cells = <1>;
				#size-cells = <0>;
				compatible = "fsl,imx28-i2c";
F
Fabio Estevam 已提交
948
				reg = <0x8005a000 0x2000>;
949
				interrupts = <110>;
950
				clock-frequency = <100000>;
951 952
				dmas = <&dma_apbx 7>;
				dma-names = "rx-tx";
953 954 955
				status = "disabled";
			};

956 957
			pwm: pwm@80064000 {
				compatible = "fsl,imx28-pwm", "fsl,imx23-pwm";
F
Fabio Estevam 已提交
958
				reg = <0x80064000 0x2000>;
959
				clocks = <&clks 44>;
960 961
				#pwm-cells = <2>;
				fsl,pwm-number = <8>;
962 963 964
				status = "disabled";
			};

965
			timer: timrot@80068000 {
966
				compatible = "fsl,imx28-timrot", "fsl,timrot";
F
Fabio Estevam 已提交
967
				reg = <0x80068000 0x2000>;
968
				interrupts = <48 49 50 51>;
969
				clocks = <&clks 26>;
970 971 972
			};

			auart0: serial@8006a000 {
973
				compatible = "fsl,imx28-auart", "fsl,imx23-auart";
974
				reg = <0x8006a000 0x2000>;
975
				interrupts = <112>;
976 977
				dmas = <&dma_apbx 8>, <&dma_apbx 9>;
				dma-names = "rx", "tx";
978
				clocks = <&clks 45>;
979 980 981 982
				status = "disabled";
			};

			auart1: serial@8006c000 {
983
				compatible = "fsl,imx28-auart", "fsl,imx23-auart";
984
				reg = <0x8006c000 0x2000>;
985
				interrupts = <113>;
986 987
				dmas = <&dma_apbx 10>, <&dma_apbx 11>;
				dma-names = "rx", "tx";
988
				clocks = <&clks 45>;
989 990 991 992
				status = "disabled";
			};

			auart2: serial@8006e000 {
993
				compatible = "fsl,imx28-auart", "fsl,imx23-auart";
994
				reg = <0x8006e000 0x2000>;
995
				interrupts = <114>;
996 997
				dmas = <&dma_apbx 12>, <&dma_apbx 13>;
				dma-names = "rx", "tx";
998
				clocks = <&clks 45>;
999 1000 1001 1002
				status = "disabled";
			};

			auart3: serial@80070000 {
1003
				compatible = "fsl,imx28-auart", "fsl,imx23-auart";
1004
				reg = <0x80070000 0x2000>;
1005
				interrupts = <115>;
1006 1007
				dmas = <&dma_apbx 14>, <&dma_apbx 15>;
				dma-names = "rx", "tx";
1008
				clocks = <&clks 45>;
1009 1010 1011 1012
				status = "disabled";
			};

			auart4: serial@80072000 {
1013
				compatible = "fsl,imx28-auart", "fsl,imx23-auart";
1014
				reg = <0x80072000 0x2000>;
1015
				interrupts = <116>;
1016 1017
				dmas = <&dma_apbx 0>, <&dma_apbx 1>;
				dma-names = "rx", "tx";
1018
				clocks = <&clks 45>;
1019 1020 1021 1022 1023 1024 1025
				status = "disabled";
			};

			duart: serial@80074000 {
				compatible = "arm,pl011", "arm,primecell";
				reg = <0x80074000 0x1000>;
				interrupts = <47>;
1026 1027
				clocks = <&clks 45>, <&clks 26>;
				clock-names = "uart", "apb_pclk";
1028 1029 1030 1031
				status = "disabled";
			};

			usbphy0: usbphy@8007c000 {
1032
				compatible = "fsl,imx28-usbphy", "fsl,imx23-usbphy";
1033
				reg = <0x8007c000 0x2000>;
1034
				clocks = <&clks 62>;
1035 1036 1037 1038
				status = "disabled";
			};

			usbphy1: usbphy@8007e000 {
1039
				compatible = "fsl,imx28-usbphy", "fsl,imx23-usbphy";
1040
				reg = <0x8007e000 0x2000>;
1041
				clocks = <&clks 63>;
1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053
				status = "disabled";
			};
		};
	};

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

1054 1055
		usb0: usb@80080000 {
			compatible = "fsl,imx28-usb", "fsl,imx27-usb";
1056
			reg = <0x80080000 0x10000>;
1057
			interrupts = <93>;
1058
			clocks = <&clks 60>;
1059
			fsl,usbphy = <&usbphy0>;
1060 1061 1062
			status = "disabled";
		};

1063 1064
		usb1: usb@80090000 {
			compatible = "fsl,imx28-usb", "fsl,imx27-usb";
1065
			reg = <0x80090000 0x10000>;
1066
			interrupts = <92>;
1067
			clocks = <&clks 61>;
1068
			fsl,usbphy = <&usbphy1>;
1069 1070 1071
			status = "disabled";
		};

1072
		dflpt: dflpt@800c0000 {
1073 1074 1075 1076 1077 1078 1079 1080
			reg = <0x800c0000 0x10000>;
			status = "disabled";
		};

		mac0: ethernet@800f0000 {
			compatible = "fsl,imx28-fec";
			reg = <0x800f0000 0x4000>;
			interrupts = <101>;
1081 1082
			clocks = <&clks 57>, <&clks 57>, <&clks 64>;
			clock-names = "ipg", "ahb", "enet_out";
1083 1084 1085 1086 1087 1088 1089
			status = "disabled";
		};

		mac1: ethernet@800f4000 {
			compatible = "fsl,imx28-fec";
			reg = <0x800f4000 0x4000>;
			interrupts = <102>;
1090 1091
			clocks = <&clks 57>, <&clks 57>;
			clock-names = "ipg", "ahb";
1092 1093 1094
			status = "disabled";
		};

1095
		etn_switch: switch@800f8000 {
1096 1097 1098 1099 1100
			reg = <0x800f8000 0x8000>;
			status = "disabled";
		};
	};
};