Skip to content

Commit

Permalink
Merge remote-tracking branch 'kumar/next' into next
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Herrenschmidt committed Sep 18, 2012
2 parents 1e38b71 + 905e75c commit caa1d63
Show file tree
Hide file tree
Showing 101 changed files with 2,421 additions and 1,024 deletions.
9 changes: 6 additions & 3 deletions Documentation/devicetree/bindings/powerpc/fsl/ifc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,12 @@ Properties:
- #size-cells : Either one or two, depending on how large each chipselect
can be.
- reg : Offset and length of the register set for the device
- interrupts : IFC has two interrupts. The first one is the "common"
interrupt(CM_EVTER_STAT), and second is the NAND interrupt
(NAND_EVTER_STAT).
- interrupts: IFC may have one or two interrupts. If two interrupt
specifiers are present, the first is the "common"
interrupt (CM_EVTER_STAT), and the second is the NAND
interrupt (NAND_EVTER_STAT). If there is only one,
that interrupt reports both types of event.


- ranges : Each range corresponds to a single chipselect, and covers
the entire access window as configured.
Expand Down
6 changes: 4 additions & 2 deletions arch/powerpc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,8 @@ config ARCH_HIBERNATION_POSSIBLE
config ARCH_SUSPEND_POSSIBLE
def_bool y
depends on ADB_PMU || PPC_EFIKA || PPC_LITE5200 || PPC_83xx || \
(PPC_85xx && !SMP) || PPC_86xx || PPC_PSERIES || 44x || 40x
(PPC_85xx && !PPC_E500MC) || PPC_86xx || PPC_PSERIES \
|| 44x || 40x

config PPC_DCR_NATIVE
bool
Expand Down Expand Up @@ -328,7 +329,8 @@ config SWIOTLB

