1 /* 2 * Device Tree Source for AMCC Sequoia 3 * 4 * Based on Bamboo code by Josh Boyer <jwboyer@ 5 * Copyright (c) 2006, 2007 IBM Corp. 6 * 7 * FIXME: Draft only! 8 * 9 * This file is licensed under the terms of th 10 * License version 2. This program is license 11 * any warranty of any kind, whether express o 12 * 13 */ 14 15 /dts-v1/; 16 17 / { 18 #address-cells = <2>; 19 #size-cells = <1>; 20 model = "amcc,sequoia"; 21 compatible = "amcc,sequoia"; 22 dcr-parent = <&{/cpus/cpu@0}>; 23 24 aliases { 25 ethernet0 = &EMAC0; 26 ethernet1 = &EMAC1; 27 serial0 = &UART0; 28 serial1 = &UART1; 29 serial2 = &UART2; 30 serial3 = &UART3; 31 }; 32 33 cpus { 34 #address-cells = <1>; 35 #size-cells = <0>; 36 37 cpu@0 { 38 device_type = "cpu"; 39 model = "PowerPC,440EP 40 reg = <0x00000000>; 41 clock-frequency = <0>; 42 timebase-frequency = < 43 i-cache-line-size = <3 44 d-cache-line-size = <3 45 i-cache-size = <32768> 46 d-cache-size = <32768> 47 dcr-controller; 48 dcr-access-method = "n 49 }; 50 }; 51 52 memory { 53 device_type = "memory"; 54 reg = <0x00000000 0x00000000 0 55 }; 56 57 UIC0: interrupt-controller0 { 58 compatible = "ibm,uic-440epx", 59 interrupt-controller; 60 cell-index = <0>; 61 dcr-reg = <0x0c0 0x009>; 62 #address-cells = <0>; 63 #size-cells = <0>; 64 #interrupt-cells = <2>; 65 }; 66 67 UIC1: interrupt-controller1 { 68 compatible = "ibm,uic-440epx", 69 interrupt-controller; 70 cell-index = <1>; 71 dcr-reg = <0x0d0 0x009>; 72 #address-cells = <0>; 73 #size-cells = <0>; 74 #interrupt-cells = <2>; 75 interrupts = <0x1e 0x4 0x1f 0x 76 interrupt-parent = <&UIC0>; 77 }; 78 79 UIC2: interrupt-controller2 { 80 compatible = "ibm,uic-440epx", 81 interrupt-controller; 82 cell-index = <2>; 83 dcr-reg = <0x0e0 0x009>; 84 #address-cells = <0>; 85 #size-cells = <0>; 86 #interrupt-cells = <2>; 87 interrupts = <0x1c 0x4 0x1d 0x 88 interrupt-parent = <&UIC0>; 89 }; 90 91 SDR0: sdr { 92 compatible = "ibm,sdr-440epx", 93 dcr-reg = <0x00e 0x002>; 94 }; 95 96 CPR0: cpr { 97 compatible = "ibm,cpr-440epx", 98 dcr-reg = <0x00c 0x002>; 99 }; 100 101 plb { 102 compatible = "ibm,plb-440epx", 103 #address-cells = <2>; 104 #size-cells = <1>; 105 ranges; 106 clock-frequency = <0>; /* Fill 107 108 SDRAM0: sdram { 109 compatible = "ibm,sdra 110 dcr-reg = <0x010 0x002 111 }; 112 113 CRYPTO: crypto@e0100000 { 114 compatible = "amcc,ppc 115 reg = <0 0xE0100000 0x 116 interrupt-parent = <&U 117 interrupts = <0x17 0x4 118 }; 119 120 rng@e0120000 { 121 compatible = "amcc,ppc 122 reg = <0 0xE0120000 0x 123 }; 124 125 DMA0: dma { 126 compatible = "ibm,dma- 127 dcr-reg = <0x100 0x027 128 }; 129 130 MAL0: mcmal { 131 compatible = "ibm,mcma 132 dcr-reg = <0x180 0x062 133 num-tx-chans = <2>; 134 num-rx-chans = <2>; 135 interrupt-parent = <&M 136 interrupts = <0x0 0x1 137 #interrupt-cells = <1> 138 #address-cells = <0>; 139 #size-cells = <0>; 140 interrupt-map = </*TXE 141 /*RXEO 142 /*SERR 143 /*TXDE 144 /*RXDE 145 interrupt-map-mask = < 146 }; 147 148 USB1: usb@e0000400 { 149 compatible = "ibm,usb- 150 reg = <0x00000000 0xe0 151 interrupt-parent = <&U 152 interrupts = <0x15 0x8 153 }; 154 155 USB0: ehci@e0000300 { 156 compatible = "ibm,usb- 157 interrupt-parent = <&U 158 interrupts = <0x1a 0x4 159 reg = <0x00000000 0xe0 160 big-endian; 161 }; 162 163 POB0: opb { 164 compatible = "ibm,opb- 165 #address-cells = <1>; 166 #size-cells = <1>; 167 ranges = <0x00000000 0 168 0x80000000 0 169 interrupt-parent = <&U 170 interrupts = <0x7 0x4> 171 clock-frequency = <0>; 172 173 EBC0: ebc { 174 compatible = " 175 dcr-reg = <0x0 176 #address-cells 177 #size-cells = 178 clock-frequenc 179 interrupts = < 180 interrupt-pare 181 182 nor_flash@0,0 183 compat 184 bank-w 185 reg = 186 #addre 187 #size- 188 partit 189 190 191 }; 192 partit 193 194 195 }; 196 partit 197 198 199 }; 200 partit 201 202 203 }; 204 partit 205 206 207 }; 208 partit 209 210 211 }; 212 }; 213 214 ndfc@3,0 { 215 compat 216 reg = 217 ccr = 218 bank-s 219 #addre 220 #size- 221 222 nand { 223 224 225 226 227 228 229 230 231 232 233 234 }; 235 }; 236 }; 237 238 UART0: serial@ef600300 239 device_type = 240 compatible = " 241 reg = <0xef600 242 virtual-reg = 243 clock-frequenc 244 current-speed 245 interrupt-pare 246 interrupts = < 247 }; 248 249 UART1: serial@ef600400 250 device_type = 251 compatible = " 252 reg = <0xef600 253 virtual-reg = 254 clock-frequenc 255 current-speed 256 interrupt-pare 257 interrupts = < 258 }; 259 260 UART2: serial@ef600500 261 device_type = 262 compatible = " 263 reg = <0xef600 264 virtual-reg = 265 clock-frequenc 266 current-speed 267 interrupt-pare 268 interrupts = < 269 }; 270 271 UART3: serial@ef600600 272 device_type = 273 compatible = " 274 reg = <0xef600 275 virtual-reg = 276 clock-frequenc 277 current-speed 278 interrupt-pare 279 interrupts = < 280 }; 281 282 IIC0: i2c@ef600700 { 283 #address-cells 284 #size-cells = 285 compatible = " 286 reg = <0xef600 287 interrupt-pare 288 interrupts = < 289 290 hwmon@48 { 291 compat 292 reg = 293 }; 294 }; 295 296 IIC1: i2c@ef600800 { 297 #address-cells 298 #size-cells = 299 compatible = " 300 reg = <0xef600 301 interrupt-pare 302 interrupts = < 303 }; 304 305 ZMII0: emac-zmii@ef600 306 compatible = " 307 reg = <0xef600 308 }; 309 310 RGMII0: emac-rgmii@ef6 311 compatible = " 312 reg = <0xef601 313 has-mdio; 314 }; 315 316 EMAC0: ethernet@ef600e 317 device_type = 318 compatible = " 319 interrupt-pare 320 interrupts = < 321 #interrupt-cel 322 #address-cells 323 #size-cells = 324 interrupt-map 325 326 reg = <0xef600 327 local-mac-addr 328 mal-device = < 329 mal-tx-channel 330 mal-rx-channel 331 cell-index = < 332 max-frame-size 333 rx-fifo-size = 334 tx-fifo-size = 335 phy-mode = "rg 336 phy-map = <0x0 337 zmii-device = 338 zmii-channel = 339 rgmii-device = 340 rgmii-channel 341 has-inverted-s 342 has-new-stacr- 343 }; 344 345 EMAC1: ethernet@ef600f 346 device_type = 347 compatible = " 348 interrupt-pare 349 interrupts = < 350 #interrupt-cel 351 #address-cells 352 #size-cells = 353 interrupt-map 354 355 reg = <0xef600 356 local-mac-addr 357 mal-device = < 358 mal-tx-channel 359 mal-rx-channel 360 cell-index = < 361 max-frame-size 362 rx-fifo-size = 363 tx-fifo-size = 364 phy-mode = "rg 365 phy-map = <0x0 366 zmii-device = 367 zmii-channel = 368 rgmii-device = 369 rgmii-channel 370 has-inverted-s 371 has-new-stacr- 372 }; 373 }; 374 375 PCI0: pci@1ec000000 { 376 device_type = "pci"; 377 #interrupt-cells = <1> 378 #size-cells = <2>; 379 #address-cells = <3>; 380 compatible = "ibm,plb4 381 primary; 382 reg = <0x00000001 0xee 383 0x00000001 0xee 384 0x00000001 0xee 385 0x00000001 0xef 386 387 /* Outbound ranges, on 388 * later cannot be cha 389 * IO range but we don 390 * From the 440EPx use 391 * PCI 1 Memory 1 392 * I/O 1 393 * I/O 1 394 */ 395 ranges = <0x02000000 0 396 0x01000000 0x0 397 0x01000000 0x0 398 399 /* Inbound 2GB range s 400 dma-ranges = <0x420000 401 402 /* All PCI interrupts 403 interrupt-map-mask = < 404 interrupt-map = < 0x0 405 }; 406 }; 407 408 chosen { 409 stdout-path = "/plb/opb/serial 410 bootargs = "console=ttyS0,1152 411 }; 412 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.