1 /* 2 * Device Tree Source for ACube Sam440ep base 3 * original copyrights below 4 * 5 * Copyright (c) 2006, 2007 IBM Corp. 6 * Josh Boyer <jwboyer@linux.vnet.ibm.com> 7 * 8 * Modified from bamboo.dts for sam440ep: 9 * Copyright 2008 Giuseppe Coviello <gicoviello 10 * 11 * This file is licensed under the terms of th 12 * License version 2. This program is license 13 * any warranty of any kind, whether express o 14 */ 15 16 /dts-v1/; 17 18 / { 19 #address-cells = <2>; 20 #size-cells = <1>; 21 model = "acube,sam440ep"; 22 compatible = "acube,sam440ep"; 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 = <0>; 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 = <0 0 0>; /* Filled in by 55 }; 56 57 UIC0: interrupt-controller0 { 58 compatible = "ibm,uic-440ep"," 59 interrupt-controller; 60 cell-index = <0>; 61 dcr-reg = <0x0c0 9>; 62 #address-cells = <0>; 63 #size-cells = <0>; 64 #interrupt-cells = <2>; 65 }; 66 67 UIC1: interrupt-controller1 { 68 compatible = "ibm,uic-440ep"," 69 interrupt-controller; 70 cell-index = <1>; 71 dcr-reg = <0x0d0 9>; 72 #address-cells = <0>; 73 #size-cells = <0>; 74 #interrupt-cells = <2>; 75 interrupts = <0x1e 4 0x1f 4>; 76 interrupt-parent = <&UIC0>; 77 }; 78 79 SDR0: sdr { 80 compatible = "ibm,sdr-440ep"; 81 dcr-reg = <0x00e 2>; 82 }; 83 84 CPR0: cpr { 85 compatible = "ibm,cpr-440ep"; 86 dcr-reg = <0x00c 2>; 87 }; 88 89 plb { 90 compatible = "ibm,plb-440ep", 91 #address-cells = <2>; 92 #size-cells = <1>; 93 ranges; 94 clock-frequency = <0>; /* Fill 95 96 SDRAM0: sdram { 97 compatible = "ibm,sdra 98 dcr-reg = <0x010 2>; 99 }; 100 101 DMA0: dma { 102 compatible = "ibm,dma- 103 dcr-reg = <0x100 0x027 104 }; 105 106 MAL0: mcmal { 107 compatible = "ibm,mcma 108 dcr-reg = <0x180 0x062 109 num-tx-chans = <4>; 110 num-rx-chans = <2>; 111 interrupt-parent = <&M 112 interrupts = <0 1 2 3 113 #interrupt-cells = <1> 114 #address-cells = <0>; 115 #size-cells = <0>; 116 interrupt-map = </*TXE 117 /*RXEO 118 /*SERR 119 /*TXDE 120 /*RXDE 121 }; 122 123 POB0: opb { 124 compatible = "ibm,opb- 125 #address-cells = <1>; 126 #size-cells = <1>; 127 /* Bamboo is oddball i 128 * bits. 129 */ 130 ranges = <0x00000000 0 131 0x80000000 0 132 interrupt-parent = <&U 133 interrupts = <7 4>; 134 clock-frequency = <0>; 135 136 EBC0: ebc { 137 compatible = " 138 dcr-reg = <0x0 139 #address-cells 140 #size-cells = 141 clock-frequenc 142 interrupts = < 143 interrupt-pare 144 }; 145 146 UART0: serial@ef600300 147 device_type = 148 compatible = " 149 reg = <0xef600 150 virtual-reg = 151 clock-frequenc 152 current-speed 153 interrupt-pare 154 interrupts = < 155 }; 156 157 UART1: serial@ef600400 158 device_type = 159 compatible = " 160 reg = <0xef600 161 virtual-reg = 162 clock-frequenc 163 current-speed 164 interrupt-pare 165 interrupts = < 166 }; 167 168 UART2: serial@ef600500 169 device_type = 170 compatible = " 171 reg = <0xef600 172 virtual-reg = 173 clock-frequenc 174 current-speed 175 interrupt-pare 176 interrupts = < 177 }; 178 179 UART3: serial@ef600600 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 IIC0: i2c@ef600700 { 191 #address-cells 192 #size-cells = 193 compatible = " 194 index = <0>; 195 reg = <0xef600 196 interrupt-pare 197 interrupts = < 198 rtc@68 { 199 compat 200 reg = 201 }; 202 }; 203 204 IIC1: i2c@ef600800 { 205 compatible = " 206 index = <5>; 207 reg = <0xef600 208 interrupt-pare 209 interrupts = < 210 }; 211 212 ZMII0: emac-zmii@ef600 213 compatible = " 214 reg = <0xef600 215 }; 216 217 EMAC0: ethernet@ef600e 218 linux,network- 219 device_type = 220 compatible = " 221 interrupt-pare 222 interrupts = < 223 reg = <0xef600 224 local-mac-addr 225 mal-device = < 226 mal-tx-channel 227 mal-rx-channel 228 cell-index = < 229 max-frame-size 230 rx-fifo-size = 231 tx-fifo-size = 232 phy-mode = "rm 233 phy-map = <000 234 zmii-device = 235 zmii-channel = 236 }; 237 238 EMAC1: ethernet@ef600f 239 linux,network- 240 device_type = 241 compatible = " 242 interrupt-pare 243 interrupts = < 244 reg = <0xef600 245 local-mac-addr 246 mal-device = < 247 mal-tx-channel 248 mal-rx-channel 249 cell-index = < 250 max-frame-size 251 rx-fifo-size = 252 tx-fifo-size = 253 phy-mode = "rm 254 phy-map = <000 255 zmii-device = 256 zmii-channel = 257 }; 258 usb@ef601000 { 259 compatible = " 260 reg = <0xef601 261 interrupts = < 262 interrupt-pare 263 }; 264 }; 265 266 PCI0: pci@ec000000 { 267 device_type = "pci"; 268 #interrupt-cells = <1> 269 #size-cells = <2>; 270 #address-cells = <3>; 271 compatible = "ibm,plb4 272 primary; 273 reg = <0 0xeec00000 8 274 0 0xeed00000 4 275 0 0xeed00000 4 276 0 0xef400000 0x 277 278 /* Outbound ranges, on 279 * later cannot be cha 280 * IO range but we don 281 */ 282 ranges = <0x02000000 0 283 0x01000000 0 284 285 /* Inbound 2GB range s 286 dma-ranges = <0x420000 287 }; 288 }; 289 290 chosen { 291 stdout-path = "/plb/opb/serial 292 }; 293 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.