config HOTPLUG_CPU
bool "Support for enabling/disabling CPUs"
depends on SMP && HOTPLUG && EXPERIMENTAL && (PPC_PSERIES || PPC_PMAC || PPC_POWERNV)
depends on SMP && HOTPLUG && EXPERIMENTAL && (PPC_PSERIES || \
PPC_PMAC || PPC_POWERNV || (PPC_85xx && !PPC_E500MC))
---help---
Say Y here to be able to disable and re-enable individual
CPUs at runtime on SMP machines.
Expand Down
58 changes: 58 additions & 0 deletions arch/powerpc/boot/dts/fsl/e500mc_power_isa.dtsi
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
/*
* e500mc Power ISA Device Tree Source (include)
*
* Copyright 2012 Freescale Semiconductor Inc.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* * Neither the name of Freescale Semiconductor nor the
* names of its contributors may be used to endorse or promote products
* derived from this software without specific prior written permission.
*
*
* ALTERNATIVELY, this software may be distributed under the terms of the
* GNU General Public License ("GPL") as published by the Free Software
* Foundation, either version 2 of that License or (at your option) any
* later version.
*
* THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor "AS IS" AND ANY
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

/ {
cpus {
power-isa-version = "2.06";
power-isa-b; // Base
power-isa-e; // Embedded
power-isa-atb; // Alternate Time Base
power-isa-cs; // Cache Specification
power-isa-ds; // Decorated Storage
power-isa-e.ed; // Embedded.Enhanced Debug
power-isa-e.pd; // Embedded.External PID
power-isa-e.hv; // Embedded.Hypervisor
power-isa-e.le; // Embedded.Little-Endian
power-isa-e.pm; // Embedded.Performance Monitor
power-isa-e.pc; // Embedded.Processor Control
power-isa-ecl; // Embedded Cache Locking
power-isa-exp; // External Proxy
power-isa-fp; // Floating Point
power-isa-fp.r; // Floating Point.Record
power-isa-mmc; // Memory Coherence
power-isa-scpm; // Store Conditional Page Mobility
power-isa-wt; // Wait
mmu-type = "power-embedded";
};
};
52 changes: 52 additions & 0 deletions arch/powerpc/boot/dts/fsl/e500v2_power_isa.dtsi
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
/*
* e500v2 Power ISA Device Tree Source (include)
*
* Copyright 2012 Freescale Semiconductor Inc.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* * Neither the name of Freescale Semiconductor nor the
* names of its contributors may be used to endorse or promote products
* derived from this software without specific prior written permission.
*
*
* ALTERNATIVELY, this software may be distributed under the terms of the
* GNU General Public License ("GPL") as published by the Free Software
* Foundation, either version 2 of that License or (at your option) any
* later version.
*
* THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor "AS IS" AND ANY
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

/ {
cpus {
power-isa-version = "2.03";
power-isa-b; // Base
power-isa-e; // Embedded
power-isa-atb; // Alternate Time Base
power-isa-cs; // Cache Specification
power-isa-e.le; // Embedded.Little-Endian
power-isa-e.pm; // Embedded.Performance Monitor
power-isa-ecl; // Embedded Cache Locking
power-isa-mmc; // Memory Coherence
power-isa-sp; // Signal Processing Engine
power-isa-sp.fd; // SPE.Embedded Float Scalar Double
power-isa-sp.fs; // SPE.Embedded Float Scalar Single
power-isa-sp.fv; // SPE.Embedded Float Vector
mmu-type = "power-embedded";
};
};
59 changes: 59 additions & 0 deletions arch/powerpc/boot/dts/fsl/e5500_power_isa.dtsi
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
/*
* e5500 Power ISA Device Tree Source (include)
*
* Copyright 2012 Freescale Semiconductor Inc.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* * Neither the name of Freescale Semiconductor nor the
* names of its contributors may be used to endorse or promote products
* derived from this software without specific prior written permission.
*
*
* ALTERNATIVELY, this software may be distributed under the terms of the
* GNU General Public License ("GPL") as published by the Free Software
* Foundation, either version 2 of that License or (at your option) any
* later version.
*
* THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor "AS IS" AND ANY
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

/ {
cpus {
power-isa-version = "2.06";
power-isa-b; // Base
power-isa-e; // Embedded
power-isa-atb; // Alternate Time Base
power-isa-cs; // Cache Specification
power-isa-ds; // Decorated Storage
power-isa-e.ed; // Embedded.Enhanced Debug
power-isa-e.pd; // Embedded.External PID
power-isa-e.hv; // Embedded.Hypervisor
power-isa-e.le; // Embedded.Little-Endian
power-isa-e.pm; // Embedded.Performance Monitor
power-isa-e.pc; // Embedded.Processor Control
power-isa-ecl; // Embedded Cache Locking
power-isa-exp; // External Proxy
power-isa-fp; // Floating Point
power-isa-fp.r; // Floating Point.Record
power-isa-mmc; // Memory Coherence
power-isa-scpm; // Store Conditional Page Mobility
power-isa-wt; // Wait
power-isa-64; // 64-bit
mmu-type = "power-embedded";
};
};
3 changes: 3 additions & 0 deletions arch/powerpc/boot/dts/fsl/mpc8536si-pre.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@
*/

/dts-v1/;

/include/ "e500v2_power_isa.dtsi"

