diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-20 12:13:34 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-20 12:13:34 -0400 |
commit | ed402af3c23a4804b3f8899263e8d0f97c62ab49 (patch) | |
tree | 3aa971aea57f900a3060cc0545b199ef611f4dcf /arch/sh/boards/board-rsk7203.c | |
parent | 096e6f673dc02a6394dc9a7d8f8735c6978f5b91 (diff) | |
parent | 40e24c403f325715f9c43b9fed2068641201ee0b (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6: (112 commits)
sh: Move SH-4 CPU headers down one more level.
sh: Only build in gpio.o when CONFIG_GENERIC_GPIO is selected.
sh: Migrate common board headers to mach-common/.
sh: Move the CPU definition headers from asm/ to cpu/.
serial: sh-sci: Add support SCIF of SH7723
video: add sh_mobile_lcdc platform flags
video: remove unused sh_mobile_lcdc platform data
sh: remove consistent alloc cruft
sh: add dynamic crash base address support
sh: reduce Migo-R smc91x overruns
sh: Fix up some merge damage.
Fix debugfs_create_file's error checking method for arch/sh/mm/
Fix debugfs_create_dir's error checking method for arch/sh/kernel/
sh: ap325rxa: Add support RTC RX-8564LC in AP325RXA board
sh: Use sh7720 GPIO on magicpanelr2 board
sh: Add sh7720 pinmux code
sh: Use sh7203 GPIO on rsk7203 board
sh: Add sh7203 pinmux code
sh: Use sh7723 GPIO on AP325RXA board
sh: Add sh7723 pinmux code
...
Diffstat (limited to 'arch/sh/boards/board-rsk7203.c')
-rw-r--r-- | arch/sh/boards/board-rsk7203.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/sh/boards/board-rsk7203.c b/arch/sh/boards/board-rsk7203.c index ffbedc59a973..ded799cf3eae 100644 --- a/arch/sh/boards/board-rsk7203.c +++ b/arch/sh/boards/board-rsk7203.c | |||
@@ -16,8 +16,10 @@ | |||
16 | #include <linux/mtd/physmap.h> | 16 | #include <linux/mtd/physmap.h> |
17 | #include <linux/mtd/map.h> | 17 | #include <linux/mtd/map.h> |
18 | #include <linux/smc911x.h> | 18 | #include <linux/smc911x.h> |
19 | #include <linux/gpio.h> | ||
19 | #include <asm/machvec.h> | 20 | #include <asm/machvec.h> |
20 | #include <asm/io.h> | 21 | #include <asm/io.h> |
22 | #include <asm/sh7203.h> | ||
21 | 23 | ||
22 | static struct smc911x_platdata smc911x_info = { | 24 | static struct smc911x_platdata smc911x_info = { |
23 | .flags = SMC911X_USE_16BIT, | 25 | .flags = SMC911X_USE_16BIT, |
@@ -122,6 +124,15 @@ static struct platform_device *rsk7203_devices[] __initdata = { | |||
122 | 124 | ||
123 | static int __init rsk7203_devices_setup(void) | 125 | static int __init rsk7203_devices_setup(void) |
124 | { | 126 | { |
127 | /* Select pins for SCIF0 */ | ||
128 | gpio_request(GPIO_FN_TXD0, NULL); | ||
129 | gpio_request(GPIO_FN_RXD0, NULL); | ||
130 | |||
131 | /* Lit LED0 */ | ||
132 | gpio_request(GPIO_PE10, NULL); | ||
133 | gpio_direction_output(GPIO_PE10, 0); | ||
134 | gpio_export(GPIO_PE10, 0); | ||
135 | |||
125 | set_mtd_partitions(); | 136 | set_mtd_partitions(); |
126 | return platform_add_devices(rsk7203_devices, | 137 | return platform_add_devices(rsk7203_devices, |
127 | ARRAY_SIZE(rsk7203_devices)); | 138 | ARRAY_SIZE(rsk7203_devices)); |