2008-05-19 06:35:41 +00:00
|
|
|
Index: linux-2.6.21.7/arch/arm/mach-at91/board-vlink.c
|
|
|
|
===================================================================
|
|
|
|
--- linux-2.6.21.7.orig/arch/arm/mach-at91/board-vlink.c
|
|
|
|
+++ linux-2.6.21.7/arch/arm/mach-at91/board-vlink.c
|
|
|
|
@@ -149,6 +149,33 @@ static void __init vlink_board_init(void
|
2007-05-28 14:02:03 +00:00
|
|
|
#endif
|
|
|
|
/* LEDs */
|
|
|
|
// at91_gpio_leds(vlink_leds, ARRAY_SIZE(vlink_leds));
|
2007-05-03 05:11:34 +00:00
|
|
|
+
|
2007-05-28 14:02:03 +00:00
|
|
|
+/* Other LED's */
|
|
|
|
+ at91_set_gpio_output(AT91_PIN_PC7, 1); // LED FRONT AP1
|
|
|
|
+ at91_set_gpio_output(AT91_PIN_PC8, 1); // LED FRONT BP1
|
|
|
|
+ at91_set_gpio_output(AT91_PIN_PB14, 1); // LED BACK AP1
|
|
|
|
+ at91_set_gpio_output(AT91_PIN_PB15, 1); // LED BACK BP1
|
|
|
|
+ at91_set_gpio_output(AT91_PIN_PB16, 1); // LED BACK AP2
|
|
|
|
+ at91_set_gpio_output(AT91_PIN_PB17, 1); // LED BACK BP2
|
2007-05-03 05:11:34 +00:00
|
|
|
+
|
2007-05-28 14:02:03 +00:00
|
|
|
+/* SIM Cards */
|
|
|
|
+ at91_set_gpio_output(AT91_PIN_PB9, 1); // ENBSC3
|
|
|
|
+ at91_set_gpio_output(AT91_PIN_PB10, 1); // ENBSC2
|
|
|
|
+ at91_set_gpio_output(AT91_PIN_PB11, 1); // ENBSC1
|
2007-05-03 05:11:34 +00:00
|
|
|
+
|
2007-05-28 14:02:03 +00:00
|
|
|
+/* GSM Module Control */
|
|
|
|
+ at91_set_gpio_output(AT91_PIN_PB12, 1); // GSMONOFF
|
|
|
|
+
|
|
|
|
+/* Test jig presence detection */
|
|
|
|
+ at91_set_gpio_input(AT91_PIN_PB8, 1); // JIGPRESENT
|
|
|
|
+
|
|
|
|
+/* Power indicator */
|
|
|
|
+ at91_set_gpio_input(AT91_PIN_PB22, 1); // PWR_IND
|
|
|
|
+
|
|
|
|
+/* USB Device control */
|
|
|
|
+ at91_set_gpio_input(AT91_PIN_PB27, 1); // UDB_CNX
|
|
|
|
+ at91_set_gpio_output(AT91_PIN_PB28, 1); // UDB_PUP
|
|
|
|
+
|
|
|
|
}
|
2007-05-03 05:11:34 +00:00
|
|
|
|
2007-05-28 14:02:03 +00:00
|
|
|
MACHINE_START(VLINK, "FDL VersaLink")
|