07 Jan, 2012

1 commit

  • * 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc: (185 commits)
    powerpc: fix compile error with 85xx/p1010rdb.c
    powerpc: fix compile error with 85xx/p1023_rds.c
    powerpc/fsl: add MSI support for the Freescale hypervisor
    arch/powerpc/sysdev/fsl_rmu.c: introduce missing kfree
    powerpc/fsl: Add support for Integrated Flash Controller
    powerpc/fsl: update compatiable on fsl 16550 uart nodes
    powerpc/85xx: fix PCI and localbus properties in p1022ds.dts
    powerpc/85xx: re-enable ePAPR byte channel driver in corenet32_smp_defconfig
    powerpc/fsl: Update defconfigs to enable some standard FSL HW features
    powerpc: Add TBI PHY node to first MDIO bus
    sbc834x: put full compat string in board match check
    powerpc/fsl-pci: Allow 64-bit PCIe devices to DMA to any memory address
    powerpc: Fix unpaired probe_hcall_entry and probe_hcall_exit
    offb: Fix setting of the pseudo-palette for >8bpp
    offb: Add palette hack for qemu "standard vga" framebuffer
    offb: Fix bug in calculating requested vram size
    powerpc/boot: Change the WARN to INFO for boot wrapper overlap message
    powerpc/44x: Fix build error on currituck platform
    powerpc/boot: Change the load address for the wrapper to fit the kernel
    powerpc/44x: Enable CRASH_DUMP for 440x
    ...

    Fix up a trivial conflict in arch/powerpc/include/asm/cputime.h due to
    the additional sparse-checking code for cputime_t.

    Linus Torvalds
     

05 Jan, 2012

3 commits

  • The Freescale serial port's are pretty much a 16550, however there are
    some FSL specific bugs and features. Add a "fsl,ns16550" compatiable
    string to allow code to handle those FSL specific issues.

    Signed-off-by: Kumar Gala

    Kumar Gala
     
  • PCI ranges, localbus reg and localbus chip-select 2 range do not match
    the memory map setup by bootloader.

    Signed-off-by: Timur Tabi
    Signed-off-by: Kumar Gala

    Timur Tabi
     
  • Systems which use the fsl_pq_mdio driver need to specify an
    address for TBI PHY transactions such that the address does
    not conflict with any PHYs on the bus (all transactions to
    that address are directed to the onboard TBI PHY). The driver
    used to scan for a free address if no address was specified,
    however this ran into issues when the PHY Lib was fixed so
    that all MDIO transactions were protected by a mutex. As it
    is, the code was meant to serve as a transitional tool until
    the device trees were all updated to specify the TBI address.

    The best fix for the mutex issue was to remove the scanning code,
    but it turns out some of the newer SoCs have started to omit
    the tbi-phy node when SGMII is not being used. As such, these
    devices will now fail unless we add a tbi-phy node to the first
    mdio controller.

    Signed-off-by: Andy Fleming
    Signed-off-by: Kumar Gala

    Andy Fleming
     

22 Dec, 2011

