1 /* 2 * Device Tree Source for IBM Ebony 3 * 4 * Copyright (c) 2006, 2007 IBM Corp. 5 * Josh Boyer <jwboyer@linux.vnet.ibm.com>, Dav 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 /dts-v1/; 15 16 / { 17 #address-cells = <2>; 18 #size-cells = <1>; 19 model = "ibm,ebony"; 20 compatible = "ibm,ebony"; 21 dcr-parent = <&{/cpus/cpu@0}>; 22 23 aliases { 24 ethernet0 = &EMAC0; 25 ethernet1 = &EMAC1; 26 serial0 = &UART0; 27 serial1 = &UART1; 28 }; 29 30 cpus { 31 #address-cells = <1>; 32 #size-cells = <0>; 33 34 cpu@0 { 35 device_type = "cpu"; 36 model = "PowerPC,440GP 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-440gp", 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 65 UIC1: interrupt-controller1 { 66 compatible = "ibm,uic-440gp", 67 interrupt-controller; 68 cell-index = <1>; 69 dcr-reg = <0x0d0 0x009>; 70 #address-cells = <0>; 71 #size-cells = <0>; 72 #interrupt-cells = <2>; 73 interrupts = <0x1e 0x4 0x1f 0x 74 interrupt-parent = <&UIC0>; 75 }; 76 77 CPC0: cpc { 78 compatible = "ibm,cpc-440gp"; 79 dcr-reg = <0x0b0 0x003 0x0e0 0 80 // FIXME: anything else? 81 }; 82 83 plb { 84 compatible = "ibm,plb-440gp", 85 #address-cells = <2>; 86 #size-cells = <1>; 87 ranges; 88 clock-frequency = <0>; // Fill 89 90 SDRAM0: memory-controller { 91 compatible = "ibm,sdra 92 dcr-reg = <0x010 0x002 93 // FIXME: anything els 94 }; 95 96 SRAM0: sram { 97 compatible = "ibm,sram 98 dcr-reg = <0x020 0x008 99 }; 100 101 DMA0: dma { 102 // FIXME: ??? 103 compatible = "ibm,dma- 104 dcr-reg = <0x100 0x027 105 }; 106 107 MAL0: mcmal { 108 compatible = "ibm,mcma 109 dcr-reg = <0x180 0x062 110 num-tx-chans = <4>; 111 num-rx-chans = <4>; 112 interrupt-parent = <&M 113 interrupts = <0x0 0x1 114 #interrupt-cells = <1> 115 #address-cells = <0>; 116 #size-cells = <0>; 117 interrupt-map = </*TXE 118 /*RXE 119 /*SER 120 /*TXD 121 /*RXD 122 interrupt-map-mask = < 123 }; 124 125 POB0: opb { 126 compatible = "ibm,opb- 127 #address-cells = <1>; 128 #size-cells = <1>; 129 /* Wish there was a ni 130 range */ 131 ranges = <0x00000000 0 132 0x80000000 0 133 dcr-reg = <0x090 0x00b 134 interrupt-parent = <&U 135 interrupts = <0x7 0x4> 136 clock-frequency = <0>; 137 138 EBC0: ebc { 139 compatible = " 140 dcr-reg = <0x0 141 #address-cells 142 #size-cells = 143 clock-frequenc 144 // ranges prop 145 // based on fi 146 // EBC bridge 147 interrupts = < 148 interrupt-pare 149 150 small-flash@0, 151 compat 152 bank-w 153 reg = 154 #addre 155 #size- 156 partit 157 158 159 160 }; 161 }; 162 163 nvram@1,0 { 164 /* NVR 165 compat 166 #bytes 167 reg = 168 }; 169 170 large-flash@2, 171 compat 172 bank-w 173 reg = 174 #addre 175 #size- 176 partit 177 178 179 }; 180 partit 181 182 183 }; 184 }; 185 186 ir@3,0 { 187 reg = 188 }; 189 190 fpga@7,0 { 191 compat 192 reg = 193 virtua 194 }; 195 }; 196 197 UART0: serial@40000200 198 device_type = 199 compatible = " 200 reg = <0x40000 201 virtual-reg = 202 clock-frequenc 203 current-speed 204 interrupt-pare 205 interrupts = < 206 }; 207 208 UART1: serial@40000300 209 device_type = 210 compatible = " 211 reg = <0x40000 212 virtual-reg = 213 clock-frequenc 214 current-speed 215 interrupt-pare 216 interrupts = < 217 }; 218 219 IIC0: i2c@40000400 { 220 /* FIXME */ 221 compatible = " 222 reg = <0x40000 223 interrupt-pare 224 interrupts = < 225 }; 226 IIC1: i2c@40000500 { 227 /* FIXME */ 228 compatible = " 229 reg = <0x40000 230 interrupt-pare 231 interrupts = < 232 }; 233 234 GPIO0: gpio@40000700 { 235 /* FIXME */ 236 compatible = " 237 reg = <0x40000 238 }; 239 240 ZMII0: emac-zmii@40000 241 compatible = " 242 reg = <0x40000 243 }; 244 245 EMAC0: ethernet@400008 246 device_type = 247 compatible = " 248 interrupt-pare 249 interrupts = < 250 reg = <0x40000 251 local-mac-addr 252 mal-device = < 253 mal-tx-channel 254 mal-rx-channel 255 cell-index = < 256 max-frame-size 257 rx-fifo-size = 258 tx-fifo-size = 259 phy-mode = "rm 260 phy-map = <0x0 261 zmii-device = 262 zmii-channel = 263 }; 264 EMAC1: ethernet@400009 265 device_type = 266 compatible = " 267 interrupt-pare 268 interrupts = < 269 reg = <0x40000 270 local-mac-addr 271 mal-device = < 272 mal-tx-channel 273 mal-rx-channel 274 cell-index = < 275 max-frame-size 276 rx-fifo-size = 277 tx-fifo-size = 278 phy-mode = "rm 279 phy-map = <0x0 280 zmii-device = 281 zmii-channel = 282 }; 283 284 285 GPT0: gpt@40000a00 { 286 /* FIXME */ 287 reg = <0x40000 288 interrupt-pare 289 interrupts = < 290 }; 291 292 }; 293 294 PCIX0: pci@20ec00000 { 295 device_type = "pci"; 296 #interrupt-cells = <1> 297 #size-cells = <2>; 298 #address-cells = <3>; 299 compatible = "ibm,plb4 300 primary; 301 reg = <0x00000002 0x0e 302 0x00000000 0x00 303 0x00000002 0x0e 304 0x00000002 0x0e 305 0x00000002 0x0e 306 307 /* Outbound ranges, on 308 * later cannot be cha 309 */ 310 ranges = <0x02000000 0 311 0x01000000 0 312 313 /* Inbound 2GB range s 314 dma-ranges = <0x420000 315 316 /* Ebony has all 4 IRQ 317 interrupt-map-mask = < 318 interrupt-map = < 319 /* IDSEL 1 */ 320 0x800 0x0 0x0 321 322 /* IDSEL 2 */ 323 0x1000 0x0 0x0 324 325 /* IDSEL 3 */ 326 0x1800 0x0 0x0 327 328 /* IDSEL 4 */ 329 0x2000 0x0 0x0 330 >; 331 }; 332 }; 333 334 chosen { 335 stdout-path = "/plb/opb/serial 336 }; 337 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.