AnilKumar Ch | 5fc0b42 | 2012-06-22 15:10:48 +0530 | [diff] [blame] | 1 | /* |
| 2 | * Device Tree Source for AM33XX SoC |
| 3 | * |
| 4 | * Copyright (C) 2012 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,am33xx"; |
| 15 | |
| 16 | aliases { |
| 17 | serial0 = &uart1; |
| 18 | serial1 = &uart2; |
| 19 | serial2 = &uart3; |
| 20 | serial3 = &uart4; |
| 21 | serial4 = &uart5; |
| 22 | serial5 = &uart6; |
| 23 | }; |
| 24 | |
| 25 | cpus { |
| 26 | cpu@0 { |
| 27 | compatible = "arm,cortex-a8"; |
| 28 | }; |
| 29 | }; |
| 30 | |
| 31 | /* |
| 32 | * The soc node represents the soc top level view. It is uses for IPs |
| 33 | * that are not memory mapped in the MPU view or for the MPU itself. |
| 34 | */ |
| 35 | soc { |
| 36 | compatible = "ti,omap-infra"; |
| 37 | mpu { |
| 38 | compatible = "ti,omap3-mpu"; |
| 39 | ti,hwmods = "mpu"; |
| 40 | }; |
| 41 | }; |
| 42 | |
| 43 | /* |
| 44 | * XXX: Use a flat representation of the AM33XX interconnect. |
| 45 | * The real AM33XX interconnect network is quite complex.Since |
| 46 | * that will not bring real advantage to represent that in DT |
| 47 | * for the moment, just use a fake OCP bus entry to represent |
| 48 | * the whole bus hierarchy. |
| 49 | */ |
| 50 | ocp { |
| 51 | compatible = "simple-bus"; |
| 52 | #address-cells = <1>; |
| 53 | #size-cells = <1>; |
| 54 | ranges; |
| 55 | ti,hwmods = "l3_main"; |
| 56 | |
| 57 | intc: interrupt-controller@48200000 { |
| 58 | compatible = "ti,omap2-intc"; |
| 59 | interrupt-controller; |
| 60 | #interrupt-cells = <1>; |
| 61 | ti,intc-size = <128>; |
| 62 | reg = <0x48200000 0x1000>; |
| 63 | }; |
| 64 | |
| 65 | gpio1: gpio@44e07000 { |
| 66 | compatible = "ti,omap4-gpio"; |
| 67 | ti,hwmods = "gpio1"; |
| 68 | gpio-controller; |
| 69 | #gpio-cells = <2>; |
| 70 | interrupt-controller; |
| 71 | #interrupt-cells = <1>; |
Vaibhav Hiremath | 4462b31 | 2012-08-27 17:21:01 +0530 | [diff] [blame] | 72 | reg = <0x44e07000 0x1000>; |
| 73 | interrupt-parent = <&intc>; |
| 74 | interrupts = <96>; |
AnilKumar Ch | 5fc0b42 | 2012-06-22 15:10:48 +0530 | [diff] [blame] | 75 | }; |
| 76 | |
Vaibhav Hiremath | 5d83cb8 | 2012-08-27 16:59:08 +0530 | [diff] [blame] | 77 | gpio2: gpio@4804c000 { |
AnilKumar Ch | 5fc0b42 | 2012-06-22 15:10:48 +0530 | [diff] [blame] | 78 | compatible = "ti,omap4-gpio"; |
| 79 | ti,hwmods = "gpio2"; |
| 80 | gpio-controller; |
| 81 | #gpio-cells = <2>; |
| 82 | interrupt-controller; |
| 83 | #interrupt-cells = <1>; |
Vaibhav Hiremath | 4462b31 | 2012-08-27 17:21:01 +0530 | [diff] [blame] | 84 | reg = <0x4804c000 0x1000>; |
| 85 | interrupt-parent = <&intc>; |
| 86 | interrupts = <98>; |
AnilKumar Ch | 5fc0b42 | 2012-06-22 15:10:48 +0530 | [diff] [blame] | 87 | }; |
| 88 | |
Vaibhav Hiremath | 5d83cb8 | 2012-08-27 16:59:08 +0530 | [diff] [blame] | 89 | gpio3: gpio@481ac000 { |
AnilKumar Ch | 5fc0b42 | 2012-06-22 15:10:48 +0530 | [diff] [blame] | 90 | compatible = "ti,omap4-gpio"; |
| 91 | ti,hwmods = "gpio3"; |
| 92 | gpio-controller; |
| 93 | #gpio-cells = <2>; |
| 94 | interrupt-controller; |
| 95 | #interrupt-cells = <1>; |
Vaibhav Hiremath | 4462b31 | 2012-08-27 17:21:01 +0530 | [diff] [blame] | 96 | reg = <0x481ac000 0x1000>; |
| 97 | interrupt-parent = <&intc>; |
| 98 | interrupts = <32>; |
AnilKumar Ch | 5fc0b42 | 2012-06-22 15:10:48 +0530 | [diff] [blame] | 99 | }; |
| 100 | |
Vaibhav Hiremath | 5d83cb8 | 2012-08-27 16:59:08 +0530 | [diff] [blame] | 101 | gpio4: gpio@481ae000 { |
AnilKumar Ch | 5fc0b42 | 2012-06-22 15:10:48 +0530 | [diff] [blame] | 102 | compatible = "ti,omap4-gpio"; |
| 103 | ti,hwmods = "gpio4"; |
| 104 | gpio-controller; |
| 105 | #gpio-cells = <2>; |
| 106 | interrupt-controller; |
| 107 | #interrupt-cells = <1>; |
Vaibhav Hiremath | 4462b31 | 2012-08-27 17:21:01 +0530 | [diff] [blame] | 108 | reg = <0x481ae000 0x1000>; |
| 109 | interrupt-parent = <&intc>; |
| 110 | interrupts = <62>; |
AnilKumar Ch | 5fc0b42 | 2012-06-22 15:10:48 +0530 | [diff] [blame] | 111 | }; |
| 112 | |
Vaibhav Hiremath | 5d83cb8 | 2012-08-27 16:59:08 +0530 | [diff] [blame] | 113 | uart1: serial@44e09000 { |
AnilKumar Ch | 5fc0b42 | 2012-06-22 15:10:48 +0530 | [diff] [blame] | 114 | compatible = "ti,omap3-uart"; |
| 115 | ti,hwmods = "uart1"; |
| 116 | clock-frequency = <48000000>; |
Vaibhav Hiremath | 4462b31 | 2012-08-27 17:21:01 +0530 | [diff] [blame] | 117 | reg = <0x44e09000 0x2000>; |
| 118 | interrupt-parent = <&intc>; |
| 119 | interrupts = <72>; |
Vaibhav Hiremath | 53d9103 | 2012-08-15 16:53:25 +0530 | [diff] [blame] | 120 | status = "disabled"; |
AnilKumar Ch | 5fc0b42 | 2012-06-22 15:10:48 +0530 | [diff] [blame] | 121 | }; |
| 122 | |
| 123 | uart2: serial@48022000 { |
| 124 | compatible = "ti,omap3-uart"; |
| 125 | ti,hwmods = "uart2"; |
| 126 | clock-frequency = <48000000>; |
Vaibhav Hiremath | 4462b31 | 2012-08-27 17:21:01 +0530 | [diff] [blame] | 127 | reg = <0x48022000 0x2000>; |
| 128 | interrupt-parent = <&intc>; |
| 129 | interrupts = <73>; |
Vaibhav Hiremath | 53d9103 | 2012-08-15 16:53:25 +0530 | [diff] [blame] | 130 | status = "disabled"; |
AnilKumar Ch | 5fc0b42 | 2012-06-22 15:10:48 +0530 | [diff] [blame] | 131 | }; |
| 132 | |
| 133 | uart3: serial@48024000 { |
| 134 | compatible = "ti,omap3-uart"; |
| 135 | ti,hwmods = "uart3"; |
| 136 | clock-frequency = <48000000>; |
Vaibhav Hiremath | 4462b31 | 2012-08-27 17:21:01 +0530 | [diff] [blame] | 137 | reg = <0x48024000 0x2000>; |
| 138 | interrupt-parent = <&intc>; |
| 139 | interrupts = <74>; |
Vaibhav Hiremath | 53d9103 | 2012-08-15 16:53:25 +0530 | [diff] [blame] | 140 | status = "disabled"; |
AnilKumar Ch | 5fc0b42 | 2012-06-22 15:10:48 +0530 | [diff] [blame] | 141 | }; |
| 142 | |
Vaibhav Hiremath | 5d83cb8 | 2012-08-27 16:59:08 +0530 | [diff] [blame] | 143 | uart4: serial@481a6000 { |
AnilKumar Ch | 5fc0b42 | 2012-06-22 15:10:48 +0530 | [diff] [blame] | 144 | compatible = "ti,omap3-uart"; |
| 145 | ti,hwmods = "uart4"; |
| 146 | clock-frequency = <48000000>; |
Vaibhav Hiremath | 4462b31 | 2012-08-27 17:21:01 +0530 | [diff] [blame] | 147 | reg = <0x481a6000 0x2000>; |
| 148 | interrupt-parent = <&intc>; |
| 149 | interrupts = <44>; |
Vaibhav Hiremath | 53d9103 | 2012-08-15 16:53:25 +0530 | [diff] [blame] | 150 | status = "disabled"; |
AnilKumar Ch | 5fc0b42 | 2012-06-22 15:10:48 +0530 | [diff] [blame] | 151 | }; |
| 152 | |
Vaibhav Hiremath | 5d83cb8 | 2012-08-27 16:59:08 +0530 | [diff] [blame] | 153 | uart5: serial@481a8000 { |
AnilKumar Ch | 5fc0b42 | 2012-06-22 15:10:48 +0530 | [diff] [blame] | 154 | compatible = "ti,omap3-uart"; |
| 155 | ti,hwmods = "uart5"; |
| 156 | clock-frequency = <48000000>; |
Vaibhav Hiremath | 4462b31 | 2012-08-27 17:21:01 +0530 | [diff] [blame] | 157 | reg = <0x481a8000 0x2000>; |
| 158 | interrupt-parent = <&intc>; |
| 159 | interrupts = <45>; |
Vaibhav Hiremath | 53d9103 | 2012-08-15 16:53:25 +0530 | [diff] [blame] | 160 | status = "disabled"; |
AnilKumar Ch | 5fc0b42 | 2012-06-22 15:10:48 +0530 | [diff] [blame] | 161 | }; |
| 162 | |
Vaibhav Hiremath | 5d83cb8 | 2012-08-27 16:59:08 +0530 | [diff] [blame] | 163 | uart6: serial@481aa000 { |
AnilKumar Ch | 5fc0b42 | 2012-06-22 15:10:48 +0530 | [diff] [blame] | 164 | compatible = "ti,omap3-uart"; |
| 165 | ti,hwmods = "uart6"; |
| 166 | clock-frequency = <48000000>; |
Vaibhav Hiremath | 4462b31 | 2012-08-27 17:21:01 +0530 | [diff] [blame] | 167 | reg = <0x481aa000 0x2000>; |
| 168 | interrupt-parent = <&intc>; |
| 169 | interrupts = <46>; |
Vaibhav Hiremath | 53d9103 | 2012-08-15 16:53:25 +0530 | [diff] [blame] | 170 | status = "disabled"; |
AnilKumar Ch | 5fc0b42 | 2012-06-22 15:10:48 +0530 | [diff] [blame] | 171 | }; |
| 172 | |
Vaibhav Hiremath | 5d83cb8 | 2012-08-27 16:59:08 +0530 | [diff] [blame] | 173 | i2c1: i2c@44e0b000 { |
AnilKumar Ch | 5fc0b42 | 2012-06-22 15:10:48 +0530 | [diff] [blame] | 174 | compatible = "ti,omap4-i2c"; |
| 175 | #address-cells = <1>; |
| 176 | #size-cells = <0>; |
| 177 | ti,hwmods = "i2c1"; |
Vaibhav Hiremath | 4462b31 | 2012-08-27 17:21:01 +0530 | [diff] [blame] | 178 | reg = <0x44e0b000 0x1000>; |
| 179 | interrupt-parent = <&intc>; |
| 180 | interrupts = <70>; |
Vaibhav Hiremath | 53d9103 | 2012-08-15 16:53:25 +0530 | [diff] [blame] | 181 | status = "disabled"; |
AnilKumar Ch | 5fc0b42 | 2012-06-22 15:10:48 +0530 | [diff] [blame] | 182 | }; |
| 183 | |
Vaibhav Hiremath | 5d83cb8 | 2012-08-27 16:59:08 +0530 | [diff] [blame] | 184 | i2c2: i2c@4802a000 { |
AnilKumar Ch | 5fc0b42 | 2012-06-22 15:10:48 +0530 | [diff] [blame] | 185 | compatible = "ti,omap4-i2c"; |
| 186 | #address-cells = <1>; |
| 187 | #size-cells = <0>; |
| 188 | ti,hwmods = "i2c2"; |
Vaibhav Hiremath | 4462b31 | 2012-08-27 17:21:01 +0530 | [diff] [blame] | 189 | reg = <0x4802a000 0x1000>; |
| 190 | interrupt-parent = <&intc>; |
| 191 | interrupts = <71>; |
Vaibhav Hiremath | 53d9103 | 2012-08-15 16:53:25 +0530 | [diff] [blame] | 192 | status = "disabled"; |
AnilKumar Ch | 5fc0b42 | 2012-06-22 15:10:48 +0530 | [diff] [blame] | 193 | }; |
| 194 | |
Vaibhav Hiremath | 5d83cb8 | 2012-08-27 16:59:08 +0530 | [diff] [blame] | 195 | i2c3: i2c@4819c000 { |
AnilKumar Ch | 5fc0b42 | 2012-06-22 15:10:48 +0530 | [diff] [blame] | 196 | compatible = "ti,omap4-i2c"; |
| 197 | #address-cells = <1>; |
| 198 | #size-cells = <0>; |
| 199 | ti,hwmods = "i2c3"; |
Vaibhav Hiremath | 4462b31 | 2012-08-27 17:21:01 +0530 | [diff] [blame] | 200 | reg = <0x4819c000 0x1000>; |
| 201 | interrupt-parent = <&intc>; |
| 202 | interrupts = <30>; |
Vaibhav Hiremath | 53d9103 | 2012-08-15 16:53:25 +0530 | [diff] [blame] | 203 | status = "disabled"; |
AnilKumar Ch | 5fc0b42 | 2012-06-22 15:10:48 +0530 | [diff] [blame] | 204 | }; |
Afzal Mohammed | 5f789eb | 2012-07-04 18:00:37 +0530 | [diff] [blame] | 205 | |
| 206 | wdt2: wdt@44e35000 { |
| 207 | compatible = "ti,omap3-wdt"; |
| 208 | ti,hwmods = "wd_timer2"; |
Vaibhav Hiremath | 4462b31 | 2012-08-27 17:21:01 +0530 | [diff] [blame] | 209 | reg = <0x44e35000 0x1000>; |
| 210 | interrupt-parent = <&intc>; |
| 211 | interrupts = <91>; |
Afzal Mohammed | 5f789eb | 2012-07-04 18:00:37 +0530 | [diff] [blame] | 212 | }; |
Mugunthan V N | 1a39a65 | 2012-11-14 09:08:00 +0000 | [diff] [blame] | 213 | |
| 214 | mac: ethernet@4a100000 { |
| 215 | compatible = "ti,cpsw"; |
| 216 | ti,hwmods = "cpgmac0"; |
| 217 | cpdma_channels = <8>; |
| 218 | ale_entries = <1024>; |
| 219 | bd_ram_size = <0x2000>; |
| 220 | no_bd_ram = <0>; |
| 221 | rx_descs = <64>; |
| 222 | mac_control = <0x20>; |
| 223 | slaves = <2>; |
| 224 | cpts_active_slave = <0>; |
| 225 | cpts_clock_mult = <0x80000000>; |
| 226 | cpts_clock_shift = <29>; |
| 227 | reg = <0x4a100000 0x800 |
| 228 | 0x4a101200 0x100>; |
| 229 | #address-cells = <1>; |
| 230 | #size-cells = <1>; |
| 231 | interrupt-parent = <&intc>; |
| 232 | /* |
| 233 | * c0_rx_thresh_pend |
| 234 | * c0_rx_pend |
| 235 | * c0_tx_pend |
| 236 | * c0_misc_pend |
| 237 | */ |
| 238 | interrupts = <40 41 42 43>; |
| 239 | ranges; |
| 240 | |
| 241 | davinci_mdio: mdio@4a101000 { |
| 242 | compatible = "ti,davinci_mdio"; |
| 243 | #address-cells = <1>; |
| 244 | #size-cells = <0>; |
| 245 | ti,hwmods = "davinci_mdio"; |
| 246 | bus_freq = <1000000>; |
| 247 | reg = <0x4a101000 0x100>; |
| 248 | }; |
| 249 | |
| 250 | cpsw_emac0: slave@4a100200 { |
| 251 | /* Filled in by U-Boot */ |
| 252 | mac-address = [ 00 00 00 00 00 00 ]; |
| 253 | }; |
| 254 | |
| 255 | cpsw_emac1: slave@4a100300 { |
| 256 | /* Filled in by U-Boot */ |
| 257 | mac-address = [ 00 00 00 00 00 00 ]; |
| 258 | }; |
| 259 | |
| 260 | }; |
AnilKumar Ch | 5fc0b42 | 2012-06-22 15:10:48 +0530 | [diff] [blame] | 261 | }; |
| 262 | }; |