From: Guennadi Liakhovetski Date: Fri, 8 Feb 2013 18:38:31 +0000 (+0100) Subject: ARM: shmobile: parse DT and configure pinmux early on kzm9g-reference X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=275cc1d4fcef076bb8f2ef01cf1540cd62b35eb9;p=linux-beck.git 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 Signed-off-by: Simon Horman --- 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 */