20 #include <linux/kernel.h>
33 #include <linux/input.h>
39 #include <mach/irqs.h>
41 #include <mach/common.h>
86 .size = 8 * 1024 * 1024,
92 .size = 8 * 1024 * 1024,
103 .parts = nor_flash_partitions,
107 static struct resource nor_flash_resources[] = {
110 .end = 0x08000000 - 1,
116 .name =
"physmap-flash",
118 .platform_data = &nor_flash_data,
120 .num_resources =
ARRAY_SIZE(nor_flash_resources),
121 .resource = nor_flash_resources,
125 static void usb_host_port_power(
int port,
int power)
136 .port_power = usb_host_port_power,
139 static struct resource usb_host_resources[] = {
153 .name =
"r8a66597_hcd",
156 .platform_data = &usb_host_data,
158 .coherent_dma_mask = 0xffffffff,
160 .num_resources =
ARRAY_SIZE(usb_host_resources),
161 .resource = usb_host_resources,
180 static struct resource keysc_resources[] = {
197 .resource = keysc_resources,
199 .platform_data = &keysc_info,
217 static struct resource sdhi0_resources[] = {
231 .name =
"sh_mobile_sdhi",
233 .resource = sdhi0_resources,
236 .platform_data = &sdhi0_info,
244 static struct resource sdhi1_resources[] = {
258 .name =
"sh_mobile_sdhi",
260 .resource = sdhi1_resources,
263 .platform_data = &sdhi1_info,
275 #define GPIO_SDHID0_D0 IOMEM(0xe60520fc)
276 #define GPIO_SDHID0_D1 IOMEM(0xe60520fd)
277 #define GPIO_SDHID0_D2 IOMEM(0xe60520fe)
278 #define GPIO_SDHID0_D3 IOMEM(0xe60520ff)
279 #define GPIO_SDHICMD0 IOMEM(0xe6052100)
281 #define GPIO_SDHID1_D0 IOMEM(0xe6052103)
282 #define GPIO_SDHID1_D1 IOMEM(0xe6052104)
283 #define GPIO_SDHID1_D2 IOMEM(0xe6052105)
284 #define GPIO_SDHID1_D3 IOMEM(0xe6052106)
285 #define GPIO_SDHICMD1 IOMEM(0xe6052107)
287 static void __init g4evm_init(
void)
290 ARRAY_SIZE(fixed3v3_power_consumers), 3300000);
381 .init_machine = g4evm_init,
382 .init_late = shmobile_init_late,