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