diff options
Diffstat (limited to 'arch/arm/mach-shmobile/board-g4evm.c')
-rw-r--r-- | arch/arm/mach-shmobile/board-g4evm.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/board-g4evm.c b/arch/arm/mach-shmobile/board-g4evm.c index 0ddde038588e..ef4b0f59af49 100644 --- a/arch/arm/mach-shmobile/board-g4evm.c +++ b/arch/arm/mach-shmobile/board-g4evm.c | |||
@@ -27,6 +27,8 @@ | |||
27 | #include <linux/mtd/partitions.h> | 27 | #include <linux/mtd/partitions.h> |
28 | #include <linux/mtd/physmap.h> | 28 | #include <linux/mtd/physmap.h> |
29 | #include <linux/io.h> | 29 | #include <linux/io.h> |
30 | #include <linux/gpio.h> | ||
31 | #include <mach/sh7377.h> | ||
30 | #include <mach/common.h> | 32 | #include <mach/common.h> |
31 | #include <asm/mach-types.h> | 33 | #include <asm/mach-types.h> |
32 | #include <asm/mach/arch.h> | 34 | #include <asm/mach/arch.h> |
@@ -113,6 +115,28 @@ static void __init g4evm_map_io(void) | |||
113 | 115 | ||
114 | static void __init g4evm_init(void) | 116 | static void __init g4evm_init(void) |
115 | { | 117 | { |
118 | sh7377_pinmux_init(); | ||
119 | |||
120 | /* Lit DS14 LED */ | ||
121 | gpio_request(GPIO_PORT109, NULL); | ||
122 | gpio_direction_output(GPIO_PORT109, 1); | ||
123 | gpio_export(GPIO_PORT109, 1); | ||
124 | |||
125 | /* Lit DS15 LED */ | ||
126 | gpio_request(GPIO_PORT110, NULL); | ||
127 | gpio_direction_output(GPIO_PORT110, 1); | ||
128 | gpio_export(GPIO_PORT110, 1); | ||
129 | |||
130 | /* Lit DS16 LED */ | ||
131 | gpio_request(GPIO_PORT112, NULL); | ||
132 | gpio_direction_output(GPIO_PORT112, 1); | ||
133 | gpio_export(GPIO_PORT112, 1); | ||
134 | |||
135 | /* Lit DS17 LED */ | ||
136 | gpio_request(GPIO_PORT113, NULL); | ||
137 | gpio_direction_output(GPIO_PORT113, 1); | ||
138 | gpio_export(GPIO_PORT113, 1); | ||
139 | |||
116 | sh7377_add_standard_devices(); | 140 | sh7377_add_standard_devices(); |
117 | 141 | ||
118 | platform_add_devices(g4evm_devices, ARRAY_SIZE(g4evm_devices)); | 142 | platform_add_devices(g4evm_devices, ARRAY_SIZE(g4evm_devices)); |