forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/…
…benh/powerpc * 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc: (92 commits) powerpc: Remove unused 'protect4gb' boot parameter powerpc: Build-in e1000e for pseries & ppc64_defconfig powerpc/pseries: Make request_ras_irqs() available to other pseries code powerpc/numa: Use ibm,architecture-vec-5 to detect form 1 affinity powerpc/numa: Set a smaller value for RECLAIM_DISTANCE to enable zone reclaim powerpc: Use smt_snooze_delay=-1 to always busy loop powerpc: Remove check of ibm,smt-snooze-delay OF property powerpc/kdump: Fix race in kdump shutdown powerpc/kexec: Fix race in kexec shutdown powerpc/kexec: Speedup kexec hash PTE tear down powerpc/pseries: Add hcall to read 4 ptes at a time in real mode powerpc: Use more accurate limit for first segment memory allocations powerpc/kdump: Use chip->shutdown to disable IRQs powerpc/kdump: CPUs assume the context of the oopsing CPU powerpc/crashdump: Do not fail on NULL pointer dereferencing powerpc/eeh: Fix oops when probing in early boot powerpc/pci: Check devices status property when scanning OF tree powerpc/vio: Switch VIO Bus PM to use generic helpers powerpc: Avoid bad relocations in iSeries code powerpc: Use common cpu_die (fixes SMP+SUSPEND build) ...
- Loading branch information
Showing
118 changed files
with
4,203 additions
and
1,198 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
Reboot property to control system reboot on PPC4xx systems: | ||
|
||
By setting "reset_type" to one of the following values, the default | ||
software reset mechanism may be overidden. Here the possible values of | ||
"reset_type": | ||
|
||
1 - PPC4xx core reset | ||
2 - PPC4xx chip reset | ||
3 - PPC4xx system reset (default) | ||
|
||
Example: | ||
|
||
cpu@0 { | ||
device_type = "cpu"; | ||
model = "PowerPC,440SPe"; | ||
... | ||
reset-type = <2>; /* Use chip-reset */ | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,155 @@ | ||
/* | ||
* Device Tree Source for IBM Embedded PPC 476 Platform | ||
* | ||
* Copyright 2010 Torez Smith, IBM Corporation. | ||
* | ||
* Based on earlier code: | ||
* Copyright (c) 2006, 2007 IBM Corp. | ||
* Josh Boyer <[email protected]>, David Gibson <[email protected]> | ||
* | ||
* This file is licensed under the terms of the GNU General Public | ||
* License version 2. This program is licensed "as is" without | ||
* any warranty of any kind, whether express or implied. | ||
*/ | ||
|
||
/dts-v1/; | ||
|
||
/memreserve/ 0x01f00000 0x00100000; | ||
|
||
/ { | ||
#address-cells = <2>; | ||
#size-cells = <1>; | ||
model = "ibm,iss-4xx"; | ||
compatible = "ibm,iss-4xx"; | ||
dcr-parent = <&{/cpus/cpu@0}>; | ||
|
||
aliases { | ||
serial0 = &UART0; | ||
}; | ||
|
||
cpus { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
|
||
cpu@0 { | ||
device_type = "cpu"; | ||
model = "PowerPC,4xx"; // real CPU changed in sim | ||
reg = <0>; | ||
clock-frequency = <100000000>; // 100Mhz :-) | ||
timebase-frequency = <100000000>; | ||
i-cache-line-size = <32>; | ||
d-cache-line-size = <32>; | ||
i-cache-size = <32768>; | ||
d-cache-size = <32768>; | ||
dcr-controller; | ||
dcr-access-method = "native"; | ||
status = "ok"; | ||
}; | ||
cpu@1 { | ||
device_type = "cpu"; | ||
model = "PowerPC,4xx"; // real CPU changed in sim | ||
reg = <1>; | ||
clock-frequency = <100000000>; // 100Mhz :-) | ||
timebase-frequency = <100000000>; | ||
i-cache-line-size = <32>; | ||
d-cache-line-size = <32>; | ||
i-cache-size = <32768>; | ||
d-cache-size = <32768>; | ||
dcr-controller; | ||
dcr-access-method = "native"; | ||
status = "disabled"; | ||
enable-method = "spin-table"; | ||
cpu-release-addr = <0 0x01f00100>; | ||
}; | ||
cpu@2 { | ||
device_type = "cpu"; | ||
model = "PowerPC,4xx"; // real CPU changed in sim | ||
reg = <2>; | ||
clock-frequency = <100000000>; // 100Mhz :-) | ||
timebase-frequency = <100000000>; | ||
i-cache-line-size = <32>; | ||
d-cache-line-size = <32>; | ||
i-cache-size = <32768>; | ||
d-cache-size = <32768>; | ||
dcr-controller; | ||
dcr-access-method = "native"; | ||
status = "disabled"; | ||
enable-method = "spin-table"; | ||
cpu-release-addr = <0 0x01f00200>; | ||
}; | ||
cpu@3 { | ||
device_type = "cpu"; | ||
model = "PowerPC,4xx"; // real CPU changed in sim | ||
reg = <3>; | ||
clock-frequency = <100000000>; // 100Mhz :-) | ||
timebase-frequency = <100000000>; | ||
i-cache-line-size = <32>; | ||
d-cache-line-size = <32>; | ||
i-cache-size = <32768>; | ||
d-cache-size = <32768>; | ||
dcr-controller; | ||
dcr-access-method = "native"; | ||
status = "disabled"; | ||
enable-method = "spin-table"; | ||
cpu-release-addr = <0 0x01f00300>; | ||
}; | ||
}; | ||
|
||
memory { | ||
device_type = "memory"; | ||
reg = <0x00000000 0x00000000 0x00000000>; // Filled in by zImage | ||
|
||
}; | ||
|
||
MPIC: interrupt-controller { | ||
compatible = "chrp,open-pic"; | ||
interrupt-controller; | ||
dcr-reg = <0xffc00000 0x00030000>; | ||
#address-cells = <0>; | ||
#size-cells = <0>; | ||
#interrupt-cells = <2>; | ||
|
||
}; | ||
|
||
plb { | ||
compatible = "ibm,plb-4xx", "ibm,plb4"; /* Could be PLB6, doesn't matter */ | ||
#address-cells = <2>; | ||
#size-cells = <1>; | ||
ranges; | ||
clock-frequency = <0>; // Filled in by zImage | ||
|
||
POB0: opb { | ||
compatible = "ibm,opb-4xx", "ibm,opb"; | ||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
/* Wish there was a nicer way of specifying a full 32-bit | ||
range */ | ||
ranges = <0x00000000 0x00000001 0x00000000 0x80000000 | ||
0x80000000 0x00000001 0x80000000 0x80000000>; | ||
clock-frequency = <0>; // Filled in by zImage | ||
UART0: serial@40000200 { | ||
device_type = "serial"; | ||
compatible = "ns16550a"; | ||
reg = <0x40000200 0x00000008>; | ||
virtual-reg = <0xe0000200>; | ||
clock-frequency = <11059200>; | ||
current-speed = <115200>; | ||
interrupt-parent = <&MPIC>; | ||
interrupts = <0x0 0x2>; | ||
}; | ||
}; | ||
}; | ||
|
||
nvrtc { | ||
compatible = "ds1743-nvram", "ds1743", "rtc-ds1743"; | ||
reg = <0 0xEF703000 0x2000>; | ||
}; | ||
iss-block { | ||
compatible = "ibm,iss-sim-block-device"; | ||
reg = <0 0xEF701000 0x1000>; | ||
}; | ||
|
||
chosen { | ||
linux,stdout-path = "/plb/opb/serial@40000200"; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,116 @@ | ||
/* | ||
* Device Tree Source for IBM Embedded PPC 476 Platform | ||
* | ||
* Copyright 2010 Torez Smith, IBM Corporation. | ||
* | ||
* Based on earlier code: | ||
* Copyright (c) 2006, 2007 IBM Corp. | ||
* Josh Boyer <[email protected]>, David Gibson <[email protected]> | ||
* | ||
* This file is licensed under the terms of the GNU General Public | ||
* License version 2. This program is licensed "as is" without | ||
* any warranty of any kind, whether express or implied. | ||
*/ | ||
|
||
/dts-v1/; | ||
|
||
/ { | ||
#address-cells = <2>; | ||
#size-cells = <1>; | ||
model = "ibm,iss-4xx"; | ||
compatible = "ibm,iss-4xx"; | ||
dcr-parent = <&{/cpus/cpu@0}>; | ||
|
||
aliases { | ||
serial0 = &UART0; | ||
}; | ||
|
||
cpus { | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
|
||
cpu@0 { | ||
device_type = "cpu"; | ||
model = "PowerPC,4xx"; // real CPU changed in sim | ||
reg = <0x00000000>; | ||
clock-frequency = <100000000>; // 100Mhz :-) | ||
timebase-frequency = <100000000>; | ||
i-cache-line-size = <32>; // may need fixup in sim | ||
d-cache-line-size = <32>; // may need fixup in sim | ||
i-cache-size = <32768>; /* may need fixup in sim */ | ||
d-cache-size = <32768>; /* may need fixup in sim */ | ||
dcr-controller; | ||
dcr-access-method = "native"; | ||
}; | ||
}; | ||
|
||
memory { | ||
device_type = "memory"; | ||
reg = <0x00000000 0x00000000 0x00000000>; // Filled in by zImage | ||
}; | ||
|
||
UIC0: interrupt-controller0 { | ||
compatible = "ibm,uic-4xx", "ibm,uic"; | ||
interrupt-controller; | ||
cell-index = <0>; | ||
dcr-reg = <0x0c0 0x009>; | ||
#address-cells = <0>; | ||
#size-cells = <0>; | ||
#interrupt-cells = <2>; | ||
|
||
}; | ||
|
||
UIC1: interrupt-controller1 { | ||
compatible = "ibm,uic-4xx", "ibm,uic"; | ||
interrupt-controller; | ||
cell-index = <1>; | ||
dcr-reg = <0x0d0 0x009>; | ||
#address-cells = <0>; | ||
#size-cells = <0>; | ||
#interrupt-cells = <2>; | ||
interrupts = <0x1e 0x4 0x1f 0x4>; /* cascade */ | ||
interrupt-parent = <&UIC0>; | ||
}; | ||
|
||
plb { | ||
compatible = "ibm,plb-4xx", "ibm,plb4"; /* Could be PLB6, doesn't matter */ | ||
#address-cells = <2>; | ||
#size-cells = <1>; | ||
ranges; | ||
clock-frequency = <0>; // Filled in by zImage | ||
|
||
POB0: opb { | ||
compatible = "ibm,opb-4xx", "ibm,opb"; | ||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
/* Wish there was a nicer way of specifying a full 32-bit | ||
range */ | ||
ranges = <0x00000000 0x00000001 0x00000000 0x80000000 | ||
0x80000000 0x00000001 0x80000000 0x80000000>; | ||
clock-frequency = <0>; // Filled in by zImage | ||
UART0: serial@40000200 { | ||
device_type = "serial"; | ||
compatible = "ns16550a"; | ||
reg = <0x40000200 0x00000008>; | ||
virtual-reg = <0xe0000200>; | ||
clock-frequency = <11059200>; | ||
current-speed = <115200>; | ||
interrupt-parent = <&UIC0>; | ||
interrupts = <0x0 0x4>; | ||
}; | ||
}; | ||
}; | ||
|
||
nvrtc { | ||
compatible = "ds1743-nvram", "ds1743", "rtc-ds1743"; | ||
reg = <0 0xEF703000 0x2000>; | ||
}; | ||
iss-block { | ||
compatible = "ibm,iss-sim-block-device"; | ||
reg = <0 0xEF701000 0x1000>; | ||
}; | ||
|
||
chosen { | ||
linux,stdout-path = "/plb/opb/serial@40000200"; | ||
}; | ||
}; |
Oops, something went wrong.