summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/board-kzm9g-reference.c
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2013-02-08 19:38:31 +0100
committerSimon Horman <horms+renesas@verge.net.au>2013-03-18 13:27:02 +0100
commit275cc1d4fcef076bb8f2ef01cf1540cd62b35eb9 (patch)
tree1a929d88193894834c3ee444731b9bbbf98ece7c /arch/arm/mach-shmobile/board-kzm9g-reference.c
parentARM: shmobile: kzm9g: Reference DT implementation (diff)
downloadlinux-275cc1d4fcef076bb8f2ef01cf1540cd62b35eb9.tar.xz
linux-275cc1d4fcef076bb8f2ef01cf1540cd62b35eb9.zip
ARM: shmobile: parse DT and configure pinmux early on kzm9g-reference
GPIOs can be provided by the pinctrl subsystem, which can be initialised by DT. Therefore DT has to be parsed before requesting GPIOs. Also non-DT pinmux has to be configured early. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/mach-shmobile/board-kzm9g-reference.c')
-rw-r--r--arch/arm/mach-shmobile/board-kzm9g-reference.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/board-kzm9g-reference.c b/arch/arm/mach-shmobile/board-kzm9g-reference.c
index caba1bb62f84..add537c51b45 100644
--- a/arch/arm/mach-shmobile/board-kzm9g-reference.c
+++ b/arch/arm/mach-shmobile/board-kzm9g-reference.c
@@ -47,6 +47,7 @@ static void __init kzm_init(void)
{
sh73a0_add_standard_devices_dt();
pinctrl_register_mappings(kzm_pinctrl_map, ARRAY_SIZE(kzm_pinctrl_map));
+ sh73a0_pinmux_init();
#ifdef CONFIG_CACHE_L2X0
/* Early BRESP enable, Shared attribute override enable, 64K*8way */