Benoit Cousson | d9fda07 | 2011-08-09 17:15:17 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ |
| 3 | * |
| 4 | * This program is free software; you can redistribute it and/or modify |
| 5 | * it under the terms of the GNU General Public License version 2 as |
| 6 | * published by the Free Software Foundation. |
| 7 | */ |
| 8 | |
| 9 | /* |
| 10 | * Carveout for multimedia usecases |
| 11 | * It should be the last 48MB of the first 512MB memory part |
| 12 | * In theory, it should not even exist. That zone should be reserved |
| 13 | * dynamically during the .reserve callback. |
| 14 | */ |
| 15 | /memreserve/ 0x9d000000 0x03000000; |
| 16 | |
| 17 | /include/ "skeleton.dtsi" |
| 18 | |
| 19 | / { |
| 20 | compatible = "ti,omap4430", "ti,omap4"; |
| 21 | interrupt-parent = <&gic>; |
| 22 | |
| 23 | aliases { |
Rajendra Nayak | cf3c79d | 2011-12-14 17:25:46 +0530 | [diff] [blame] | 24 | serial0 = &uart1; |
| 25 | serial1 = &uart2; |
| 26 | serial2 = &uart3; |
| 27 | serial3 = &uart4; |
Benoit Cousson | d9fda07 | 2011-08-09 17:15:17 +0200 | [diff] [blame] | 28 | }; |
| 29 | |
Benoit Cousson | 476b679 | 2011-08-16 11:49:08 +0200 | [diff] [blame] | 30 | cpus { |
| 31 | cpu@0 { |
| 32 | compatible = "arm,cortex-a9"; |
Santosh Shilimkar | 926fd45 | 2012-07-04 17:57:34 +0530 | [diff] [blame] | 33 | next-level-cache = <&L2>; |
Benoit Cousson | 476b679 | 2011-08-16 11:49:08 +0200 | [diff] [blame] | 34 | }; |
| 35 | cpu@1 { |
| 36 | compatible = "arm,cortex-a9"; |
Santosh Shilimkar | 926fd45 | 2012-07-04 17:57:34 +0530 | [diff] [blame] | 37 | next-level-cache = <&L2>; |
Benoit Cousson | 476b679 | 2011-08-16 11:49:08 +0200 | [diff] [blame] | 38 | }; |
| 39 | }; |
| 40 | |
Santosh Shilimkar | 926fd45 | 2012-07-04 17:57:34 +0530 | [diff] [blame] | 41 | L2: l2-cache-controller@48242000 { |
| 42 | compatible = "arm,pl310-cache"; |
| 43 | reg = <0x48242000 0x1000>; |
| 44 | cache-unified; |
| 45 | cache-level = <2>; |
| 46 | }; |
| 47 | |
Santosh Shilimkar | eed0de2 | 2012-07-04 18:32:32 +0530 | [diff] [blame^] | 48 | local-timer@0x48240600 { |
| 49 | compatible = "arm,cortex-a9-twd-timer"; |
| 50 | reg = <0x48240600 0x20>; |
| 51 | interrupts = <1 13 0x304>; |
| 52 | }; |
| 53 | |
Benoit Cousson | d9fda07 | 2011-08-09 17:15:17 +0200 | [diff] [blame] | 54 | /* |
| 55 | * The soc node represents the soc top level view. It is uses for IPs |
| 56 | * that are not memory mapped in the MPU view or for the MPU itself. |
| 57 | */ |
| 58 | soc { |
| 59 | compatible = "ti,omap-infra"; |
Benoit Cousson | 476b679 | 2011-08-16 11:49:08 +0200 | [diff] [blame] | 60 | mpu { |
| 61 | compatible = "ti,omap4-mpu"; |
| 62 | ti,hwmods = "mpu"; |
| 63 | }; |
| 64 | |
| 65 | dsp { |
| 66 | compatible = "ti,omap3-c64"; |
| 67 | ti,hwmods = "dsp"; |
| 68 | }; |
| 69 | |
| 70 | iva { |
| 71 | compatible = "ti,ivahd"; |
| 72 | ti,hwmods = "iva"; |
| 73 | }; |
Benoit Cousson | d9fda07 | 2011-08-09 17:15:17 +0200 | [diff] [blame] | 74 | }; |
| 75 | |
| 76 | /* |
| 77 | * XXX: Use a flat representation of the OMAP4 interconnect. |
| 78 | * The real OMAP interconnect network is quite complex. |
| 79 | * |
| 80 | * MPU -+-- MPU_PRIVATE - GIC, L2 |
| 81 | * | |
| 82 | * +----------------+----------+ |
| 83 | * | | | |
| 84 | * + +- EMIF - DDR | |
| 85 | * | | | |
| 86 | * | + +--------+ |
| 87 | * | | | |
| 88 | * | +- L4_ABE - AESS, MCBSP, TIMERs... |
| 89 | * | | |
| 90 | * +- L3_MAIN --+- L4_CORE - IPs... |
| 91 | * | |
| 92 | * +- L4_PER - IPs... |
| 93 | * | |
| 94 | * +- L4_CFG -+- L4_WKUP - IPs... |
| 95 | * | | |
| 96 | * | +- IPs... |
| 97 | * +- IPU ----+ |
| 98 | * | | |
| 99 | * +- DSP ----+ |
| 100 | * | | |
| 101 | * +- DSS ----+ |
| 102 | * |
| 103 | * Since that will not bring real advantage to represent that in DT for |
| 104 | * the moment, just use a fake OCP bus entry to represent the whole bus |
| 105 | * hierarchy. |
| 106 | */ |
| 107 | ocp { |
Benoit Cousson | ad8dfac | 2011-08-12 13:48:47 +0200 | [diff] [blame] | 108 | compatible = "ti,omap4-l3-noc", "simple-bus"; |
Benoit Cousson | d9fda07 | 2011-08-09 17:15:17 +0200 | [diff] [blame] | 109 | #address-cells = <1>; |
| 110 | #size-cells = <1>; |
| 111 | ranges; |
Benoit Cousson | ad8dfac | 2011-08-12 13:48:47 +0200 | [diff] [blame] | 112 | ti,hwmods = "l3_main_1", "l3_main_2", "l3_main_3"; |
Benoit Cousson | d9fda07 | 2011-08-09 17:15:17 +0200 | [diff] [blame] | 113 | |
| 114 | gic: interrupt-controller@48241000 { |
| 115 | compatible = "arm,cortex-a9-gic"; |
| 116 | interrupt-controller; |
Benoit Cousson | 958e767 | 2011-11-25 12:11:52 +0100 | [diff] [blame] | 117 | #interrupt-cells = <3>; |
Benoit Cousson | d9fda07 | 2011-08-09 17:15:17 +0200 | [diff] [blame] | 118 | reg = <0x48241000 0x1000>, |
| 119 | <0x48240100 0x0100>; |
| 120 | }; |
Rajendra Nayak | cf3c79d | 2011-12-14 17:25:46 +0530 | [diff] [blame] | 121 | |
Benoit Cousson | e3e5a92 | 2011-08-16 11:51:54 +0200 | [diff] [blame] | 122 | gpio1: gpio@4a310000 { |
| 123 | compatible = "ti,omap4-gpio"; |
| 124 | ti,hwmods = "gpio1"; |
| 125 | gpio-controller; |
| 126 | #gpio-cells = <2>; |
| 127 | interrupt-controller; |
| 128 | #interrupt-cells = <1>; |
| 129 | }; |
| 130 | |
| 131 | gpio2: gpio@48055000 { |
| 132 | compatible = "ti,omap4-gpio"; |
| 133 | ti,hwmods = "gpio2"; |
| 134 | gpio-controller; |
| 135 | #gpio-cells = <2>; |
| 136 | interrupt-controller; |
| 137 | #interrupt-cells = <1>; |
| 138 | }; |
| 139 | |
| 140 | gpio3: gpio@48057000 { |
| 141 | compatible = "ti,omap4-gpio"; |
| 142 | ti,hwmods = "gpio3"; |
| 143 | gpio-controller; |
| 144 | #gpio-cells = <2>; |
| 145 | interrupt-controller; |
| 146 | #interrupt-cells = <1>; |
| 147 | }; |
| 148 | |
| 149 | gpio4: gpio@48059000 { |
| 150 | compatible = "ti,omap4-gpio"; |
| 151 | ti,hwmods = "gpio4"; |
| 152 | gpio-controller; |
| 153 | #gpio-cells = <2>; |
| 154 | interrupt-controller; |
| 155 | #interrupt-cells = <1>; |
| 156 | }; |
| 157 | |
| 158 | gpio5: gpio@4805b000 { |
| 159 | compatible = "ti,omap4-gpio"; |
| 160 | ti,hwmods = "gpio5"; |
| 161 | gpio-controller; |
| 162 | #gpio-cells = <2>; |
| 163 | interrupt-controller; |
| 164 | #interrupt-cells = <1>; |
| 165 | }; |
| 166 | |
| 167 | gpio6: gpio@4805d000 { |
| 168 | compatible = "ti,omap4-gpio"; |
| 169 | ti,hwmods = "gpio6"; |
| 170 | gpio-controller; |
| 171 | #gpio-cells = <2>; |
| 172 | interrupt-controller; |
| 173 | #interrupt-cells = <1>; |
| 174 | }; |
| 175 | |
Benoit Cousson | 19bfb76 | 2012-02-16 11:55:27 +0100 | [diff] [blame] | 176 | uart1: serial@4806a000 { |
Rajendra Nayak | cf3c79d | 2011-12-14 17:25:46 +0530 | [diff] [blame] | 177 | compatible = "ti,omap4-uart"; |
| 178 | ti,hwmods = "uart1"; |
| 179 | clock-frequency = <48000000>; |
| 180 | }; |
| 181 | |
Benoit Cousson | 19bfb76 | 2012-02-16 11:55:27 +0100 | [diff] [blame] | 182 | uart2: serial@4806c000 { |
Rajendra Nayak | cf3c79d | 2011-12-14 17:25:46 +0530 | [diff] [blame] | 183 | compatible = "ti,omap4-uart"; |
| 184 | ti,hwmods = "uart2"; |
| 185 | clock-frequency = <48000000>; |
| 186 | }; |
| 187 | |
Benoit Cousson | 19bfb76 | 2012-02-16 11:55:27 +0100 | [diff] [blame] | 188 | uart3: serial@48020000 { |
Rajendra Nayak | cf3c79d | 2011-12-14 17:25:46 +0530 | [diff] [blame] | 189 | compatible = "ti,omap4-uart"; |
| 190 | ti,hwmods = "uart3"; |
| 191 | clock-frequency = <48000000>; |
| 192 | }; |
| 193 | |
Benoit Cousson | 19bfb76 | 2012-02-16 11:55:27 +0100 | [diff] [blame] | 194 | uart4: serial@4806e000 { |
Rajendra Nayak | cf3c79d | 2011-12-14 17:25:46 +0530 | [diff] [blame] | 195 | compatible = "ti,omap4-uart"; |
| 196 | ti,hwmods = "uart4"; |
| 197 | clock-frequency = <48000000>; |
| 198 | }; |
Benoit Cousson | 58e778f | 2011-08-17 19:00:03 +0530 | [diff] [blame] | 199 | |
| 200 | i2c1: i2c@48070000 { |
| 201 | compatible = "ti,omap4-i2c"; |
| 202 | #address-cells = <1>; |
| 203 | #size-cells = <0>; |
| 204 | ti,hwmods = "i2c1"; |
| 205 | }; |
| 206 | |
| 207 | i2c2: i2c@48072000 { |
| 208 | compatible = "ti,omap4-i2c"; |
| 209 | #address-cells = <1>; |
| 210 | #size-cells = <0>; |
| 211 | ti,hwmods = "i2c2"; |
| 212 | }; |
| 213 | |
| 214 | i2c3: i2c@48060000 { |
| 215 | compatible = "ti,omap4-i2c"; |
| 216 | #address-cells = <1>; |
| 217 | #size-cells = <0>; |
| 218 | ti,hwmods = "i2c3"; |
| 219 | }; |
| 220 | |
| 221 | i2c4: i2c@48350000 { |
| 222 | compatible = "ti,omap4-i2c"; |
| 223 | #address-cells = <1>; |
| 224 | #size-cells = <0>; |
| 225 | ti,hwmods = "i2c4"; |
| 226 | }; |
Benoit Cousson | efcf1e5 | 2012-01-20 14:15:58 +0100 | [diff] [blame] | 227 | |
| 228 | mcspi1: spi@48098000 { |
| 229 | compatible = "ti,omap4-mcspi"; |
| 230 | #address-cells = <1>; |
| 231 | #size-cells = <0>; |
| 232 | ti,hwmods = "mcspi1"; |
| 233 | ti,spi-num-cs = <4>; |
| 234 | }; |
| 235 | |
| 236 | mcspi2: spi@4809a000 { |
| 237 | compatible = "ti,omap4-mcspi"; |
| 238 | #address-cells = <1>; |
| 239 | #size-cells = <0>; |
| 240 | ti,hwmods = "mcspi2"; |
| 241 | ti,spi-num-cs = <2>; |
| 242 | }; |
| 243 | |
| 244 | mcspi3: spi@480b8000 { |
| 245 | compatible = "ti,omap4-mcspi"; |
| 246 | #address-cells = <1>; |
| 247 | #size-cells = <0>; |
| 248 | ti,hwmods = "mcspi3"; |
| 249 | ti,spi-num-cs = <2>; |
| 250 | }; |
| 251 | |
| 252 | mcspi4: spi@480ba000 { |
| 253 | compatible = "ti,omap4-mcspi"; |
| 254 | #address-cells = <1>; |
| 255 | #size-cells = <0>; |
| 256 | ti,hwmods = "mcspi4"; |
| 257 | ti,spi-num-cs = <1>; |
| 258 | }; |
Rajendra Nayak | 7498176 | 2011-10-04 17:10:27 +0530 | [diff] [blame] | 259 | |
| 260 | mmc1: mmc@4809c000 { |
| 261 | compatible = "ti,omap4-hsmmc"; |
| 262 | ti,hwmods = "mmc1"; |
| 263 | ti,dual-volt; |
| 264 | ti,needs-special-reset; |
| 265 | }; |
| 266 | |
| 267 | mmc2: mmc@480b4000 { |
| 268 | compatible = "ti,omap4-hsmmc"; |
| 269 | ti,hwmods = "mmc2"; |
| 270 | ti,needs-special-reset; |
| 271 | }; |
| 272 | |
| 273 | mmc3: mmc@480ad000 { |
| 274 | compatible = "ti,omap4-hsmmc"; |
| 275 | ti,hwmods = "mmc3"; |
| 276 | ti,needs-special-reset; |
| 277 | }; |
| 278 | |
| 279 | mmc4: mmc@480d1000 { |
| 280 | compatible = "ti,omap4-hsmmc"; |
| 281 | ti,hwmods = "mmc4"; |
| 282 | ti,needs-special-reset; |
| 283 | }; |
| 284 | |
| 285 | mmc5: mmc@480d5000 { |
| 286 | compatible = "ti,omap4-hsmmc"; |
| 287 | ti,hwmods = "mmc5"; |
| 288 | ti,needs-special-reset; |
| 289 | }; |
Xiao Jiang | 94c3073 | 2012-06-01 12:44:14 +0800 | [diff] [blame] | 290 | |
| 291 | wdt2: wdt@4a314000 { |
| 292 | compatible = "ti,omap4-wdt", "ti,omap3-wdt"; |
| 293 | ti,hwmods = "wd_timer2"; |
| 294 | }; |
Peter Ujfalusi | 4f4b5c7 | 2012-06-08 17:01:59 +0300 | [diff] [blame] | 295 | |
| 296 | mcpdm: mcpdm@40132000 { |
| 297 | compatible = "ti,omap4-mcpdm"; |
| 298 | reg = <0x40132000 0x7f>, /* MPU private access */ |
| 299 | <0x49032000 0x7f>; /* L3 Interconnect */ |
| 300 | interrupts = <0 112 0x4>; |
| 301 | interrupt-parent = <&gic>; |
| 302 | ti,hwmods = "mcpdm"; |
| 303 | }; |
Peter Ujfalusi | a4c3831 | 2012-06-08 17:02:00 +0300 | [diff] [blame] | 304 | |
| 305 | dmic: dmic@4012e000 { |
| 306 | compatible = "ti,omap4-dmic"; |
| 307 | reg = <0x4012e000 0x7f>, /* MPU private access */ |
| 308 | <0x4902e000 0x7f>; /* L3 Interconnect */ |
| 309 | interrupts = <0 114 0x4>; |
| 310 | interrupt-parent = <&gic>; |
| 311 | ti,hwmods = "dmic"; |
| 312 | }; |
Sourav Poddar | 61bc354 | 2012-08-14 16:45:37 +0530 | [diff] [blame] | 313 | |
| 314 | keypad: keypad@4a31c000 { |
| 315 | compatible = "ti,omap4-keypad"; |
| 316 | ti,hwmods = "kbd"; |
| 317 | }; |
Aneesh V | 11c2706 | 2012-01-20 20:35:26 +0530 | [diff] [blame] | 318 | |
| 319 | emif1: emif@4c000000 { |
| 320 | compatible = "ti,emif-4d"; |
| 321 | ti,hwmods = "emif1"; |
| 322 | phy-type = <1>; |
| 323 | hw-caps-read-idle-ctrl; |
| 324 | hw-caps-ll-interface; |
| 325 | hw-caps-temp-alert; |
| 326 | }; |
| 327 | |
| 328 | emif2: emif@4d000000 { |
| 329 | compatible = "ti,emif-4d"; |
| 330 | ti,hwmods = "emif2"; |
| 331 | phy-type = <1>; |
| 332 | hw-caps-read-idle-ctrl; |
| 333 | hw-caps-ll-interface; |
| 334 | hw-caps-temp-alert; |
| 335 | }; |
Benoit Cousson | d9fda07 | 2011-08-09 17:15:17 +0200 | [diff] [blame] | 336 | }; |
| 337 | }; |