diff options
| -rw-r--r-- | arch/powerpc/boot/dts/ksi8560.dts | 267 |
1 files changed, 267 insertions, 0 deletions
diff --git a/arch/powerpc/boot/dts/ksi8560.dts b/arch/powerpc/boot/dts/ksi8560.dts new file mode 100644 index 000000000000..f869ce3ca0b7 --- /dev/null +++ b/arch/powerpc/boot/dts/ksi8560.dts | |||
| @@ -0,0 +1,267 @@ | |||
| 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 */ | ||
| 43 | }; | ||
| 44 | }; | ||
| 45 | |||
| 46 | memory { | ||
| 47 | device_type = "memory"; | ||
| 48 | reg = <0x00000000 0x10000000>; /* Fixed by bootwrapper */ | ||
| 49 | }; | ||
| 50 | |||
| 51 | soc@fdf00000 { | ||
| 52 | #address-cells = <1>; | ||
| 53 | #size-cells = <1>; | ||
| 54 | device_type = "soc"; | ||
| 55 | ranges = <0x00000000 0xfdf00000 0x00100000>; | ||
| 56 | bus-frequency = <0>; /* Fixed by bootwrapper */ | ||
| 57 | |||
| 58 | memory-controller@2000 { | ||
| 59 | compatible = "fsl,8540-memory-controller"; | ||
| 60 | reg = <0x2000 0x1000>; | ||
| 61 | interrupt-parent = <&MPIC>; | ||
| 62 | interrupts = <0x12 0x2>; | ||
| 63 | }; | ||
| 64 | |||
| 65 | l2-cache-controller@20000 { | ||
| 66 | compatible = "fsl,8540-l2-cache-controller"; | ||
| 67 | reg = <0x20000 0x1000>; | ||
| 68 | cache-line-size = <0x20>; /* 32 bytes */ | ||
| 69 | cache-size = <0x40000>; /* L2, 256K */ | ||
| 70 | interrupt-parent = <&MPIC>; | ||
| 71 | interrupts = <0x10 0x2>; | ||
| 72 | }; | ||
| 73 | |||
| 74 | i2c@3000 { | ||
| 75 | #address-cells = <1>; | ||
| 76 | #size-cells = <0>; | ||
| 77 | cell-index = <0>; | ||
| 78 | compatible = "fsl-i2c"; | ||
| 79 | reg = <0x3000 0x100>; | ||
| 80 | interrupts = <0x2b 0x2>; | ||
| 81 | interrupt-parent = <&MPIC>; | ||
| 82 | dfsrr; | ||
| 83 | }; | ||
| 84 | |||
| 85 | mdio@24520 { /* For TSECs */ | ||
| 86 | #address-cells = <1>; | ||
| 87 | #size-cells = <0>; | ||
| 88 | compatible = "fsl,gianfar-mdio"; | ||
| 89 | reg = <0x24520 0x20>; | ||
| 90 | |||
| 91 | PHY1: ethernet-phy@1 { | ||
| 92 | interrupt-parent = <&MPIC>; | ||
| 93 | reg = <0x1>; | ||
| 94 | device_type = "ethernet-phy"; | ||
| 95 | }; | ||
| 96 | |||
| 97 | PHY2: ethernet-phy@2 { | ||
| 98 | interrupt-parent = <&MPIC>; | ||
| 99 | reg = <0x2>; | ||
| 100 | device_type = "ethernet-phy"; | ||
| 101 | }; | ||
| 102 | }; | ||
| 103 | |||
| 104 | enet0: ethernet@24000 { | ||
| 105 | device_type = "network"; | ||
| 106 | model = "TSEC"; | ||
| 107 | compatible = "gianfar"; | ||
| 108 | reg = <0x24000 0x1000>; | ||
| 109 | /* Mac address filled in by bootwrapper */ | ||
| 110 | local-mac-address = [ 00 00 00 00 00 00 ]; | ||
| 111 | interrupts = <0x1d 0x2 0x1e 0x2 0x22 0x2>; | ||
| 112 | interrupt-parent = <&MPIC>; | ||
| 113 | phy-handle = <&PHY1>; | ||
| 114 | }; | ||
| 115 | |||
| 116 | enet1: ethernet@25000 { | ||
| 117 | device_type = "network"; | ||
| 118 | model = "TSEC"; | ||
| 119 | compatible = "gianfar"; | ||
| 120 | reg = <0x25000 0x1000>; | ||
| 121 | /* Mac address filled in by bootwrapper */ | ||
| 122 | local-mac-address = [ 00 00 00 00 00 00 ]; | ||
| 123 | interrupts = <0x23 0x2 0x24 0x2 0x28 0x2>; | ||
| 124 | interrupt-parent = <&MPIC>; | ||
| 125 | phy-handle = <&PHY2>; | ||
| 126 | }; | ||
| 127 | |||
| 128 | MPIC: pic@40000 { | ||
| 129 | #address-cells = <0>; | ||
| 130 | #interrupt-cells = <2>; | ||
| 131 | interrupt-controller; | ||
| 132 | reg = <0x40000 0x40000>; | ||
| 133 | device_type = "open-pic"; | ||
| 134 | }; | ||
| 135 | |||
| 136 | cpm@919c0 { | ||
| 137 | #address-cells = <1>; | ||
| 138 | #size-cells = <1>; | ||
| 139 | compatible = "fsl,mpc8560-cpm", "fsl,cpm2"; | ||
| 140 | reg = <0x919c0 0x30>; | ||
| 141 | ranges; | ||
| 142 | |||
| 143 | muram@80000 { | ||
| 144 | #address-cells = <1>; | ||
| 145 | #size-cells = <1>; | ||
| 146 | ranges = <0x0 0x80000 0x10000>; | ||
| 147 | |||
| 148 | data@0 { | ||
| 149 | compatible = "fsl,cpm-muram-data"; | ||
| 150 | reg = <0x0 0x4000 0x9000 0x2000>; | ||
| 151 | }; | ||
| 152 | }; | ||
| 153 | |||
| 154 | brg@919f0 { | ||
| 155 | compatible = "fsl,mpc8560-brg", | ||
| 156 | "fsl,cpm2-brg", | ||
| 157 | "fsl,cpm-brg"; | ||
| 158 | reg = <0x919f0 0x10 0x915f0 0x10>; | ||
| 159 | clock-frequency = <165000000>; /* 166MHz */ | ||
| 160 | }; | ||
| 161 | |||
| 162 | CPMPIC: pic@90c00 { | ||
| 163 | #address-cells = <0>; | ||
| 164 | #interrupt-cells = <2>; | ||
| 165 | interrupt-controller; | ||
| 166 | interrupts = <0x2e 0x2>; | ||
| 167 | interrupt-parent = <&MPIC>; | ||
| 168 | reg = <0x90c00 0x80>; | ||
| 169 | compatible = "fsl,mpc8560-cpm-pic", "fsl,cpm2-pic"; | ||
| 170 | }; | ||
| 171 | |||
| 172 | serial@91a00 { | ||
| 173 | device_type = "serial"; | ||
| 174 | compatible = "fsl,mpc8560-scc-uart", | ||
| 175 | "fsl,cpm2-scc-uart"; | ||
| 176 | reg = <0x91a00 0x20 0x88000 0x100>; | ||
| 177 | fsl,cpm-brg = <1>; | ||
| 178 | fsl,cpm-command = <0x800000>; | ||
| 179 | current-speed = <0x1c200>; | ||
| 180 | interrupts = <0x28 0x8>; | ||
| 181 | interrupt-parent = <&CPMPIC>; | ||
| 182 | }; | ||
| 183 | |||
| 184 | serial@91a20 { | ||
| 185 | device_type = "serial"; | ||
| 186 | compatible = "fsl,mpc8560-scc-uart", | ||
| 187 | "fsl,cpm2-scc-uart"; | ||
| 188 | reg = <0x91a20 0x20 0x88100 0x100>; | ||
| 189 | fsl,cpm-brg = <2>; | ||
| 190 | fsl,cpm-command = <0x4a00000>; | ||
| 191 | current-speed = <0x1c200>; | ||
| 192 | interrupts = <0x29 0x8>; | ||
| 193 | interrupt-parent = <&CPMPIC>; | ||
| 194 | }; | ||
| 195 | |||
| 196 | mdio@90d00 { /* For FCCs */ | ||
| 197 | #address-cells = <1>; | ||
| 198 | #size-cells = <0>; | ||
| 199 | compatible = "fsl,cpm2-mdio-bitbang"; | ||
| 200 | reg = <0x90d00 0x14>; | ||
| 201 | fsl,mdio-pin = <24>; | ||
| 202 | fsl,mdc-pin = <25>; | ||
| 203 | |||
| 204 | PHY0: ethernet-phy@0 { | ||
| 205 | interrupt-parent = <&MPIC>; | ||
| 206 | reg = <0x0>; | ||
| 207 | device_type = "ethernet-phy"; | ||
| 208 | }; | ||
| 209 | }; | ||
| 210 | |||
| 211 | enet2: ethernet@91300 { | ||
| 212 | device_type = "network"; | ||
| 213 | compatible = "fsl,mpc8560-fcc-enet", | ||
| 214 | "fsl,cpm2-fcc-enet"; | ||
| 215 | reg = <0x91300 0x20 0x88400 0x100 0x91390 0x1>; | ||
| 216 | /* Mac address filled in by bootwrapper */ | ||
| 217 | local-mac-address = [ 00 00 00 00 00 00 ]; | ||
| 218 | fsl,cpm-command = <0x12000300>; | ||
| 219 | interrupts = <0x20 0x8>; | ||
| 220 | interrupt-parent = <&CPMPIC>; | ||
| 221 | phy-handle = <&PHY0>; | ||
| 222 | }; | ||
| 223 | }; | ||
| 224 | }; | ||
| 225 | |||
| 226 | localbus@fdf05000 { | ||
| 227 | #address-cells = <2>; | ||
| 228 | #size-cells = <1>; | ||
| 229 | compatible = "fsl,mpc8560-localbus"; | ||
| 230 | reg = <0xfdf05000 0x68>; | ||
| 231 | |||
| 232 | ranges = <0x0 0x0 0xe0000000 0x00800000 | ||
| 233 | 0x4 0x0 0xe8080000 0x00080000>; | ||
| 234 | |||
| 235 | flash@0,0 { | ||
| 236 | #address-cells = <1>; | ||
| 237 | #size-cells = <1>; | ||
| 238 | compatible = "jedec-flash"; | ||
| 239 | reg = <0x0 0x0 0x800000>; | ||
| 240 | bank-width = <0x2>; | ||
| 241 | |||
| 242 | partition@0 { | ||
| 243 | label = "Primary Kernel"; | ||
| 244 | reg = <0x0 0x180000>; | ||
| 245 | }; | ||
| 246 | partition@180000 { | ||
| 247 | label = "Primary Filesystem"; | ||
| 248 | reg = <0x180000 0x580000>; | ||
| 249 | }; | ||
| 250 | partition@700000 { | ||
| 251 | label = "Monitor"; | ||
| 252 | reg = <0x300000 0x100000>; | ||
| 253 | read-only; | ||
| 254 | }; | ||
| 255 | }; | ||
| 256 | |||
| 257 | cpld@4,0 { | ||
| 258 | compatible = "emerson,KSI8560-cpld"; | ||
| 259 | reg = <0x4 0x0 0x80000>; | ||
| 260 | }; | ||
| 261 | }; | ||
| 262 | |||
| 263 | |||
| 264 | chosen { | ||
| 265 | linux,stdout-path = "/soc/cpm/serial@91a00"; | ||
| 266 | }; | ||
| 267 | }; | ||
