| Stefan Roese | a62f48d | 2007-10-11 22:08:27 +1000 | [diff] [blame] | 1 | /* | 
|  | 2 | * Device Tree Source for AMCC Kilauea (405EX) | 
|  | 3 | * | 
| Stefan Roese | 13ae564 | 2009-07-29 01:40:56 +0000 | [diff] [blame] | 4 | * Copyright 2007-2009 DENX Software Engineering, Stefan Roese <sr@denx.de> | 
| Stefan Roese | a62f48d | 2007-10-11 22:08:27 +1000 | [diff] [blame] | 5 | * | 
|  | 6 | * This file is licensed under the terms of the GNU General Public | 
|  | 7 | * License version 2.  This program is licensed "as is" without | 
|  | 8 | * any warranty of any kind, whether express or implied. | 
|  | 9 | */ | 
|  | 10 |  | 
| David Gibson | 71f3497 | 2008-05-15 16:46:39 +1000 | [diff] [blame] | 11 | /dts-v1/; | 
|  | 12 |  | 
| Stefan Roese | a62f48d | 2007-10-11 22:08:27 +1000 | [diff] [blame] | 13 | / { | 
|  | 14 | #address-cells = <1>; | 
|  | 15 | #size-cells = <1>; | 
|  | 16 | model = "amcc,kilauea"; | 
|  | 17 | compatible = "amcc,kilauea"; | 
| David Gibson | 71f3497 | 2008-05-15 16:46:39 +1000 | [diff] [blame] | 18 | dcr-parent = <&{/cpus/cpu@0}>; | 
| Stefan Roese | a62f48d | 2007-10-11 22:08:27 +1000 | [diff] [blame] | 19 |  | 
| Stefan Roese | 8aaed98 | 2007-12-15 18:55:16 +1100 | [diff] [blame] | 20 | aliases { | 
|  | 21 | ethernet0 = &EMAC0; | 
|  | 22 | ethernet1 = &EMAC1; | 
|  | 23 | serial0 = &UART0; | 
|  | 24 | serial1 = &UART1; | 
|  | 25 | }; | 
|  | 26 |  | 
| Stefan Roese | a62f48d | 2007-10-11 22:08:27 +1000 | [diff] [blame] | 27 | cpus { | 
|  | 28 | #address-cells = <1>; | 
|  | 29 | #size-cells = <0>; | 
|  | 30 |  | 
| Josh Boyer | 72fda11 | 2007-12-06 13:20:05 -0600 | [diff] [blame] | 31 | cpu@0 { | 
| Stefan Roese | a62f48d | 2007-10-11 22:08:27 +1000 | [diff] [blame] | 32 | device_type = "cpu"; | 
| Josh Boyer | 72fda11 | 2007-12-06 13:20:05 -0600 | [diff] [blame] | 33 | model = "PowerPC,405EX"; | 
| David Gibson | 71f3497 | 2008-05-15 16:46:39 +1000 | [diff] [blame] | 34 | reg = <0x00000000>; | 
| Stefan Roese | a62f48d | 2007-10-11 22:08:27 +1000 | [diff] [blame] | 35 | clock-frequency = <0>; /* Filled in by U-Boot */ | 
|  | 36 | timebase-frequency = <0>; /* Filled in by U-Boot */ | 
| David Gibson | 71f3497 | 2008-05-15 16:46:39 +1000 | [diff] [blame] | 37 | i-cache-line-size = <32>; | 
|  | 38 | d-cache-line-size = <32>; | 
|  | 39 | i-cache-size = <16384>; /* 16 kB */ | 
|  | 40 | d-cache-size = <16384>; /* 16 kB */ | 
| Stefan Roese | a62f48d | 2007-10-11 22:08:27 +1000 | [diff] [blame] | 41 | dcr-controller; | 
|  | 42 | dcr-access-method = "native"; | 
|  | 43 | }; | 
|  | 44 | }; | 
|  | 45 |  | 
|  | 46 | memory { | 
|  | 47 | device_type = "memory"; | 
| David Gibson | 71f3497 | 2008-05-15 16:46:39 +1000 | [diff] [blame] | 48 | reg = <0x00000000 0x00000000>; /* Filled in by U-Boot */ | 
| Stefan Roese | a62f48d | 2007-10-11 22:08:27 +1000 | [diff] [blame] | 49 | }; | 
|  | 50 |  | 
|  | 51 | UIC0: interrupt-controller { | 
|  | 52 | compatible = "ibm,uic-405ex", "ibm,uic"; | 
|  | 53 | interrupt-controller; | 
|  | 54 | cell-index = <0>; | 
| David Gibson | 71f3497 | 2008-05-15 16:46:39 +1000 | [diff] [blame] | 55 | dcr-reg = <0x0c0 0x009>; | 
| Stefan Roese | a62f48d | 2007-10-11 22:08:27 +1000 | [diff] [blame] | 56 | #address-cells = <0>; | 
|  | 57 | #size-cells = <0>; | 
|  | 58 | #interrupt-cells = <2>; | 
|  | 59 | }; | 
|  | 60 |  | 
|  | 61 | UIC1: interrupt-controller1 { | 
|  | 62 | compatible = "ibm,uic-405ex","ibm,uic"; | 
|  | 63 | interrupt-controller; | 
|  | 64 | cell-index = <1>; | 
| David Gibson | 71f3497 | 2008-05-15 16:46:39 +1000 | [diff] [blame] | 65 | dcr-reg = <0x0d0 0x009>; | 
| Stefan Roese | a62f48d | 2007-10-11 22:08:27 +1000 | [diff] [blame] | 66 | #address-cells = <0>; | 
|  | 67 | #size-cells = <0>; | 
|  | 68 | #interrupt-cells = <2>; | 
| David Gibson | 71f3497 | 2008-05-15 16:46:39 +1000 | [diff] [blame] | 69 | interrupts = <0x1e 0x4 0x1f 0x4>; /* cascade */ | 
| Stefan Roese | a62f48d | 2007-10-11 22:08:27 +1000 | [diff] [blame] | 70 | interrupt-parent = <&UIC0>; | 
|  | 71 | }; | 
|  | 72 |  | 
|  | 73 | UIC2: interrupt-controller2 { | 
|  | 74 | compatible = "ibm,uic-405ex","ibm,uic"; | 
|  | 75 | interrupt-controller; | 
|  | 76 | cell-index = <2>; | 
| David Gibson | 71f3497 | 2008-05-15 16:46:39 +1000 | [diff] [blame] | 77 | dcr-reg = <0x0e0 0x009>; | 
| Stefan Roese | a62f48d | 2007-10-11 22:08:27 +1000 | [diff] [blame] | 78 | #address-cells = <0>; | 
|  | 79 | #size-cells = <0>; | 
|  | 80 | #interrupt-cells = <2>; | 
| David Gibson | 71f3497 | 2008-05-15 16:46:39 +1000 | [diff] [blame] | 81 | interrupts = <0x1c 0x4 0x1d 0x4>; /* cascade */ | 
| Stefan Roese | a62f48d | 2007-10-11 22:08:27 +1000 | [diff] [blame] | 82 | interrupt-parent = <&UIC0>; | 
|  | 83 | }; | 
|  | 84 |  | 
|  | 85 | plb { | 
|  | 86 | compatible = "ibm,plb-405ex", "ibm,plb4"; | 
|  | 87 | #address-cells = <1>; | 
|  | 88 | #size-cells = <1>; | 
|  | 89 | ranges; | 
|  | 90 | clock-frequency = <0>; /* Filled in by U-Boot */ | 
|  | 91 |  | 
|  | 92 | SDRAM0: memory-controller { | 
| Grant Erickson | 94ce1c5 | 2008-12-18 12:34:05 +0000 | [diff] [blame] | 93 | compatible = "ibm,sdram-405ex", "ibm,sdram-4xx-ddr2"; | 
| David Gibson | 71f3497 | 2008-05-15 16:46:39 +1000 | [diff] [blame] | 94 | dcr-reg = <0x010 0x002>; | 
| Grant Erickson | 94ce1c5 | 2008-12-18 12:34:05 +0000 | [diff] [blame] | 95 | interrupt-parent = <&UIC2>; | 
|  | 96 | interrupts = <0x5 0x4	/* ECC DED Error */ | 
|  | 97 | 0x6 0x4>;	/* ECC SEC Error */ | 
| Stefan Roese | a62f48d | 2007-10-11 22:08:27 +1000 | [diff] [blame] | 98 | }; | 
|  | 99 |  | 
| James Hsiao | 049359d | 2009-02-05 16:18:13 +1100 | [diff] [blame] | 100 | CRYPTO: crypto@ef700000 { | 
|  | 101 | compatible = "amcc,ppc405ex-crypto", "amcc,ppc4xx-crypto"; | 
|  | 102 | reg = <0xef700000 0x80400>; | 
|  | 103 | interrupt-parent = <&UIC0>; | 
|  | 104 | interrupts = <0x17 0x2>; | 
|  | 105 | }; | 
|  | 106 |  | 
| Stefan Roese | a62f48d | 2007-10-11 22:08:27 +1000 | [diff] [blame] | 107 | MAL0: mcmal { | 
|  | 108 | compatible = "ibm,mcmal-405ex", "ibm,mcmal2"; | 
| David Gibson | 71f3497 | 2008-05-15 16:46:39 +1000 | [diff] [blame] | 109 | dcr-reg = <0x180 0x062>; | 
| Stefan Roese | a62f48d | 2007-10-11 22:08:27 +1000 | [diff] [blame] | 110 | num-tx-chans = <2>; | 
|  | 111 | num-rx-chans = <2>; | 
|  | 112 | interrupt-parent = <&MAL0>; | 
| David Gibson | 71f3497 | 2008-05-15 16:46:39 +1000 | [diff] [blame] | 113 | interrupts = <0x0 0x1 0x2 0x3 0x4>; | 
| Stefan Roese | a62f48d | 2007-10-11 22:08:27 +1000 | [diff] [blame] | 114 | #interrupt-cells = <1>; | 
|  | 115 | #address-cells = <0>; | 
|  | 116 | #size-cells = <0>; | 
| David Gibson | 71f3497 | 2008-05-15 16:46:39 +1000 | [diff] [blame] | 117 | interrupt-map = </*TXEOB*/ 0x0 &UIC0 0xa 0x4 | 
|  | 118 | /*RXEOB*/ 0x1 &UIC0 0xb 0x4 | 
|  | 119 | /*SERR*/  0x2 &UIC1 0x0 0x4 | 
|  | 120 | /*TXDE*/  0x3 &UIC1 0x1 0x4 | 
|  | 121 | /*RXDE*/  0x4 &UIC1 0x2 0x4>; | 
|  | 122 | interrupt-map-mask = <0xffffffff>; | 
| Stefan Roese | a62f48d | 2007-10-11 22:08:27 +1000 | [diff] [blame] | 123 | }; | 
|  | 124 |  | 
|  | 125 | POB0: opb { | 
|  | 126 | compatible = "ibm,opb-405ex", "ibm,opb"; | 
|  | 127 | #address-cells = <1>; | 
|  | 128 | #size-cells = <1>; | 
| David Gibson | 71f3497 | 2008-05-15 16:46:39 +1000 | [diff] [blame] | 129 | ranges = <0x80000000 0x80000000 0x10000000 | 
|  | 130 | 0xef600000 0xef600000 0x00a00000 | 
|  | 131 | 0xf0000000 0xf0000000 0x10000000>; | 
|  | 132 | dcr-reg = <0x0a0 0x005>; | 
| Stefan Roese | a62f48d | 2007-10-11 22:08:27 +1000 | [diff] [blame] | 133 | clock-frequency = <0>; /* Filled in by U-Boot */ | 
|  | 134 |  | 
|  | 135 | EBC0: ebc { | 
|  | 136 | compatible = "ibm,ebc-405ex", "ibm,ebc"; | 
| David Gibson | 71f3497 | 2008-05-15 16:46:39 +1000 | [diff] [blame] | 137 | dcr-reg = <0x012 0x002>; | 
| Stefan Roese | a62f48d | 2007-10-11 22:08:27 +1000 | [diff] [blame] | 138 | #address-cells = <2>; | 
|  | 139 | #size-cells = <1>; | 
|  | 140 | clock-frequency = <0>; /* Filled in by U-Boot */ | 
|  | 141 | /* ranges property is supplied by U-Boot */ | 
| David Gibson | 71f3497 | 2008-05-15 16:46:39 +1000 | [diff] [blame] | 142 | interrupts = <0x5 0x1>; | 
| Stefan Roese | a62f48d | 2007-10-11 22:08:27 +1000 | [diff] [blame] | 143 | interrupt-parent = <&UIC1>; | 
|  | 144 |  | 
|  | 145 | nor_flash@0,0 { | 
|  | 146 | compatible = "amd,s29gl512n", "cfi-flash"; | 
|  | 147 | bank-width = <2>; | 
| David Gibson | 71f3497 | 2008-05-15 16:46:39 +1000 | [diff] [blame] | 148 | reg = <0x00000000 0x00000000 0x04000000>; | 
| Stefan Roese | a62f48d | 2007-10-11 22:08:27 +1000 | [diff] [blame] | 149 | #address-cells = <1>; | 
|  | 150 | #size-cells = <1>; | 
|  | 151 | partition@0 { | 
|  | 152 | label = "kernel"; | 
| Stefan Roese | 13ae564 | 2009-07-29 01:40:56 +0000 | [diff] [blame] | 153 | reg = <0x00000000 0x001e0000>; | 
|  | 154 | }; | 
|  | 155 | partition@1e0000 { | 
|  | 156 | label = "dtb"; | 
|  | 157 | reg = <0x001e0000 0x00020000>; | 
| Stefan Roese | a62f48d | 2007-10-11 22:08:27 +1000 | [diff] [blame] | 158 | }; | 
|  | 159 | partition@200000 { | 
|  | 160 | label = "root"; | 
| David Gibson | 71f3497 | 2008-05-15 16:46:39 +1000 | [diff] [blame] | 161 | reg = <0x00200000 0x00200000>; | 
| Stefan Roese | a62f48d | 2007-10-11 22:08:27 +1000 | [diff] [blame] | 162 | }; | 
|  | 163 | partition@400000 { | 
|  | 164 | label = "user"; | 
| David Gibson | 71f3497 | 2008-05-15 16:46:39 +1000 | [diff] [blame] | 165 | reg = <0x00400000 0x03b60000>; | 
| Stefan Roese | a62f48d | 2007-10-11 22:08:27 +1000 | [diff] [blame] | 166 | }; | 
|  | 167 | partition@3f60000 { | 
|  | 168 | label = "env"; | 
| David Gibson | 71f3497 | 2008-05-15 16:46:39 +1000 | [diff] [blame] | 169 | reg = <0x03f60000 0x00040000>; | 
| Stefan Roese | a62f48d | 2007-10-11 22:08:27 +1000 | [diff] [blame] | 170 | }; | 
|  | 171 | partition@3fa0000 { | 
|  | 172 | label = "u-boot"; | 
| David Gibson | 71f3497 | 2008-05-15 16:46:39 +1000 | [diff] [blame] | 173 | reg = <0x03fa0000 0x00060000>; | 
| Stefan Roese | a62f48d | 2007-10-11 22:08:27 +1000 | [diff] [blame] | 174 | }; | 
|  | 175 | }; | 
| Stefan Roese | 13ae564 | 2009-07-29 01:40:56 +0000 | [diff] [blame] | 176 |  | 
|  | 177 | ndfc@1,0 { | 
|  | 178 | compatible = "ibm,ndfc"; | 
|  | 179 | reg = <0x00000001 0x00000000 0x00002000>; | 
|  | 180 | ccr = <0x00001000>; | 
|  | 181 | bank-settings = <0x80002222>; | 
|  | 182 | #address-cells = <1>; | 
|  | 183 | #size-cells = <1>; | 
|  | 184 |  | 
|  | 185 | nand { | 
|  | 186 | #address-cells = <1>; | 
|  | 187 | #size-cells = <1>; | 
|  | 188 |  | 
|  | 189 | partition@0 { | 
|  | 190 | label = "u-boot"; | 
|  | 191 | reg = <0x00000000 0x00100000>; | 
|  | 192 | }; | 
|  | 193 | partition@100000 { | 
|  | 194 | label = "user"; | 
|  | 195 | reg = <0x00000000 0x03f00000>; | 
|  | 196 | }; | 
|  | 197 | }; | 
|  | 198 | }; | 
| Stefan Roese | a62f48d | 2007-10-11 22:08:27 +1000 | [diff] [blame] | 199 | }; | 
|  | 200 |  | 
|  | 201 | UART0: serial@ef600200 { | 
|  | 202 | device_type = "serial"; | 
|  | 203 | compatible = "ns16550"; | 
| David Gibson | 71f3497 | 2008-05-15 16:46:39 +1000 | [diff] [blame] | 204 | reg = <0xef600200 0x00000008>; | 
|  | 205 | virtual-reg = <0xef600200>; | 
| Stefan Roese | a62f48d | 2007-10-11 22:08:27 +1000 | [diff] [blame] | 206 | clock-frequency = <0>; /* Filled in by U-Boot */ | 
|  | 207 | current-speed = <0>; | 
|  | 208 | interrupt-parent = <&UIC0>; | 
| David Gibson | 71f3497 | 2008-05-15 16:46:39 +1000 | [diff] [blame] | 209 | interrupts = <0x1a 0x4>; | 
| Stefan Roese | a62f48d | 2007-10-11 22:08:27 +1000 | [diff] [blame] | 210 | }; | 
|  | 211 |  | 
|  | 212 | UART1: serial@ef600300 { | 
|  | 213 | device_type = "serial"; | 
|  | 214 | compatible = "ns16550"; | 
| David Gibson | 71f3497 | 2008-05-15 16:46:39 +1000 | [diff] [blame] | 215 | reg = <0xef600300 0x00000008>; | 
|  | 216 | virtual-reg = <0xef600300>; | 
| Stefan Roese | a62f48d | 2007-10-11 22:08:27 +1000 | [diff] [blame] | 217 | clock-frequency = <0>; /* Filled in by U-Boot */ | 
|  | 218 | current-speed = <0>; | 
|  | 219 | interrupt-parent = <&UIC0>; | 
| David Gibson | 71f3497 | 2008-05-15 16:46:39 +1000 | [diff] [blame] | 220 | interrupts = <0x1 0x4>; | 
| Stefan Roese | a62f48d | 2007-10-11 22:08:27 +1000 | [diff] [blame] | 221 | }; | 
|  | 222 |  | 
|  | 223 | IIC0: i2c@ef600400 { | 
| Stefan Roese | a62f48d | 2007-10-11 22:08:27 +1000 | [diff] [blame] | 224 | compatible = "ibm,iic-405ex", "ibm,iic"; | 
| David Gibson | 71f3497 | 2008-05-15 16:46:39 +1000 | [diff] [blame] | 225 | reg = <0xef600400 0x00000014>; | 
| Stefan Roese | a62f48d | 2007-10-11 22:08:27 +1000 | [diff] [blame] | 226 | interrupt-parent = <&UIC0>; | 
| David Gibson | 71f3497 | 2008-05-15 16:46:39 +1000 | [diff] [blame] | 227 | interrupts = <0x2 0x4>; | 
| Stefan Roese | 13ae564 | 2009-07-29 01:40:56 +0000 | [diff] [blame] | 228 | #address-cells = <1>; | 
|  | 229 | #size-cells = <0>; | 
|  | 230 |  | 
|  | 231 | rtc@68 { | 
|  | 232 | compatible = "dallas,ds1338"; | 
|  | 233 | reg = <0x68>; | 
|  | 234 | }; | 
|  | 235 |  | 
|  | 236 | dtt@48 { | 
|  | 237 | compatible = "dallas,ds1775"; | 
|  | 238 | reg = <0x48>; | 
|  | 239 | }; | 
| Stefan Roese | a62f48d | 2007-10-11 22:08:27 +1000 | [diff] [blame] | 240 | }; | 
|  | 241 |  | 
|  | 242 | IIC1: i2c@ef600500 { | 
| Stefan Roese | a62f48d | 2007-10-11 22:08:27 +1000 | [diff] [blame] | 243 | compatible = "ibm,iic-405ex", "ibm,iic"; | 
| David Gibson | 71f3497 | 2008-05-15 16:46:39 +1000 | [diff] [blame] | 244 | reg = <0xef600500 0x00000014>; | 
| Stefan Roese | a62f48d | 2007-10-11 22:08:27 +1000 | [diff] [blame] | 245 | interrupt-parent = <&UIC0>; | 
| David Gibson | 71f3497 | 2008-05-15 16:46:39 +1000 | [diff] [blame] | 246 | interrupts = <0x7 0x4>; | 
| Stefan Roese | a62f48d | 2007-10-11 22:08:27 +1000 | [diff] [blame] | 247 | }; | 
|  | 248 |  | 
| Stefan Roese | a62f48d | 2007-10-11 22:08:27 +1000 | [diff] [blame] | 249 | RGMII0: emac-rgmii@ef600b00 { | 
| Stefan Roese | a62f48d | 2007-10-11 22:08:27 +1000 | [diff] [blame] | 250 | compatible = "ibm,rgmii-405ex", "ibm,rgmii"; | 
| David Gibson | 71f3497 | 2008-05-15 16:46:39 +1000 | [diff] [blame] | 251 | reg = <0xef600b00 0x00000104>; | 
| Stefan Roese | 0a6ea8b | 2007-12-01 21:25:00 +1100 | [diff] [blame] | 252 | has-mdio; | 
| Stefan Roese | a62f48d | 2007-10-11 22:08:27 +1000 | [diff] [blame] | 253 | }; | 
|  | 254 |  | 
|  | 255 | EMAC0: ethernet@ef600900 { | 
| David Gibson | 71f3497 | 2008-05-15 16:46:39 +1000 | [diff] [blame] | 256 | linux,network-index = <0x0>; | 
| Stefan Roese | a62f48d | 2007-10-11 22:08:27 +1000 | [diff] [blame] | 257 | device_type = "network"; | 
| Grant Erickson | 05781cc | 2008-07-08 08:03:11 +1000 | [diff] [blame] | 258 | compatible = "ibm,emac-405ex", "ibm,emac4sync"; | 
| Stefan Roese | a62f48d | 2007-10-11 22:08:27 +1000 | [diff] [blame] | 259 | interrupt-parent = <&EMAC0>; | 
| David Gibson | 71f3497 | 2008-05-15 16:46:39 +1000 | [diff] [blame] | 260 | interrupts = <0x0 0x1>; | 
| Stefan Roese | a62f48d | 2007-10-11 22:08:27 +1000 | [diff] [blame] | 261 | #interrupt-cells = <1>; | 
|  | 262 | #address-cells = <0>; | 
|  | 263 | #size-cells = <0>; | 
| David Gibson | 71f3497 | 2008-05-15 16:46:39 +1000 | [diff] [blame] | 264 | interrupt-map = </*Status*/ 0x0 &UIC0 0x18 0x4 | 
|  | 265 | /*Wake*/  0x1 &UIC1 0x1d 0x4>; | 
| Grant Erickson | 05781cc | 2008-07-08 08:03:11 +1000 | [diff] [blame] | 266 | reg = <0xef600900 0x000000c4>; | 
| Stefan Roese | a62f48d | 2007-10-11 22:08:27 +1000 | [diff] [blame] | 267 | local-mac-address = [000000000000]; /* Filled in by U-Boot */ | 
|  | 268 | mal-device = <&MAL0>; | 
|  | 269 | mal-tx-channel = <0>; | 
|  | 270 | mal-rx-channel = <0>; | 
|  | 271 | cell-index = <0>; | 
| David Gibson | 71f3497 | 2008-05-15 16:46:39 +1000 | [diff] [blame] | 272 | max-frame-size = <9000>; | 
|  | 273 | rx-fifo-size = <4096>; | 
|  | 274 | tx-fifo-size = <2048>; | 
| Dave Mitchell | 835ad8e | 2009-10-08 06:33:29 +0000 | [diff] [blame] | 275 | rx-fifo-size-gige = <16384>; | 
|  | 276 | tx-fifo-size-gige = <16384>; | 
| Stefan Roese | a62f48d | 2007-10-11 22:08:27 +1000 | [diff] [blame] | 277 | phy-mode = "rgmii"; | 
| David Gibson | 71f3497 | 2008-05-15 16:46:39 +1000 | [diff] [blame] | 278 | phy-map = <0x00000000>; | 
| Stefan Roese | a62f48d | 2007-10-11 22:08:27 +1000 | [diff] [blame] | 279 | rgmii-device = <&RGMII0>; | 
|  | 280 | rgmii-channel = <0>; | 
| Stefan Roese | 0a6ea8b | 2007-12-01 21:25:00 +1100 | [diff] [blame] | 281 | has-inverted-stacr-oc; | 
|  | 282 | has-new-stacr-staopc; | 
| Stefan Roese | a62f48d | 2007-10-11 22:08:27 +1000 | [diff] [blame] | 283 | }; | 
|  | 284 |  | 
|  | 285 | EMAC1: ethernet@ef600a00 { | 
| David Gibson | 71f3497 | 2008-05-15 16:46:39 +1000 | [diff] [blame] | 286 | linux,network-index = <0x1>; | 
| Stefan Roese | a62f48d | 2007-10-11 22:08:27 +1000 | [diff] [blame] | 287 | device_type = "network"; | 
| Grant Erickson | 05781cc | 2008-07-08 08:03:11 +1000 | [diff] [blame] | 288 | compatible = "ibm,emac-405ex", "ibm,emac4sync"; | 
| Stefan Roese | a62f48d | 2007-10-11 22:08:27 +1000 | [diff] [blame] | 289 | interrupt-parent = <&EMAC1>; | 
| David Gibson | 71f3497 | 2008-05-15 16:46:39 +1000 | [diff] [blame] | 290 | interrupts = <0x0 0x1>; | 
| Stefan Roese | a62f48d | 2007-10-11 22:08:27 +1000 | [diff] [blame] | 291 | #interrupt-cells = <1>; | 
|  | 292 | #address-cells = <0>; | 
|  | 293 | #size-cells = <0>; | 
| David Gibson | 71f3497 | 2008-05-15 16:46:39 +1000 | [diff] [blame] | 294 | interrupt-map = </*Status*/ 0x0 &UIC0 0x19 0x4 | 
|  | 295 | /*Wake*/  0x1 &UIC1 0x1f 0x4>; | 
| Grant Erickson | 05781cc | 2008-07-08 08:03:11 +1000 | [diff] [blame] | 296 | reg = <0xef600a00 0x000000c4>; | 
| Stefan Roese | a62f48d | 2007-10-11 22:08:27 +1000 | [diff] [blame] | 297 | local-mac-address = [000000000000]; /* Filled in by U-Boot */ | 
|  | 298 | mal-device = <&MAL0>; | 
|  | 299 | mal-tx-channel = <1>; | 
|  | 300 | mal-rx-channel = <1>; | 
|  | 301 | cell-index = <1>; | 
| David Gibson | 71f3497 | 2008-05-15 16:46:39 +1000 | [diff] [blame] | 302 | max-frame-size = <9000>; | 
|  | 303 | rx-fifo-size = <4096>; | 
|  | 304 | tx-fifo-size = <2048>; | 
| Dave Mitchell | 835ad8e | 2009-10-08 06:33:29 +0000 | [diff] [blame] | 305 | rx-fifo-size-gige = <16384>; | 
|  | 306 | tx-fifo-size-gige = <16384>; | 
| Stefan Roese | a62f48d | 2007-10-11 22:08:27 +1000 | [diff] [blame] | 307 | phy-mode = "rgmii"; | 
| David Gibson | 71f3497 | 2008-05-15 16:46:39 +1000 | [diff] [blame] | 308 | phy-map = <0x00000000>; | 
| Stefan Roese | a62f48d | 2007-10-11 22:08:27 +1000 | [diff] [blame] | 309 | rgmii-device = <&RGMII0>; | 
|  | 310 | rgmii-channel = <1>; | 
| Stefan Roese | 0a6ea8b | 2007-12-01 21:25:00 +1100 | [diff] [blame] | 311 | has-inverted-stacr-oc; | 
|  | 312 | has-new-stacr-staopc; | 
| Stefan Roese | a62f48d | 2007-10-11 22:08:27 +1000 | [diff] [blame] | 313 | }; | 
|  | 314 | }; | 
| Stefan Roese | 151161c | 2007-12-07 20:34:26 +1100 | [diff] [blame] | 315 |  | 
|  | 316 | PCIE0: pciex@0a0000000 { | 
|  | 317 | device_type = "pci"; | 
|  | 318 | #interrupt-cells = <1>; | 
|  | 319 | #size-cells = <2>; | 
|  | 320 | #address-cells = <3>; | 
|  | 321 | compatible = "ibm,plb-pciex-405ex", "ibm,plb-pciex"; | 
|  | 322 | primary; | 
| David Gibson | 71f3497 | 2008-05-15 16:46:39 +1000 | [diff] [blame] | 323 | port = <0x0>; /* port number */ | 
|  | 324 | reg = <0xa0000000 0x20000000	/* Config space access */ | 
|  | 325 | 0xef000000 0x00001000>;	/* Registers */ | 
|  | 326 | dcr-reg = <0x040 0x020>; | 
|  | 327 | sdr-base = <0x400>; | 
| Stefan Roese | 151161c | 2007-12-07 20:34:26 +1100 | [diff] [blame] | 328 |  | 
|  | 329 | /* Outbound ranges, one memory and one IO, | 
|  | 330 | * later cannot be changed | 
|  | 331 | */ | 
| David Gibson | 71f3497 | 2008-05-15 16:46:39 +1000 | [diff] [blame] | 332 | ranges = <0x02000000 0x00000000 0x80000000 0x90000000 0x00000000 0x08000000 | 
|  | 333 | 0x01000000 0x00000000 0x00000000 0xe0000000 0x00000000 0x00010000>; | 
| Stefan Roese | 151161c | 2007-12-07 20:34:26 +1100 | [diff] [blame] | 334 |  | 
|  | 335 | /* Inbound 2GB range starting at 0 */ | 
| David Gibson | 71f3497 | 2008-05-15 16:46:39 +1000 | [diff] [blame] | 336 | dma-ranges = <0x42000000 0x0 0x0 0x0 0x0 0x80000000>; | 
| Stefan Roese | 151161c | 2007-12-07 20:34:26 +1100 | [diff] [blame] | 337 |  | 
| Stefan Roese | dc88416 | 2007-12-15 19:10:56 +1100 | [diff] [blame] | 338 | /* This drives busses 0x00 to 0x3f */ | 
| David Gibson | 71f3497 | 2008-05-15 16:46:39 +1000 | [diff] [blame] | 339 | bus-range = <0x0 0x3f>; | 
| Stefan Roese | 151161c | 2007-12-07 20:34:26 +1100 | [diff] [blame] | 340 |  | 
|  | 341 | /* Legacy interrupts (note the weird polarity, the bridge seems | 
|  | 342 | * to invert PCIe legacy interrupts). | 
|  | 343 | * We are de-swizzling here because the numbers are actually for | 
|  | 344 | * port of the root complex virtual P2P bridge. But I want | 
|  | 345 | * to avoid putting a node for it in the tree, so the numbers | 
|  | 346 | * below are basically de-swizzled numbers. | 
|  | 347 | * The real slot is on idsel 0, so the swizzling is 1:1 | 
|  | 348 | */ | 
| David Gibson | 71f3497 | 2008-05-15 16:46:39 +1000 | [diff] [blame] | 349 | interrupt-map-mask = <0x0 0x0 0x0 0x7>; | 
| Stefan Roese | 151161c | 2007-12-07 20:34:26 +1100 | [diff] [blame] | 350 | interrupt-map = < | 
| David Gibson | 71f3497 | 2008-05-15 16:46:39 +1000 | [diff] [blame] | 351 | 0x0 0x0 0x0 0x1 &UIC2 0x0 0x4 /* swizzled int A */ | 
|  | 352 | 0x0 0x0 0x0 0x2 &UIC2 0x1 0x4 /* swizzled int B */ | 
|  | 353 | 0x0 0x0 0x0 0x3 &UIC2 0x2 0x4 /* swizzled int C */ | 
|  | 354 | 0x0 0x0 0x0 0x4 &UIC2 0x3 0x4 /* swizzled int D */>; | 
| Stefan Roese | 151161c | 2007-12-07 20:34:26 +1100 | [diff] [blame] | 355 | }; | 
|  | 356 |  | 
|  | 357 | PCIE1: pciex@0c0000000 { | 
|  | 358 | device_type = "pci"; | 
|  | 359 | #interrupt-cells = <1>; | 
|  | 360 | #size-cells = <2>; | 
|  | 361 | #address-cells = <3>; | 
|  | 362 | compatible = "ibm,plb-pciex-405ex", "ibm,plb-pciex"; | 
|  | 363 | primary; | 
| David Gibson | 71f3497 | 2008-05-15 16:46:39 +1000 | [diff] [blame] | 364 | port = <0x1>; /* port number */ | 
|  | 365 | reg = <0xc0000000 0x20000000	/* Config space access */ | 
|  | 366 | 0xef001000 0x00001000>;	/* Registers */ | 
|  | 367 | dcr-reg = <0x060 0x020>; | 
|  | 368 | sdr-base = <0x440>; | 
| Stefan Roese | 151161c | 2007-12-07 20:34:26 +1100 | [diff] [blame] | 369 |  | 
|  | 370 | /* Outbound ranges, one memory and one IO, | 
|  | 371 | * later cannot be changed | 
|  | 372 | */ | 
| David Gibson | 71f3497 | 2008-05-15 16:46:39 +1000 | [diff] [blame] | 373 | ranges = <0x02000000 0x00000000 0x80000000 0x98000000 0x00000000 0x08000000 | 
|  | 374 | 0x01000000 0x00000000 0x00000000 0xe0010000 0x00000000 0x00010000>; | 
| Stefan Roese | 151161c | 2007-12-07 20:34:26 +1100 | [diff] [blame] | 375 |  | 
|  | 376 | /* Inbound 2GB range starting at 0 */ | 
| David Gibson | 71f3497 | 2008-05-15 16:46:39 +1000 | [diff] [blame] | 377 | dma-ranges = <0x42000000 0x0 0x0 0x0 0x0 0x80000000>; | 
| Stefan Roese | 151161c | 2007-12-07 20:34:26 +1100 | [diff] [blame] | 378 |  | 
| Stefan Roese | dc88416 | 2007-12-15 19:10:56 +1100 | [diff] [blame] | 379 | /* This drives busses 0x40 to 0x7f */ | 
| David Gibson | 71f3497 | 2008-05-15 16:46:39 +1000 | [diff] [blame] | 380 | bus-range = <0x40 0x7f>; | 
| Stefan Roese | 151161c | 2007-12-07 20:34:26 +1100 | [diff] [blame] | 381 |  | 
|  | 382 | /* Legacy interrupts (note the weird polarity, the bridge seems | 
|  | 383 | * to invert PCIe legacy interrupts). | 
|  | 384 | * We are de-swizzling here because the numbers are actually for | 
|  | 385 | * port of the root complex virtual P2P bridge. But I want | 
|  | 386 | * to avoid putting a node for it in the tree, so the numbers | 
|  | 387 | * below are basically de-swizzled numbers. | 
|  | 388 | * The real slot is on idsel 0, so the swizzling is 1:1 | 
|  | 389 | */ | 
| David Gibson | 71f3497 | 2008-05-15 16:46:39 +1000 | [diff] [blame] | 390 | interrupt-map-mask = <0x0 0x0 0x0 0x7>; | 
| Stefan Roese | 151161c | 2007-12-07 20:34:26 +1100 | [diff] [blame] | 391 | interrupt-map = < | 
| David Gibson | 71f3497 | 2008-05-15 16:46:39 +1000 | [diff] [blame] | 392 | 0x0 0x0 0x0 0x1 &UIC2 0xb 0x4 /* swizzled int A */ | 
|  | 393 | 0x0 0x0 0x0 0x2 &UIC2 0xc 0x4 /* swizzled int B */ | 
|  | 394 | 0x0 0x0 0x0 0x3 &UIC2 0xd 0x4 /* swizzled int C */ | 
|  | 395 | 0x0 0x0 0x0 0x4 &UIC2 0xe 0x4 /* swizzled int D */>; | 
| Stefan Roese | 151161c | 2007-12-07 20:34:26 +1100 | [diff] [blame] | 396 | }; | 
| Stefan Roese | a62f48d | 2007-10-11 22:08:27 +1000 | [diff] [blame] | 397 | }; | 
|  | 398 | }; |