diff options
Diffstat (limited to 'arch/arm/boot/dts/imx23.dtsi')
-rw-r--r-- | arch/arm/boot/dts/imx23.dtsi | 219 |
1 files changed, 180 insertions, 39 deletions
diff --git a/arch/arm/boot/dts/imx23.dtsi b/arch/arm/boot/dts/imx23.dtsi index 8c5f9994f3fc..e6138310e5ce 100644 --- a/arch/arm/boot/dts/imx23.dtsi +++ b/arch/arm/boot/dts/imx23.dtsi | |||
@@ -18,6 +18,8 @@ | |||
18 | gpio0 = &gpio0; | 18 | gpio0 = &gpio0; |
19 | gpio1 = &gpio1; | 19 | gpio1 = &gpio1; |
20 | gpio2 = &gpio2; | 20 | gpio2 = &gpio2; |
21 | serial0 = &auart0; | ||
22 | serial1 = &auart1; | ||
21 | }; | 23 | }; |
22 | 24 | ||
23 | cpus { | 25 | cpus { |
@@ -49,33 +51,35 @@ | |||
49 | 51 | ||
50 | dma-apbh@80004000 { | 52 | dma-apbh@80004000 { |
51 | compatible = "fsl,imx23-dma-apbh"; | 53 | compatible = "fsl,imx23-dma-apbh"; |
52 | reg = <0x80004000 2000>; | 54 | reg = <0x80004000 0x2000>; |
53 | }; | 55 | }; |
54 | 56 | ||
55 | ecc@80008000 { | 57 | ecc@80008000 { |
56 | reg = <0x80008000 2000>; | 58 | reg = <0x80008000 0x2000>; |
57 | status = "disabled"; | 59 | status = "disabled"; |
58 | }; | 60 | }; |
59 | 61 | ||
60 | bch@8000a000 { | 62 | gpmi-nand@8000c000 { |
61 | reg = <0x8000a000 2000>; | 63 | compatible = "fsl,imx23-gpmi-nand"; |
62 | status = "disabled"; | 64 | #address-cells = <1>; |
63 | }; | 65 | #size-cells = <1>; |
64 | 66 | reg = <0x8000c000 0x2000>, <0x8000a000 0x2000>; | |
65 | gpmi@8000c000 { | 67 | reg-names = "gpmi-nand", "bch"; |
66 | reg = <0x8000c000 2000>; | 68 | interrupts = <13>, <56>; |
69 | interrupt-names = "gpmi-dma", "bch"; | ||
70 | fsl,gpmi-dma-channel = <4>; | ||
67 | status = "disabled"; | 71 | status = "disabled"; |
68 | }; | 72 | }; |
69 | 73 | ||
70 | ssp0: ssp@80010000 { | 74 | ssp0: ssp@80010000 { |
71 | reg = <0x80010000 2000>; | 75 | reg = <0x80010000 0x2000>; |
72 | interrupts = <15 14>; | 76 | interrupts = <15 14>; |
73 | fsl,ssp-dma-channel = <1>; | 77 | fsl,ssp-dma-channel = <1>; |
74 | status = "disabled"; | 78 | status = "disabled"; |
75 | }; | 79 | }; |
76 | 80 | ||
77 | etm@80014000 { | 81 | etm@80014000 { |
78 | reg = <0x80014000 2000>; | 82 | reg = <0x80014000 0x2000>; |
79 | status = "disabled"; | 83 | status = "disabled"; |
80 | }; | 84 | }; |
81 | 85 | ||
@@ -83,7 +87,7 @@ | |||
83 | #address-cells = <1>; | 87 | #address-cells = <1>; |
84 | #size-cells = <0>; | 88 | #size-cells = <0>; |
85 | compatible = "fsl,imx23-pinctrl", "simple-bus"; | 89 | compatible = "fsl,imx23-pinctrl", "simple-bus"; |
86 | reg = <0x80018000 2000>; | 90 | reg = <0x80018000 0x2000>; |
87 | 91 | ||
88 | gpio0: gpio@0 { | 92 | gpio0: gpio@0 { |
89 | compatible = "fsl,imx23-gpio", "fsl,mxs-gpio"; | 93 | compatible = "fsl,imx23-gpio", "fsl,mxs-gpio"; |
@@ -114,24 +118,151 @@ | |||
114 | 118 | ||
115 | duart_pins_a: duart@0 { | 119 | duart_pins_a: duart@0 { |
116 | reg = <0>; | 120 | reg = <0>; |
117 | fsl,pinmux-ids = <0x11a2 0x11b2>; | 121 | fsl,pinmux-ids = < |
122 | 0x11a2 /* MX23_PAD_PWM0__DUART_RX */ | ||
123 | 0x11b2 /* MX23_PAD_PWM1__DUART_TX */ | ||
124 | >; | ||
125 | fsl,drive-strength = <0>; | ||
126 | fsl,voltage = <1>; | ||
127 | fsl,pull-up = <0>; | ||
128 | }; | ||
129 | |||
130 | auart0_pins_a: auart0@0 { | ||
131 | reg = <0>; | ||
132 | fsl,pinmux-ids = < | ||
133 | 0x01c0 /* MX23_PAD_AUART1_RX__AUART1_RX */ | ||
134 | 0x01d0 /* MX23_PAD_AUART1_TX__AUART1_TX */ | ||
135 | 0x01a0 /* MX23_PAD_AUART1_CTS__AUART1_CTS */ | ||
136 | 0x01b0 /* MX23_PAD_AUART1_RTS__AUART1_RTS */ | ||
137 | >; | ||
118 | fsl,drive-strength = <0>; | 138 | fsl,drive-strength = <0>; |
119 | fsl,voltage = <1>; | 139 | fsl,voltage = <1>; |
120 | fsl,pull-up = <0>; | 140 | fsl,pull-up = <0>; |
121 | }; | 141 | }; |
122 | 142 | ||
143 | gpmi_pins_a: gpmi-nand@0 { | ||
144 | reg = <0>; | ||
145 | fsl,pinmux-ids = < | ||
146 | 0x0000 /* MX23_PAD_GPMI_D00__GPMI_D00 */ | ||
147 | 0x0010 /* MX23_PAD_GPMI_D01__GPMI_D01 */ | ||
148 | 0x0020 /* MX23_PAD_GPMI_D02__GPMI_D02 */ | ||
149 | 0x0030 /* MX23_PAD_GPMI_D03__GPMI_D03 */ | ||
150 | 0x0040 /* MX23_PAD_GPMI_D04__GPMI_D04 */ | ||
151 | 0x0050 /* MX23_PAD_GPMI_D05__GPMI_D05 */ | ||
152 | 0x0060 /* MX23_PAD_GPMI_D06__GPMI_D06 */ | ||
153 | 0x0070 /* MX23_PAD_GPMI_D07__GPMI_D07 */ | ||
154 | 0x0100 /* MX23_PAD_GPMI_CLE__GPMI_CLE */ | ||
155 | 0x0110 /* MX23_PAD_GPMI_ALE__GPMI_ALE */ | ||
156 | 0x0130 /* MX23_PAD_GPMI_RDY0__GPMI_RDY0 */ | ||
157 | 0x0140 /* MX23_PAD_GPMI_RDY1__GPMI_RDY1 */ | ||
158 | 0x0170 /* MX23_PAD_GPMI_WPN__GPMI_WPN */ | ||
159 | 0x0180 /* MX23_PAD_GPMI_WRN__GPMI_WRN */ | ||
160 | 0x0190 /* MX23_PAD_GPMI_RDN__GPMI_RDN */ | ||
161 | 0x21b0 /* MX23_PAD_GPMI_CE1N__GPMI_CE1N */ | ||
162 | 0x21c0 /* MX23_PAD_GPMI_CE0N__GPMI_CE0N */ | ||
163 | >; | ||
164 | fsl,drive-strength = <0>; | ||
165 | fsl,voltage = <1>; | ||
166 | fsl,pull-up = <0>; | ||
167 | }; | ||
168 | |||
169 | gpmi_pins_fixup: gpmi-pins-fixup { | ||
170 | fsl,pinmux-ids = < | ||
171 | 0x0170 /* MX23_PAD_GPMI_WPN__GPMI_WPN */ | ||
172 | 0x0180 /* MX23_PAD_GPMI_WRN__GPMI_WRN */ | ||
173 | 0x0190 /* MX23_PAD_GPMI_RDN__GPMI_RDN */ | ||
174 | >; | ||
175 | fsl,drive-strength = <2>; | ||
176 | }; | ||
177 | |||
178 | mmc0_4bit_pins_a: mmc0-4bit@0 { | ||
179 | reg = <0>; | ||
180 | fsl,pinmux-ids = < | ||
181 | 0x2020 /* MX23_PAD_SSP1_DATA0__SSP1_DATA0 */ | ||
182 | 0x2030 /* MX23_PAD_SSP1_DATA1__SSP1_DATA1 */ | ||
183 | 0x2040 /* MX23_PAD_SSP1_DATA2__SSP1_DATA2 */ | ||
184 | 0x2050 /* MX23_PAD_SSP1_DATA3__SSP1_DATA3 */ | ||
185 | 0x2000 /* MX23_PAD_SSP1_CMD__SSP1_CMD */ | ||
186 | 0x2010 /* MX23_PAD_SSP1_DETECT__SSP1_DETECT */ | ||
187 | 0x2060 /* MX23_PAD_SSP1_SCK__SSP1_SCK */ | ||
188 | >; | ||
189 | fsl,drive-strength = <1>; | ||
190 | fsl,voltage = <1>; | ||
191 | fsl,pull-up = <1>; | ||
192 | }; | ||
193 | |||
123 | mmc0_8bit_pins_a: mmc0-8bit@0 { | 194 | mmc0_8bit_pins_a: mmc0-8bit@0 { |
124 | reg = <0>; | 195 | reg = <0>; |
125 | fsl,pinmux-ids = <0x2020 0x2030 0x2040 | 196 | fsl,pinmux-ids = < |
126 | 0x2050 0x0082 0x0092 0x00a2 | 197 | 0x2020 /* MX23_PAD_SSP1_DATA0__SSP1_DATA0 */ |
127 | 0x00b2 0x2000 0x2010 0x2060>; | 198 | 0x2030 /* MX23_PAD_SSP1_DATA1__SSP1_DATA1 */ |
199 | 0x2040 /* MX23_PAD_SSP1_DATA2__SSP1_DATA2 */ | ||
200 | 0x2050 /* MX23_PAD_SSP1_DATA3__SSP1_DATA3 */ | ||
201 | 0x0082 /* MX23_PAD_GPMI_D08__SSP1_DATA4 */ | ||
202 | 0x0092 /* MX23_PAD_GPMI_D09__SSP1_DATA5 */ | ||
203 | 0x00a2 /* MX23_PAD_GPMI_D10__SSP1_DATA6 */ | ||
204 | 0x00b2 /* MX23_PAD_GPMI_D11__SSP1_DATA7 */ | ||
205 | 0x2000 /* MX23_PAD_SSP1_CMD__SSP1_CMD */ | ||
206 | 0x2010 /* MX23_PAD_SSP1_DETECT__SSP1_DETECT */ | ||
207 | 0x2060 /* MX23_PAD_SSP1_SCK__SSP1_SCK */ | ||
208 | >; | ||
128 | fsl,drive-strength = <1>; | 209 | fsl,drive-strength = <1>; |
129 | fsl,voltage = <1>; | 210 | fsl,voltage = <1>; |
130 | fsl,pull-up = <1>; | 211 | fsl,pull-up = <1>; |
131 | }; | 212 | }; |
132 | 213 | ||
133 | mmc0_pins_fixup: mmc0-pins-fixup { | 214 | mmc0_pins_fixup: mmc0-pins-fixup { |
134 | fsl,pinmux-ids = <0x2010 0x2060>; | 215 | fsl,pinmux-ids = < |
216 | 0x2010 /* MX23_PAD_SSP1_DETECT__SSP1_DETECT */ | ||
217 | 0x2060 /* MX23_PAD_SSP1_SCK__SSP1_SCK */ | ||
218 | >; | ||
219 | fsl,pull-up = <0>; | ||
220 | }; | ||
221 | |||
222 | pwm2_pins_a: pwm2@0 { | ||
223 | reg = <0>; | ||
224 | fsl,pinmux-ids = < | ||
225 | 0x11c0 /* MX23_PAD_PWM2__PWM2 */ | ||
226 | >; | ||
227 | fsl,drive-strength = <0>; | ||
228 | fsl,voltage = <1>; | ||
229 | fsl,pull-up = <0>; | ||
230 | }; | ||
231 | |||
232 | lcdif_24bit_pins_a: lcdif-24bit@0 { | ||
233 | reg = <0>; | ||
234 | fsl,pinmux-ids = < | ||
235 | 0x1000 /* MX23_PAD_LCD_D00__LCD_D0 */ | ||
236 | 0x1010 /* MX23_PAD_LCD_D01__LCD_D1 */ | ||
237 | 0x1020 /* MX23_PAD_LCD_D02__LCD_D2 */ | ||
238 | 0x1030 /* MX23_PAD_LCD_D03__LCD_D3 */ | ||
239 | 0x1040 /* MX23_PAD_LCD_D04__LCD_D4 */ | ||
240 | 0x1050 /* MX23_PAD_LCD_D05__LCD_D5 */ | ||
241 | 0x1060 /* MX23_PAD_LCD_D06__LCD_D6 */ | ||
242 | 0x1070 /* MX23_PAD_LCD_D07__LCD_D7 */ | ||
243 | 0x1080 /* MX23_PAD_LCD_D08__LCD_D8 */ | ||
244 | 0x1090 /* MX23_PAD_LCD_D09__LCD_D9 */ | ||
245 | 0x10a0 /* MX23_PAD_LCD_D10__LCD_D10 */ | ||
246 | 0x10b0 /* MX23_PAD_LCD_D11__LCD_D11 */ | ||
247 | 0x10c0 /* MX23_PAD_LCD_D12__LCD_D12 */ | ||
248 | 0x10d0 /* MX23_PAD_LCD_D13__LCD_D13 */ | ||
249 | 0x10e0 /* MX23_PAD_LCD_D14__LCD_D14 */ | ||
250 | 0x10f0 /* MX23_PAD_LCD_D15__LCD_D15 */ | ||
251 | 0x1100 /* MX23_PAD_LCD_D16__LCD_D16 */ | ||
252 | 0x1110 /* MX23_PAD_LCD_D17__LCD_D17 */ | ||
253 | 0x0081 /* MX23_PAD_GPMI_D08__LCD_D18 */ | ||
254 | 0x0091 /* MX23_PAD_GPMI_D09__LCD_D19 */ | ||
255 | 0x00a1 /* MX23_PAD_GPMI_D10__LCD_D20 */ | ||
256 | 0x00b1 /* MX23_PAD_GPMI_D11__LCD_D21 */ | ||
257 | 0x00c1 /* MX23_PAD_GPMI_D12__LCD_D22 */ | ||
258 | 0x00d1 /* MX23_PAD_GPMI_D13__LCD_D23 */ | ||
259 | 0x1160 /* MX23_PAD_LCD_DOTCK__LCD_DOTCK */ | ||
260 | 0x1170 /* MX23_PAD_LCD_ENABLE__LCD_ENABLE */ | ||
261 | 0x1180 /* MX23_PAD_LCD_HSYNC__LCD_HSYNC */ | ||
262 | 0x1190 /* MX23_PAD_LCD_VSYNC__LCD_VSYNC */ | ||
263 | >; | ||
264 | fsl,drive-strength = <0>; | ||
265 | fsl,voltage = <1>; | ||
135 | fsl,pull-up = <0>; | 266 | fsl,pull-up = <0>; |
136 | }; | 267 | }; |
137 | }; | 268 | }; |
@@ -142,49 +273,51 @@ | |||
142 | }; | 273 | }; |
143 | 274 | ||
144 | emi@80020000 { | 275 | emi@80020000 { |
145 | reg = <0x80020000 2000>; | 276 | reg = <0x80020000 0x2000>; |
146 | status = "disabled"; | 277 | status = "disabled"; |
147 | }; | 278 | }; |
148 | 279 | ||
149 | dma-apbx@80024000 { | 280 | dma-apbx@80024000 { |
150 | compatible = "fsl,imx23-dma-apbx"; | 281 | compatible = "fsl,imx23-dma-apbx"; |
151 | reg = <0x80024000 2000>; | 282 | reg = <0x80024000 0x2000>; |
152 | }; | 283 | }; |
153 | 284 | ||
154 | dcp@80028000 { | 285 | dcp@80028000 { |
155 | reg = <0x80028000 2000>; | 286 | reg = <0x80028000 0x2000>; |
156 | status = "disabled"; | 287 | status = "disabled"; |
157 | }; | 288 | }; |
158 | 289 | ||
159 | pxp@8002a000 { | 290 | pxp@8002a000 { |
160 | reg = <0x8002a000 2000>; | 291 | reg = <0x8002a000 0x2000>; |
161 | status = "disabled"; | 292 | status = "disabled"; |
162 | }; | 293 | }; |
163 | 294 | ||
164 | ocotp@8002c000 { | 295 | ocotp@8002c000 { |
165 | reg = <0x8002c000 2000>; | 296 | reg = <0x8002c000 0x2000>; |
166 | status = "disabled"; | 297 | status = "disabled"; |
167 | }; | 298 | }; |
168 | 299 | ||
169 | axi-ahb@8002e000 { | 300 | axi-ahb@8002e000 { |
170 | reg = <0x8002e000 2000>; | 301 | reg = <0x8002e000 0x2000>; |
171 | status = "disabled"; | 302 | status = "disabled"; |
172 | }; | 303 | }; |
173 | 304 | ||
174 | lcdif@80030000 { | 305 | lcdif@80030000 { |
306 | compatible = "fsl,imx23-lcdif"; | ||
175 | reg = <0x80030000 2000>; | 307 | reg = <0x80030000 2000>; |
308 | interrupts = <46 45>; | ||
176 | status = "disabled"; | 309 | status = "disabled"; |
177 | }; | 310 | }; |
178 | 311 | ||
179 | ssp1: ssp@80034000 { | 312 | ssp1: ssp@80034000 { |
180 | reg = <0x80034000 2000>; | 313 | reg = <0x80034000 0x2000>; |
181 | interrupts = <2 20>; | 314 | interrupts = <2 20>; |
182 | fsl,ssp-dma-channel = <2>; | 315 | fsl,ssp-dma-channel = <2>; |
183 | status = "disabled"; | 316 | status = "disabled"; |
184 | }; | 317 | }; |
185 | 318 | ||
186 | tvenc@80038000 { | 319 | tvenc@80038000 { |
187 | reg = <0x80038000 2000>; | 320 | reg = <0x80038000 0x2000>; |
188 | status = "disabled"; | 321 | status = "disabled"; |
189 | }; | 322 | }; |
190 | }; | 323 | }; |
@@ -197,37 +330,37 @@ | |||
197 | ranges; | 330 | ranges; |
198 | 331 | ||
199 | clkctl@80040000 { | 332 | clkctl@80040000 { |
200 | reg = <0x80040000 2000>; | 333 | reg = <0x80040000 0x2000>; |
201 | status = "disabled"; | 334 | status = "disabled"; |
202 | }; | 335 | }; |
203 | 336 | ||
204 | saif0: saif@80042000 { | 337 | saif0: saif@80042000 { |
205 | reg = <0x80042000 2000>; | 338 | reg = <0x80042000 0x2000>; |
206 | status = "disabled"; | 339 | status = "disabled"; |
207 | }; | 340 | }; |
208 | 341 | ||
209 | power@80044000 { | 342 | power@80044000 { |
210 | reg = <0x80044000 2000>; | 343 | reg = <0x80044000 0x2000>; |
211 | status = "disabled"; | 344 | status = "disabled"; |
212 | }; | 345 | }; |
213 | 346 | ||
214 | saif1: saif@80046000 { | 347 | saif1: saif@80046000 { |
215 | reg = <0x80046000 2000>; | 348 | reg = <0x80046000 0x2000>; |
216 | status = "disabled"; | 349 | status = "disabled"; |
217 | }; | 350 | }; |
218 | 351 | ||
219 | audio-out@80048000 { | 352 | audio-out@80048000 { |
220 | reg = <0x80048000 2000>; | 353 | reg = <0x80048000 0x2000>; |
221 | status = "disabled"; | 354 | status = "disabled"; |
222 | }; | 355 | }; |
223 | 356 | ||
224 | audio-in@8004c000 { | 357 | audio-in@8004c000 { |
225 | reg = <0x8004c000 2000>; | 358 | reg = <0x8004c000 0x2000>; |
226 | status = "disabled"; | 359 | status = "disabled"; |
227 | }; | 360 | }; |
228 | 361 | ||
229 | lradc@80050000 { | 362 | lradc@80050000 { |
230 | reg = <0x80050000 2000>; | 363 | reg = <0x80050000 0x2000>; |
231 | status = "disabled"; | 364 | status = "disabled"; |
232 | }; | 365 | }; |
233 | 366 | ||
@@ -237,32 +370,40 @@ | |||
237 | }; | 370 | }; |
238 | 371 | ||
239 | i2c@80058000 { | 372 | i2c@80058000 { |
240 | reg = <0x80058000 2000>; | 373 | reg = <0x80058000 0x2000>; |
241 | status = "disabled"; | 374 | status = "disabled"; |
242 | }; | 375 | }; |
243 | 376 | ||
244 | rtc@8005c000 { | 377 | rtc@8005c000 { |
245 | reg = <0x8005c000 2000>; | 378 | compatible = "fsl,imx23-rtc", "fsl,stmp3xxx-rtc"; |
246 | status = "disabled"; | 379 | reg = <0x8005c000 0x2000>; |
380 | interrupts = <22>; | ||
247 | }; | 381 | }; |
248 | 382 | ||
249 | pwm@80064000 { | 383 | pwm: pwm@80064000 { |
250 | reg = <0x80064000 2000>; | 384 | compatible = "fsl,imx23-pwm"; |
385 | reg = <0x80064000 0x2000>; | ||
386 | #pwm-cells = <2>; | ||
387 | fsl,pwm-number = <5>; | ||
251 | status = "disabled"; | 388 | status = "disabled"; |
252 | }; | 389 | }; |
253 | 390 | ||
254 | timrot@80068000 { | 391 | timrot@80068000 { |
255 | reg = <0x80068000 2000>; | 392 | reg = <0x80068000 0x2000>; |
256 | status = "disabled"; | 393 | status = "disabled"; |
257 | }; | 394 | }; |
258 | 395 | ||
259 | auart0: serial@8006c000 { | 396 | auart0: serial@8006c000 { |
397 | compatible = "fsl,imx23-auart"; | ||
260 | reg = <0x8006c000 0x2000>; | 398 | reg = <0x8006c000 0x2000>; |
399 | interrupts = <24 25 23>; | ||
261 | status = "disabled"; | 400 | status = "disabled"; |
262 | }; | 401 | }; |
263 | 402 | ||
264 | auart1: serial@8006e000 { | 403 | auart1: serial@8006e000 { |
404 | compatible = "fsl,imx23-auart"; | ||
265 | reg = <0x8006e000 0x2000>; | 405 | reg = <0x8006e000 0x2000>; |
406 | interrupts = <59 60 58>; | ||
266 | status = "disabled"; | 407 | status = "disabled"; |
267 | }; | 408 | }; |
268 | 409 | ||
@@ -288,7 +429,7 @@ | |||
288 | ranges; | 429 | ranges; |
289 | 430 | ||
290 | usbctrl@80080000 { | 431 | usbctrl@80080000 { |
291 | reg = <0x80080000 0x10000>; | 432 | reg = <0x80080000 0x40000>; |
292 | status = "disabled"; | 433 | status = "disabled"; |
293 | }; | 434 | }; |
294 | }; | 435 | }; |