12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- /*
- * arch/arm/mach-orion5x/common.c
- *
- * Core functions for Marvell Orion 5x SoCs
- *
- * Maintainer: Tzachi Perelstein <tzachi@marvell.com>
- *
- * 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.
- */
- #include <linux/kernel.h>
- #include <linux/init.h>
- #include <linux/platform_device.h>
- #include <linux/dma-mapping.h>
- #include <linux/serial_8250.h>
- #include <linux/mv643xx_i2c.h>
- #include <linux/ata_platform.h>
- #include <linux/delay.h>
- #include <linux/clk-provider.h>
- #include <net/dsa.h>
- #include <asm/page.h>
- #include <asm/setup.h>
- #include <asm/system_misc.h>
- #include <asm/timex.h>
- #include <asm/mach/arch.h>
- #include <asm/mach/map.h>
- #include <asm/mach/time.h>
- #include <mach/bridge-regs.h>
- #include <mach/hardware.h>
- #include <mach/orion5x.h>
- #include <linux/platform_data/mtd-orion_nand.h>
- #include <linux/platform_data/usb-ehci-orion.h>
- #include <plat/time.h>
- #include <plat/common.h>
- #include <plat/addr-map.h>
- #include "common.h"
- /*****************************************************************************
- * I/O Address Mapping
- ****************************************************************************/
- static struct map_desc orion5x_io_desc[] __initdata = {
- {
- .virtual = (unsigned long) ORION5X_REGS_VIRT_BASE,
- .pfn = __phys_to_pfn(ORION5X_REGS_PHYS_BASE),
- .length = ORION5X_REGS_SIZE,
- .type = MT_DEVICE,
- }, {
- .virtual = (unsigned long) ORION5X_PCIE_WA_VIRT_BASE,
- .pfn = __phys_to_pfn(ORION5X_PCIE_WA_PHYS_BASE),
- .length = ORION5X_PCIE_WA_SIZE,
|