1 /* 2 * Device Tree Source for AMCC Redwood(460SX) 3 * 4 * Copyright 2008 AMCC <tmarri@amcc.com> 5 * 6 * This file is licensed under the terms of th 7 * License version 2. This program is license 8 * any warranty of any kind, whether express o 9 */ 10 11 /dts-v1/; 12 13 / { 14 #address-cells = <2>; 15 #size-cells = <1>; 16 model = "amcc,redwood"; 17 compatible = "amcc,redwood"; 18 dcr-parent = <&{/cpus/cpu@0}>; 19 20 aliases { 21 ethernet0 = &EMAC0; 22 serial0 = &UART0; 23 }; 24 25 cpus { 26 #address-cells = <1>; 27 #size-cells = <0>; 28 29 cpu@0 { 30 device_type = "cpu"; 31 model = "PowerPC,460SX 32 reg = <0x00000000>; 33 clock-frequency = <0>; 34 timebase-frequency = < 35 i-cache-line-size = <3 36 d-cache-line-size = <3 37 i-cache-size = <32768> 38 d-cache-size = <32768> 39 dcr-controller; 40 dcr-access-method = "n 41 }; 42 }; 43 44 memory { 45 device_type = "memory"; 46 reg = <0x00000000 0x00000000 0 47 }; 48 49 UIC0: interrupt-controller0 { 50 compatible = "ibm,uic-460sx"," 51 interrupt-controller; 52 cell-index = <0>; 53 dcr-reg = <0x0c0 0x009>; 54 #address-cells = <0>; 55 #size-cells = <0>; 56 #interrupt-cells = <2>; 57 }; 58 59 UIC1: interrupt-controller1 { 60 compatible = "ibm,uic-460sx"," 61 interrupt-controller; 62 cell-index = <1>; 63 dcr-reg = <0x0d0 0x009>; 64 #address-cells = <0>; 65 #size-cells = <0>; 66 #interrupt-cells = <2>; 67 interrupts = <0x1e 0x4 0x1f 0x 68 interrupt-parent = <&UIC0>; 69 }; 70 71 UIC2: interrupt-controller2 { 72 compatible = "ibm,uic-460sx"," 73 interrupt-controller; 74 cell-index = <2>; 75 dcr-reg = <0x0e0 0x009>; 76 #address-cells = <0>; 77 #size-cells = <0>; 78 #interrupt-cells = <2>; 79 interrupts = <0xa 0x4 0xb 0x4> 80 interrupt-parent = <&UIC0>; 81 }; 82 83 UIC3: interrupt-controller3 { 84 compatible = "ibm,uic-460sx"," 85 interrupt-controller; 86 cell-index = <3>; 87 dcr-reg = <0x0f0 0x009>; 88 #address-cells = <0>; 89 #size-cells = <0>; 90 #interrupt-cells = <2>; 91 interrupts = <0x10 0x4 0x11 0x 92 interrupt-parent = <&UIC0>; 93 }; 94 95 SDR0: sdr { 96 compatible = "ibm,sdr-460sx"; 97 dcr-reg = <0x00e 0x002>; 98 }; 99 100 CPR0: cpr { 101 compatible = "ibm,cpr-460sx"; 102 dcr-reg = <0x00c 0x002>; 103 }; 104 105 plb { 106 compatible = "ibm,plb-460sx", 107 #address-cells = <2>; 108 #size-cells = <1>; 109 ranges; 110 clock-frequency = <0>; /* Fill 111 112 SDRAM0: sdram { 113 compatible = "ibm,sdra 114 dcr-reg = <0x010 0x002 115 }; 116 117 MAL0: mcmal { 118 compatible = "ibm,mcma 119 dcr-reg = <0x180 0x62> 120 num-tx-chans = <4>; 121 num-rx-chans = <32>; 122 #address-cells = <1>; 123 #size-cells = <1>; 124 interrupt-parent = <&U 125 interrupts = < /*TXEO 126 /*RXEO 127 /*SERR 128 /*TXDE 129 /*RXDE 130 /*COAL 131 /*COAL 132 /*COAL 133 /*COAL 134 /*COAL 135 /*COAL 136 /*COAL 137 /*COAL 138 }; 139 140 POB0: opb { 141 compatible = "ibm,opb- 142 #address-cells = <1>; 143 #size-cells = <1>; 144 ranges = <0xb0000000 0 145 clock-frequency = <0>; 146 147 EBC0: ebc { 148 compatible = " 149 dcr-reg = <0x0 150 #address-cells 151 #size-cells = 152 clock-frequenc 153 /* ranges prop 154 interrupts = < 155 interrupt-pare 156 157 nor_flash@0,0 158 compat 159 bank-w 160 reg = 161 #addre 162 #size- 163 partit 164 165 166 }; 167 partit 168 169 170 }; 171 partit 172 173 174 }; 175 partit 176 177 178 }; 179 partit 180 181 182 }; 183 partit 184 185 186 }; 187 partit 188 189 190 }; 191 }; 192 }; 193 194 UART0: serial@ef600200 195 device_type = 196 compatible = " 197 reg = <0xef600 198 virtual-reg = 199 clock-frequenc 200 current-speed 201 interrupt-pare 202 interrupts = < 203 }; 204 205 RGMII0: emac-rgmii@ef6 206 compatible = " 207 reg = <0xef600 208 }; 209 210 EMAC0: ethernet@ef600a 211 device_type = 212 compatible = " 213 interrupt-pare 214 interrupts = < 215 #interrupt-cel 216 #address-cells 217 #size-cells = 218 interrupt-map 219 220 reg = <0xef600 221 local-mac-addr 222 mal-device = < 223 mal-tx-channel 224 mal-rx-channel 225 cell-index = < 226 max-frame-size 227 rx-fifo-size = 228 tx-fifo-size = 229 rx-fifo-size-g 230 phy-mode = "rg 231 phy-map = <0x0 232 rgmii-device = 233 rgmii-channel 234 has-inverted-s 235 has-new-stacr- 236 }; 237 }; 238 PCIE0: pcie@d00000000 { 239 device_type = "pci"; 240 #interrupt-cells = <1> 241 #size-cells = <2>; 242 #address-cells = <3>; 243 compatible = "ibm,plb- 244 primary; 245 port = <0x0>; /* port 246 reg = <0x0000000d 0x00 247 0x0000000c 0x10 248 dcr-reg = <0x100 0x020 249 sdr-base = <0x300>; 250 251 /* Outbound ranges, on 252 * later cannot be cha 253 */ 254 ranges = <0x02000000 0 255 0x01000000 0 256 257 /* Inbound 2GB range s 258 dma-ranges = <0x420000 259 260 /* This drives busses 261 bus-range = <0x10 0x1f 262 263 /* Legacy interrupts ( 264 * to invert PCIe lega 265 * We are de-swizzling 266 * port of the root co 267 * to avoid putting a 268 * below are basically 269 * The real slot is on 270 */ 271 interrupt-map-mask = < 272 interrupt-map = < 273 0x0 0x0 0x0 0x 274 0x0 0x0 0x0 0x 275 0x0 0x0 0x0 0x 276 0x0 0x0 0x0 0x 277 }; 278 279 PCIE1: pcie@d20000000 { 280 device_type = "pci"; 281 #interrupt-cells = <1> 282 #size-cells = <2>; 283 #address-cells = <3>; 284 compatible = "ibm,plb- 285 primary; 286 port = <0x1>; /* port 287 reg = <0x0000000d 0x20 288 0x0000000c 0x10 289 dcr-reg = <0x120 0x020 290 sdr-base = <0x340>; 291 292 /* Outbound ranges, on 293 * later cannot be cha 294 */ 295 ranges = <0x02000000 0 296 0x01000000 0 297 298 /* Inbound 2GB range s 299 dma-ranges = <0x420000 300 301 /* This drives busses 302 bus-range = <0x20 0x2f 303 304 /* Legacy interrupts ( 305 * to invert PCIe lega 306 * We are de-swizzling 307 * port of the root co 308 * to avoid putting a 309 * below are basically 310 * The real slot is on 311 */ 312 interrupt-map-mask = < 313 interrupt-map = < 314 0x0 0x0 0x0 0x 315 0x0 0x0 0x0 0x 316 0x0 0x0 0x0 0x 317 0x0 0x0 0x0 0x 318 }; 319 320 PCIE2: pcie@d40000000 { 321 device_type = "pci"; 322 #interrupt-cells = <1> 323 #size-cells = <2>; 324 #address-cells = <3>; 325 compatible = "ibm,plb- 326 primary; 327 port = <0x2>; /* port 328 reg = <0x0000000d 0x40 329 0x0000000c 0x10 330 dcr-reg = <0x140 0x020 331 sdr-base = <0x370>; 332 333 /* Outbound ranges, on 334 * later cannot be cha 335 */ 336 ranges = <0x02000000 0 337 0x01000000 0 338 339 /* Inbound 2GB range s 340 dma-ranges = <0x420000 341 342 /* This drives busses 343 bus-range = <0x30 0x3f 344 345 /* Legacy interrupts ( 346 * to invert PCIe lega 347 * We are de-swizzling 348 * port of the root co 349 * to avoid putting a 350 * below are basically 351 * The real slot is on 352 */ 353 interrupt-map-mask = < 354 interrupt-map = < 355 0x0 0x0 0x0 0x 356 0x0 0x0 0x0 0x 357 0x0 0x0 0x0 0x 358 0x0 0x0 0x0 0x 359 }; 360 361 }; 362 363 364 chosen { 365 stdout-path = "/plb/opb/serial 366 }; 367 368 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.