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