diff options
Diffstat (limited to 'arch/sh/boards/board-ap325rxa.c')
-rw-r--r-- | arch/sh/boards/board-ap325rxa.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/arch/sh/boards/board-ap325rxa.c b/arch/sh/boards/board-ap325rxa.c index 8881a643ac32..1c67cba6e34f 100644 --- a/arch/sh/boards/board-ap325rxa.c +++ b/arch/sh/boards/board-ap325rxa.c | |||
@@ -197,6 +197,10 @@ static struct resource lcdc_resources[] = { | |||
197 | .end = 0xfe941fff, | 197 | .end = 0xfe941fff, |
198 | .flags = IORESOURCE_MEM, | 198 | .flags = IORESOURCE_MEM, |
199 | }, | 199 | }, |
200 | [1] = { | ||
201 | .start = 28, | ||
202 | .flags = IORESOURCE_IRQ, | ||
203 | }, | ||
200 | }; | 204 | }; |
201 | 205 | ||
202 | static struct platform_device lcdc_device = { | 206 | static struct platform_device lcdc_device = { |
@@ -303,6 +307,7 @@ static struct resource ceu_resources[] = { | |||
303 | 307 | ||
304 | static struct platform_device ceu_device = { | 308 | static struct platform_device ceu_device = { |
305 | .name = "sh_mobile_ceu", | 309 | .name = "sh_mobile_ceu", |
310 | .id = 0, /* "ceu0" clock */ | ||
306 | .num_resources = ARRAY_SIZE(ceu_resources), | 311 | .num_resources = ARRAY_SIZE(ceu_resources), |
307 | .resource = ceu_resources, | 312 | .resource = ceu_resources, |
308 | .dev = { | 313 | .dev = { |
@@ -344,7 +349,6 @@ static int __init ap325rxa_devices_setup(void) | |||
344 | gpio_export(GPIO_PTF7, 0); | 349 | gpio_export(GPIO_PTF7, 0); |
345 | 350 | ||
346 | /* LCDC */ | 351 | /* LCDC */ |
347 | clk_always_enable("mstp200"); | ||
348 | gpio_request(GPIO_FN_LCDD15, NULL); | 352 | gpio_request(GPIO_FN_LCDD15, NULL); |
349 | gpio_request(GPIO_FN_LCDD14, NULL); | 353 | gpio_request(GPIO_FN_LCDD14, NULL); |
350 | gpio_request(GPIO_FN_LCDD13, NULL); | 354 | gpio_request(GPIO_FN_LCDD13, NULL); |
@@ -375,7 +379,6 @@ static int __init ap325rxa_devices_setup(void) | |||
375 | gpio_direction_output(GPIO_PTS3, 1); | 379 | gpio_direction_output(GPIO_PTS3, 1); |
376 | 380 | ||
377 | /* CEU */ | 381 | /* CEU */ |
378 | clk_always_enable("mstp203"); | ||
379 | gpio_request(GPIO_FN_VIO_CLK2, NULL); | 382 | gpio_request(GPIO_FN_VIO_CLK2, NULL); |
380 | gpio_request(GPIO_FN_VIO_VD2, NULL); | 383 | gpio_request(GPIO_FN_VIO_VD2, NULL); |
381 | gpio_request(GPIO_FN_VIO_HD2, NULL); | 384 | gpio_request(GPIO_FN_VIO_HD2, NULL); |