1 /* 2 * Device Tree Source for AMCC Yosemite 3 * 4 * Copyright 2008 IBM Corp. 5 * Josh Boyer <jwboyer@linux.vnet.ibm.com> 6 * 7 * This file is licensed under the terms of th 8 * License version 2. This program is license 9 * any warranty of any kind, whether express o 10 */ 11 12 /dts-v1/; 13 14 / { 15 #address-cells = <2>; 16 #size-cells = <1>; 17 model = "amcc,yosemite"; 18 compatible = "amcc,yosemite"; 19 dcr-parent = <&{/cpus/cpu@0}>; 20 21 aliases { 22 ethernet0 = &EMAC0; 23 ethernet1 = &EMAC1; 24 serial0 = &UART0; 25 serial1 = &UART1; 26 serial2 = &UART2; 27 serial3 = &UART3; 28 }; 29 30 cpus { 31 #address-cells = <1>; 32 #size-cells = <0>; 33 34 cpu@0 { 35 device_type = "cpu"; 36 model = "PowerPC,440EP 37 reg = <0x00000000>; 38 clock-frequency = <0>; 39 timebase-frequency = < 40 i-cache-line-size = <3 41 d-cache-line-size = <3 42 i-cache-size = <32768> 43 d-cache-size = <32768> 44 dcr-controller; 45 dcr-access-method = "n 46 }; 47 }; 48 49 memory { 50 device_type = "memory"; 51 reg = <0x00000000 0x00000000 0 52 }; 53 54 UIC0: interrupt-controller0 { 55 compatible = "ibm,uic-440ep"," 56 interrupt-controller; 57 cell-index = <0>; 58 dcr-reg = <0x0c0 0x009>; 59 #address-cells = <0>; 60 #size-cells = <0>; 61 #interrupt-cells = <2>; 62 }; 63 64 UIC1: interrupt-controller1 { 65 compatible = "ibm,uic-440ep"," 66 interrupt-controller; 67 cell-index = <1>; 68 dcr-reg = <0x0d0 0x009>; 69 #address-cells = <0>; 70 #size-cells = <0>; 71 #interrupt-cells = <2>; 72 interrupts = <0x1e 0x4 0x1f 0x 73 interrupt-parent = <&UIC0>; 74 }; 75 76 SDR0: sdr { 77 compatible = "ibm,sdr-440ep"; 78 dcr-reg = <0x00e 0x002>; 79 }; 80 81 CPR0: cpr { 82 compatible = "ibm,cpr-440ep"; 83 dcr-reg = <0x00c 0x002>; 84 }; 85 86 plb { 87 compatible = "ibm,plb-440ep", 88 #address-cells = <2>; 89 #size-cells = <1>; 90 ranges; 91 clock-frequency = <0>; /* Fill 92 93 SDRAM0: sdram { 94 compatible = "ibm,sdra 95 dcr-reg = <0x010 0x002 96 }; 97 98 DMA0: dma { 99 compatible = "ibm,dma- 100 dcr-reg = <0x100 0x027 101 }; 102 103 MAL0: mcmal { 104 compatible = "ibm,mcma 105 dcr-reg = <0x180 0x062 106 num-tx-chans = <4>; 107 num-rx-chans = <2>; 108 interrupt-parent = <&M 109 interrupts = <0x0 0x1 110 #interrupt-cells = <1> 111 #address-cells = <0>; 112 #size-cells = <0>; 113 interrupt-map = </*TXE 114 /*RXEO 115 /*SERR 116 /*TXDE 117 /*RXDE 118 }; 119 120 POB0: opb { 121 compatible = "ibm,opb- 122 #address-cells = <1>; 123 #size-cells = <1>; 124 /* Bamboo is oddball i 125 * bits. 126 */ 127 ranges = <0x00000000 0 128 0x80000000 0 129 interrupt-parent = <&U 130 interrupts = <0x7 0x4> 131 clock-frequency = <0>; 132 133 EBC0: ebc { 134 compatible = " 135 dcr-reg = <0x0 136 #address-cells 137 #size-cells = 138 clock-frequenc 139 interrupts = < 140 interrupt-pare 141 142 nor_flash@0,0 143 compat 144 bank-w 145 reg = 146 #addre 147 #size- 148 partit 149 150 151 }; 152 partit 153 154 155 }; 156 partit 157 158 159 }; 160 partit 161 162 163 }; 164 partit 165 166 167 }; 168 partit 169 170 171 }; 172 partit 173 174 175 }; 176 }; 177 }; 178 179 UART0: serial@ef600300 180 device_type = 181 compatible = " 182 reg = <0xef600 183 virtual-reg = 184 clock-frequenc 185 current-speed 186 interrupt-pare 187 interrupts = < 188 }; 189 190 UART1: serial@ef600400 191 device_type = 192 compatible = " 193 reg = <0xef600 194 virtual-reg = 195 clock-frequenc 196 current-speed 197 interrupt-pare 198 interrupts = < 199 }; 200 201 UART2: serial@ef600500 202 device_type = 203 compatible = " 204 reg = <0xef600 205 virtual-reg = 206 clock-frequenc 207 current-speed 208 interrupt-pare 209 interrupts = < 210 status = "disa 211 }; 212 213 UART3: serial@ef600600 214 device_type = 215 compatible = " 216 reg = <0xef600 217 virtual-reg = 218 clock-frequenc 219 current-speed 220 interrupt-pare 221 interrupts = < 222 status = "disa 223 }; 224 225 IIC0: i2c@ef600700 { 226 compatible = " 227 reg = <0xef600 228 interrupt-pare 229 interrupts = < 230 }; 231 232 IIC1: i2c@ef600800 { 233 compatible = " 234 reg = <0xef600 235 interrupt-pare 236 interrupts = < 237 }; 238 239 spi@ef600900 { 240 compatible = " 241 reg = <0xef600 242 interrupts = < 243 interrupt-pare 244 }; 245 246 ZMII0: emac-zmii@ef600 247 compatible = " 248 reg = <0xef600 249 }; 250 251 EMAC0: ethernet@ef600e 252 device_type = 253 compatible = " 254 interrupt-pare 255 interrupts = < 256 reg = <0xef600 257 local-mac-addr 258 mal-device = < 259 mal-tx-channel 260 mal-rx-channel 261 cell-index = < 262 max-frame-size 263 rx-fifo-size = 264 tx-fifo-size = 265 phy-mode = "rm 266 phy-map = <0x0 267 zmii-device = 268 zmii-channel = 269 }; 270 271 EMAC1: ethernet@ef600f 272 device_type = 273 compatible = " 274 interrupt-pare 275 interrupts = < 276 reg = <0xef600 277 local-mac-addr 278 mal-device = < 279 mal-tx-channel 280 mal-rx-channel 281 cell-index = < 282 max-frame-size 283 rx-fifo-size = 284 tx-fifo-size = 285 phy-mode = "rm 286 phy-map = <0x0 287 zmii-device = 288 zmii-channel = 289 }; 290 291 usb@ef601000 { 292 compatible = " 293 reg = <0xef601 294 interrupts = < 295 interrupt-pare 296 }; 297 }; 298 299 PCI0: pci@ec000000 { 300 device_type = "pci"; 301 #interrupt-cells = <1> 302 #size-cells = <2>; 303 #address-cells = <3>; 304 compatible = "ibm,plb4 305 primary; 306 reg = <0x00000000 0xee 307 0x00000000 0xee 308 0x00000000 0xee 309 0x00000000 0xef 310 311 /* Outbound ranges, on 312 * later cannot be cha 313 * IO range but we don 314 */ 315 ranges = <0x02000000 0 316 0x01000000 0 317 318 /* Inbound 2GB range s 319 dma-ranges = <0x420000 320 321 interrupt-map-mask = < 322 interrupt-map = < 323 /* IDSEL 12 */ 324 0x6000 0x0 0x0 325 >; 326 }; 327 }; 328 329 chosen { 330 stdout-path = "/plb/opb/serial 331 }; 332 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.