Alexandr Smirnov | ee0a3f5 | 2008-03-06 18:14:51 +0300 | [diff] [blame] | 1 | /* |
| 2 | * Device Tree Source for Emerson KSI8560 |
| 3 | * |
| 4 | * Author: Alexandr Smirnov <asmirnov@ru.mvista.com> |
| 5 | * |
| 6 | * Based on mpc8560ads.dts |
| 7 | * |
| 8 | * 2008 (c) MontaVista, Software, Inc. This file is licensed under |
| 9 | * the terms of the GNU General Public License version 2. This program |
| 10 | * is licensed "as is" without any warranty of any kind, whether express |
| 11 | * or implied. |
| 12 | * |
| 13 | */ |
| 14 | |
| 15 | /dts-v1/; |
| 16 | |
| 17 | / { |
| 18 | model = "KSI8560"; |
| 19 | compatible = "emerson,KSI8560"; |
| 20 | #address-cells = <1>; |
| 21 | #size-cells = <1>; |
| 22 | |
| 23 | aliases { |
| 24 | ethernet0 = &enet0; |
| 25 | ethernet1 = &enet1; |
| 26 | ethernet2 = &enet2; |
| 27 | }; |
| 28 | |
| 29 | cpus { |
| 30 | #address-cells = <1>; |
| 31 | #size-cells = <0>; |
| 32 | |
| 33 | PowerPC,8560@0 { |
| 34 | device_type = "cpu"; |
| 35 | reg = <0>; |
| 36 | d-cache-line-size = <32>; |
| 37 | i-cache-line-size = <32>; |
| 38 | d-cache-size = <0x8000>; /* L1, 32K */ |
| 39 | i-cache-size = <0x8000>; /* L1, 32K */ |
| 40 | timebase-frequency = <0>; /* From U-boot */ |
| 41 | bus-frequency = <0>; /* From U-boot */ |
| 42 | clock-frequency = <0>; /* From U-boot */ |
Kumar Gala | c054065 | 2008-05-30 13:43:43 -0500 | [diff] [blame] | 43 | next-level-cache = <&L2>; |
Alexandr Smirnov | ee0a3f5 | 2008-03-06 18:14:51 +0300 | [diff] [blame] | 44 | }; |
| 45 | }; |
| 46 | |
| 47 | memory { |
| 48 | device_type = "memory"; |
| 49 | reg = <0x00000000 0x10000000>; /* Fixed by bootwrapper */ |
| 50 | }; |
| 51 | |
| 52 | soc@fdf00000 { |
| 53 | #address-cells = <1>; |
| 54 | #size-cells = <1>; |
| 55 | device_type = "soc"; |
| 56 | ranges = <0x00000000 0xfdf00000 0x00100000>; |
| 57 | bus-frequency = <0>; /* Fixed by bootwrapper */ |
| 58 | |
| 59 | memory-controller@2000 { |
| 60 | compatible = "fsl,8540-memory-controller"; |
| 61 | reg = <0x2000 0x1000>; |
| 62 | interrupt-parent = <&MPIC>; |
| 63 | interrupts = <0x12 0x2>; |
| 64 | }; |
| 65 | |
Kumar Gala | c054065 | 2008-05-30 13:43:43 -0500 | [diff] [blame] | 66 | L2: l2-cache-controller@20000 { |
Alexandr Smirnov | ee0a3f5 | 2008-03-06 18:14:51 +0300 | [diff] [blame] | 67 | compatible = "fsl,8540-l2-cache-controller"; |
| 68 | reg = <0x20000 0x1000>; |
| 69 | cache-line-size = <0x20>; /* 32 bytes */ |
| 70 | cache-size = <0x40000>; /* L2, 256K */ |
| 71 | interrupt-parent = <&MPIC>; |
| 72 | interrupts = <0x10 0x2>; |
| 73 | }; |
| 74 | |
| 75 | i2c@3000 { |
| 76 | #address-cells = <1>; |
| 77 | #size-cells = <0>; |
| 78 | cell-index = <0>; |
| 79 | compatible = "fsl-i2c"; |
| 80 | reg = <0x3000 0x100>; |
| 81 | interrupts = <0x2b 0x2>; |
| 82 | interrupt-parent = <&MPIC>; |
| 83 | dfsrr; |
| 84 | }; |
| 85 | |
Kumar Gala | dee8055 | 2008-06-27 13:45:19 -0500 | [diff] [blame^] | 86 | dma@21300 { |
| 87 | #address-cells = <1>; |
| 88 | #size-cells = <1>; |
| 89 | compatible = "fsl,mpc8560-dma", "fsl,eloplus-dma"; |
| 90 | reg = <0x21300 0x4>; |
| 91 | ranges = <0x0 0x21100 0x200>; |
| 92 | cell-index = <0>; |
| 93 | dma-channel@0 { |
| 94 | compatible = "fsl,mpc8560-dma-channel", |
| 95 | "fsl,eloplus-dma-channel"; |
| 96 | reg = <0x0 0x80>; |
| 97 | cell-index = <0>; |
| 98 | interrupt-parent = <&mpic>; |
| 99 | interrupts = <20 2>; |
| 100 | }; |
| 101 | dma-channel@80 { |
| 102 | compatible = "fsl,mpc8560-dma-channel", |
| 103 | "fsl,eloplus-dma-channel"; |
| 104 | reg = <0x80 0x80>; |
| 105 | cell-index = <1>; |
| 106 | interrupt-parent = <&mpic>; |
| 107 | interrupts = <21 2>; |
| 108 | }; |
| 109 | dma-channel@100 { |
| 110 | compatible = "fsl,mpc8560-dma-channel", |
| 111 | "fsl,eloplus-dma-channel"; |
| 112 | reg = <0x100 0x80>; |
| 113 | cell-index = <2>; |
| 114 | interrupt-parent = <&mpic>; |
| 115 | interrupts = <22 2>; |
| 116 | }; |
| 117 | dma-channel@180 { |
| 118 | compatible = "fsl,mpc8560-dma-channel", |
| 119 | "fsl,eloplus-dma-channel"; |
| 120 | reg = <0x180 0x80>; |
| 121 | cell-index = <3>; |
| 122 | interrupt-parent = <&mpic>; |
| 123 | interrupts = <23 2>; |
| 124 | }; |
| 125 | }; |
| 126 | |
Alexandr Smirnov | ee0a3f5 | 2008-03-06 18:14:51 +0300 | [diff] [blame] | 127 | mdio@24520 { /* For TSECs */ |
| 128 | #address-cells = <1>; |
| 129 | #size-cells = <0>; |
| 130 | compatible = "fsl,gianfar-mdio"; |
| 131 | reg = <0x24520 0x20>; |
| 132 | |
| 133 | PHY1: ethernet-phy@1 { |
| 134 | interrupt-parent = <&MPIC>; |
| 135 | reg = <0x1>; |
| 136 | device_type = "ethernet-phy"; |
| 137 | }; |
| 138 | |
| 139 | PHY2: ethernet-phy@2 { |
| 140 | interrupt-parent = <&MPIC>; |
| 141 | reg = <0x2>; |
| 142 | device_type = "ethernet-phy"; |
| 143 | }; |
| 144 | }; |
| 145 | |
| 146 | enet0: ethernet@24000 { |
| 147 | device_type = "network"; |
| 148 | model = "TSEC"; |
| 149 | compatible = "gianfar"; |
| 150 | reg = <0x24000 0x1000>; |
| 151 | /* Mac address filled in by bootwrapper */ |
| 152 | local-mac-address = [ 00 00 00 00 00 00 ]; |
| 153 | interrupts = <0x1d 0x2 0x1e 0x2 0x22 0x2>; |
| 154 | interrupt-parent = <&MPIC>; |
| 155 | phy-handle = <&PHY1>; |
| 156 | }; |
| 157 | |
| 158 | enet1: ethernet@25000 { |
| 159 | device_type = "network"; |
| 160 | model = "TSEC"; |
| 161 | compatible = "gianfar"; |
| 162 | reg = <0x25000 0x1000>; |
| 163 | /* Mac address filled in by bootwrapper */ |
| 164 | local-mac-address = [ 00 00 00 00 00 00 ]; |
| 165 | interrupts = <0x23 0x2 0x24 0x2 0x28 0x2>; |
| 166 | interrupt-parent = <&MPIC>; |
| 167 | phy-handle = <&PHY2>; |
| 168 | }; |
| 169 | |
| 170 | MPIC: pic@40000 { |
| 171 | #address-cells = <0>; |
| 172 | #interrupt-cells = <2>; |
| 173 | interrupt-controller; |
| 174 | reg = <0x40000 0x40000>; |
| 175 | device_type = "open-pic"; |
| 176 | }; |
| 177 | |
| 178 | cpm@919c0 { |
| 179 | #address-cells = <1>; |
| 180 | #size-cells = <1>; |
| 181 | compatible = "fsl,mpc8560-cpm", "fsl,cpm2"; |
| 182 | reg = <0x919c0 0x30>; |
| 183 | ranges; |
| 184 | |
| 185 | muram@80000 { |
| 186 | #address-cells = <1>; |
| 187 | #size-cells = <1>; |
| 188 | ranges = <0x0 0x80000 0x10000>; |
| 189 | |
| 190 | data@0 { |
| 191 | compatible = "fsl,cpm-muram-data"; |
| 192 | reg = <0x0 0x4000 0x9000 0x2000>; |
| 193 | }; |
| 194 | }; |
| 195 | |
| 196 | brg@919f0 { |
| 197 | compatible = "fsl,mpc8560-brg", |
| 198 | "fsl,cpm2-brg", |
| 199 | "fsl,cpm-brg"; |
| 200 | reg = <0x919f0 0x10 0x915f0 0x10>; |
| 201 | clock-frequency = <165000000>; /* 166MHz */ |
| 202 | }; |
| 203 | |
| 204 | CPMPIC: pic@90c00 { |
| 205 | #address-cells = <0>; |
| 206 | #interrupt-cells = <2>; |
| 207 | interrupt-controller; |
| 208 | interrupts = <0x2e 0x2>; |
| 209 | interrupt-parent = <&MPIC>; |
| 210 | reg = <0x90c00 0x80>; |
| 211 | compatible = "fsl,mpc8560-cpm-pic", "fsl,cpm2-pic"; |
| 212 | }; |
| 213 | |
| 214 | serial@91a00 { |
| 215 | device_type = "serial"; |
| 216 | compatible = "fsl,mpc8560-scc-uart", |
| 217 | "fsl,cpm2-scc-uart"; |
| 218 | reg = <0x91a00 0x20 0x88000 0x100>; |
| 219 | fsl,cpm-brg = <1>; |
| 220 | fsl,cpm-command = <0x800000>; |
| 221 | current-speed = <0x1c200>; |
| 222 | interrupts = <0x28 0x8>; |
| 223 | interrupt-parent = <&CPMPIC>; |
| 224 | }; |
| 225 | |
| 226 | serial@91a20 { |
| 227 | device_type = "serial"; |
| 228 | compatible = "fsl,mpc8560-scc-uart", |
| 229 | "fsl,cpm2-scc-uart"; |
| 230 | reg = <0x91a20 0x20 0x88100 0x100>; |
| 231 | fsl,cpm-brg = <2>; |
| 232 | fsl,cpm-command = <0x4a00000>; |
| 233 | current-speed = <0x1c200>; |
| 234 | interrupts = <0x29 0x8>; |
| 235 | interrupt-parent = <&CPMPIC>; |
| 236 | }; |
| 237 | |
| 238 | mdio@90d00 { /* For FCCs */ |
| 239 | #address-cells = <1>; |
| 240 | #size-cells = <0>; |
| 241 | compatible = "fsl,cpm2-mdio-bitbang"; |
| 242 | reg = <0x90d00 0x14>; |
| 243 | fsl,mdio-pin = <24>; |
| 244 | fsl,mdc-pin = <25>; |
| 245 | |
| 246 | PHY0: ethernet-phy@0 { |
| 247 | interrupt-parent = <&MPIC>; |
| 248 | reg = <0x0>; |
| 249 | device_type = "ethernet-phy"; |
| 250 | }; |
| 251 | }; |
| 252 | |
| 253 | enet2: ethernet@91300 { |
| 254 | device_type = "network"; |
| 255 | compatible = "fsl,mpc8560-fcc-enet", |
| 256 | "fsl,cpm2-fcc-enet"; |
| 257 | reg = <0x91300 0x20 0x88400 0x100 0x91390 0x1>; |
| 258 | /* Mac address filled in by bootwrapper */ |
| 259 | local-mac-address = [ 00 00 00 00 00 00 ]; |
| 260 | fsl,cpm-command = <0x12000300>; |
| 261 | interrupts = <0x20 0x8>; |
| 262 | interrupt-parent = <&CPMPIC>; |
| 263 | phy-handle = <&PHY0>; |
| 264 | }; |
| 265 | }; |
| 266 | }; |
| 267 | |
| 268 | localbus@fdf05000 { |
| 269 | #address-cells = <2>; |
| 270 | #size-cells = <1>; |
| 271 | compatible = "fsl,mpc8560-localbus"; |
| 272 | reg = <0xfdf05000 0x68>; |
| 273 | |
| 274 | ranges = <0x0 0x0 0xe0000000 0x00800000 |
| 275 | 0x4 0x0 0xe8080000 0x00080000>; |
| 276 | |
| 277 | flash@0,0 { |
| 278 | #address-cells = <1>; |
| 279 | #size-cells = <1>; |
| 280 | compatible = "jedec-flash"; |
| 281 | reg = <0x0 0x0 0x800000>; |
| 282 | bank-width = <0x2>; |
| 283 | |
| 284 | partition@0 { |
| 285 | label = "Primary Kernel"; |
| 286 | reg = <0x0 0x180000>; |
| 287 | }; |
| 288 | partition@180000 { |
| 289 | label = "Primary Filesystem"; |
| 290 | reg = <0x180000 0x580000>; |
| 291 | }; |
| 292 | partition@700000 { |
| 293 | label = "Monitor"; |
| 294 | reg = <0x300000 0x100000>; |
| 295 | read-only; |
| 296 | }; |
| 297 | }; |
| 298 | |
| 299 | cpld@4,0 { |
| 300 | compatible = "emerson,KSI8560-cpld"; |
| 301 | reg = <0x4 0x0 0x80000>; |
| 302 | }; |
| 303 | }; |
| 304 | |
| 305 | |
| 306 | chosen { |
| 307 | linux,stdout-path = "/soc/cpm/serial@91a00"; |
| 308 | }; |
| 309 | }; |