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"; |
| 33 | }; |
| 34 | cpu@1 { |
| 35 | compatible = "arm,cortex-a9"; |
| 36 | }; |
| 37 | }; |
| 38 | |
Benoit Cousson | d9fda07 | 2011-08-09 17:15:17 +0200 | [diff] [blame] | 39 | /* |
| 40 | * The soc node represents the soc top level view. It is uses for IPs |
| 41 | * that are not memory mapped in the MPU view or for the MPU itself. |
| 42 | */ |
| 43 | soc { |
| 44 | compatible = "ti,omap-infra"; |
Benoit Cousson | 476b679 | 2011-08-16 11:49:08 +0200 | [diff] [blame] | 45 | mpu { |
| 46 | compatible = "ti,omap4-mpu"; |
| 47 | ti,hwmods = "mpu"; |
| 48 | }; |
| 49 | |
| 50 | dsp { |
| 51 | compatible = "ti,omap3-c64"; |
| 52 | ti,hwmods = "dsp"; |
| 53 | }; |
| 54 | |
| 55 | iva { |
| 56 | compatible = "ti,ivahd"; |
| 57 | ti,hwmods = "iva"; |
| 58 | }; |
Benoit Cousson | d9fda07 | 2011-08-09 17:15:17 +0200 | [diff] [blame] | 59 | }; |
| 60 | |
| 61 | /* |
| 62 | * XXX: Use a flat representation of the OMAP4 interconnect. |
| 63 | * The real OMAP interconnect network is quite complex. |
| 64 | * |
| 65 | * MPU -+-- MPU_PRIVATE - GIC, L2 |
| 66 | * | |
| 67 | * +----------------+----------+ |
| 68 | * | | | |
| 69 | * + +- EMIF - DDR | |
| 70 | * | | | |
| 71 | * | + +--------+ |
| 72 | * | | | |
| 73 | * | +- L4_ABE - AESS, MCBSP, TIMERs... |
| 74 | * | | |
| 75 | * +- L3_MAIN --+- L4_CORE - IPs... |
| 76 | * | |
| 77 | * +- L4_PER - IPs... |
| 78 | * | |
| 79 | * +- L4_CFG -+- L4_WKUP - IPs... |
| 80 | * | | |
| 81 | * | +- IPs... |
| 82 | * +- IPU ----+ |
| 83 | * | | |
| 84 | * +- DSP ----+ |
| 85 | * | | |
| 86 | * +- DSS ----+ |
| 87 | * |
| 88 | * Since that will not bring real advantage to represent that in DT for |
| 89 | * the moment, just use a fake OCP bus entry to represent the whole bus |
| 90 | * hierarchy. |
| 91 | */ |
| 92 | ocp { |
Benoit Cousson | ad8dfac | 2011-08-12 13:48:47 +0200 | [diff] [blame] | 93 | compatible = "ti,omap4-l3-noc", "simple-bus"; |
Benoit Cousson | d9fda07 | 2011-08-09 17:15:17 +0200 | [diff] [blame] | 94 | #address-cells = <1>; |
| 95 | #size-cells = <1>; |
| 96 | ranges; |
Benoit Cousson | ad8dfac | 2011-08-12 13:48:47 +0200 | [diff] [blame] | 97 | ti,hwmods = "l3_main_1", "l3_main_2", "l3_main_3"; |
Benoit Cousson | d9fda07 | 2011-08-09 17:15:17 +0200 | [diff] [blame] | 98 | |
| 99 | gic: interrupt-controller@48241000 { |
| 100 | compatible = "arm,cortex-a9-gic"; |
| 101 | interrupt-controller; |
Benoit Cousson | 958e767 | 2011-11-25 12:11:52 +0100 | [diff] [blame^] | 102 | #interrupt-cells = <3>; |
Benoit Cousson | d9fda07 | 2011-08-09 17:15:17 +0200 | [diff] [blame] | 103 | reg = <0x48241000 0x1000>, |
| 104 | <0x48240100 0x0100>; |
| 105 | }; |
Rajendra Nayak | cf3c79d | 2011-12-14 17:25:46 +0530 | [diff] [blame] | 106 | |
| 107 | uart1: serial@0x4806a000 { |
| 108 | compatible = "ti,omap4-uart"; |
| 109 | ti,hwmods = "uart1"; |
| 110 | clock-frequency = <48000000>; |
| 111 | }; |
| 112 | |
| 113 | uart2: serial@0x4806c000 { |
| 114 | compatible = "ti,omap4-uart"; |
| 115 | ti,hwmods = "uart2"; |
| 116 | clock-frequency = <48000000>; |
| 117 | }; |
| 118 | |
| 119 | uart3: serial@0x48020000 { |
| 120 | compatible = "ti,omap4-uart"; |
| 121 | ti,hwmods = "uart3"; |
| 122 | clock-frequency = <48000000>; |
| 123 | }; |
| 124 | |
| 125 | uart4: serial@0x4806e000 { |
| 126 | compatible = "ti,omap4-uart"; |
| 127 | ti,hwmods = "uart4"; |
| 128 | clock-frequency = <48000000>; |
| 129 | }; |
Benoit Cousson | 58e778f | 2011-08-17 19:00:03 +0530 | [diff] [blame] | 130 | |
| 131 | i2c1: i2c@48070000 { |
| 132 | compatible = "ti,omap4-i2c"; |
| 133 | #address-cells = <1>; |
| 134 | #size-cells = <0>; |
| 135 | ti,hwmods = "i2c1"; |
| 136 | }; |
| 137 | |
| 138 | i2c2: i2c@48072000 { |
| 139 | compatible = "ti,omap4-i2c"; |
| 140 | #address-cells = <1>; |
| 141 | #size-cells = <0>; |
| 142 | ti,hwmods = "i2c2"; |
| 143 | }; |
| 144 | |
| 145 | i2c3: i2c@48060000 { |
| 146 | compatible = "ti,omap4-i2c"; |
| 147 | #address-cells = <1>; |
| 148 | #size-cells = <0>; |
| 149 | ti,hwmods = "i2c3"; |
| 150 | }; |
| 151 | |
| 152 | i2c4: i2c@48350000 { |
| 153 | compatible = "ti,omap4-i2c"; |
| 154 | #address-cells = <1>; |
| 155 | #size-cells = <0>; |
| 156 | ti,hwmods = "i2c4"; |
| 157 | }; |
Benoit Cousson | d9fda07 | 2011-08-09 17:15:17 +0200 | [diff] [blame] | 158 | }; |
| 159 | }; |