23 #include <linux/kernel.h>
34 #include <linux/input.h>
43 #include <mach/hardware.h>
44 #include <mach/irqs.h>
46 #include <mach/common.h>
52 #include <asm/traps.h>
61 static struct resource smsc9220_resources[] = {
84 .platform_data = &smsc9220_platdata,
86 .resource = smsc9220_resources,
87 .num_resources =
ARRAY_SIZE(smsc9220_resources),
104 0, 0, 0, 0, 0, 0, 0, 0,
105 0, 0, 0, 0, 0, 0, 0, 0,
106 0, 0, 0, 0, 0, 0, 0, 0,
107 0, 0, 0, 0, 0, 0, 0, 0,
111 static struct resource keysc_resources[] = {
115 .end = 0xe61b0098 - 1,
128 .resource = keysc_resources,
130 .platform_data = &keysc_platdata,
135 #define GPIO_KEY(c, g, d) { .code = c, .gpio = g, .desc = d, .active_low = 1 }
152 .buttons = gpio_buttons,
160 .platform_data = &gpio_key_info,
165 #define GPIO_LED(n, g) { .name = n, .gpio = g }
167 static struct gpio_led gpio_leds[] = {
182 .platform_data = &gpio_leds_info,
191 .channel_offset = 0x90,
193 .max_brightness = 1000,
196 static struct resource tpu12_resources[] = {
206 .name =
"leds-renesas-tpu",
209 .platform_data = &led_renesas_tpu12_pdata,
212 .resource = tpu12_resources,
219 .channel_offset = 0x50,
221 .max_brightness = 1000,
224 static struct resource tpu41_resources[] = {
234 .name =
"leds-renesas-tpu",
237 .platform_data = &led_renesas_tpu41_pdata,
240 .resource = tpu41_resources,
247 .channel_offset = 0x50,
249 .max_brightness = 1000,
252 static struct resource tpu21_resources[] = {
262 .name =
"leds-renesas-tpu",
265 .platform_data = &led_renesas_tpu21_pdata,
268 .resource = tpu21_resources,
275 .channel_offset = 0x10,
277 .max_brightness = 1000,
280 static struct resource tpu30_resources[] = {
290 .name =
"leds-renesas-tpu",
293 .platform_data = &led_renesas_tpu30_pdata,
296 .resource = tpu30_resources,
307 static struct resource mmcif_resources[] = {
333 .platform_data = &mmcif_info,
336 .resource = mmcif_resources,
354 static struct resource sdhi0_resources[] = {
376 .name =
"sh_mobile_sdhi",
379 .resource = sdhi0_resources,
381 .platform_data = &sdhi0_info,
391 static struct resource sdhi1_resources[] = {
413 .name =
"sh_mobile_sdhi",
416 .resource = sdhi1_resources,
418 .platform_data = &sdhi1_info,
436 static void __init kota2_init(
void)
439 ARRAY_SIZE(fixed1v8_power_consumers), 1800000);
441 ARRAY_SIZE(fixed3v3_power_consumers), 3300000);
539 #ifdef CONFIG_CACHE_L2X0
554 .init_machine = kota2_init,
555 .init_late = shmobile_init_late,