diff options
author | Kukjin Kim <kgene.kim@samsung.com> | 2011-02-14 00:59:52 -0500 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2011-02-21 23:51:15 -0500 |
commit | d11135ca4f6e626e1c8aa78de6d472a11a9e9811 (patch) | |
tree | eb87118113748099879294e33835c5f8304949a9 /arch | |
parent | 3db3ae5eb94eb8579991174fe66999261b66018d (diff) |
ARM: EXYNOS4: Moved board support files
This patch moves board support files, SMDKC210, SMKDV310
and UNIVERSAL_C210 into arch/arm/mach-exynos4/ according
to the change of ARCH name, EXYNOS4.
Cc: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-exynos4/mach-smdkc210.c (renamed from arch/arm/mach-s5pv310/mach-smdkc210.c) | 48 | ||||
-rw-r--r-- | arch/arm/mach-exynos4/mach-smdkv310.c (renamed from arch/arm/mach-s5pv310/mach-smdkv310.c) | 48 | ||||
-rw-r--r-- | arch/arm/mach-exynos4/mach-universal_c210.c (renamed from arch/arm/mach-s5pv310/mach-universal_c210.c) | 22 |
3 files changed, 59 insertions, 59 deletions
diff --git a/arch/arm/mach-s5pv310/mach-smdkc210.c b/arch/arm/mach-exynos4/mach-smdkc210.c index d9cab02e23ca..25a256818122 100644 --- a/arch/arm/mach-s5pv310/mach-smdkc210.c +++ b/arch/arm/mach-exynos4/mach-smdkc210.c | |||
@@ -1,7 +1,7 @@ | |||
1 | /* linux/arch/arm/mach-s5pv310/mach-smdkc210.c | 1 | /* linux/arch/arm/mach-exynos4/mach-smdkc210.c |
2 | * | 2 | * |
3 | * Copyright (c) 2010 Samsung Electronics Co., Ltd. | 3 | * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd. |
4 | * http://www.samsung.com/ | 4 | * http://www.samsung.com |
5 | * | 5 | * |
6 | * This program is free software; you can redistribute it and/or modify | 6 | * This program is free software; you can redistribute it and/or modify |
7 | * it under the terms of the GNU General Public License version 2 as | 7 | * it under the terms of the GNU General Public License version 2 as |
@@ -21,7 +21,7 @@ | |||
21 | 21 | ||
22 | #include <plat/regs-serial.h> | 22 | #include <plat/regs-serial.h> |
23 | #include <plat/regs-srom.h> | 23 | #include <plat/regs-srom.h> |
24 | #include <plat/s5pv310.h> | 24 | #include <plat/exynos4.h> |
25 | #include <plat/cpu.h> | 25 | #include <plat/cpu.h> |
26 | #include <plat/devs.h> | 26 | #include <plat/devs.h> |
27 | #include <plat/sdhci.h> | 27 | #include <plat/sdhci.h> |
@@ -77,10 +77,10 @@ static struct s3c2410_uartcfg smdkc210_uartcfgs[] __initdata = { | |||
77 | 77 | ||
78 | static struct s3c_sdhci_platdata smdkc210_hsmmc0_pdata __initdata = { | 78 | static struct s3c_sdhci_platdata smdkc210_hsmmc0_pdata __initdata = { |
79 | .cd_type = S3C_SDHCI_CD_GPIO, | 79 | .cd_type = S3C_SDHCI_CD_GPIO, |
80 | .ext_cd_gpio = S5PV310_GPK0(2), | 80 | .ext_cd_gpio = EXYNOS4_GPK0(2), |
81 | .ext_cd_gpio_invert = 1, | 81 | .ext_cd_gpio_invert = 1, |
82 | .clk_type = S3C_SDHCI_CLK_DIV_EXTERNAL, | 82 | .clk_type = S3C_SDHCI_CLK_DIV_EXTERNAL, |
83 | #ifdef CONFIG_S5PV310_SDHCI_CH0_8BIT | 83 | #ifdef CONFIG_EXYNOS4_SDHCI_CH0_8BIT |
84 | .max_width = 8, | 84 | .max_width = 8, |
85 | .host_caps = MMC_CAP_8_BIT_DATA, | 85 | .host_caps = MMC_CAP_8_BIT_DATA, |
86 | #endif | 86 | #endif |
@@ -88,17 +88,17 @@ static struct s3c_sdhci_platdata smdkc210_hsmmc0_pdata __initdata = { | |||
88 | 88 | ||
89 | static struct s3c_sdhci_platdata smdkc210_hsmmc1_pdata __initdata = { | 89 | static struct s3c_sdhci_platdata smdkc210_hsmmc1_pdata __initdata = { |
90 | .cd_type = S3C_SDHCI_CD_GPIO, | 90 | .cd_type = S3C_SDHCI_CD_GPIO, |
91 | .ext_cd_gpio = S5PV310_GPK0(2), | 91 | .ext_cd_gpio = EXYNOS4_GPK0(2), |
92 | .ext_cd_gpio_invert = 1, | 92 | .ext_cd_gpio_invert = 1, |
93 | .clk_type = S3C_SDHCI_CLK_DIV_EXTERNAL, | 93 | .clk_type = S3C_SDHCI_CLK_DIV_EXTERNAL, |
94 | }; | 94 | }; |
95 | 95 | ||
96 | static struct s3c_sdhci_platdata smdkc210_hsmmc2_pdata __initdata = { | 96 | static struct s3c_sdhci_platdata smdkc210_hsmmc2_pdata __initdata = { |
97 | .cd_type = S3C_SDHCI_CD_GPIO, | 97 | .cd_type = S3C_SDHCI_CD_GPIO, |
98 | .ext_cd_gpio = S5PV310_GPK2(2), | 98 | .ext_cd_gpio = EXYNOS4_GPK2(2), |
99 | .ext_cd_gpio_invert = 1, | 99 | .ext_cd_gpio_invert = 1, |
100 | .clk_type = S3C_SDHCI_CLK_DIV_EXTERNAL, | 100 | .clk_type = S3C_SDHCI_CLK_DIV_EXTERNAL, |
101 | #ifdef CONFIG_S5PV310_SDHCI_CH2_8BIT | 101 | #ifdef CONFIG_EXYNOS4_SDHCI_CH2_8BIT |
102 | .max_width = 8, | 102 | .max_width = 8, |
103 | .host_caps = MMC_CAP_8_BIT_DATA, | 103 | .host_caps = MMC_CAP_8_BIT_DATA, |
104 | #endif | 104 | #endif |
@@ -106,15 +106,15 @@ static struct s3c_sdhci_platdata smdkc210_hsmmc2_pdata __initdata = { | |||
106 | 106 | ||
107 | static struct s3c_sdhci_platdata smdkc210_hsmmc3_pdata __initdata = { | 107 | static struct s3c_sdhci_platdata smdkc210_hsmmc3_pdata __initdata = { |
108 | .cd_type = S3C_SDHCI_CD_GPIO, | 108 | .cd_type = S3C_SDHCI_CD_GPIO, |
109 | .ext_cd_gpio = S5PV310_GPK2(2), | 109 | .ext_cd_gpio = EXYNOS4_GPK2(2), |
110 | .ext_cd_gpio_invert = 1, | 110 | .ext_cd_gpio_invert = 1, |
111 | .clk_type = S3C_SDHCI_CLK_DIV_EXTERNAL, | 111 | .clk_type = S3C_SDHCI_CLK_DIV_EXTERNAL, |
112 | }; | 112 | }; |
113 | 113 | ||
114 | static struct resource smdkc210_smsc911x_resources[] = { | 114 | static struct resource smdkc210_smsc911x_resources[] = { |
115 | [0] = { | 115 | [0] = { |
116 | .start = S5PV310_PA_SROM_BANK(1), | 116 | .start = EXYNOS4_PA_SROM_BANK(1), |
117 | .end = S5PV310_PA_SROM_BANK(1) + SZ_64K - 1, | 117 | .end = EXYNOS4_PA_SROM_BANK(1) + SZ_64K - 1, |
118 | .flags = IORESOURCE_MEM, | 118 | .flags = IORESOURCE_MEM, |
119 | }, | 119 | }, |
120 | [1] = { | 120 | [1] = { |
@@ -154,16 +154,16 @@ static struct platform_device *smdkc210_devices[] __initdata = { | |||
154 | &s3c_device_i2c1, | 154 | &s3c_device_i2c1, |
155 | &s3c_device_rtc, | 155 | &s3c_device_rtc, |
156 | &s3c_device_wdt, | 156 | &s3c_device_wdt, |
157 | &s5pv310_device_ac97, | 157 | &exynos4_device_ac97, |
158 | &s5pv310_device_i2s0, | 158 | &exynos4_device_i2s0, |
159 | &s5pv310_device_pd[PD_MFC], | 159 | &exynos4_device_pd[PD_MFC], |
160 | &s5pv310_device_pd[PD_G3D], | 160 | &exynos4_device_pd[PD_G3D], |
161 | &s5pv310_device_pd[PD_LCD0], | 161 | &exynos4_device_pd[PD_LCD0], |
162 | &s5pv310_device_pd[PD_LCD1], | 162 | &exynos4_device_pd[PD_LCD1], |
163 | &s5pv310_device_pd[PD_CAM], | 163 | &exynos4_device_pd[PD_CAM], |
164 | &s5pv310_device_pd[PD_TV], | 164 | &exynos4_device_pd[PD_TV], |
165 | &s5pv310_device_pd[PD_GPS], | 165 | &exynos4_device_pd[PD_GPS], |
166 | &s5pv310_device_sysmmu, | 166 | &exynos4_device_sysmmu, |
167 | &samsung_asoc_dma, | 167 | &samsung_asoc_dma, |
168 | &smdkc210_smsc911x, | 168 | &smdkc210_smsc911x, |
169 | }; | 169 | }; |
@@ -216,8 +216,8 @@ static void __init smdkc210_machine_init(void) | |||
216 | MACHINE_START(SMDKC210, "SMDKC210") | 216 | MACHINE_START(SMDKC210, "SMDKC210") |
217 | /* Maintainer: Kukjin Kim <kgene.kim@samsung.com> */ | 217 | /* Maintainer: Kukjin Kim <kgene.kim@samsung.com> */ |
218 | .boot_params = S5P_PA_SDRAM + 0x100, | 218 | .boot_params = S5P_PA_SDRAM + 0x100, |
219 | .init_irq = s5pv310_init_irq, | 219 | .init_irq = exynos4_init_irq, |
220 | .map_io = smdkc210_map_io, | 220 | .map_io = smdkc210_map_io, |
221 | .init_machine = smdkc210_machine_init, | 221 | .init_machine = smdkc210_machine_init, |
222 | .timer = &s5pv310_timer, | 222 | .timer = &exynos4_timer, |
223 | MACHINE_END | 223 | MACHINE_END |
diff --git a/arch/arm/mach-s5pv310/mach-smdkv310.c b/arch/arm/mach-exynos4/mach-smdkv310.c index b1cddbf3c616..07860a5b2f5d 100644 --- a/arch/arm/mach-s5pv310/mach-smdkv310.c +++ b/arch/arm/mach-exynos4/mach-smdkv310.c | |||
@@ -1,7 +1,7 @@ | |||
1 | /* linux/arch/arm/mach-s5pv310/mach-smdkv310.c | 1 | /* linux/arch/arm/mach-exynos4/mach-smdkv310.c |
2 | * | 2 | * |
3 | * Copyright (c) 2010 Samsung Electronics Co., Ltd. | 3 | * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd. |
4 | * http://www.samsung.com/ | 4 | * http://www.samsung.com |
5 | * | 5 | * |
6 | * This program is free software; you can redistribute it and/or modify | 6 | * This program is free software; you can redistribute it and/or modify |
7 | * it under the terms of the GNU General Public License version 2 as | 7 | * it under the terms of the GNU General Public License version 2 as |
@@ -21,7 +21,7 @@ | |||
21 | 21 | ||
22 | #include <plat/regs-serial.h> | 22 | #include <plat/regs-serial.h> |
23 | #include <plat/regs-srom.h> | 23 | #include <plat/regs-srom.h> |
24 | #include <plat/s5pv310.h> | 24 | #include <plat/exynos4.h> |
25 | #include <plat/cpu.h> | 25 | #include <plat/cpu.h> |
26 | #include <plat/devs.h> | 26 | #include <plat/devs.h> |
27 | #include <plat/sdhci.h> | 27 | #include <plat/sdhci.h> |
@@ -77,10 +77,10 @@ static struct s3c2410_uartcfg smdkv310_uartcfgs[] __initdata = { | |||
77 | 77 | ||
78 | static struct s3c_sdhci_platdata smdkv310_hsmmc0_pdata __initdata = { | 78 | static struct s3c_sdhci_platdata smdkv310_hsmmc0_pdata __initdata = { |
79 | .cd_type = S3C_SDHCI_CD_GPIO, | 79 | .cd_type = S3C_SDHCI_CD_GPIO, |
80 | .ext_cd_gpio = S5PV310_GPK0(2), | 80 | .ext_cd_gpio = EXYNOS4_GPK0(2), |
81 | .ext_cd_gpio_invert = 1, | 81 | .ext_cd_gpio_invert = 1, |
82 | .clk_type = S3C_SDHCI_CLK_DIV_EXTERNAL, | 82 | .clk_type = S3C_SDHCI_CLK_DIV_EXTERNAL, |
83 | #ifdef CONFIG_S5PV310_SDHCI_CH0_8BIT | 83 | #ifdef CONFIG_EXYNOS4_SDHCI_CH0_8BIT |
84 | .max_width = 8, | 84 | .max_width = 8, |
85 | .host_caps = MMC_CAP_8_BIT_DATA, | 85 | .host_caps = MMC_CAP_8_BIT_DATA, |
86 | #endif | 86 | #endif |
@@ -88,17 +88,17 @@ static struct s3c_sdhci_platdata smdkv310_hsmmc0_pdata __initdata = { | |||
88 | 88 | ||
89 | static struct s3c_sdhci_platdata smdkv310_hsmmc1_pdata __initdata = { | 89 | static struct s3c_sdhci_platdata smdkv310_hsmmc1_pdata __initdata = { |
90 | .cd_type = S3C_SDHCI_CD_GPIO, | 90 | .cd_type = S3C_SDHCI_CD_GPIO, |
91 | .ext_cd_gpio = S5PV310_GPK0(2), | 91 | .ext_cd_gpio = EXYNOS4_GPK0(2), |
92 | .ext_cd_gpio_invert = 1, | 92 | .ext_cd_gpio_invert = 1, |
93 | .clk_type = S3C_SDHCI_CLK_DIV_EXTERNAL, | 93 | .clk_type = S3C_SDHCI_CLK_DIV_EXTERNAL, |
94 | }; | 94 | }; |
95 | 95 | ||
96 | static struct s3c_sdhci_platdata smdkv310_hsmmc2_pdata __initdata = { | 96 | static struct s3c_sdhci_platdata smdkv310_hsmmc2_pdata __initdata = { |
97 | .cd_type = S3C_SDHCI_CD_GPIO, | 97 | .cd_type = S3C_SDHCI_CD_GPIO, |
98 | .ext_cd_gpio = S5PV310_GPK2(2), | 98 | .ext_cd_gpio = EXYNOS4_GPK2(2), |
99 | .ext_cd_gpio_invert = 1, | 99 | .ext_cd_gpio_invert = 1, |
100 | .clk_type = S3C_SDHCI_CLK_DIV_EXTERNAL, | 100 | .clk_type = S3C_SDHCI_CLK_DIV_EXTERNAL, |
101 | #ifdef CONFIG_S5PV310_SDHCI_CH2_8BIT | 101 | #ifdef CONFIG_EXYNOS4_SDHCI_CH2_8BIT |
102 | .max_width = 8, | 102 | .max_width = 8, |
103 | .host_caps = MMC_CAP_8_BIT_DATA, | 103 | .host_caps = MMC_CAP_8_BIT_DATA, |
104 | #endif | 104 | #endif |
@@ -106,15 +106,15 @@ static struct s3c_sdhci_platdata smdkv310_hsmmc2_pdata __initdata = { | |||
106 | 106 | ||
107 | static struct s3c_sdhci_platdata smdkv310_hsmmc3_pdata __initdata = { | 107 | static struct s3c_sdhci_platdata smdkv310_hsmmc3_pdata __initdata = { |
108 | .cd_type = S3C_SDHCI_CD_GPIO, | 108 | .cd_type = S3C_SDHCI_CD_GPIO, |
109 | .ext_cd_gpio = S5PV310_GPK2(2), | 109 | .ext_cd_gpio = EXYNOS4_GPK2(2), |
110 | .ext_cd_gpio_invert = 1, | 110 | .ext_cd_gpio_invert = 1, |
111 | .clk_type = S3C_SDHCI_CLK_DIV_EXTERNAL, | 111 | .clk_type = S3C_SDHCI_CLK_DIV_EXTERNAL, |
112 | }; | 112 | }; |
113 | 113 | ||
114 | static struct resource smdkv310_smsc911x_resources[] = { | 114 | static struct resource smdkv310_smsc911x_resources[] = { |
115 | [0] = { | 115 | [0] = { |
116 | .start = S5PV310_PA_SROM_BANK(1), | 116 | .start = EXYNOS4_PA_SROM_BANK(1), |
117 | .end = S5PV310_PA_SROM_BANK(1) + SZ_64K - 1, | 117 | .end = EXYNOS4_PA_SROM_BANK(1) + SZ_64K - 1, |
118 | .flags = IORESOURCE_MEM, | 118 | .flags = IORESOURCE_MEM, |
119 | }, | 119 | }, |
120 | [1] = { | 120 | [1] = { |
@@ -154,16 +154,16 @@ static struct platform_device *smdkv310_devices[] __initdata = { | |||
154 | &s3c_device_i2c1, | 154 | &s3c_device_i2c1, |
155 | &s3c_device_rtc, | 155 | &s3c_device_rtc, |
156 | &s3c_device_wdt, | 156 | &s3c_device_wdt, |
157 | &s5pv310_device_ac97, | 157 | &exynos4_device_ac97, |
158 | &s5pv310_device_i2s0, | 158 | &exynos4_device_i2s0, |
159 | &s5pv310_device_pd[PD_MFC], | 159 | &exynos4_device_pd[PD_MFC], |
160 | &s5pv310_device_pd[PD_G3D], | 160 | &exynos4_device_pd[PD_G3D], |
161 | &s5pv310_device_pd[PD_LCD0], | 161 | &exynos4_device_pd[PD_LCD0], |
162 | &s5pv310_device_pd[PD_LCD1], | 162 | &exynos4_device_pd[PD_LCD1], |
163 | &s5pv310_device_pd[PD_CAM], | 163 | &exynos4_device_pd[PD_CAM], |
164 | &s5pv310_device_pd[PD_TV], | 164 | &exynos4_device_pd[PD_TV], |
165 | &s5pv310_device_pd[PD_GPS], | 165 | &exynos4_device_pd[PD_GPS], |
166 | &s5pv310_device_sysmmu, | 166 | &exynos4_device_sysmmu, |
167 | &samsung_asoc_dma, | 167 | &samsung_asoc_dma, |
168 | &smdkv310_smsc911x, | 168 | &smdkv310_smsc911x, |
169 | }; | 169 | }; |
@@ -217,8 +217,8 @@ MACHINE_START(SMDKV310, "SMDKV310") | |||
217 | /* Maintainer: Kukjin Kim <kgene.kim@samsung.com> */ | 217 | /* Maintainer: Kukjin Kim <kgene.kim@samsung.com> */ |
218 | /* Maintainer: Changhwan Youn <chaos.youn@samsung.com> */ | 218 | /* Maintainer: Changhwan Youn <chaos.youn@samsung.com> */ |
219 | .boot_params = S5P_PA_SDRAM + 0x100, | 219 | .boot_params = S5P_PA_SDRAM + 0x100, |
220 | .init_irq = s5pv310_init_irq, | 220 | .init_irq = exynos4_init_irq, |
221 | .map_io = smdkv310_map_io, | 221 | .map_io = smdkv310_map_io, |
222 | .init_machine = smdkv310_machine_init, | 222 | .init_machine = smdkv310_machine_init, |
223 | .timer = &s5pv310_timer, | 223 | .timer = &exynos4_timer, |
224 | MACHINE_END | 224 | MACHINE_END |
diff --git a/arch/arm/mach-s5pv310/mach-universal_c210.c b/arch/arm/mach-exynos4/mach-universal_c210.c index 36bc3cf825e3..b22b6ef2a94b 100644 --- a/arch/arm/mach-s5pv310/mach-universal_c210.c +++ b/arch/arm/mach-exynos4/mach-universal_c210.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* linux/arch/arm/mach-s5pv310/mach-universal_c210.c | 1 | /* linux/arch/arm/mach-exynos4/mach-universal_c210.c |
2 | * | 2 | * |
3 | * Copyright (c) 2010 Samsung Electronics Co., Ltd. | 3 | * Copyright (c) 2010 Samsung Electronics Co., Ltd. |
4 | * | 4 | * |
@@ -21,7 +21,7 @@ | |||
21 | #include <asm/mach-types.h> | 21 | #include <asm/mach-types.h> |
22 | 22 | ||
23 | #include <plat/regs-serial.h> | 23 | #include <plat/regs-serial.h> |
24 | #include <plat/s5pv310.h> | 24 | #include <plat/exynos4.h> |
25 | #include <plat/cpu.h> | 25 | #include <plat/cpu.h> |
26 | #include <plat/devs.h> | 26 | #include <plat/devs.h> |
27 | #include <plat/sdhci.h> | 27 | #include <plat/sdhci.h> |
@@ -72,35 +72,35 @@ static struct s3c2410_uartcfg universal_uartcfgs[] __initdata = { | |||
72 | static struct gpio_keys_button universal_gpio_keys_tables[] = { | 72 | static struct gpio_keys_button universal_gpio_keys_tables[] = { |
73 | { | 73 | { |
74 | .code = KEY_VOLUMEUP, | 74 | .code = KEY_VOLUMEUP, |
75 | .gpio = S5PV310_GPX2(0), /* XEINT16 */ | 75 | .gpio = EXYNOS4_GPX2(0), /* XEINT16 */ |
76 | .desc = "gpio-keys: KEY_VOLUMEUP", | 76 | .desc = "gpio-keys: KEY_VOLUMEUP", |
77 | .type = EV_KEY, | 77 | .type = EV_KEY, |
78 | .active_low = 1, | 78 | .active_low = 1, |
79 | .debounce_interval = 1, | 79 | .debounce_interval = 1, |
80 | }, { | 80 | }, { |
81 | .code = KEY_VOLUMEDOWN, | 81 | .code = KEY_VOLUMEDOWN, |
82 | .gpio = S5PV310_GPX2(1), /* XEINT17 */ | 82 | .gpio = EXYNOS4_GPX2(1), /* XEINT17 */ |
83 | .desc = "gpio-keys: KEY_VOLUMEDOWN", | 83 | .desc = "gpio-keys: KEY_VOLUMEDOWN", |
84 | .type = EV_KEY, | 84 | .type = EV_KEY, |
85 | .active_low = 1, | 85 | .active_low = 1, |
86 | .debounce_interval = 1, | 86 | .debounce_interval = 1, |
87 | }, { | 87 | }, { |
88 | .code = KEY_CONFIG, | 88 | .code = KEY_CONFIG, |
89 | .gpio = S5PV310_GPX2(2), /* XEINT18 */ | 89 | .gpio = EXYNOS4_GPX2(2), /* XEINT18 */ |
90 | .desc = "gpio-keys: KEY_CONFIG", | 90 | .desc = "gpio-keys: KEY_CONFIG", |
91 | .type = EV_KEY, | 91 | .type = EV_KEY, |
92 | .active_low = 1, | 92 | .active_low = 1, |
93 | .debounce_interval = 1, | 93 | .debounce_interval = 1, |
94 | }, { | 94 | }, { |
95 | .code = KEY_CAMERA, | 95 | .code = KEY_CAMERA, |
96 | .gpio = S5PV310_GPX2(3), /* XEINT19 */ | 96 | .gpio = EXYNOS4_GPX2(3), /* XEINT19 */ |
97 | .desc = "gpio-keys: KEY_CAMERA", | 97 | .desc = "gpio-keys: KEY_CAMERA", |
98 | .type = EV_KEY, | 98 | .type = EV_KEY, |
99 | .active_low = 1, | 99 | .active_low = 1, |
100 | .debounce_interval = 1, | 100 | .debounce_interval = 1, |
101 | }, { | 101 | }, { |
102 | .code = KEY_OK, | 102 | .code = KEY_OK, |
103 | .gpio = S5PV310_GPX3(5), /* XEINT29 */ | 103 | .gpio = EXYNOS4_GPX3(5), /* XEINT29 */ |
104 | .desc = "gpio-keys: KEY_OK", | 104 | .desc = "gpio-keys: KEY_OK", |
105 | .type = EV_KEY, | 105 | .type = EV_KEY, |
106 | .active_low = 1, | 106 | .active_low = 1, |
@@ -146,7 +146,7 @@ static struct regulator_init_data mmc0_fixed_voltage_init_data = { | |||
146 | static struct fixed_voltage_config mmc0_fixed_voltage_config = { | 146 | static struct fixed_voltage_config mmc0_fixed_voltage_config = { |
147 | .supply_name = "MASSMEMORY_EN", | 147 | .supply_name = "MASSMEMORY_EN", |
148 | .microvolts = 2800000, | 148 | .microvolts = 2800000, |
149 | .gpio = S5PV310_GPE1(3), | 149 | .gpio = EXYNOS4_GPE1(3), |
150 | .enable_high = true, | 150 | .enable_high = true, |
151 | .init_data = &mmc0_fixed_voltage_init_data, | 151 | .init_data = &mmc0_fixed_voltage_init_data, |
152 | }; | 152 | }; |
@@ -165,7 +165,7 @@ static struct s3c_sdhci_platdata universal_hsmmc2_data __initdata = { | |||
165 | .host_caps = MMC_CAP_4_BIT_DATA | | 165 | .host_caps = MMC_CAP_4_BIT_DATA | |
166 | MMC_CAP_MMC_HIGHSPEED | MMC_CAP_SD_HIGHSPEED | | 166 | MMC_CAP_MMC_HIGHSPEED | MMC_CAP_SD_HIGHSPEED | |
167 | MMC_CAP_DISABLE, | 167 | MMC_CAP_DISABLE, |
168 | .ext_cd_gpio = S5PV310_GPX3(4), /* XEINT_28 */ | 168 | .ext_cd_gpio = EXYNOS4_GPX3(4), /* XEINT_28 */ |
169 | .ext_cd_gpio_invert = 1, | 169 | .ext_cd_gpio_invert = 1, |
170 | .cd_type = S3C_SDHCI_CD_GPIO, | 170 | .cd_type = S3C_SDHCI_CD_GPIO, |
171 | .clk_type = S3C_SDHCI_CLK_DIV_EXTERNAL, | 171 | .clk_type = S3C_SDHCI_CLK_DIV_EXTERNAL, |
@@ -230,8 +230,8 @@ static void __init universal_machine_init(void) | |||
230 | MACHINE_START(UNIVERSAL_C210, "UNIVERSAL_C210") | 230 | MACHINE_START(UNIVERSAL_C210, "UNIVERSAL_C210") |
231 | /* Maintainer: Kyungmin Park <kyungmin.park@samsung.com> */ | 231 | /* Maintainer: Kyungmin Park <kyungmin.park@samsung.com> */ |
232 | .boot_params = S5P_PA_SDRAM + 0x100, | 232 | .boot_params = S5P_PA_SDRAM + 0x100, |
233 | .init_irq = s5pv310_init_irq, | 233 | .init_irq = exynos4_init_irq, |
234 | .map_io = universal_map_io, | 234 | .map_io = universal_map_io, |
235 | .init_machine = universal_machine_init, | 235 | .init_machine = universal_machine_init, |
236 | .timer = &s5pv310_timer, | 236 | .timer = &exynos4_timer, |
237 | MACHINE_END | 237 | MACHINE_END |