2 * Board support file for OMAP4430 SDP.
4 * Copyright (C) 2009 Texas Instruments
6 * Author: Santosh Shilimkar <santosh.shilimkar@ti.com>
8 * Based on mach-omap2/board-3430sdp.c
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License version 2 as
12 * published by the Free Software Foundation.
15 #include <linux/kernel.h>
16 #include <linux/init.h>
17 #include <linux/platform_device.h>
19 #include <linux/gpio.h>
20 #include <linux/usb/otg.h>
21 #include <linux/spi/spi.h>
22 #include <linux/i2c/twl.h>
23 #include <linux/mfd/twl6040.h>
24 #include <linux/gpio_keys.h>
25 #include <linux/regulator/machine.h>
26 #include <linux/regulator/fixed.h>
27 #include <linux/leds.h>
28 #include <linux/leds_pwm.h>
29 #include <linux/platform_data/omap4-keypad.h>
30 #include <linux/usb/musb.h>
32 #include <asm/hardware/gic.h>
33 #include <asm/mach-types.h>
34 #include <asm/mach/arch.h>
35 #include <asm/mach/map.h>
38 #include "omap4-keypad.h"
39 #include <linux/wl12xx.h>
40 #include <linux/platform_data/omap-abe-twl6040.h>
47 #include "common-board-devices.h"
48 #include "dss-common.h"
50 #define ETH_KS8851_IRQ 34
51 #define ETH_KS8851_POWER_ON 48
52 #define ETH_KS8851_QUART 138
53 #define OMAP4_SFH7741_SENSOR_OUTPUT_GPIO 184
54 #define OMAP4_SFH7741_ENABLE_GPIO 188
56 #define GPIO_WIFI_PMENA 54
57 #define GPIO_WIFI_IRQ 53
59 static const int sdp4430_keymap
[] = {
65 KEY(0, 5, KEY_UNKNOWN
),
67 KEY(0, 7, KEY_LEFTSHIFT
),
74 KEY(1, 5, KEY_UNKNOWN
),
83 KEY(2, 5, KEY_UNKNOWN
),
85 KEY(2, 7, KEY_CAPSLOCK
),
88 KEY(3, 1, KEY_KPPLUS
),
92 KEY(3, 5, KEY_UNKNOWN
),
100 KEY(4, 4, KEY_VOLUMEUP
),
101 KEY(4, 5, KEY_UNKNOWN
),
110 KEY(5, 5, KEY_VOLUMEDOWN
),
112 KEY(5, 7, KEY_RIGHT
),
118 KEY(6, 4, KEY_BACKSPACE
),
119 KEY(6, 5, KEY_UNKNOWN
),
123 KEY(7, 0, KEY_PROG1
),
124 KEY(7, 1, KEY_PROG2
),
125 KEY(7, 2, KEY_PROG3
),
126 KEY(7, 3, KEY_PROG4
),
128 KEY(7, 5, KEY_UNKNOWN
),
132 static struct omap_device_pad keypad_pads
[] = {
133 { .name
= "kpd_col1.kpd_col1",
134 .enable
= OMAP_WAKEUP_EN
| OMAP_MUX_MODE1
,
136 { .name
= "kpd_col1.kpd_col1",
137 .enable
= OMAP_WAKEUP_EN
| OMAP_MUX_MODE1
,
139 { .name
= "kpd_col2.kpd_col2",
140 .enable
= OMAP_WAKEUP_EN
| OMAP_MUX_MODE1
,
142 { .name
= "kpd_col3.kpd_col3",
143 .enable
= OMAP_WAKEUP_EN
| OMAP_MUX_MODE1
,
145 { .name
= "kpd_col4.kpd_col4",
146 .enable
= OMAP_WAKEUP_EN
| OMAP_MUX_MODE1
,
148 { .name
= "kpd_col5.kpd_col5",
149 .enable
= OMAP_WAKEUP_EN
| OMAP_MUX_MODE1
,
151 { .name
= "gpmc_a23.kpd_col7",
152 .enable
= OMAP_WAKEUP_EN
| OMAP_MUX_MODE1
,
154 { .name
= "gpmc_a22.kpd_col6",
155 .enable
= OMAP_WAKEUP_EN
| OMAP_MUX_MODE1
,
157 { .name
= "kpd_row0.kpd_row0",
158 .enable
= OMAP_PULL_ENA
| OMAP_PULL_UP
| OMAP_WAKEUP_EN
|
159 OMAP_MUX_MODE1
| OMAP_INPUT_EN
,
161 { .name
= "kpd_row1.kpd_row1",
162 .enable
= OMAP_PULL_ENA
| OMAP_PULL_UP
| OMAP_WAKEUP_EN
|
163 OMAP_MUX_MODE1
| OMAP_INPUT_EN
,
165 { .name
= "kpd_row2.kpd_row2",
166 .enable
= OMAP_PULL_ENA
| OMAP_PULL_UP
| OMAP_WAKEUP_EN
|
167 OMAP_MUX_MODE1
| OMAP_INPUT_EN
,
169 { .name
= "kpd_row3.kpd_row3",
170 .enable
= OMAP_PULL_ENA
| OMAP_PULL_UP
| OMAP_WAKEUP_EN
|
171 OMAP_MUX_MODE1
| OMAP_INPUT_EN
,
173 { .name
= "kpd_row4.kpd_row4",
174 .enable
= OMAP_PULL_ENA
| OMAP_PULL_UP
| OMAP_WAKEUP_EN
|
175 OMAP_MUX_MODE1
| OMAP_INPUT_EN
,
177 { .name
= "kpd_row5.kpd_row5",
178 .enable
= OMAP_PULL_ENA
| OMAP_PULL_UP
| OMAP_WAKEUP_EN
|
179 OMAP_MUX_MODE1
| OMAP_INPUT_EN
,
181 { .name
= "gpmc_a18.kpd_row6",
182 .enable
= OMAP_PULL_ENA
| OMAP_PULL_UP
| OMAP_WAKEUP_EN
|
183 OMAP_MUX_MODE1
| OMAP_INPUT_EN
,
185 { .name
= "gpmc_a19.kpd_row7",
186 .enable
= OMAP_PULL_ENA
| OMAP_PULL_UP
| OMAP_WAKEUP_EN
|
187 OMAP_MUX_MODE1
| OMAP_INPUT_EN
,
191 static struct matrix_keymap_data sdp4430_keymap_data
= {
192 .keymap
= sdp4430_keymap
,
193 .keymap_size
= ARRAY_SIZE(sdp4430_keymap
),
196 static struct omap4_keypad_platform_data sdp4430_keypad_data
= {
197 .keymap_data
= &sdp4430_keymap_data
,
202 static struct omap_board_data keypad_data
= {
205 .pads_cnt
= ARRAY_SIZE(keypad_pads
),
208 static struct gpio_led sdp4430_gpio_leds
[] = {
210 .name
= "omap4:green:debug0",
214 .name
= "omap4:green:debug1",
218 .name
= "omap4:green:debug2",
222 .name
= "omap4:green:debug3",
226 .name
= "omap4:green:debug4",
230 .name
= "omap4:blue:user",
234 .name
= "omap4:red:user",
238 .name
= "omap4:green:user",
244 static struct gpio_keys_button sdp4430_gpio_keys
[] = {
246 .desc
= "Proximity Sensor",
248 .code
= SW_FRONT_PROXIMITY
,
249 .gpio
= OMAP4_SFH7741_SENSOR_OUTPUT_GPIO
,
254 static struct gpio_led_platform_data sdp4430_led_data
= {
255 .leds
= sdp4430_gpio_leds
,
256 .num_leds
= ARRAY_SIZE(sdp4430_gpio_leds
),
259 static struct led_pwm sdp4430_pwm_leds
[] = {
261 .name
= "omap4:green:chrg",
263 .max_brightness
= 255,
264 .pwm_period_ns
= 7812500,
268 static struct led_pwm_platform_data sdp4430_pwm_data
= {
269 .num_leds
= ARRAY_SIZE(sdp4430_pwm_leds
),
270 .leds
= sdp4430_pwm_leds
,
273 static struct platform_device sdp4430_leds_pwm
= {
277 .platform_data
= &sdp4430_pwm_data
,
281 static int omap_prox_activate(struct device
*dev
)
283 gpio_set_value(OMAP4_SFH7741_ENABLE_GPIO
, 1);
287 static void omap_prox_deactivate(struct device
*dev
)
289 gpio_set_value(OMAP4_SFH7741_ENABLE_GPIO
, 0);
292 static struct gpio_keys_platform_data sdp4430_gpio_keys_data
= {
293 .buttons
= sdp4430_gpio_keys
,
294 .nbuttons
= ARRAY_SIZE(sdp4430_gpio_keys
),
295 .enable
= omap_prox_activate
,
296 .disable
= omap_prox_deactivate
,
299 static struct platform_device sdp4430_gpio_keys_device
= {
303 .platform_data
= &sdp4430_gpio_keys_data
,
307 static struct platform_device sdp4430_leds_gpio
= {
311 .platform_data
= &sdp4430_led_data
,
314 static struct spi_board_info sdp4430_spi_board_info
[] __initdata
= {
316 .modalias
= "ks8851",
319 .max_speed_hz
= 24000000,
321 * .irq is set to gpio_to_irq(ETH_KS8851_IRQ)
322 * in omap_4430sdp_init
327 static struct gpio sdp4430_eth_gpios
[] __initdata
= {
328 { ETH_KS8851_POWER_ON
, GPIOF_OUT_INIT_HIGH
, "eth_power" },
329 { ETH_KS8851_QUART
, GPIOF_OUT_INIT_HIGH
, "quart" },
330 { ETH_KS8851_IRQ
, GPIOF_IN
, "eth_irq" },
333 static int __init
omap_ethernet_init(void)
337 /* Request of GPIO lines */
338 status
= gpio_request_array(sdp4430_eth_gpios
,
339 ARRAY_SIZE(sdp4430_eth_gpios
));
341 pr_err("Cannot request ETH GPIOs\n");
346 static struct regulator_consumer_supply sdp4430_vbat_supply
[] = {
347 REGULATOR_SUPPLY("vddvibl", "twl6040-vibra"),
348 REGULATOR_SUPPLY("vddvibr", "twl6040-vibra"),
351 static struct regulator_init_data sdp4430_vbat_data
= {
355 .num_consumer_supplies
= ARRAY_SIZE(sdp4430_vbat_supply
),
356 .consumer_supplies
= sdp4430_vbat_supply
,
359 static struct fixed_voltage_config sdp4430_vbat_pdata
= {
360 .supply_name
= "VBAT",
361 .microvolts
= 3750000,
362 .init_data
= &sdp4430_vbat_data
,
366 static struct platform_device sdp4430_vbat
= {
367 .name
= "reg-fixed-voltage",
370 .platform_data
= &sdp4430_vbat_pdata
,
374 static struct platform_device sdp4430_dmic_codec
= {
375 .name
= "dmic-codec",
379 static struct platform_device sdp4430_hdmi_audio_codec
= {
380 .name
= "hdmi-audio-codec",
384 static struct omap_abe_twl6040_data sdp4430_abe_audio_data
= {
385 .card_name
= "SDP4430",
386 .has_hs
= ABE_TWL6040_LEFT
| ABE_TWL6040_RIGHT
,
387 .has_hf
= ABE_TWL6040_LEFT
| ABE_TWL6040_RIGHT
,
389 .has_aux
= ABE_TWL6040_LEFT
| ABE_TWL6040_RIGHT
,
390 .has_vibra
= ABE_TWL6040_LEFT
| ABE_TWL6040_RIGHT
,
396 .has_afm
= ABE_TWL6040_LEFT
| ABE_TWL6040_RIGHT
,
399 /* MCLK input is 38.4MHz */
400 .mclk_freq
= 38400000,
403 static struct platform_device sdp4430_abe_audio
= {
404 .name
= "omap-abe-twl6040",
407 .platform_data
= &sdp4430_abe_audio_data
,
411 static struct platform_device
*sdp4430_devices
[] __initdata
= {
412 &sdp4430_gpio_keys_device
,
418 &sdp4430_hdmi_audio_codec
,
421 static struct omap_musb_board_data musb_board_data
= {
422 .interface_type
= MUSB_INTERFACE_UTMI
,
427 static struct omap2_hsmmc_info mmc
[] = {
430 .caps
= MMC_CAP_4_BIT_DATA
| MMC_CAP_8_BIT_DATA
,
433 .nonremovable
= true,
434 .ocr_mask
= MMC_VDD_29_30
,
439 .caps
= MMC_CAP_4_BIT_DATA
| MMC_CAP_8_BIT_DATA
,
445 .caps
= MMC_CAP_4_BIT_DATA
| MMC_CAP_POWER_OFF_CARD
,
446 .pm_caps
= MMC_PM_KEEP_POWER
,
449 .ocr_mask
= MMC_VDD_165_195
,
450 .nonremovable
= true,
455 static struct regulator_consumer_supply sdp4430_vaux_supply
[] = {
456 REGULATOR_SUPPLY("vmmc", "omap_hsmmc.1"),
459 static struct regulator_consumer_supply omap4_sdp4430_vmmc5_supply
= {
461 .dev_name
= "omap_hsmmc.4",
464 static struct regulator_init_data sdp4430_vmmc5
= {
466 .valid_ops_mask
= REGULATOR_CHANGE_STATUS
,
468 .num_consumer_supplies
= 1,
469 .consumer_supplies
= &omap4_sdp4430_vmmc5_supply
,
472 static struct fixed_voltage_config sdp4430_vwlan
= {
473 .supply_name
= "vwl1271",
474 .microvolts
= 1800000, /* 1.8V */
475 .gpio
= GPIO_WIFI_PMENA
,
476 .startup_delay
= 70000, /* 70msec */
478 .enabled_at_boot
= 0,
479 .init_data
= &sdp4430_vmmc5
,
482 static struct platform_device omap_vwlan_device
= {
483 .name
= "reg-fixed-voltage",
486 .platform_data
= &sdp4430_vwlan
,
490 static struct regulator_init_data sdp4430_vaux1
= {
495 .valid_modes_mask
= REGULATOR_MODE_NORMAL
496 | REGULATOR_MODE_STANDBY
,
497 .valid_ops_mask
= REGULATOR_CHANGE_VOLTAGE
498 | REGULATOR_CHANGE_MODE
499 | REGULATOR_CHANGE_STATUS
,
501 .num_consumer_supplies
= ARRAY_SIZE(sdp4430_vaux_supply
),
502 .consumer_supplies
= sdp4430_vaux_supply
,
505 static struct regulator_init_data sdp4430_vusim
= {
510 .valid_modes_mask
= REGULATOR_MODE_NORMAL
511 | REGULATOR_MODE_STANDBY
,
512 .valid_ops_mask
= REGULATOR_CHANGE_VOLTAGE
513 | REGULATOR_CHANGE_MODE
514 | REGULATOR_CHANGE_STATUS
,
518 static struct twl6040_codec_data twl6040_codec
= {
519 /* single-step ramp for headset and handsfree */
520 .hs_left_step
= 0x0f,
521 .hs_right_step
= 0x0f,
522 .hf_left_step
= 0x1d,
523 .hf_right_step
= 0x1d,
526 static struct twl6040_vibra_data twl6040_vibra
= {
531 .vddvibl_uV
= 0, /* fixed volt supply - VBAT */
532 .vddvibr_uV
= 0, /* fixed volt supply - VBAT */
535 static struct twl6040_platform_data twl6040_data
= {
536 .codec
= &twl6040_codec
,
537 .vibra
= &twl6040_vibra
,
538 .audpwron_gpio
= 127,
541 static struct i2c_board_info __initdata sdp4430_i2c_1_boardinfo
[] = {
543 I2C_BOARD_INFO("twl6040", 0x4b),
544 .irq
= 119 + OMAP44XX_IRQ_GIC_START
,
545 .platform_data
= &twl6040_data
,
549 static struct twl4030_platform_data sdp4430_twldata
= {
551 .vusim
= &sdp4430_vusim
,
552 .vaux1
= &sdp4430_vaux1
,
555 static struct i2c_board_info __initdata sdp4430_i2c_3_boardinfo
[] = {
557 I2C_BOARD_INFO("tmp105", 0x48),
560 I2C_BOARD_INFO("bh1780", 0x29),
563 static struct i2c_board_info __initdata sdp4430_i2c_4_boardinfo
[] = {
565 I2C_BOARD_INFO("hmc5843", 0x1e),
568 static int __init
omap4_i2c_init(void)
570 omap4_pmic_get_config(&sdp4430_twldata
, TWL_COMMON_PDATA_USB
,
571 TWL_COMMON_REGULATOR_VDAC
|
572 TWL_COMMON_REGULATOR_VAUX2
|
573 TWL_COMMON_REGULATOR_VAUX3
|
574 TWL_COMMON_REGULATOR_VMMC
|
575 TWL_COMMON_REGULATOR_VPP
|
576 TWL_COMMON_REGULATOR_VANA
|
577 TWL_COMMON_REGULATOR_VCXIO
|
578 TWL_COMMON_REGULATOR_VUSB
|
579 TWL_COMMON_REGULATOR_CLK32KG
|
580 TWL_COMMON_REGULATOR_V1V8
|
581 TWL_COMMON_REGULATOR_V2V1
);
582 omap4_pmic_init("twl6030", &sdp4430_twldata
, sdp4430_i2c_1_boardinfo
,
583 ARRAY_SIZE(sdp4430_i2c_1_boardinfo
));
584 omap_register_i2c_bus(2, 400, NULL
, 0);
585 omap_register_i2c_bus(3, 400, sdp4430_i2c_3_boardinfo
,
586 ARRAY_SIZE(sdp4430_i2c_3_boardinfo
));
587 omap_register_i2c_bus(4, 400, sdp4430_i2c_4_boardinfo
,
588 ARRAY_SIZE(sdp4430_i2c_4_boardinfo
));
592 static void __init
omap_sfh7741prox_init(void)
596 error
= gpio_request_one(OMAP4_SFH7741_ENABLE_GPIO
,
597 GPIOF_OUT_INIT_LOW
, "sfh7741");
599 pr_err("%s:failed to request GPIO %d, error %d\n",
600 __func__
, OMAP4_SFH7741_ENABLE_GPIO
, error
);
603 #ifdef CONFIG_OMAP_MUX
604 static struct omap_board_mux board_mux
[] __initdata
= {
605 OMAP4_MUX(USBB2_ULPITLL_CLK
, OMAP_MUX_MODE4
| OMAP_PIN_OUTPUT
),
606 /* NIRQ2 for twl6040 */
607 OMAP4_MUX(SYS_NIRQ2
, OMAP_MUX_MODE0
|
608 OMAP_PIN_INPUT_PULLUP
| OMAP_PIN_OFF_WAKEUPENABLE
),
609 /* GPIO_127 for twl6040 */
610 OMAP4_MUX(HDQ_SIO
, OMAP_MUX_MODE3
| OMAP_PIN_OUTPUT
),
612 OMAP4_MUX(ABE_PDM_UL_DATA
, OMAP_MUX_MODE0
| OMAP_PIN_INPUT_PULLDOWN
),
613 OMAP4_MUX(ABE_PDM_DL_DATA
, OMAP_MUX_MODE0
| OMAP_PIN_INPUT_PULLDOWN
),
614 OMAP4_MUX(ABE_PDM_FRAME
, OMAP_MUX_MODE0
| OMAP_PIN_INPUT_PULLUP
),
615 OMAP4_MUX(ABE_PDM_LB_CLK
, OMAP_MUX_MODE0
| OMAP_PIN_INPUT_PULLDOWN
),
616 OMAP4_MUX(ABE_CLKS
, OMAP_MUX_MODE0
| OMAP_PIN_INPUT_PULLDOWN
),
618 OMAP4_MUX(ABE_DMIC_CLK1
, OMAP_MUX_MODE0
| OMAP_PIN_OUTPUT
),
619 OMAP4_MUX(ABE_DMIC_DIN1
, OMAP_MUX_MODE0
| OMAP_PIN_INPUT
),
620 OMAP4_MUX(ABE_DMIC_DIN2
, OMAP_MUX_MODE0
| OMAP_PIN_INPUT
),
621 OMAP4_MUX(ABE_DMIC_DIN3
, OMAP_MUX_MODE0
| OMAP_PIN_INPUT
),
623 OMAP4_MUX(ABE_MCBSP1_CLKX
, OMAP_MUX_MODE0
| OMAP_PIN_INPUT
),
624 OMAP4_MUX(ABE_MCBSP1_DR
, OMAP_MUX_MODE0
| OMAP_PIN_INPUT_PULLDOWN
),
625 OMAP4_MUX(ABE_MCBSP1_DX
, OMAP_MUX_MODE0
| OMAP_PIN_OUTPUT
|
627 OMAP4_MUX(ABE_MCBSP1_FSX
, OMAP_MUX_MODE0
| OMAP_PIN_INPUT
),
629 OMAP4_MUX(ABE_MCBSP2_CLKX
, OMAP_MUX_MODE0
| OMAP_PIN_INPUT
),
630 OMAP4_MUX(ABE_MCBSP2_DR
, OMAP_MUX_MODE0
| OMAP_PIN_INPUT_PULLDOWN
),
631 OMAP4_MUX(ABE_MCBSP2_DX
, OMAP_MUX_MODE0
| OMAP_PIN_OUTPUT
|
633 OMAP4_MUX(ABE_MCBSP2_FSX
, OMAP_MUX_MODE0
| OMAP_PIN_INPUT
),
635 { .reg_offset
= OMAP_MUX_TERMINATOR
},
639 #define board_mux NULL
642 static void __init
omap4_sdp4430_wifi_mux_init(void)
644 omap_mux_init_gpio(GPIO_WIFI_IRQ
, OMAP_PIN_INPUT
|
645 OMAP_PIN_OFF_WAKEUPENABLE
);
646 omap_mux_init_gpio(GPIO_WIFI_PMENA
, OMAP_PIN_OUTPUT
);
648 omap_mux_init_signal("sdmmc5_cmd.sdmmc5_cmd",
649 OMAP_MUX_MODE0
| OMAP_PIN_INPUT_PULLUP
);
650 omap_mux_init_signal("sdmmc5_clk.sdmmc5_clk",
651 OMAP_MUX_MODE0
| OMAP_PIN_INPUT_PULLUP
);
652 omap_mux_init_signal("sdmmc5_dat0.sdmmc5_dat0",
653 OMAP_MUX_MODE0
| OMAP_PIN_INPUT_PULLUP
);
654 omap_mux_init_signal("sdmmc5_dat1.sdmmc5_dat1",
655 OMAP_MUX_MODE0
| OMAP_PIN_INPUT_PULLUP
);
656 omap_mux_init_signal("sdmmc5_dat2.sdmmc5_dat2",
657 OMAP_MUX_MODE0
| OMAP_PIN_INPUT_PULLUP
);
658 omap_mux_init_signal("sdmmc5_dat3.sdmmc5_dat3",
659 OMAP_MUX_MODE0
| OMAP_PIN_INPUT_PULLUP
);
663 static struct wl12xx_platform_data omap4_sdp4430_wlan_data __initdata
= {
664 .board_ref_clock
= WL12XX_REFCLOCK_26
,
665 .board_tcxo_clock
= WL12XX_TCXOCLOCK_26
,
668 static void __init
omap4_sdp4430_wifi_init(void)
672 omap4_sdp4430_wifi_mux_init();
673 omap4_sdp4430_wlan_data
.irq
= gpio_to_irq(GPIO_WIFI_IRQ
);
674 ret
= wl12xx_set_platform_data(&omap4_sdp4430_wlan_data
);
676 pr_err("Error setting wl12xx data: %d\n", ret
);
677 ret
= platform_device_register(&omap_vwlan_device
);
679 pr_err("Error registering wl12xx device: %d\n", ret
);
682 static void __init
omap_4430sdp_init(void)
685 int package
= OMAP_PACKAGE_CBS
;
687 if (omap_rev() == OMAP4430_REV_ES1_0
)
688 package
= OMAP_PACKAGE_CBL
;
689 omap4_mux_init(board_mux
, NULL
, package
);
692 omap_sfh7741prox_init();
693 platform_add_devices(sdp4430_devices
, ARRAY_SIZE(sdp4430_devices
));
695 omap_sdrc_init(NULL
, NULL
);
696 omap4_sdp4430_wifi_init();
697 omap4_twl6030_hsmmc_init(mmc
);
699 usb_musb_init(&musb_board_data
);
701 status
= omap_ethernet_init();
703 pr_err("Ethernet initialization failed: %d\n", status
);
705 sdp4430_spi_board_info
[0].irq
= gpio_to_irq(ETH_KS8851_IRQ
);
706 spi_register_board_info(sdp4430_spi_board_info
,
707 ARRAY_SIZE(sdp4430_spi_board_info
));
710 status
= omap4_keyboard_init(&sdp4430_keypad_data
, &keypad_data
);
712 pr_err("Keypad initialization failed: %d\n", status
);
714 omap_4430sdp_display_init();
717 MACHINE_START(OMAP_4430SDP
, "OMAP4430 4430SDP board")
718 /* Maintainer: Santosh Shilimkar - Texas Instruments Inc */
719 .atag_offset
= 0x100,
720 .smp
= smp_ops(omap4_smp_ops
),
721 .reserve
= omap_reserve
,
722 .map_io
= omap4_map_io
,
723 .init_early
= omap4430_init_early
,
724 .init_irq
= gic_init_irq
,
725 .handle_irq
= gic_handle_irq
,
726 .init_machine
= omap_4430sdp_init
,
727 .init_late
= omap4430_init_late
,
728 .timer
= &omap4_timer
,
729 .restart
= omap44xx_restart
,