diff options
| -rw-r--r-- | arch/arm/mach-omap2/board-rx51.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/board-rx51.c b/arch/arm/mach-omap2/board-rx51.c index 26b70dab28cc..acfb898a3aad 100644 --- a/arch/arm/mach-omap2/board-rx51.c +++ b/arch/arm/mach-omap2/board-rx51.c | |||
| @@ -31,6 +31,7 @@ | |||
| 31 | #include <plat/usb.h> | 31 | #include <plat/usb.h> |
| 32 | 32 | ||
| 33 | #include "mux.h" | 33 | #include "mux.h" |
| 34 | #include "pm.h" | ||
| 34 | 35 | ||
| 35 | #define RX51_GPIO_SLEEP_IND 162 | 36 | #define RX51_GPIO_SLEEP_IND 162 |
| 36 | 37 | ||
| @@ -56,6 +57,23 @@ static struct platform_device leds_gpio = { | |||
| 56 | }, | 57 | }, |
| 57 | }; | 58 | }; |
| 58 | 59 | ||
| 60 | static struct cpuidle_params rx51_cpuidle_params[] = { | ||
| 61 | /* C1 */ | ||
| 62 | {1, 110, 162, 5}, | ||
| 63 | /* C2 */ | ||
| 64 | {1, 106, 180, 309}, | ||
| 65 | /* C3 */ | ||
| 66 | {0, 107, 410, 46057}, | ||
| 67 | /* C4 */ | ||
| 68 | {0, 121, 3374, 46057}, | ||
| 69 | /* C5 */ | ||
| 70 | {1, 855, 1146, 46057}, | ||
| 71 | /* C6 */ | ||
| 72 | {0, 7580, 4134, 484329}, | ||
| 73 | /* C7 */ | ||
| 74 | {1, 7505, 15274, 484329}, | ||
| 75 | }; | ||
| 76 | |||
| 59 | static struct omap_lcd_config rx51_lcd_config = { | 77 | static struct omap_lcd_config rx51_lcd_config = { |
| 60 | .ctrl_name = "internal", | 78 | .ctrl_name = "internal", |
| 61 | }; | 79 | }; |
| @@ -85,6 +103,7 @@ static void __init rx51_init_irq(void) | |||
| 85 | 103 | ||
| 86 | omap_board_config = rx51_config; | 104 | omap_board_config = rx51_config; |
| 87 | omap_board_config_size = ARRAY_SIZE(rx51_config); | 105 | omap_board_config_size = ARRAY_SIZE(rx51_config); |
| 106 | omap3_pm_init_cpuidle(rx51_cpuidle_params); | ||
| 88 | sdrc_params = rx51_get_sdram_timings(); | 107 | sdrc_params = rx51_get_sdram_timings(); |
| 89 | omap2_init_common_hw(sdrc_params, sdrc_params); | 108 | omap2_init_common_hw(sdrc_params, sdrc_params); |
| 90 | omap_init_irq(); | 109 | omap_init_irq(); |
