diff options
author | Hamish Guthrie <hcg@openwrt.org> | 2007-07-29 04:26:11 +0000 |
---|---|---|
committer | Hamish Guthrie <hcg@openwrt.org> | 2007-07-29 04:26:11 +0000 |
commit | c3ea6b98e2781da0a9bcedf7157f143a2f2dcfca (patch) | |
tree | 08ac2f44ac0575561568561fce80716fe452c680 /target/linux/at91-2.6/patches-2.6.21/006-change-gpios.patch | |
parent | ab483d77bfe8b61ad1945d2d828c6b8c0a3e0a8a (diff) | |
download | upstream-c3ea6b98e2781da0a9bcedf7157f143a2f2dcfca.tar.gz upstream-c3ea6b98e2781da0a9bcedf7157f143a2f2dcfca.tar.bz2 upstream-c3ea6b98e2781da0a9bcedf7157f143a2f2dcfca.zip |
Prepare for 2.6.22.1 kernel
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8212 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/at91-2.6/patches-2.6.21/006-change-gpios.patch')
-rw-r--r-- | target/linux/at91-2.6/patches-2.6.21/006-change-gpios.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/target/linux/at91-2.6/patches-2.6.21/006-change-gpios.patch b/target/linux/at91-2.6/patches-2.6.21/006-change-gpios.patch new file mode 100644 index 0000000000..97a4a8d2f5 --- /dev/null +++ b/target/linux/at91-2.6/patches-2.6.21/006-change-gpios.patch @@ -0,0 +1,36 @@ +--- linux-2.6.21.1.orig/arch/arm/mach-at91/board-vlink.c 2007-05-28 15:53:31.000000000 +0200 ++++ linux-2.6.21.1/arch/arm/mach-at91/board-vlink.c 2007-05-28 15:58:46.000000000 +0200 +@@ -149,6 +149,33 @@ + #endif + /* LEDs */ + // at91_gpio_leds(vlink_leds, ARRAY_SIZE(vlink_leds)); ++ ++/* 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 ++ ++/* 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 ++ ++/* 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 ++ + } + + MACHINE_START(VLINK, "FDL VersaLink") |