ARM: Kirkwood: ioremap memory control register

To allow removal of the global map of registers, make the pm code
ioremap the registers it needs.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
ARM: MVEBU: Add ARCH_MULTI_V7 to SoCs

Prepare mach-mvebu to house both ARCH_MULTI_V7 and ARCH_MULTI_V5
systems by adding ARCH_MULTI_V7 to the existing SOCs.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
ARM: Orion: Move cache-feroceon-l2.h out of plat-orion

With the gradual move to DT, kirkwood has become a lot less dependent
on plat-orion. cache-feroceon-l2.h is the last dependency. Move it out
so we can drop plat-orion when building DT only kirkwood boards.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
ARM: MM: Add DT binding for Feroceon L2 cache

Indicate in DT where the cache control register is and if write
through should be made.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
ARM: Fix default CPU selection for ARCH_MULTI_V5

CPU_ARM926T should be selected if no other CPU is. Put the ! in the
right place so this works.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
ARM: Fix MULTI_TLB for feroceon

Ferocean has the same flush operations as v4wbi, but has an additional
flag, TLB_L2CLEAN_FR. When building with MULTI_TLB this flag is placed
into cpu_tlb.tlb_flags, so there needs to be a cpu_tlb specifically
for ferocean, rather than sharing the v4wbi.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
ARM: MM Enable building Ferocean L2 cache controller with ARCH_MVEBU

Kirkwood, which uses the Ferocean L2 cache controller will soon be
moving into mach-mvebu. Allow the cache controller to be build in this
situration.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
ARM: Move kirkwood DT boards into mach-mvebu

Move the kirkwood DT support into mach-mvebu, and make them part of
ARCH_MULTI_V5. Minimal changes have been made in order to make it
boot. More intergration will take place in following patches.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
ARM: MVEBU: Let kirkwood use the system controller for restart

The mvebu system controller already supports restarting orion
systems. Make use of it, rather than the kirkwood specific code.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
drivers: Enable building of Kirkwood drivers for mach-mvebu

With the move to mach-mvebu, drivers Kconfig need tweeking to allow
the kirkwood specific drivers to be built.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
ARM: MVEBU: Enable mvebu-soc-id on Kirkwood

Add the Kirkwood PCIe compatibility string, so that it can get the SoC
ID and revision from the PCIe endpoints.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
ARM: config: Add a multi_v5_defconfig

To allow regression build testing of multi v5 systems, add a
multi_v5_defconfig, similar to the multi_v7_defconfig. This is based
on kirkwood_defconfig, but with a few other boards added which claim
to be MULTI_v5.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
ARM: MVEBU: Simplifiy headers and make local

kirkwood is very nearly fully DT. Remove most of the address
definitions from the header files and make it a local header file.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
ARM: MVEBU: Remove unneeded headers

Remove those which are no longer needed.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>