1 /* 2 * Device Tree Source for AMCC Rainier 3 * 4 * Based on Sequoia code 5 * Copyright (c) 2007 MontaVista Software, Inc 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,rainier"; 21 compatible = "amcc,rainier"; 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,440GR 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-440grx", 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-440grx", 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-440grx", 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-440grx", 93 dcr-reg = <0x00e 0x002>; 94 }; 95 96 CPR0: cpr { 97 compatible = "ibm,cpr-440grx", 98 dcr-reg = <0x00c 0x002>; 99 }; 100 101 plb { 102 compatible = "ibm,plb-440grx", 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 DMA0: dma { 114 compatible = "ibm,dma- 115 dcr-reg = <0x100 0x027 116 }; 117 118 MAL0: mcmal { 119 compatible = "ibm,mcma 120 dcr-reg = <0x180 0x062 121 num-tx-chans = <2>; 122 num-rx-chans = <2>; 123 interrupt-parent = <&M 124 interrupts = <0x0 0x1 125 #interrupt-cells = <1> 126 #address-cells = <0>; 127 #size-cells = <0>; 128 interrupt-map = </*TXE 129 /*RXEO 130 /*SERR 131 /*TXDE 132 /*RXDE 133 interrupt-map-mask = < 134 }; 135 136 POB0: opb { 137 compatible = "ibm,opb- 138 #address-cells = <1>; 139 #size-cells = <1>; 140 ranges = <0x00000000 0 141 0x80000000 0 142 interrupt-parent = <&U 143 interrupts = <0x7 0x4> 144 clock-frequency = <0>; 145 146 EBC0: ebc { 147 compatible = " 148 dcr-reg = <0x0 149 #address-cells 150 #size-cells = 151 clock-frequenc 152 interrupts = < 153 interrupt-pare 154 155 nor_flash@0,0 156 compat 157 bank-w 158 reg = 159 #addre 160 #size- 161 partit 162 163 164 }; 165 partit 166 167 168 }; 169 partit 170 171 172 }; 173 partit 174 175 176 }; 177 partit 178 179 180 }; 181 partit 182 183 184 }; 185 }; 186 187 }; 188 189 UART0: serial@ef600300 190 device_type = 191 compatible = " 192 reg = <0xef600 193 virtual-reg = 194 clock-frequenc 195 current-speed 196 interrupt-pare 197 interrupts = < 198 }; 199 200 UART1: serial@ef600400 201 device_type = 202 compatible = " 203 reg = <0xef600 204 virtual-reg = 205 clock-frequenc 206 current-speed 207 interrupt-pare 208 interrupts = < 209 }; 210 211 UART2: serial@ef600500 212 device_type = 213 compatible = " 214 reg = <0xef600 215 virtual-reg = 216 clock-frequenc 217 current-speed 218 interrupt-pare 219 interrupts = < 220 }; 221 222 UART3: serial@ef600600 223 device_type = 224 compatible = " 225 reg = <0xef600 226 virtual-reg = 227 clock-frequenc 228 current-speed 229 interrupt-pare 230 interrupts = < 231 }; 232 233 IIC0: i2c@ef600700 { 234 compatible = " 235 reg = <0xef600 236 interrupt-pare 237 interrupts = < 238 }; 239 240 IIC1: i2c@ef600800 { 241 compatible = " 242 reg = <0xef600 243 interrupt-pare 244 interrupts = < 245 }; 246 247 ZMII0: emac-zmii@ef600 248 compatible = " 249 reg = <0xef600 250 }; 251 252 RGMII0: emac-rgmii@ef6 253 compatible = " 254 reg = <0xef601 255 has-mdio; 256 }; 257 258 EMAC0: ethernet@ef600e 259 device_type = 260 compatible = " 261 interrupt-pare 262 interrupts = < 263 #interrupt-cel 264 #address-cells 265 #size-cells = 266 interrupt-map 267 268 reg = <0xef600 269 local-mac-addr 270 mal-device = < 271 mal-tx-channel 272 mal-rx-channel 273 cell-index = < 274 max-frame-size 275 rx-fifo-size = 276 tx-fifo-size = 277 phy-mode = "rg 278 phy-map = <0x0 279 zmii-device = 280 zmii-channel = 281 rgmii-device = 282 rgmii-channel 283 has-inverted-s 284 has-new-stacr- 285 }; 286 287 EMAC1: ethernet@ef600f 288 device_type = 289 compatible = " 290 interrupt-pare 291 interrupts = < 292 #interrupt-cel 293 #address-cells 294 #size-cells = 295 interrupt-map 296 297 reg = <0xef600 298 local-mac-addr 299 mal-device = < 300 mal-tx-channel 301 mal-rx-channel 302 cell-index = < 303 max-frame-size 304 rx-fifo-size = 305 tx-fifo-size = 306 phy-mode = "rg 307 phy-map = <0x0 308 zmii-device = 309 zmii-channel = 310 rgmii-device = 311 rgmii-channel 312 has-inverted-s 313 has-new-stacr- 314 }; 315 }; 316 317 PCI0: pci@1ec000000 { 318 device_type = "pci"; 319 #interrupt-cells = <1> 320 #size-cells = <2>; 321 #address-cells = <3>; 322 compatible = "ibm,plb4 323 primary; 324 reg = <0x00000001 0xee 325 0x00000001 0xee 326 0x00000001 0xee 327 0x00000001 0xef 328 329 /* Outbound ranges, on 330 * later cannot be cha 331 * IO range but we don 332 */ 333 ranges = <0x02000000 0 334 0x01000000 0x0 335 0x01000000 0x0 336 337 /* Inbound 2GB range s 338 dma-ranges = <0x420000 339 340 /* All PCI interrupts 341 interrupt-map-mask = < 342 interrupt-map = < 0x0 343 }; 344 }; 345 346 chosen { 347 stdout-path = "/plb/opb/serial 348 bootargs = "console=ttyS0,1152 349 }; 350 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.