25 #include <asm/setup.h>
26 #include <asm/memory.h>
28 #include <mach/hardware.h>
37 #include <mach/bitfield.h>
48 static unsigned long idp_pin_config[]
__initdata = {
71 static struct resource smc91x_resources[] = {
88 .resource = smc91x_resources,
91 static void idp_backlight_power(
int on)
100 static void idp_vlcd(
int on)
142 .modes = &sharp_lm8v31_mode,
148 .pxafb_backlight_power = &idp_backlight_power,
149 .pxafb_lcd_power = &idp_lcd_power
154 .gpio_card_detect = -1,
159 static void __init idp_init(
void)
188 static void __init idp_map_io(
void)
195 #if defined(CONFIG_NEW_LEDS) && defined(CONFIG_LEDS_CLASS)
205 static const struct {
209 {
"idp:green",
"heartbeat", },
210 {
"idp:red",
"cpu0", },
217 struct idp_led, cdev);
231 struct idp_led, cdev);
236 static int __init idp_leds_init(
void)
240 if (!machine_is_pxa_idp())
250 led->cdev.name = idp_leds[
i].name;
251 led->cdev.brightness_set = idp_led_set;
252 led->cdev.brightness_get = idp_led_get;
253 led->cdev.default_trigger = idp_leds[
i].trigger;
278 .map_io = idp_map_io,
283 .init_machine = idp_init,