@@ -82,6 +82,7 @@ config MACH_AG5EVM
config MACH_APE6EVM
bool "APE6EVM board"
depends on ARCH_R8A73A4
+ select ARCH_REQUIRE_GPIOLIB
select USE_OF
config MACH_MACKEREL
@@ -18,6 +18,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include <linux/gpio.h>
#include <linux/interrupt.h>
#include <linux/irqchip.h>
#include <linux/kernel.h>
@@ -30,6 +31,12 @@
static void __init ape6evm_add_standard_devices(void)
{
r8a73a4_clock_init();
+ r8a73a4_pinmux_init();
+
+ /* SCIFA0 console */
+ gpio_request(GPIO_FN_SCIFA0_TXD, NULL);
+ gpio_request(GPIO_FN_SCIFA0_RXD, NULL);
+
r8a73a4_add_standard_devices();
}