/ {
compatible = "fsl,MPC8536";
#address-cells = <2>;
Expand Down
3 changes: 3 additions & 0 deletions arch/powerpc/boot/dts/fsl/mpc8544si-pre.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@
*/

/dts-v1/;

/include/ "e500v2_power_isa.dtsi"

/ {
compatible = "fsl,MPC8544";
#address-cells = <2>;
Expand Down
3 changes: 3 additions & 0 deletions arch/powerpc/boot/dts/fsl/mpc8548si-pre.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@
*/

/dts-v1/;

/include/ "e500v2_power_isa.dtsi"

/ {
compatible = "fsl,MPC8548";
#address-cells = <2>;
Expand Down
3 changes: 3 additions & 0 deletions arch/powerpc/boot/dts/fsl/mpc8568si-pre.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@
*/

/dts-v1/;

/include/ "e500v2_power_isa.dtsi"

/ {
compatible = "fsl,MPC8568";
#address-cells = <2>;
Expand Down
3 changes: 3 additions & 0 deletions arch/powerpc/boot/dts/fsl/mpc8569si-pre.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@
*/

/dts-v1/;

/include/ "e500v2_power_isa.dtsi"

/ {
compatible = "fsl,MPC8569";
#address-cells = <2>;
Expand Down
3 changes: 3 additions & 0 deletions arch/powerpc/boot/dts/fsl/mpc8572si-pre.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@
*/

/dts-v1/;

/include/ "e500v2_power_isa.dtsi"

/ {
compatible = "fsl,MPC8572";
#address-cells = <2>;
Expand Down
3 changes: 3 additions & 0 deletions arch/powerpc/boot/dts/fsl/p1010si-pre.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@
*/

/dts-v1/;

/include/ "e500v2_power_isa.dtsi"

/ {
compatible = "fsl,P1010";
#address-cells = <2>;
Expand Down
3 changes: 3 additions & 0 deletions arch/powerpc/boot/dts/fsl/p1020si-pre.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@
*/

/dts-v1/;

/include/ "e500v2_power_isa.dtsi"

/ {
compatible = "fsl,P1020";
#address-cells = <2>;
Expand Down
3 changes: 3 additions & 0 deletions arch/powerpc/boot/dts/fsl/p1021si-pre.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@
*/

/dts-v1/;

/include/ "e500v2_power_isa.dtsi"

/ {
compatible = "fsl,P1021";
#address-cells = <2>;
Expand Down
3 changes: 3 additions & 0 deletions arch/powerpc/boot/dts/fsl/p1022si-pre.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@
*/

/dts-v1/;

/include/ "e500v2_power_isa.dtsi"

/ {
compatible = "fsl,P1022";
#address-cells = <2>;
Expand Down
3 changes: 3 additions & 0 deletions arch/powerpc/boot/dts/fsl/p1023si-pre.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@
*/

/dts-v1/;

/include/ "e500v2_power_isa.dtsi"

/ {
compatible = "fsl,P1023";
#address-cells = <2>;
Expand Down
3 changes: 3 additions & 0 deletions arch/powerpc/boot/dts/fsl/p2020si-pre.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@
*/

/dts-v1/;

/include/ "e500v2_power_isa.dtsi"

/ {
compatible = "fsl,P2020";
#address-cells = <2>;
Expand Down
3 changes: 3 additions & 0 deletions arch/powerpc/boot/dts/fsl/p2041si-pre.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@
*/

/dts-v1/;

/include/ "e500mc_power_isa.dtsi"

/ {
compatible = "fsl,P2041";
#address-cells = <2>;
Expand Down
3 changes: 3 additions & 0 deletions arch/powerpc/boot/dts/fsl/p3041si-pre.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@
*/

/dts-v1/;

/include/ "e500mc_power_isa.dtsi"

/ {
compatible = "fsl,P3041";
#address-cells = <2>;
Expand Down
3 changes: 3 additions & 0 deletions arch/powerpc/boot/dts/fsl/p4080si-pre.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@
*/

/dts-v1/;

/include/ "e500mc_power_isa.dtsi"

/ {
compatible = "fsl,P4080";
#address-cells = <2>;
Expand Down
3 changes: 3 additions & 0 deletions arch/powerpc/boot/dts/fsl/p5020si-pre.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@
*/

/dts-v1/;

/include/ "e5500_power_isa.dtsi"

/ {
compatible = "fsl,P5020";
#address-cells = <2>;
Expand Down
Loading

0 comments on commit caa1d63

Please sign in to comment.