1 commit

  • commit c55aef0e5bc6 ("powerpc/boot: Change the load address
    for the wrapper to fit the kernel") introduced a WARNING to
    inform the user that the uncompressed kernel would overlap
    the boot uncompressing wrapper code. Change it to an INFO.

    I initially thought, this would be a 'WARNING' for the those
    boards, where the link_address should be fixed, so that the
    user can take actions accordingly.

    Changing the same to INFO.

    Signed-off-by: Suzuki K. Poulose
    Signed-off-by: Josh Boyer

    Suzuki Poulose
     

20 Dec, 2011

1 commit

  • The wrapper code which uncompresses the kernel in case of a 'ppc' boot
    is by default loaded at 0x00400000 and the kernel will be uncompressed
    to fit the location 0-0x00400000. But with dynamic relocations, the size
    of the kernel may exceed 0x00400000(4M). This would cause an overlap
    of the uncompressed kernel and the boot wrapper, causing a failure in
    boot.

    The message looks like :

    zImage starting: loaded at 0x00400000 (sp: 0x0065ffb0)
    Allocating 0x5ce650 bytes for kernel ...
    Insufficient memory for kernel at address 0! (_start=00400000, uncompressed size=00591a20)

    This patch shifts the load address of the boot wrapper code to the next
    higher MB, according to the size of the uncompressed vmlinux.

    With the patch, we get the following message while building the image :

    WARN: Uncompressed kernel (size 0x5b0344) overlaps the address of the wrapper(0x400000)
    WARN: Fixing the link_address of wrapper to (0x600000)

    Signed-off-by: Suzuki K. Poulose
    Signed-off-by: Josh Boyer

    Suzuki Poulose
     

16 Dec, 2011

1 commit


09 Dec, 2011

3 commits


08 Dec, 2011

1 commit

  • So I've had one of these for a while and it looks like the vendor never
    bothered submitting the support upstream.

    This adds it using ppc40x_simple and provides a device-tree.

    There are some changes to the boot wrapper because the way u-boot works
    on this thing, it seems to expect a multipart image with the kernel,
    initrd and dtb in it.

    The USB support is missing as it needs the yet unmerged driver for
    the DWC OTG part and the GPIOs may need further definition in the dts.

    Signed-off-by: Benjamin Herrenschmidt

    Benjamin Herrenschmidt
     

03 Dec, 2011

1 commit


02 Dec, 2011

1 commit


30 Nov, 2011

1 commit

  • The AppliedMicro APM8018X embedded processor targets embedded applications that
    require low power and a small footprint. It features a PowerPC 405 processor
    core built in a 65nm low-power CMOS process with a five-stage pipeline executing
    up to one instruction per cycle. The family has 128-kbytes of on-chip memory,
    a 128-bit local bus and on-chip DDR2 SDRAM controller with 16-bit interface.

    Signed-off-by: Tanmay Inamdar
    Signed-off-by: Josh Boyer

    Tanmay Inamdar
     

24 Nov, 2011

26 commits

  • The Freescale P1022 has a unique pin muxing "feature" where the DIU video
    controller's video signals are muxed with 24 of the local bus address signals.
    When the DIU is enabled, the bulk of the local bus is disabled, preventing
    access to memory-mapped devices like NOR flash and the pixis FPGA.

    In this situation, the pixis supports "indirect mode", which allows access
    to the pixis itself by reading/writing addresses on specific local bus
    chip selects. CS0 is used to select which pixis register to access, and
    CS1 is used to read/write the value.

    To support this, we introduce another board-control child node of the
    localbus node that contains a 'reg' property for CS0 and CS1. This will
    produce the correct physical addresses for CS0 and CS1.

    Signed-off-by: Timur Tabi
    Signed-off-by: Kumar Gala

    Timur Tabi
     
  • Update all dts files that support SRIO controllers to match the new
    fsl,srio device tree binding.

    Signed-off-by: Kumar Gala

    Kumar Gala
     
  • Utilize new split between board & SoC, and new SoC device trees split
    into pre & post utilizing 'template' includes for SoC IP blocks.

    Other changes include:
    * Adding of MPIC timer blocks
    * Dropping "fsl,p5020-IP..." from compatibles for standard blocks
    * Removed mpic interrupt-parent from dcsr-epu node, just use top level
    * Removed mpic interrupt-parent from sec nodes, just use top level

    Signed-off-by: Kumar Gala

    Kumar Gala
     
  • Utilize new split between board & SoC, and new SoC device trees split
    into pre & post utilizing 'template' includes for SoC IP blocks.

    Other changes include:
    * Adding of MPIC timer blocks
    * Dropping "fsl,p4080-IP..." from compatibles for standard blocks
    * Removed mpic interrupt-parent from dcsr-epu node, just use top level
    * Removed mpic interrupt-parent from sec nodes, just use top level

    Signed-off-by: Kumar Gala

    Kumar Gala
     
  • Utilize new split between board & SoC, and new SoC device trees split
    into pre & post utilizing 'template' includes for SoC IP blocks.

    Other changes include:
    * Adding of MPIC timer blocks
    * Dropping "fsl,p3060-IP..." from compatibles for standard blocks
    * Removed mpic interrupt-parent from dcsr-epu node, just use top level
    * Removed mpic interrupt-parent from sec nodes, just use top level
    * Fixed l3-cache IRQs, we have 2 CPCs, so we should have IRQs for both

    Signed-off-by: Kumar Gala

    Kumar Gala
     
  • Utilize new split between board & SoC, and new SoC device trees split
    into pre & post utilizing 'template' includes for SoC IP blocks.

    Other changes include:
    * Adding of MPIC timer blocks
    * Dropping "fsl,p3041-IP..." from compatibles for standard blocks
    * Removed mpic interrupt-parent from dcsr-epu node, just use top level
    * Fixed some dcsr compatiable typo's from 'p43041' to 'p3041'

    Signed-off-by: Kumar Gala

    Kumar Gala
     
  • Utilize new split between board & SoC, and new SoC device trees split
    into pre & post utilizing 'template' includes for SoC IP blocks.

    Other changes include:
    * Adding of MPIC timer blocks
    * Dropping "fsl,p2041-IP..." from compatibles for standard blocks
    * Removed mpic interrupt-parent from dcsr-epu node, just use top level

    Signed-off-by: Kumar Gala

    Kumar Gala
     
  • Utilize new split between board & SoC, and new SoC device trees split
    into pre & post utilizing 'template' includes for SoC IP blocks.

    Other changes include:

    * Moved to specifying interrupt-parent for mpic at root
    * Moved to 4-cell mpic interrupt cells to support MPIC timers
    * Reworked PCIe nodes to allow supportin IRQs for controller (errors) and
    moved PCI device IRQs down to virtual bridge level
    * Updated spi node to new espi binding specification
    * Renamed 'sdhci' node to 'sdhc'
    * Changed GPIO compatiable from 'fsl,mpc8572-gpio' to 'fsl,pq3-gpio' as the
    'mpc8572' compatiable is to deal with a 'mpc8572' specific to an erratum
    * Fixed wrong reg offsets for mdio nodes associated with etsec2 &
    * etsec3
    * Dropping "fsl,p2020-IP..." from compatibles for standard blocks

    Signed-off-by: Kumar Gala

    Kumar Gala
     
  • Utilize new split between board & SoC, and new SoC device trees split
    into pre & post utilizing 'template' includes for SoC IP blocks.

    Other changes include:

    * Moved to specifying interrupt-parent for mpic at root
    * Moved to 4-cell mpic interrupt cells to support MPIC timers
    * Reworked PCIe nodes to allow supportin IRQs for controller (errors)
    and moved PCI device IRQs down to virtual bridge level
    * Updated spi node to new espi binding specification
    * Renamed 'sdhci' node to 'sdhc'
    * Changed GPIO compatiable from 'fsl,mpc8572-gpio' to 'fsl,pq3-gpio' as the
    'mpc8572' compatiable is to deal with a 'mpc8572' specific to an erratum
    * Fixed wrong reg offsets for mdio nodes associated with etsec2 & etsec3
    * Dropping "fsl,p2020-IP..." from compatibles for standard blocks

    Signed-off-by: Kumar Gala

    Kumar Gala
     
  • Utilize new split between board & SoC, and new SoC device trees split
    into pre & post utilizing 'template' includes for SoC IP blocks.

    Other changes include:
    * Moved to specifying interrupt-parent for mpic at root
    * Moved to 4-cell mpic interrupt cells to support MPIC timers
    * Dropping "fsl,p1023-IP..." from compatibles for standard blocks
    * Removed incorrect power/pmc node, there are no etsec on P1023

    Signed-off-by: Kumar Gala

    Kumar Gala
     
  • Utilize new split between board & SoC, and new SoC device trees split
    into pre & post utilizing 'template' includes for SoC IP blocks.

    Other changes include:

    * Reworked PCIe nodes to allow supportin IRQs for controller (errors)
    and moved PCI device IRQs down to virtual bridge level
    * Changed GPIO compatiable from 'fsl,mpc8572-gpio' to 'fsl,pq3-gpio' as the
    'mpc8572' compatiable is to deal with a 'mpc8572' specific to an erratum
    * Updated spi node to new espi binding specification
    * Renamed SDHC node from 'sdhci' to 'sdhc'
    * Added usb node for 2nd usb controller
    * Dropping "fsl,p1022-IP..." from compatibles for standard blocks
    * Fixed bug in local bus range node for CS2, was maping to
    0x0 0x0xffa00000 instead of 0xf 0xffa00000
    * Fixed localbus reg property should have been 0xf 0xffe05000

    Signed-off-by: Kumar Gala
    Tested-by: Timur Tabi

    Kumar Gala
     
  • Utilize new split between board & SoC, and new SoC device trees split
    into pre & post utilizing 'template' includes for SoC IP blocks.

    Other changes include:

    * Moved to specifying interrupt-parent for mpic at root
    * Moved to 4-cell mpic interrupt cells to support MPIC timers
    * Reworked PCIe nodes to allow supportin IRQs for controller (errors) and
    moved PCI device IRQs down to virtual bridge level
    * Renamed SDHC node from 'sdhci' to 'sdhc'
    * Added usb node for 2nd usb controller
    * Dropping "fsl,p1021-IP..." from compatibles for standard blocks

    Signed-off-by: Kumar Gala

    Kumar Gala
     
  • Signed-off-by: Kumar Gala

    Kumar Gala
     
  • Utilize new split between board & SoC, and new SoC device trees split
    into pre & post utilizing 'template' includes for SoC IP blocks.

    Other changes include:
    * Dropping "fsl,p1020-IP..." from compatibles for standard blocks
    * Fixed PCIe interrupt-maps to have proper number of cells
    * Added mdio node for etsec@26000
    * Added usb node for 2nd usb controller

    Signed-off-by: Kumar Gala

    Kumar Gala
     
  • Signed-off-by: Kumar Gala

    Kumar Gala
     
  • Signed-off-by: Kumar Gala

    Kumar Gala
     
  • Signed-off-by: Kumar Gala

    Kumar Gala
     
  • Utilize new split between board & SoC, and new SoC device trees split
    into pre & post utilizing 'template' includes for SoC IP blocks.

    Other changes include:
    * Moved to specifying interrupt-parent for mpic at root
    * Moved to 4-cell mpic interrupt cells to support MPIC timers
    * Dropping "fsl,p1010-IP..." from compatibles for standard blocks
    * PCI interrupt map - wrong IRQs for PCI-0 controller
    * SDHC interrupt sense was wrong

    Signed-off-by: Kumar Gala

    Kumar Gala
     
  • Utilize new split between board & SoC, and new SoC device trees split
    into pre & post utilizing 'template' includes for SoC IP blocks.

    Other changes include:

    * Moved to specifying interrupt-parent for mpic at root
    * Moved to 4-cell mpic interrupt cells to support MPIC timers
    * Removed CPU properties setup by u-boot to match other .dts
    * Reworked PCIe nodes to allow supportin IRQs for controller (errors) and
    moved PCI device IRQs down to virtual bridge level
    * Moved mdio nodes up one level instead of under tsec nodes
    * Added GPIO controller node to MPC8572 SoC template
    * Dropping "fsl,mpc8572-IP..." from compatibles for standard blocks

    Signed-off-by: Kumar Gala

    Kumar Gala
     
  • Utilize new split between board & SoC, and new SoC device trees split
    into pre & post utilizing 'template' includes for SoC IP blocks.

    Other changes include:
    * Moved to a standard 2 #address-cells & #size-cells at top-level
    * Moved to specifying interrupt-parent for mpic at root
    * Moved to 4-cell mpic interrupt cells to support MPIC timers
    * Removed CPU properties setup by u-boot to match other .dts
    * Reworked PCIe nodes to allow supportin IRQs for controller (errors)
    and moved PCI device IRQs down to virtual bridge level
    * Renamed SDHC node from 'sdhci' to 'sdhc'
    * Dropping "fsl,mpc8569-IP..." from compatibles for standard blocks

    Signed-off-by: Kumar Gala

    Kumar Gala
     
  • Utilize new split between board & SoC, and new SoC device trees split
    into pre & post utilizing 'template' includes for SoC IP blocks.

    Other changes include:
    * Moved to a standard 2 #address-cells & #size-cells at top-level
    * Moved to specifying interrupt-parent for mpic at root
    * Moved to 4-cell mpic interrupt cells to support MPIC timers
    * Removed CPU properties setup by u-boot to match other .dts
    * Reworked PCIe nodes to allow supportin IRQs for controller (errors)
    and moved PCI device IRQs down to virtual bridge level
    * Dropping "fsl,mpc8568-IP..." from compatibles for standard blocks

    Signed-off-by: Kumar Gala

    Kumar Gala
     
  • Utilize new split between board & SoC, and new SoC device trees split
    into pre & post utilizing 'template' includes for SoC IP blocks.

    Other changes include:
    * Moved to a standard 2 #address-cells & #size-cells at top-level
    * Moved to specifying interrupt-parent for mpic at root
    * Moved to 4-cell mpic interrupt cells to support MPIC timers
    * Moved mdio nodes up one level instead of under tsec nodes
    * Reworked PCIe nodes to allow supportin IRQs for controller (errors)
    and moved PCI device IRQs down to virtual bridge level
    * Removed CPU properties setup by u-boot to match other .dts
    * Added localbus node, but no chipselect details at this point
    * Added MPIC / PCIe msi node
    * Dropping "fsl,mpc8548-IP..." from compatibles for standard blocks

    Signed-off-by: Kumar Gala

    Kumar Gala
     
  • Utilize new split between board & SoC, and new SoC device trees split
    into pre & post utilizing 'template' includes for SoC IP blocks.

    Other changes include:
    * Moved to a standard 2 #address-cells & #size-cells at top-level
    * Moved to specifying interrupt-parent for mpic at root
    * Moved to 4-cell mpic interrupt cells to support MPIC timers
    * Removed CPU properties setup by u-boot to match other .dts
    * Added localbus node, but no chipselect details at this point
    * Reworked PCIe nodes to allow supportin IRQs for controller (errors)
    and moved PCI device IRQs down to virtual bridge level
    * Moved mdio nodes up one level instead of under tsec nodes
    * Updated ethernet 'model' to 'eTSEC' as that's what on MPC8544
    * Dropping "fsl,mpc8544-IP..." from compatibles for standard blocks

    Signed-off-by: Kumar Gala

    Kumar Gala
     
  • Utilize new split between board & SoC, and new SoC device trees split
    into pre & post utilizing 'template' includes for SoC IP blocks.

    Other changes include:
    * Moved to specifying interrupt-parent for mpic at root
    * Moved to 4-cell mpic interrupt cells to support MPIC timers
    * Added localbus node, but no chipselect details at this point
    * Reworked PCIe nodes to allow supportin IRQs for controller (errors)
    * and moved
    PCI device IRQs down to virtual bridge level
    * Moved mdio nodes up one level instead of under tsec nodes
    * Added GPIO controller node to MPC8536 SoC template
    [ marked as MPC8572 compatiable to get errata handling that applies ]
    * Added missing cache-line-size & cache-size properties missing from
    L2-cache node
    * Added IP level IEEE 1588 / ptp timer node

    Signed-off-by: Kumar Gala

    Kumar Gala
     
  • Introduce some common components that we can utilize to build up the
    various PQ3/85xx device trees.

    Signed-off-by: Kumar Gala

    Kumar Gala
     
  • * set interrupt-parent at root so its not duplicate in every node
    * Add mpic timers
    * Move to 4-prop cells for mpic timer

    Signed-off-by: Kumar Gala

    Kumar Gala