diff options
| author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2010-02-17 17:34:38 -0500 |
|---|---|---|
| committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2010-02-17 17:34:38 -0500 |
| commit | efd0f0f385da6ee6d1a22cfe1ac94607ebe2a292 (patch) | |
| tree | 6ba1a89db2eb68046c238a7fca9bae4f72d92874 | |
| parent | 3bffb6529cf10d48a97ac0d6d789986894c25c37 (diff) | |
| parent | c7b66698122796623f1838c0ee6a8e12ec832468 (diff) | |
Merge commit 'jwb/next' into next
| -rw-r--r-- | arch/powerpc/boot/dts/arches.dts | 12 | ||||
| -rw-r--r-- | arch/powerpc/boot/dts/glacier.dts | 76 | ||||
| -rw-r--r-- | arch/powerpc/boot/dts/katmai.dts | 71 | ||||
| -rw-r--r-- | arch/powerpc/configs/44x/katmai_defconfig | 94 | ||||
| -rw-r--r-- | arch/powerpc/mm/40x_mmu.c | 4 | ||||
| -rw-r--r-- | arch/powerpc/sysdev/ppc4xx_soc.c | 3 |
6 files changed, 224 insertions, 36 deletions
diff --git a/arch/powerpc/boot/dts/arches.dts b/arch/powerpc/boot/dts/arches.dts index 414ef8b7e575..30f41204acfa 100644 --- a/arch/powerpc/boot/dts/arches.dts +++ b/arch/powerpc/boot/dts/arches.dts | |||
| @@ -60,6 +60,7 @@ | |||
| 60 | d-cache-size = <32768>; | 60 | d-cache-size = <32768>; |
| 61 | dcr-controller; | 61 | dcr-controller; |
| 62 | dcr-access-method = "native"; | 62 | dcr-access-method = "native"; |
| 63 | next-level-cache = <&L2C0>; | ||
| 63 | }; | 64 | }; |
| 64 | }; | 65 | }; |
| 65 | 66 | ||
| @@ -146,6 +147,13 @@ | |||
| 146 | dcr-reg = <0x010 0x002>; | 147 | dcr-reg = <0x010 0x002>; |
| 147 | }; | 148 | }; |
| 148 | 149 | ||
| 150 | CRYPTO: crypto@180000 { | ||
| 151 | compatible = "amcc,ppc460gt-crypto", "amcc,ppc4xx-crypto"; | ||
| 152 | reg = <4 0x00180000 0x80400>; | ||
| 153 | interrupt-parent = <&UIC0>; | ||
| 154 | interrupts = <0x1d 0x4>; | ||
| 155 | }; | ||
| 156 | |||
| 149 | MAL0: mcmal { | 157 | MAL0: mcmal { |
| 150 | compatible = "ibm,mcmal-460gt", "ibm,mcmal2"; | 158 | compatible = "ibm,mcmal-460gt", "ibm,mcmal2"; |
| 151 | dcr-reg = <0x180 0x062>; | 159 | dcr-reg = <0x180 0x062>; |
| @@ -274,6 +282,7 @@ | |||
| 274 | max-frame-size = <9000>; | 282 | max-frame-size = <9000>; |
| 275 | rx-fifo-size = <4096>; | 283 | rx-fifo-size = <4096>; |
| 276 | tx-fifo-size = <2048>; | 284 | tx-fifo-size = <2048>; |
| 285 | rx-fifo-size-gige = <16384>; | ||
| 277 | phy-mode = "sgmii"; | 286 | phy-mode = "sgmii"; |
| 278 | phy-map = <0xffffffff>; | 287 | phy-map = <0xffffffff>; |
| 279 | gpcs-address = <0x0000000a>; | 288 | gpcs-address = <0x0000000a>; |
| @@ -302,6 +311,7 @@ | |||
| 302 | max-frame-size = <9000>; | 311 | max-frame-size = <9000>; |
| 303 | rx-fifo-size = <4096>; | 312 | rx-fifo-size = <4096>; |
| 304 | tx-fifo-size = <2048>; | 313 | tx-fifo-size = <2048>; |
| 314 | rx-fifo-size-gige = <16384>; | ||
| 305 | phy-mode = "sgmii"; | 315 | phy-mode = "sgmii"; |
| 306 | phy-map = <0x00000000>; | 316 | phy-map = <0x00000000>; |
| 307 | gpcs-address = <0x0000000b>; | 317 | gpcs-address = <0x0000000b>; |
| @@ -331,6 +341,8 @@ | |||
| 331 | max-frame-size = <9000>; | 341 | max-frame-size = <9000>; |
| 332 | rx-fifo-size = <4096>; | 342 | rx-fifo-size = <4096>; |
| 333 | tx-fifo-size = <2048>; | 343 | tx-fifo-size = <2048>; |
| 344 | rx-fifo-size-gige = <16384>; | ||
| 345 | tx-fifo-size-gige = <16384>; /* emac2&3 only */ | ||
| 334 | phy-mode = "sgmii"; | 346 | phy-mode = "sgmii"; |
| 335 | phy-map = <0x00000001>; | 347 | phy-map = <0x00000001>; |
| 336 | gpcs-address = <0x0000000C>; | 348 | gpcs-address = <0x0000000C>; |
diff --git a/arch/powerpc/boot/dts/glacier.dts b/arch/powerpc/boot/dts/glacier.dts index f6f618939293..d62a4fb6f93c 100644 --- a/arch/powerpc/boot/dts/glacier.dts +++ b/arch/powerpc/boot/dts/glacier.dts | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * Device Tree Source for AMCC Glacier (460GT) | 2 | * Device Tree Source for AMCC Glacier (460GT) |
| 3 | * | 3 | * |
| 4 | * Copyright 2008 DENX Software Engineering, Stefan Roese <sr@denx.de> | 4 | * Copyright 2008-2010 DENX Software Engineering, Stefan Roese <sr@denx.de> |
| 5 | * | 5 | * |
| 6 | * This file is licensed under the terms of the GNU General Public | 6 | * This file is licensed under the terms of the GNU General Public |
| 7 | * License version 2. This program is licensed "as is" without | 7 | * License version 2. This program is licensed "as is" without |
| @@ -42,6 +42,7 @@ | |||
| 42 | d-cache-size = <32768>; | 42 | d-cache-size = <32768>; |
| 43 | dcr-controller; | 43 | dcr-controller; |
| 44 | dcr-access-method = "native"; | 44 | dcr-access-method = "native"; |
| 45 | next-level-cache = <&L2C0>; | ||
| 45 | }; | 46 | }; |
| 46 | }; | 47 | }; |
| 47 | 48 | ||
| @@ -106,6 +107,16 @@ | |||
| 106 | dcr-reg = <0x00c 0x002>; | 107 | dcr-reg = <0x00c 0x002>; |
| 107 | }; | 108 | }; |
| 108 | 109 | ||
| 110 | L2C0: l2c { | ||
| 111 | compatible = "ibm,l2-cache-460gt", "ibm,l2-cache"; | ||
| 112 | dcr-reg = <0x020 0x008 /* Internal SRAM DCR's */ | ||
| 113 | 0x030 0x008>; /* L2 cache DCR's */ | ||
| 114 | cache-line-size = <32>; /* 32 bytes */ | ||
| 115 | cache-size = <262144>; /* L2, 256K */ | ||
| 116 | interrupt-parent = <&UIC1>; | ||
| 117 | interrupts = <11 1>; | ||
| 118 | }; | ||
| 119 | |||
| 109 | plb { | 120 | plb { |
| 110 | compatible = "ibm,plb-460gt", "ibm,plb4"; | 121 | compatible = "ibm,plb-460gt", "ibm,plb4"; |
| 111 | #address-cells = <2>; | 122 | #address-cells = <2>; |
| @@ -118,6 +129,13 @@ | |||
| 118 | dcr-reg = <0x010 0x002>; | 129 | dcr-reg = <0x010 0x002>; |
| 119 | }; | 130 | }; |
| 120 | 131 | ||
| 132 | CRYPTO: crypto@180000 { | ||
| 133 | compatible = "amcc,ppc460gt-crypto", "amcc,ppc4xx-crypto"; | ||
| 134 | reg = <4 0x00180000 0x80400>; | ||
| 135 | interrupt-parent = <&UIC0>; | ||
| 136 | interrupts = <0x1d 0x4>; | ||
| 137 | }; | ||
| 138 | |||
| 121 | MAL0: mcmal { | 139 | MAL0: mcmal { |
| 122 | compatible = "ibm,mcmal-460gt", "ibm,mcmal2"; | 140 | compatible = "ibm,mcmal-460gt", "ibm,mcmal2"; |
| 123 | dcr-reg = <0x180 0x062>; | 141 | dcr-reg = <0x180 0x062>; |
| @@ -186,6 +204,29 @@ | |||
| 186 | reg = <0x03fa0000 0x00060000>; | 204 | reg = <0x03fa0000 0x00060000>; |
| 187 | }; | 205 | }; |
| 188 | }; | 206 | }; |
| 207 | |||
| 208 | ndfc@3,0 { | ||
| 209 | compatible = "ibm,ndfc"; | ||
| 210 | reg = <0x00000003 0x00000000 0x00002000>; | ||
| 211 | ccr = <0x00001000>; | ||
| 212 | bank-settings = <0x80002222>; | ||
| 213 | #address-cells = <1>; | ||
| 214 | #size-cells = <1>; | ||
| 215 | |||
| 216 | nand { | ||
| 217 | #address-cells = <1>; | ||
| 218 | #size-cells = <1>; | ||
| 219 | |||
| 220 | partition@0 { | ||
| 221 | label = "u-boot"; | ||
| 222 | reg = <0x00000000 0x00100000>; | ||
| 223 | }; | ||
| 224 | partition@100000 { | ||
| 225 | label = "user"; | ||
| 226 | reg = <0x00000000 0x03f00000>; | ||
| 227 | }; | ||
| 228 | }; | ||
| 229 | }; | ||
| 189 | }; | 230 | }; |
| 190 | 231 | ||
| 191 | UART0: serial@ef600300 { | 232 | UART0: serial@ef600300 { |
| @@ -237,6 +278,20 @@ | |||
| 237 | reg = <0xef600700 0x00000014>; | 278 | reg = <0xef600700 0x00000014>; |
| 238 | interrupt-parent = <&UIC0>; | 279 | interrupt-parent = <&UIC0>; |
| 239 | interrupts = <0x2 0x4>; | 280 | interrupts = <0x2 0x4>; |
| 281 | #address-cells = <1>; | ||
| 282 | #size-cells = <0>; | ||
| 283 | rtc@68 { | ||
| 284 | compatible = "stm,m41t80"; | ||
| 285 | reg = <0x68>; | ||
| 286 | interrupt-parent = <&UIC2>; | ||
| 287 | interrupts = <0x19 0x8>; | ||
| 288 | }; | ||
| 289 | sttm@48 { | ||
| 290 | compatible = "ad,ad7414"; | ||
| 291 | reg = <0x48>; | ||
| 292 | interrupt-parent = <&UIC1>; | ||
| 293 | interrupts = <0x14 0x8>; | ||
| 294 | }; | ||
| 240 | }; | 295 | }; |
| 241 | 296 | ||
| 242 | IIC1: i2c@ef600800 { | 297 | IIC1: i2c@ef600800 { |
| @@ -275,7 +330,7 @@ | |||
| 275 | 330 | ||
| 276 | EMAC0: ethernet@ef600e00 { | 331 | EMAC0: ethernet@ef600e00 { |
| 277 | device_type = "network"; | 332 | device_type = "network"; |
| 278 | compatible = "ibm,emac-460gt", "ibm,emac4"; | 333 | compatible = "ibm,emac-460gt", "ibm,emac4sync"; |
| 279 | interrupt-parent = <&EMAC0>; | 334 | interrupt-parent = <&EMAC0>; |
| 280 | interrupts = <0x0 0x1>; | 335 | interrupts = <0x0 0x1>; |
| 281 | #interrupt-cells = <1>; | 336 | #interrupt-cells = <1>; |
| @@ -283,7 +338,7 @@ | |||
| 283 | #size-cells = <0>; | 338 | #size-cells = <0>; |
| 284 | interrupt-map = </*Status*/ 0x0 &UIC2 0x10 0x4 | 339 | interrupt-map = </*Status*/ 0x0 &UIC2 0x10 0x4 |
| 285 | /*Wake*/ 0x1 &UIC2 0x14 0x4>; | 340 | /*Wake*/ 0x1 &UIC2 0x14 0x4>; |
| 286 | reg = <0xef600e00 0x00000074>; | 341 | reg = <0xef600e00 0x000000c4>; |
| 287 | local-mac-address = [000000000000]; /* Filled in by U-Boot */ | 342 | local-mac-address = [000000000000]; /* Filled in by U-Boot */ |
| 288 | mal-device = <&MAL0>; | 343 | mal-device = <&MAL0>; |
| 289 | mal-tx-channel = <0>; | 344 | mal-tx-channel = <0>; |
| @@ -305,7 +360,7 @@ | |||
| 305 | 360 | ||
| 306 | EMAC1: ethernet@ef600f00 { | 361 | EMAC1: ethernet@ef600f00 { |
| 307 | device_type = "network"; | 362 | device_type = "network"; |
| 308 | compatible = "ibm,emac-460gt", "ibm,emac4"; | 363 | compatible = "ibm,emac-460gt", "ibm,emac4sync"; |
| 309 | interrupt-parent = <&EMAC1>; | 364 | interrupt-parent = <&EMAC1>; |
| 310 | interrupts = <0x0 0x1>; | 365 | interrupts = <0x0 0x1>; |
| 311 | #interrupt-cells = <1>; | 366 | #interrupt-cells = <1>; |
| @@ -313,7 +368,7 @@ | |||
| 313 | #size-cells = <0>; | 368 | #size-cells = <0>; |
| 314 | interrupt-map = </*Status*/ 0x0 &UIC2 0x11 0x4 | 369 | interrupt-map = </*Status*/ 0x0 &UIC2 0x11 0x4 |
| 315 | /*Wake*/ 0x1 &UIC2 0x15 0x4>; | 370 | /*Wake*/ 0x1 &UIC2 0x15 0x4>; |
| 316 | reg = <0xef600f00 0x00000074>; | 371 | reg = <0xef600f00 0x000000c4>; |
| 317 | local-mac-address = [000000000000]; /* Filled in by U-Boot */ | 372 | local-mac-address = [000000000000]; /* Filled in by U-Boot */ |
| 318 | mal-device = <&MAL0>; | 373 | mal-device = <&MAL0>; |
| 319 | mal-tx-channel = <1>; | 374 | mal-tx-channel = <1>; |
| @@ -336,7 +391,7 @@ | |||
| 336 | 391 | ||
| 337 | EMAC2: ethernet@ef601100 { | 392 | EMAC2: ethernet@ef601100 { |
| 338 | device_type = "network"; | 393 | device_type = "network"; |
| 339 | compatible = "ibm,emac-460gt", "ibm,emac4"; | 394 | compatible = "ibm,emac-460gt", "ibm,emac4sync"; |
| 340 | interrupt-parent = <&EMAC2>; | 395 | interrupt-parent = <&EMAC2>; |
| 341 | interrupts = <0x0 0x1>; | 396 | interrupts = <0x0 0x1>; |
| 342 | #interrupt-cells = <1>; | 397 | #interrupt-cells = <1>; |
| @@ -344,7 +399,7 @@ | |||
| 344 | #size-cells = <0>; | 399 | #size-cells = <0>; |
| 345 | interrupt-map = </*Status*/ 0x0 &UIC2 0x12 0x4 | 400 | interrupt-map = </*Status*/ 0x0 &UIC2 0x12 0x4 |
| 346 | /*Wake*/ 0x1 &UIC2 0x16 0x4>; | 401 | /*Wake*/ 0x1 &UIC2 0x16 0x4>; |
| 347 | reg = <0xef601100 0x00000074>; | 402 | reg = <0xef601100 0x000000c4>; |
| 348 | local-mac-address = [000000000000]; /* Filled in by U-Boot */ | 403 | local-mac-address = [000000000000]; /* Filled in by U-Boot */ |
| 349 | mal-device = <&MAL0>; | 404 | mal-device = <&MAL0>; |
| 350 | mal-tx-channel = <2>; | 405 | mal-tx-channel = <2>; |
| @@ -366,7 +421,7 @@ | |||
| 366 | 421 | ||
| 367 | EMAC3: ethernet@ef601200 { | 422 | EMAC3: ethernet@ef601200 { |
| 368 | device_type = "network"; | 423 | device_type = "network"; |
| 369 | compatible = "ibm,emac-460gt", "ibm,emac4"; | 424 | compatible = "ibm,emac-460gt", "ibm,emac4sync"; |
| 370 | interrupt-parent = <&EMAC3>; | 425 | interrupt-parent = <&EMAC3>; |
| 371 | interrupts = <0x0 0x1>; | 426 | interrupts = <0x0 0x1>; |
| 372 | #interrupt-cells = <1>; | 427 | #interrupt-cells = <1>; |
| @@ -374,7 +429,7 @@ | |||
| 374 | #size-cells = <0>; | 429 | #size-cells = <0>; |
| 375 | interrupt-map = </*Status*/ 0x0 &UIC2 0x13 0x4 | 430 | interrupt-map = </*Status*/ 0x0 &UIC2 0x13 0x4 |
| 376 | /*Wake*/ 0x1 &UIC2 0x17 0x4>; | 431 | /*Wake*/ 0x1 &UIC2 0x17 0x4>; |
| 377 | reg = <0xef601200 0x00000074>; | 432 | reg = <0xef601200 0x000000c4>; |
| 378 | local-mac-address = [000000000000]; /* Filled in by U-Boot */ | 433 | local-mac-address = [000000000000]; /* Filled in by U-Boot */ |
| 379 | mal-device = <&MAL0>; | 434 | mal-device = <&MAL0>; |
| 380 | mal-tx-channel = <3>; | 435 | mal-tx-channel = <3>; |
| @@ -414,6 +469,7 @@ | |||
| 414 | * later cannot be changed | 469 | * later cannot be changed |
| 415 | */ | 470 | */ |
| 416 | ranges = <0x02000000 0x00000000 0x80000000 0x0000000d 0x80000000 0x00000000 0x80000000 | 471 | ranges = <0x02000000 0x00000000 0x80000000 0x0000000d 0x80000000 0x00000000 0x80000000 |
| 472 | 0x02000000 0x00000000 0x00000000 0x0000000c 0x0ee00000 0x00000000 0x00100000 | ||
| 417 | 0x01000000 0x00000000 0x00000000 0x0000000c 0x08000000 0x00000000 0x00010000>; | 473 | 0x01000000 0x00000000 0x00000000 0x0000000c 0x08000000 0x00000000 0x00010000>; |
| 418 | 474 | ||
| 419 | /* Inbound 2GB range starting at 0 */ | 475 | /* Inbound 2GB range starting at 0 */ |
| @@ -444,6 +500,7 @@ | |||
| 444 | * later cannot be changed | 500 | * later cannot be changed |
| 445 | */ | 501 | */ |
| 446 | ranges = <0x02000000 0x00000000 0x80000000 0x0000000e 0x00000000 0x00000000 0x80000000 | 502 | ranges = <0x02000000 0x00000000 0x80000000 0x0000000e 0x00000000 0x00000000 0x80000000 |
| 503 | 0x02000000 0x00000000 0x00000000 0x0000000f 0x00000000 0x00000000 0x00100000 | ||
| 447 | 0x01000000 0x00000000 0x00000000 0x0000000f 0x80000000 0x00000000 0x00010000>; | 504 | 0x01000000 0x00000000 0x00000000 0x0000000f 0x80000000 0x00000000 0x00010000>; |
| 448 | 505 | ||
| 449 | /* Inbound 2GB range starting at 0 */ | 506 | /* Inbound 2GB range starting at 0 */ |
| @@ -485,6 +542,7 @@ | |||
| 485 | * later cannot be changed | 542 | * later cannot be changed |
| 486 | */ | 543 | */ |
| 487 | ranges = <0x02000000 0x00000000 0x80000000 0x0000000e 0x80000000 0x00000000 0x80000000 | 544 | ranges = <0x02000000 0x00000000 0x80000000 0x0000000e 0x80000000 0x00000000 0x80000000 |
| 545 | 0x02000000 0x00000000 0x00000000 0x0000000f 0x00100000 0x00000000 0x00100000 | ||
| 488 | 0x01000000 0x00000000 0x00000000 0x0000000f 0x80010000 0x00000000 0x00010000>; | 546 | 0x01000000 0x00000000 0x00000000 0x0000000f 0x80010000 0x00000000 0x00010000>; |
| 489 | 547 | ||
| 490 | /* Inbound 2GB range starting at 0 */ | 548 | /* Inbound 2GB range starting at 0 */ |
diff --git a/arch/powerpc/boot/dts/katmai.dts b/arch/powerpc/boot/dts/katmai.dts index 8f345de960cd..8cf2c0c88c05 100644 --- a/arch/powerpc/boot/dts/katmai.dts +++ b/arch/powerpc/boot/dts/katmai.dts | |||
| @@ -156,7 +156,7 @@ | |||
| 156 | compatible = "ibm,opb-440spe", "ibm,opb-440gp", "ibm,opb"; | 156 | compatible = "ibm,opb-440spe", "ibm,opb-440gp", "ibm,opb"; |
| 157 | #address-cells = <1>; | 157 | #address-cells = <1>; |
| 158 | #size-cells = <1>; | 158 | #size-cells = <1>; |
| 159 | ranges = <0x00000000 0x00000004 0xe0000000 0x20000000>; | 159 | ranges = <0xe0000000 0x00000004 0xe0000000 0x20000000>; |
| 160 | clock-frequency = <0>; /* Filled in by zImage */ | 160 | clock-frequency = <0>; /* Filled in by zImage */ |
| 161 | 161 | ||
| 162 | EBC0: ebc { | 162 | EBC0: ebc { |
| @@ -165,14 +165,47 @@ | |||
| 165 | #address-cells = <2>; | 165 | #address-cells = <2>; |
| 166 | #size-cells = <1>; | 166 | #size-cells = <1>; |
| 167 | clock-frequency = <0>; /* Filled in by zImage */ | 167 | clock-frequency = <0>; /* Filled in by zImage */ |
| 168 | /* ranges property is supplied by U-Boot */ | ||
| 168 | interrupts = <0x5 0x1>; | 169 | interrupts = <0x5 0x1>; |
| 169 | interrupt-parent = <&UIC1>; | 170 | interrupt-parent = <&UIC1>; |
| 171 | |||
| 172 | nor_flash@0,0 { | ||
| 173 | compatible = "cfi-flash"; | ||
| 174 | bank-width = <2>; | ||
| 175 | reg = <0x00000000 0x00000000 0x01000000>; | ||
| 176 | #address-cells = <1>; | ||
| 177 | #size-cells = <1>; | ||
| 178 | partition@0 { | ||
| 179 | label = "kernel"; | ||
| 180 | reg = <0x00000000 0x001e0000>; | ||
| 181 | }; | ||
| 182 | partition@1e0000 { | ||
| 183 | label = "dtb"; | ||
| 184 | reg = <0x001e0000 0x00020000>; | ||
| 185 | }; | ||
| 186 | partition@200000 { | ||
| 187 | label = "root"; | ||
| 188 | reg = <0x00200000 0x00200000>; | ||
| 189 | }; | ||
| 190 | partition@400000 { | ||
| 191 | label = "user"; | ||
| 192 | reg = <0x00400000 0x00b60000>; | ||
| 193 | }; | ||
| 194 | partition@f60000 { | ||
| 195 | label = "env"; | ||
| 196 | reg = <0x00f60000 0x00040000>; | ||
| 197 | }; | ||
| 198 | partition@fa0000 { | ||
| 199 | label = "u-boot"; | ||
| 200 | reg = <0x00fa0000 0x00060000>; | ||
| 201 | }; | ||
| 202 | }; | ||
| 170 | }; | 203 | }; |
| 171 | 204 | ||
| 172 | UART0: serial@10000200 { | 205 | UART0: serial@f0000200 { |
| 173 | device_type = "serial"; | 206 | device_type = "serial"; |
| 174 | compatible = "ns16550"; | 207 | compatible = "ns16550"; |
| 175 | reg = <0x10000200 0x00000008>; | 208 | reg = <0xf0000200 0x00000008>; |
| 176 | virtual-reg = <0xa0000200>; | 209 | virtual-reg = <0xa0000200>; |
| 177 | clock-frequency = <0>; /* Filled in by zImage */ | 210 | clock-frequency = <0>; /* Filled in by zImage */ |
| 178 | current-speed = <115200>; | 211 | current-speed = <115200>; |
| @@ -180,10 +213,10 @@ | |||
| 180 | interrupts = <0x0 0x4>; | 213 | interrupts = <0x0 0x4>; |
| 181 | }; | 214 | }; |
| 182 | 215 | ||
| 183 | UART1: serial@10000300 { | 216 | UART1: serial@f0000300 { |
| 184 | device_type = "serial"; | 217 | device_type = "serial"; |
| 185 | compatible = "ns16550"; | 218 | compatible = "ns16550"; |
| 186 | reg = <0x10000300 0x00000008>; | 219 | reg = <0xf0000300 0x00000008>; |
| 187 | virtual-reg = <0xa0000300>; | 220 | virtual-reg = <0xa0000300>; |
| 188 | clock-frequency = <0>; | 221 | clock-frequency = <0>; |
| 189 | current-speed = <0>; | 222 | current-speed = <0>; |
| @@ -192,10 +225,10 @@ | |||
| 192 | }; | 225 | }; |
| 193 | 226 | ||
| 194 | 227 | ||
| 195 | UART2: serial@10000600 { | 228 | UART2: serial@f0000600 { |
| 196 | device_type = "serial"; | 229 | device_type = "serial"; |
| 197 | compatible = "ns16550"; | 230 | compatible = "ns16550"; |
| 198 | reg = <0x10000600 0x00000008>; | 231 | reg = <0xf0000600 0x00000008>; |
| 199 | virtual-reg = <0xa0000600>; | 232 | virtual-reg = <0xa0000600>; |
| 200 | clock-frequency = <0>; | 233 | clock-frequency = <0>; |
| 201 | current-speed = <0>; | 234 | current-speed = <0>; |
| @@ -203,27 +236,27 @@ | |||
| 203 | interrupts = <0x5 0x4>; | 236 | interrupts = <0x5 0x4>; |
| 204 | }; | 237 | }; |
| 205 | 238 | ||
| 206 | IIC0: i2c@10000400 { | 239 | IIC0: i2c@f0000400 { |
| 207 | compatible = "ibm,iic-440spe", "ibm,iic-440gp", "ibm,iic"; | 240 | compatible = "ibm,iic-440spe", "ibm,iic-440gp", "ibm,iic"; |
| 208 | reg = <0x10000400 0x00000014>; | 241 | reg = <0xf0000400 0x00000014>; |
| 209 | interrupt-parent = <&UIC0>; | 242 | interrupt-parent = <&UIC0>; |
| 210 | interrupts = <0x2 0x4>; | 243 | interrupts = <0x2 0x4>; |
| 211 | }; | 244 | }; |
| 212 | 245 | ||
| 213 | IIC1: i2c@10000500 { | 246 | IIC1: i2c@f0000500 { |
| 214 | compatible = "ibm,iic-440spe", "ibm,iic-440gp", "ibm,iic"; | 247 | compatible = "ibm,iic-440spe", "ibm,iic-440gp", "ibm,iic"; |
| 215 | reg = <0x10000500 0x00000014>; | 248 | reg = <0xf0000500 0x00000014>; |
| 216 | interrupt-parent = <&UIC0>; | 249 | interrupt-parent = <&UIC0>; |
| 217 | interrupts = <0x3 0x4>; | 250 | interrupts = <0x3 0x4>; |
| 218 | }; | 251 | }; |
| 219 | 252 | ||
| 220 | EMAC0: ethernet@10000800 { | 253 | EMAC0: ethernet@f0000800 { |
| 221 | linux,network-index = <0x0>; | 254 | linux,network-index = <0x0>; |
| 222 | device_type = "network"; | 255 | device_type = "network"; |
| 223 | compatible = "ibm,emac-440spe", "ibm,emac4"; | 256 | compatible = "ibm,emac-440spe", "ibm,emac4"; |
| 224 | interrupt-parent = <&UIC1>; | 257 | interrupt-parent = <&UIC1>; |
| 225 | interrupts = <0x1c 0x4 0x1d 0x4>; | 258 | interrupts = <0x1c 0x4 0x1d 0x4>; |
| 226 | reg = <0x10000800 0x00000074>; | 259 | reg = <0xf0000800 0x00000074>; |
| 227 | local-mac-address = [000000000000]; | 260 | local-mac-address = [000000000000]; |
| 228 | mal-device = <&MAL0>; | 261 | mal-device = <&MAL0>; |
| 229 | mal-tx-channel = <0>; | 262 | mal-tx-channel = <0>; |
| @@ -248,11 +281,11 @@ | |||
| 248 | primary; | 281 | primary; |
| 249 | large-inbound-windows; | 282 | large-inbound-windows; |
| 250 | enable-msi-hole; | 283 | enable-msi-hole; |
| 251 | reg = <0x0000000c 0x0ec00000 0x00000008 /* Config space access */ | 284 | reg = <0x0000000c 0x0ec00000 0x00000008 /* Config space access */ |
| 252 | 0x00000000 0x00000000 0x00000000 /* no IACK cycles */ | 285 | 0x00000000 0x00000000 0x00000000 /* no IACK cycles */ |
| 253 | 0x0000000c 0x0ed00000 0x00000004 /* Special cycles */ | 286 | 0x0000000c 0x0ed00000 0x00000004 /* Special cycles */ |
| 254 | 0x0000000c 0x0ec80000 0x00000100 /* Internal registers */ | 287 | 0x0000000c 0x0ec80000 0x00000100 /* Internal registers */ |
| 255 | 0x0000000c 0x0ec80100 0x000000fc>; /* Internal messaging registers */ | 288 | 0x0000000c 0x0ec80100 0x000000fc>; /* Internal messaging registers */ |
| 256 | 289 | ||
| 257 | /* Outbound ranges, one memory and one IO, | 290 | /* Outbound ranges, one memory and one IO, |
| 258 | * later cannot be changed | 291 | * later cannot be changed |
| @@ -453,6 +486,6 @@ | |||
| 453 | }; | 486 | }; |
| 454 | 487 | ||
| 455 | chosen { | 488 | chosen { |
| 456 | linux,stdout-path = "/plb/opb/serial@10000200"; | 489 | linux,stdout-path = "/plb/opb/serial@f0000200"; |
| 457 | }; | 490 | }; |
| 458 | }; | 491 | }; |
diff --git a/arch/powerpc/configs/44x/katmai_defconfig b/arch/powerpc/configs/44x/katmai_defconfig index dec901f9cc84..af244e1d255e 100644 --- a/arch/powerpc/configs/44x/katmai_defconfig +++ b/arch/powerpc/configs/44x/katmai_defconfig | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | # | 1 | # |
| 2 | # Automatically generated make config: don't edit | 2 | # Automatically generated make config: don't edit |
| 3 | # Linux kernel version: 2.6.33-rc1 | 3 | # Linux kernel version: 2.6.33-rc5 |
| 4 | # Mon Jan 4 14:55:34 2010 | 4 | # Tue Jan 26 14:40:58 2010 |
| 5 | # | 5 | # |
| 6 | # CONFIG_PPC64 is not set | 6 | # CONFIG_PPC64 is not set |
| 7 | 7 | ||
| @@ -106,6 +106,7 @@ CONFIG_INITRAMFS_SOURCE="" | |||
| 106 | CONFIG_RD_GZIP=y | 106 | CONFIG_RD_GZIP=y |
| 107 | # CONFIG_RD_BZIP2 is not set | 107 | # CONFIG_RD_BZIP2 is not set |
| 108 | # CONFIG_RD_LZMA is not set | 108 | # CONFIG_RD_LZMA is not set |
| 109 | # CONFIG_RD_LZO is not set | ||
| 109 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set | 110 | # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set |
| 110 | CONFIG_SYSCTL=y | 111 | CONFIG_SYSCTL=y |
| 111 | CONFIG_ANON_INODES=y | 112 | CONFIG_ANON_INODES=y |
| @@ -442,7 +443,90 @@ CONFIG_EXTRA_FIRMWARE="" | |||
| 442 | # CONFIG_SYS_HYPERVISOR is not set | 443 | # CONFIG_SYS_HYPERVISOR is not set |
| 443 | CONFIG_CONNECTOR=y | 444 | CONFIG_CONNECTOR=y |
| 444 | CONFIG_PROC_EVENTS=y | 445 | CONFIG_PROC_EVENTS=y |
| 445 | # CONFIG_MTD is not set | 446 | CONFIG_MTD=y |
| 447 | # CONFIG_MTD_DEBUG is not set | ||
| 448 | # CONFIG_MTD_TESTS is not set | ||
| 449 | # CONFIG_MTD_CONCAT is not set | ||
| 450 | CONFIG_MTD_PARTITIONS=y | ||
| 451 | # CONFIG_MTD_REDBOOT_PARTS is not set | ||
| 452 | CONFIG_MTD_CMDLINE_PARTS=y | ||
| 453 | CONFIG_MTD_OF_PARTS=y | ||
| 454 | # CONFIG_MTD_AR7_PARTS is not set | ||
| 455 | |||
| 456 | # | ||
| 457 | # User Modules And Translation Layers | ||
| 458 | # | ||
| 459 | CONFIG_MTD_CHAR=y | ||
| 460 | CONFIG_MTD_BLKDEVS=y | ||
| 461 | CONFIG_MTD_BLOCK=y | ||
| 462 | # CONFIG_FTL is not set | ||
| 463 | # CONFIG_NFTL is not set | ||
| 464 | # CONFIG_INFTL is not set | ||
| 465 | # CONFIG_RFD_FTL is not set | ||
| 466 | # CONFIG_SSFDC is not set | ||
| 467 | # CONFIG_MTD_OOPS is not set | ||
| 468 | |||
| 469 | # | ||
| 470 | # RAM/ROM/Flash chip drivers | ||
| 471 | # | ||
| 472 | CONFIG_MTD_CFI=y | ||
| 473 | # CONFIG_MTD_JEDECPROBE is not set | ||
| 474 | CONFIG_MTD_GEN_PROBE=y | ||
| 475 | # CONFIG_MTD_CFI_ADV_OPTIONS is not set | ||
| 476 | CONFIG_MTD_MAP_BANK_WIDTH_1=y | ||
| 477 | CONFIG_MTD_MAP_BANK_WIDTH_2=y | ||
| 478 | CONFIG_MTD_MAP_BANK_WIDTH_4=y | ||
| 479 | # CONFIG_MTD_MAP_BANK_WIDTH_8 is not set | ||
| 480 | # CONFIG_MTD_MAP_BANK_WIDTH_16 is not set | ||
| 481 | # CONFIG_MTD_MAP_BANK_WIDTH_32 is not set | ||
| 482 | CONFIG_MTD_CFI_I1=y | ||
| 483 | CONFIG_MTD_CFI_I2=y | ||
| 484 | # CONFIG_MTD_CFI_I4 is not set | ||
| 485 | # CONFIG_MTD_CFI_I8 is not set | ||
| 486 | # CONFIG_MTD_CFI_INTELEXT is not set | ||
| 487 | CONFIG_MTD_CFI_AMDSTD=y | ||
| 488 | # CONFIG_MTD_CFI_STAA is not set | ||
| 489 | CONFIG_MTD_CFI_UTIL=y | ||
| 490 | # CONFIG_MTD_RAM is not set | ||
| 491 | # CONFIG_MTD_ROM is not set | ||
| 492 | # CONFIG_MTD_ABSENT is not set | ||
| 493 | |||
| 494 | # | ||
| 495 | # Mapping drivers for chip access | ||
| 496 | # | ||
| 497 | # CONFIG_MTD_COMPLEX_MAPPINGS is not set | ||
| 498 | # CONFIG_MTD_PHYSMAP is not set | ||
| 499 | CONFIG_MTD_PHYSMAP_OF=y | ||
| 500 | # CONFIG_MTD_INTEL_VR_NOR is not set | ||
| 501 | # CONFIG_MTD_PLATRAM is not set | ||
| 502 | |||
| 503 | # | ||
| 504 | # Self-contained MTD device drivers | ||
| 505 | # | ||
| 506 | # CONFIG_MTD_PMC551 is not set | ||
| 507 | # CONFIG_MTD_SLRAM is not set | ||
| 508 | # CONFIG_MTD_PHRAM is not set | ||
| 509 | # CONFIG_MTD_MTDRAM is not set | ||
| 510 | # CONFIG_MTD_BLOCK2MTD is not set | ||
| 511 | |||
| 512 | # | ||
| 513 | # Disk-On-Chip Device Drivers | ||
| 514 | # | ||
| 515 | # CONFIG_MTD_DOC2000 is not set | ||
| 516 | # CONFIG_MTD_DOC2001 is not set | ||
| 517 | # CONFIG_MTD_DOC2001PLUS is not set | ||
| 518 | # CONFIG_MTD_NAND is not set | ||
| 519 | # CONFIG_MTD_ONENAND is not set | ||
| 520 | |||
| 521 | # | ||
| 522 | # LPDDR flash memory drivers | ||
| 523 | # | ||
| 524 | # CONFIG_MTD_LPDDR is not set | ||
| 525 | |||
| 526 | # | ||
| 527 | # UBI - Unsorted block images | ||
| 528 | # | ||
| 529 | # CONFIG_MTD_UBI is not set | ||
| 446 | CONFIG_OF_DEVICE=y | 530 | CONFIG_OF_DEVICE=y |
| 447 | # CONFIG_PARPORT is not set | 531 | # CONFIG_PARPORT is not set |
| 448 | CONFIG_BLK_DEV=y | 532 | CONFIG_BLK_DEV=y |
| @@ -500,7 +584,7 @@ CONFIG_HAVE_IDE=y | |||
| 500 | # | 584 | # |
| 501 | 585 | ||
| 502 | # | 586 | # |
| 503 | # See the help texts for more information. | 587 | # The newer stack is recommended. |
| 504 | # | 588 | # |
| 505 | # CONFIG_FIREWIRE is not set | 589 | # CONFIG_FIREWIRE is not set |
| 506 | # CONFIG_IEEE1394 is not set | 590 | # CONFIG_IEEE1394 is not set |
| @@ -763,7 +847,6 @@ CONFIG_EXT2_FS=y | |||
| 763 | # CONFIG_EXT2_FS_XIP is not set | 847 | # CONFIG_EXT2_FS_XIP is not set |
| 764 | # CONFIG_EXT3_FS is not set | 848 | # CONFIG_EXT3_FS is not set |
| 765 | # CONFIG_EXT4_FS is not set | 849 | # CONFIG_EXT4_FS is not set |
| 766 | CONFIG_EXT4_USE_FOR_EXT23=y | ||
| 767 | # CONFIG_REISERFS_FS is not set | 850 | # CONFIG_REISERFS_FS is not set |
| 768 | # CONFIG_JFS_FS is not set | 851 | # CONFIG_JFS_FS is not set |
| 769 | # CONFIG_FS_POSIX_ACL is not set | 852 | # CONFIG_FS_POSIX_ACL is not set |
| @@ -820,6 +903,7 @@ CONFIG_MISC_FILESYSTEMS=y | |||
| 820 | # CONFIG_BEFS_FS is not set | 903 | # CONFIG_BEFS_FS is not set |
| 821 | # CONFIG_BFS_FS is not set | 904 | # CONFIG_BFS_FS is not set |
| 822 | # CONFIG_EFS_FS is not set | 905 | # CONFIG_EFS_FS is not set |
| 906 | # CONFIG_JFFS2_FS is not set | ||
| 823 | CONFIG_CRAMFS=y | 907 | CONFIG_CRAMFS=y |
| 824 | # CONFIG_SQUASHFS is not set | 908 | # CONFIG_SQUASHFS is not set |
| 825 | # CONFIG_VXFS_FS is not set | 909 | # CONFIG_VXFS_FS is not set |
diff --git a/arch/powerpc/mm/40x_mmu.c b/arch/powerpc/mm/40x_mmu.c index 08dfa8e6d86f..65abfcfaaa9e 100644 --- a/arch/powerpc/mm/40x_mmu.c +++ b/arch/powerpc/mm/40x_mmu.c | |||
| @@ -84,8 +84,8 @@ void __init MMU_init_hw(void) | |||
| 84 | * vectors and the kernel live in real-mode. | 84 | * vectors and the kernel live in real-mode. |
| 85 | */ | 85 | */ |
| 86 | 86 | ||
| 87 | mtspr(SPRN_DCCR, 0xF0000000); /* 512 MB of data space at 0x0. */ | 87 | mtspr(SPRN_DCCR, 0xFFFF0000); /* 2GByte of data space at 0x0. */ |
| 88 | mtspr(SPRN_ICCR, 0xF0000000); /* 512 MB of instr. space at 0x0. */ | 88 | mtspr(SPRN_ICCR, 0xFFFF0000); /* 2GByte of instr. space at 0x0. */ |
| 89 | } | 89 | } |
| 90 | 90 | ||
| 91 | #define LARGE_PAGE_SIZE_16M (1<<24) | 91 | #define LARGE_PAGE_SIZE_16M (1<<24) |
diff --git a/arch/powerpc/sysdev/ppc4xx_soc.c b/arch/powerpc/sysdev/ppc4xx_soc.c index 5b32adc9a9b2..5c014350bf16 100644 --- a/arch/powerpc/sysdev/ppc4xx_soc.c +++ b/arch/powerpc/sysdev/ppc4xx_soc.c | |||
| @@ -174,7 +174,8 @@ static int __init ppc4xx_l2c_probe(void) | |||
| 174 | | L2C_CFG_CPIM | L2C_CFG_TPIM | L2C_CFG_LIM | L2C_CFG_SMCM; | 174 | | L2C_CFG_CPIM | L2C_CFG_TPIM | L2C_CFG_LIM | L2C_CFG_SMCM; |
| 175 | 175 | ||
| 176 | /* Check for 460EX/GT special handling */ | 176 | /* Check for 460EX/GT special handling */ |
| 177 | if (of_device_is_compatible(np, "ibm,l2-cache-460ex")) | 177 | if (of_device_is_compatible(np, "ibm,l2-cache-460ex") || |
| 178 | of_device_is_compatible(np, "ibm,l2-cache-460gt")) | ||
| 178 | r |= L2C_CFG_RDBW; | 179 | r |= L2C_CFG_RDBW; |
| 179 | 180 | ||
| 180 | mtdcr(dcrbase_l2c + DCRN_L2C0_CFG, r); | 181 | mtdcr(dcrbase_l2c + DCRN_L2C0_CFG, r); |
