]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - arch/arm/mach-exynos4/mach-universal_c210.c
ARM: EXYNOS4: Moved board support files
[mv-sheeva.git] / arch / arm / mach-exynos4 / mach-universal_c210.c
similarity index 93%
rename from arch/arm/mach-s5pv310/mach-universal_c210.c
rename to arch/arm/mach-exynos4/mach-universal_c210.c
index 36bc3cf825e3359d4317df19b07e5b4e4f5b70d5..b22b6ef2a94bfcb7279c16462bd4220e7ca19153 100644 (file)
@@ -1,4 +1,4 @@
-/* linux/arch/arm/mach-s5pv310/mach-universal_c210.c
+/* linux/arch/arm/mach-exynos4/mach-universal_c210.c
  *
  * Copyright (c) 2010 Samsung Electronics Co., Ltd.
  *
@@ -21,7 +21,7 @@
 #include <asm/mach-types.h>
 
 #include <plat/regs-serial.h>
-#include <plat/s5pv310.h>
+#include <plat/exynos4.h>
 #include <plat/cpu.h>
 #include <plat/devs.h>
 #include <plat/sdhci.h>
@@ -72,35 +72,35 @@ static struct s3c2410_uartcfg universal_uartcfgs[] __initdata = {
 static struct gpio_keys_button universal_gpio_keys_tables[] = {
        {
                .code                   = KEY_VOLUMEUP,
-               .gpio                   = S5PV310_GPX2(0),      /* XEINT16 */
+               .gpio                   = EXYNOS4_GPX2(0),      /* XEINT16 */
                .desc                   = "gpio-keys: KEY_VOLUMEUP",
                .type                   = EV_KEY,
                .active_low             = 1,
                .debounce_interval      = 1,
        }, {
                .code                   = KEY_VOLUMEDOWN,
-               .gpio                   = S5PV310_GPX2(1),      /* XEINT17 */
+               .gpio                   = EXYNOS4_GPX2(1),      /* XEINT17 */
                .desc                   = "gpio-keys: KEY_VOLUMEDOWN",
                .type                   = EV_KEY,
                .active_low             = 1,
                .debounce_interval      = 1,
        }, {
                .code                   = KEY_CONFIG,
-               .gpio                   = S5PV310_GPX2(2),      /* XEINT18 */
+               .gpio                   = EXYNOS4_GPX2(2),      /* XEINT18 */
                .desc                   = "gpio-keys: KEY_CONFIG",
                .type                   = EV_KEY,
                .active_low             = 1,
                .debounce_interval      = 1,
        }, {
                .code                   = KEY_CAMERA,
-               .gpio                   = S5PV310_GPX2(3),      /* XEINT19 */
+               .gpio                   = EXYNOS4_GPX2(3),      /* XEINT19 */
                .desc                   = "gpio-keys: KEY_CAMERA",
                .type                   = EV_KEY,
                .active_low             = 1,
                .debounce_interval      = 1,
        }, {
                .code                   = KEY_OK,
-               .gpio                   = S5PV310_GPX3(5),      /* XEINT29 */
+               .gpio                   = EXYNOS4_GPX3(5),      /* XEINT29 */
                .desc                   = "gpio-keys: KEY_OK",
                .type                   = EV_KEY,
                .active_low             = 1,
@@ -146,7 +146,7 @@ static struct regulator_init_data mmc0_fixed_voltage_init_data = {
 static struct fixed_voltage_config mmc0_fixed_voltage_config = {
        .supply_name            = "MASSMEMORY_EN",
        .microvolts             = 2800000,
-       .gpio                   = S5PV310_GPE1(3),
+       .gpio                   = EXYNOS4_GPE1(3),
        .enable_high            = true,
        .init_data              = &mmc0_fixed_voltage_init_data,
 };
@@ -165,7 +165,7 @@ static struct s3c_sdhci_platdata universal_hsmmc2_data __initdata = {
        .host_caps              = MMC_CAP_4_BIT_DATA |
                                MMC_CAP_MMC_HIGHSPEED | MMC_CAP_SD_HIGHSPEED |
                                MMC_CAP_DISABLE,
-       .ext_cd_gpio            = S5PV310_GPX3(4),      /* XEINT_28 */
+       .ext_cd_gpio            = EXYNOS4_GPX3(4),      /* XEINT_28 */
        .ext_cd_gpio_invert     = 1,
        .cd_type                = S3C_SDHCI_CD_GPIO,
        .clk_type               = S3C_SDHCI_CLK_DIV_EXTERNAL,
@@ -230,8 +230,8 @@ static void __init universal_machine_init(void)
 MACHINE_START(UNIVERSAL_C210, "UNIVERSAL_C210")
        /* Maintainer: Kyungmin Park <kyungmin.park@samsung.com> */
        .boot_params    = S5P_PA_SDRAM + 0x100,
-       .init_irq       = s5pv310_init_irq,
+       .init_irq       = exynos4_init_irq,
        .map_io         = universal_map_io,
        .init_machine   = universal_machine_init,
-       .timer          = &s5pv310_timer,
+       .timer          = &exynos4_timer,
 MACHINE_END