Benoit Cousson | 189892f | 2011-08-16 21:02:01 +0530 | [diff] [blame] | 1 | /* |
| 2 | * Device Tree Source for OMAP3 SoC |
| 3 | * |
| 4 | * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ |
| 5 | * |
| 6 | * This file is licensed under the terms of the GNU General Public License |
| 7 | * version 2. This program is licensed "as is" without any warranty of any |
| 8 | * kind, whether express or implied. |
| 9 | */ |
| 10 | |
| 11 | /include/ "skeleton.dtsi" |
| 12 | |
| 13 | / { |
| 14 | compatible = "ti,omap3430", "ti,omap3"; |
Benoit Cousson | 4c94ac2 | 2012-10-24 10:47:52 +0200 | [diff] [blame] | 15 | interrupt-parent = <&intc>; |
Benoit Cousson | 189892f | 2011-08-16 21:02:01 +0530 | [diff] [blame] | 16 | |
Rajendra Nayak | cf3c79d | 2011-12-14 17:25:46 +0530 | [diff] [blame] | 17 | aliases { |
| 18 | serial0 = &uart1; |
| 19 | serial1 = &uart2; |
| 20 | serial2 = &uart3; |
Rajendra Nayak | cf3c79d | 2011-12-14 17:25:46 +0530 | [diff] [blame] | 21 | }; |
| 22 | |
Benoit Cousson | 476b679 | 2011-08-16 11:49:08 +0200 | [diff] [blame] | 23 | cpus { |
| 24 | cpu@0 { |
| 25 | compatible = "arm,cortex-a8"; |
| 26 | }; |
| 27 | }; |
| 28 | |
Jon Hunter | 9b07b47 | 2012-10-18 09:28:52 -0500 | [diff] [blame^] | 29 | pmu { |
| 30 | compatible = "arm,cortex-a8-pmu"; |
| 31 | interrupts = <3>; |
| 32 | ti,hwmods = "debugss"; |
| 33 | }; |
| 34 | |
Benoit Cousson | 189892f | 2011-08-16 21:02:01 +0530 | [diff] [blame] | 35 | /* |
| 36 | * The soc node represents the soc top level view. It is uses for IPs |
| 37 | * that are not memory mapped in the MPU view or for the MPU itself. |
| 38 | */ |
| 39 | soc { |
| 40 | compatible = "ti,omap-infra"; |
Benoit Cousson | 476b679 | 2011-08-16 11:49:08 +0200 | [diff] [blame] | 41 | mpu { |
| 42 | compatible = "ti,omap3-mpu"; |
| 43 | ti,hwmods = "mpu"; |
| 44 | }; |
| 45 | |
| 46 | iva { |
| 47 | compatible = "ti,iva2.2"; |
| 48 | ti,hwmods = "iva"; |
| 49 | |
| 50 | dsp { |
| 51 | compatible = "ti,omap3-c64"; |
| 52 | }; |
| 53 | }; |
Benoit Cousson | 189892f | 2011-08-16 21:02:01 +0530 | [diff] [blame] | 54 | }; |
| 55 | |
| 56 | /* |
| 57 | * XXX: Use a flat representation of the OMAP3 interconnect. |
| 58 | * The real OMAP interconnect network is quite complex. |
| 59 | * Since that will not bring real advantage to represent that in DT for |
| 60 | * the moment, just use a fake OCP bus entry to represent the whole bus |
| 61 | * hierarchy. |
| 62 | */ |
| 63 | ocp { |
| 64 | compatible = "simple-bus"; |
| 65 | #address-cells = <1>; |
| 66 | #size-cells = <1>; |
| 67 | ranges; |
| 68 | ti,hwmods = "l3_main"; |
| 69 | |
Jon Hunter | 510c0ff | 2012-10-25 14:24:14 -0500 | [diff] [blame] | 70 | counter32k: counter@48320000 { |
| 71 | compatible = "ti,omap-counter32k"; |
| 72 | reg = <0x48320000 0x20>; |
| 73 | ti,hwmods = "counter_32k"; |
| 74 | }; |
| 75 | |
Benoit Cousson | d65c542 | 2011-11-30 19:26:42 +0100 | [diff] [blame] | 76 | intc: interrupt-controller@48200000 { |
| 77 | compatible = "ti,omap2-intc"; |
Benoit Cousson | 189892f | 2011-08-16 21:02:01 +0530 | [diff] [blame] | 78 | interrupt-controller; |
| 79 | #interrupt-cells = <1>; |
Benoit Cousson | d65c542 | 2011-11-30 19:26:42 +0100 | [diff] [blame] | 80 | ti,intc-size = <96>; |
| 81 | reg = <0x48200000 0x1000>; |
Benoit Cousson | 189892f | 2011-08-16 21:02:01 +0530 | [diff] [blame] | 82 | }; |
Rajendra Nayak | cf3c79d | 2011-12-14 17:25:46 +0530 | [diff] [blame] | 83 | |
Tony Lindgren | 679e331 | 2012-09-10 10:34:51 -0700 | [diff] [blame] | 84 | omap3_pmx_core: pinmux@48002030 { |
| 85 | compatible = "ti,omap3-padconf", "pinctrl-single"; |
| 86 | reg = <0x48002030 0x05cc>; |
| 87 | #address-cells = <1>; |
| 88 | #size-cells = <0>; |
| 89 | pinctrl-single,register-width = <16>; |
| 90 | pinctrl-single,function-mask = <0x7fff>; |
| 91 | }; |
| 92 | |
| 93 | omap3_pmx_wkup: pinmux@0x48002a58 { |
| 94 | compatible = "ti,omap3-padconf", "pinctrl-single"; |
| 95 | reg = <0x48002a58 0x5c>; |
| 96 | #address-cells = <1>; |
| 97 | #size-cells = <0>; |
| 98 | pinctrl-single,register-width = <16>; |
| 99 | pinctrl-single,function-mask = <0x7fff>; |
| 100 | }; |
| 101 | |
Benoit Cousson | 385a64b | 2011-08-16 11:51:54 +0200 | [diff] [blame] | 102 | gpio1: gpio@48310000 { |
| 103 | compatible = "ti,omap3-gpio"; |
| 104 | ti,hwmods = "gpio1"; |
| 105 | gpio-controller; |
| 106 | #gpio-cells = <2>; |
| 107 | interrupt-controller; |
| 108 | #interrupt-cells = <1>; |
| 109 | }; |
| 110 | |
| 111 | gpio2: gpio@49050000 { |
| 112 | compatible = "ti,omap3-gpio"; |
| 113 | ti,hwmods = "gpio2"; |
| 114 | gpio-controller; |
| 115 | #gpio-cells = <2>; |
| 116 | interrupt-controller; |
| 117 | #interrupt-cells = <1>; |
| 118 | }; |
| 119 | |
| 120 | gpio3: gpio@49052000 { |
| 121 | compatible = "ti,omap3-gpio"; |
| 122 | ti,hwmods = "gpio3"; |
| 123 | gpio-controller; |
| 124 | #gpio-cells = <2>; |
| 125 | interrupt-controller; |
| 126 | #interrupt-cells = <1>; |
| 127 | }; |
| 128 | |
| 129 | gpio4: gpio@49054000 { |
| 130 | compatible = "ti,omap3-gpio"; |
| 131 | ti,hwmods = "gpio4"; |
| 132 | gpio-controller; |
| 133 | #gpio-cells = <2>; |
| 134 | interrupt-controller; |
| 135 | #interrupt-cells = <1>; |
| 136 | }; |
| 137 | |
| 138 | gpio5: gpio@49056000 { |
| 139 | compatible = "ti,omap3-gpio"; |
| 140 | ti,hwmods = "gpio5"; |
| 141 | gpio-controller; |
| 142 | #gpio-cells = <2>; |
| 143 | interrupt-controller; |
| 144 | #interrupt-cells = <1>; |
| 145 | }; |
| 146 | |
| 147 | gpio6: gpio@49058000 { |
| 148 | compatible = "ti,omap3-gpio"; |
| 149 | ti,hwmods = "gpio6"; |
| 150 | gpio-controller; |
| 151 | #gpio-cells = <2>; |
| 152 | interrupt-controller; |
| 153 | #interrupt-cells = <1>; |
| 154 | }; |
| 155 | |
Benoit Cousson | 19bfb76 | 2012-02-16 11:55:27 +0100 | [diff] [blame] | 156 | uart1: serial@4806a000 { |
Rajendra Nayak | cf3c79d | 2011-12-14 17:25:46 +0530 | [diff] [blame] | 157 | compatible = "ti,omap3-uart"; |
| 158 | ti,hwmods = "uart1"; |
| 159 | clock-frequency = <48000000>; |
| 160 | }; |
| 161 | |
Benoit Cousson | 19bfb76 | 2012-02-16 11:55:27 +0100 | [diff] [blame] | 162 | uart2: serial@4806c000 { |
Rajendra Nayak | cf3c79d | 2011-12-14 17:25:46 +0530 | [diff] [blame] | 163 | compatible = "ti,omap3-uart"; |
| 164 | ti,hwmods = "uart2"; |
| 165 | clock-frequency = <48000000>; |
| 166 | }; |
| 167 | |
Benoit Cousson | 19bfb76 | 2012-02-16 11:55:27 +0100 | [diff] [blame] | 168 | uart3: serial@49020000 { |
Rajendra Nayak | cf3c79d | 2011-12-14 17:25:46 +0530 | [diff] [blame] | 169 | compatible = "ti,omap3-uart"; |
| 170 | ti,hwmods = "uart3"; |
| 171 | clock-frequency = <48000000>; |
| 172 | }; |
| 173 | |
Benoit Cousson | ca59a5c | 2011-08-30 16:50:24 +0200 | [diff] [blame] | 174 | i2c1: i2c@48070000 { |
| 175 | compatible = "ti,omap3-i2c"; |
| 176 | #address-cells = <1>; |
| 177 | #size-cells = <0>; |
| 178 | ti,hwmods = "i2c1"; |
| 179 | }; |
| 180 | |
| 181 | i2c2: i2c@48072000 { |
| 182 | compatible = "ti,omap3-i2c"; |
| 183 | #address-cells = <1>; |
| 184 | #size-cells = <0>; |
| 185 | ti,hwmods = "i2c2"; |
| 186 | }; |
| 187 | |
| 188 | i2c3: i2c@48060000 { |
| 189 | compatible = "ti,omap3-i2c"; |
| 190 | #address-cells = <1>; |
| 191 | #size-cells = <0>; |
| 192 | ti,hwmods = "i2c3"; |
| 193 | }; |
Benoit Cousson | fc72d24 | 2012-01-20 14:15:58 +0100 | [diff] [blame] | 194 | |
| 195 | mcspi1: spi@48098000 { |
| 196 | compatible = "ti,omap2-mcspi"; |
| 197 | #address-cells = <1>; |
| 198 | #size-cells = <0>; |
| 199 | ti,hwmods = "mcspi1"; |
| 200 | ti,spi-num-cs = <4>; |
| 201 | }; |
| 202 | |
| 203 | mcspi2: spi@4809a000 { |
| 204 | compatible = "ti,omap2-mcspi"; |
| 205 | #address-cells = <1>; |
| 206 | #size-cells = <0>; |
| 207 | ti,hwmods = "mcspi2"; |
| 208 | ti,spi-num-cs = <2>; |
| 209 | }; |
| 210 | |
| 211 | mcspi3: spi@480b8000 { |
| 212 | compatible = "ti,omap2-mcspi"; |
| 213 | #address-cells = <1>; |
| 214 | #size-cells = <0>; |
| 215 | ti,hwmods = "mcspi3"; |
| 216 | ti,spi-num-cs = <2>; |
| 217 | }; |
| 218 | |
| 219 | mcspi4: spi@480ba000 { |
| 220 | compatible = "ti,omap2-mcspi"; |
| 221 | #address-cells = <1>; |
| 222 | #size-cells = <0>; |
| 223 | ti,hwmods = "mcspi4"; |
| 224 | ti,spi-num-cs = <1>; |
| 225 | }; |
Rajendra Nayak | b3431f5 | 2012-02-22 17:42:27 +0530 | [diff] [blame] | 226 | |
| 227 | mmc1: mmc@4809c000 { |
| 228 | compatible = "ti,omap3-hsmmc"; |
| 229 | ti,hwmods = "mmc1"; |
| 230 | ti,dual-volt; |
| 231 | }; |
| 232 | |
| 233 | mmc2: mmc@480b4000 { |
| 234 | compatible = "ti,omap3-hsmmc"; |
| 235 | ti,hwmods = "mmc2"; |
| 236 | }; |
| 237 | |
| 238 | mmc3: mmc@480ad000 { |
| 239 | compatible = "ti,omap3-hsmmc"; |
| 240 | ti,hwmods = "mmc3"; |
| 241 | }; |
Xiao Jiang | 94c3073 | 2012-06-01 12:44:14 +0800 | [diff] [blame] | 242 | |
| 243 | wdt2: wdt@48314000 { |
| 244 | compatible = "ti,omap3-wdt"; |
| 245 | ti,hwmods = "wd_timer2"; |
| 246 | }; |
Peter Ujfalusi | 0be484b | 2012-09-05 14:21:22 +0300 | [diff] [blame] | 247 | |
| 248 | mcbsp1: mcbsp@48074000 { |
| 249 | compatible = "ti,omap3-mcbsp"; |
| 250 | reg = <0x48074000 0xff>; |
| 251 | reg-names = "mpu"; |
| 252 | interrupts = <16>, /* OCP compliant interrupt */ |
| 253 | <59>, /* TX interrupt */ |
| 254 | <60>; /* RX interrupt */ |
| 255 | interrupt-names = "common", "tx", "rx"; |
Peter Ujfalusi | 0be484b | 2012-09-05 14:21:22 +0300 | [diff] [blame] | 256 | ti,buffer-size = <128>; |
| 257 | ti,hwmods = "mcbsp1"; |
| 258 | }; |
| 259 | |
| 260 | mcbsp2: mcbsp@49022000 { |
| 261 | compatible = "ti,omap3-mcbsp"; |
| 262 | reg = <0x49022000 0xff>, |
| 263 | <0x49028000 0xff>; |
| 264 | reg-names = "mpu", "sidetone"; |
| 265 | interrupts = <17>, /* OCP compliant interrupt */ |
| 266 | <62>, /* TX interrupt */ |
| 267 | <63>, /* RX interrupt */ |
| 268 | <4>; /* Sidetone */ |
| 269 | interrupt-names = "common", "tx", "rx", "sidetone"; |
Peter Ujfalusi | 0be484b | 2012-09-05 14:21:22 +0300 | [diff] [blame] | 270 | ti,buffer-size = <1280>; |
Peter Ujfalusi | eef6fca | 2012-10-18 11:25:07 +0200 | [diff] [blame] | 271 | ti,hwmods = "mcbsp2", "mcbsp2_sidetone"; |
Peter Ujfalusi | 0be484b | 2012-09-05 14:21:22 +0300 | [diff] [blame] | 272 | }; |
| 273 | |
| 274 | mcbsp3: mcbsp@49024000 { |
| 275 | compatible = "ti,omap3-mcbsp"; |
| 276 | reg = <0x49024000 0xff>, |
| 277 | <0x4902a000 0xff>; |
| 278 | reg-names = "mpu", "sidetone"; |
| 279 | interrupts = <22>, /* OCP compliant interrupt */ |
| 280 | <89>, /* TX interrupt */ |
| 281 | <90>, /* RX interrupt */ |
| 282 | <5>; /* Sidetone */ |
| 283 | interrupt-names = "common", "tx", "rx", "sidetone"; |
Peter Ujfalusi | 0be484b | 2012-09-05 14:21:22 +0300 | [diff] [blame] | 284 | ti,buffer-size = <128>; |
Peter Ujfalusi | eef6fca | 2012-10-18 11:25:07 +0200 | [diff] [blame] | 285 | ti,hwmods = "mcbsp3", "mcbsp3_sidetone"; |
Peter Ujfalusi | 0be484b | 2012-09-05 14:21:22 +0300 | [diff] [blame] | 286 | }; |
| 287 | |
| 288 | mcbsp4: mcbsp@49026000 { |
| 289 | compatible = "ti,omap3-mcbsp"; |
| 290 | reg = <0x49026000 0xff>; |
| 291 | reg-names = "mpu"; |
| 292 | interrupts = <23>, /* OCP compliant interrupt */ |
| 293 | <54>, /* TX interrupt */ |
| 294 | <55>; /* RX interrupt */ |
| 295 | interrupt-names = "common", "tx", "rx"; |
Peter Ujfalusi | 0be484b | 2012-09-05 14:21:22 +0300 | [diff] [blame] | 296 | ti,buffer-size = <128>; |
| 297 | ti,hwmods = "mcbsp4"; |
| 298 | }; |
| 299 | |
| 300 | mcbsp5: mcbsp@48096000 { |
| 301 | compatible = "ti,omap3-mcbsp"; |
| 302 | reg = <0x48096000 0xff>; |
| 303 | reg-names = "mpu"; |
| 304 | interrupts = <27>, /* OCP compliant interrupt */ |
| 305 | <81>, /* TX interrupt */ |
| 306 | <82>; /* RX interrupt */ |
| 307 | interrupt-names = "common", "tx", "rx"; |
Peter Ujfalusi | 0be484b | 2012-09-05 14:21:22 +0300 | [diff] [blame] | 308 | ti,buffer-size = <128>; |
| 309 | ti,hwmods = "mcbsp5"; |
| 310 | }; |
Jon Hunter | fab8ad0 | 2012-10-19 09:59:00 -0500 | [diff] [blame] | 311 | |
| 312 | timer1: timer@48318000 { |
| 313 | compatible = "ti,omap2-timer"; |
| 314 | reg = <0x48318000 0x400>; |
| 315 | interrupts = <37>; |
| 316 | ti,hwmods = "timer1"; |
| 317 | ti,timer-alwon; |
| 318 | }; |
| 319 | |
| 320 | timer2: timer@49032000 { |
| 321 | compatible = "ti,omap2-timer"; |
| 322 | reg = <0x49032000 0x400>; |
| 323 | interrupts = <38>; |
| 324 | ti,hwmods = "timer2"; |
| 325 | }; |
| 326 | |
| 327 | timer3: timer@49034000 { |
| 328 | compatible = "ti,omap2-timer"; |
| 329 | reg = <0x49034000 0x400>; |
| 330 | interrupts = <39>; |
| 331 | ti,hwmods = "timer3"; |
| 332 | }; |
| 333 | |
| 334 | timer4: timer@49036000 { |
| 335 | compatible = "ti,omap2-timer"; |
| 336 | reg = <0x49036000 0x400>; |
| 337 | interrupts = <40>; |
| 338 | ti,hwmods = "timer4"; |
| 339 | }; |
| 340 | |
| 341 | timer5: timer@49038000 { |
| 342 | compatible = "ti,omap2-timer"; |
| 343 | reg = <0x49038000 0x400>; |
| 344 | interrupts = <41>; |
| 345 | ti,hwmods = "timer5"; |
| 346 | ti,timer-dsp; |
| 347 | }; |
| 348 | |
| 349 | timer6: timer@4903a000 { |
| 350 | compatible = "ti,omap2-timer"; |
| 351 | reg = <0x4903a000 0x400>; |
| 352 | interrupts = <42>; |
| 353 | ti,hwmods = "timer6"; |
| 354 | ti,timer-dsp; |
| 355 | }; |
| 356 | |
| 357 | timer7: timer@4903c000 { |
| 358 | compatible = "ti,omap2-timer"; |
| 359 | reg = <0x4903c000 0x400>; |
| 360 | interrupts = <43>; |
| 361 | ti,hwmods = "timer7"; |
| 362 | ti,timer-dsp; |
| 363 | }; |
| 364 | |
| 365 | timer8: timer@4903e000 { |
| 366 | compatible = "ti,omap2-timer"; |
| 367 | reg = <0x4903e000 0x400>; |
| 368 | interrupts = <44>; |
| 369 | ti,hwmods = "timer8"; |
| 370 | ti,timer-pwm; |
| 371 | ti,timer-dsp; |
| 372 | }; |
| 373 | |
| 374 | timer9: timer@49040000 { |
| 375 | compatible = "ti,omap2-timer"; |
| 376 | reg = <0x49040000 0x400>; |
| 377 | interrupts = <45>; |
| 378 | ti,hwmods = "timer9"; |
| 379 | ti,timer-pwm; |
| 380 | }; |
| 381 | |
| 382 | timer10: timer@48086000 { |
| 383 | compatible = "ti,omap2-timer"; |
| 384 | reg = <0x48086000 0x400>; |
| 385 | interrupts = <46>; |
| 386 | ti,hwmods = "timer10"; |
| 387 | ti,timer-pwm; |
| 388 | }; |
| 389 | |
| 390 | timer11: timer@48088000 { |
| 391 | compatible = "ti,omap2-timer"; |
| 392 | reg = <0x48088000 0x400>; |
| 393 | interrupts = <47>; |
| 394 | ti,hwmods = "timer11"; |
| 395 | ti,timer-pwm; |
| 396 | }; |
| 397 | |
| 398 | timer12: timer@48304000 { |
| 399 | compatible = "ti,omap2-timer"; |
| 400 | reg = <0x48304000 0x400>; |
| 401 | interrupts = <95>; |
| 402 | ti,hwmods = "timer12"; |
| 403 | ti,timer-alwon; |
| 404 | ti,timer-secure; |
| 405 | }; |
Roger Quadros | af3eb36 | 2013-03-20 17:44:59 +0200 | [diff] [blame] | 406 | |
| 407 | usbhstll: usbhstll@48062000 { |
| 408 | compatible = "ti,usbhs-tll"; |
| 409 | reg = <0x48062000 0x1000>; |
| 410 | interrupts = <78>; |
| 411 | ti,hwmods = "usb_tll_hs"; |
| 412 | }; |
| 413 | |
| 414 | usbhshost: usbhshost@48064000 { |
| 415 | compatible = "ti,usbhs-host"; |
| 416 | reg = <0x48064000 0x400>; |
| 417 | ti,hwmods = "usb_host_hs"; |
| 418 | #address-cells = <1>; |
| 419 | #size-cells = <1>; |
| 420 | ranges; |
| 421 | |
| 422 | usbhsohci: ohci@48064400 { |
| 423 | compatible = "ti,ohci-omap3", "usb-ohci"; |
| 424 | reg = <0x48064400 0x400>; |
| 425 | interrupt-parent = <&intc>; |
| 426 | interrupts = <76>; |
| 427 | }; |
| 428 | |
| 429 | usbhsehci: ehci@48064800 { |
| 430 | compatible = "ti,ehci-omap", "usb-ehci"; |
| 431 | reg = <0x48064800 0x400>; |
| 432 | interrupt-parent = <&intc>; |
| 433 | interrupts = <77>; |
| 434 | }; |
| 435 | }; |
| 436 | |
Florian Vaussard | 6e8489d | 2013-01-28 18:54:07 +0100 | [diff] [blame] | 437 | gpmc: gpmc@6e000000 { |
| 438 | compatible = "ti,omap3430-gpmc"; |
| 439 | ti,hwmods = "gpmc"; |
Javier Martinez Canillas | 41644e7 | 2013-02-27 02:30:51 +0100 | [diff] [blame] | 440 | reg = <0x6e000000 0x02d0>; |
Florian Vaussard | 6e8489d | 2013-01-28 18:54:07 +0100 | [diff] [blame] | 441 | interrupts = <20>; |
| 442 | gpmc,num-cs = <8>; |
| 443 | gpmc,num-waitpins = <4>; |
| 444 | #address-cells = <2>; |
| 445 | #size-cells = <1>; |
| 446 | }; |
Kishon Vijay Abraham I | ad871c1 | 2013-03-07 19:05:16 +0530 | [diff] [blame] | 447 | |
| 448 | usb_otg_hs: usb_otg_hs@480ab000 { |
| 449 | compatible = "ti,omap3-musb"; |
| 450 | reg = <0x480ab000 0x1000>; |
| 451 | interrupts = <0 92 0x4>, <0 93 0x4>; |
| 452 | interrupt-names = "mc", "dma"; |
| 453 | ti,hwmods = "usb_otg_hs"; |
| 454 | usb-phy = <&usb2_phy>; |
| 455 | multipoint = <1>; |
| 456 | num-eps = <16>; |
| 457 | ram-bits = <12>; |
| 458 | }; |
Benoit Cousson | 189892f | 2011-08-16 21:02:01 +0530 | [diff] [blame] | 459 | }; |
| 460 | }; |