From: Magnus Damm Date: Mon, 8 Apr 2013 02:08:44 +0000 (+0900) Subject: ARM: shmobile: Add second I/O range for r8a7790 PFC X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=c9dff05030b97d6c8f2b53a43f0d8f6d15481b92;p=openwrt%2Fstaging%2Fblogic.git ARM: shmobile: Add second I/O range for r8a7790 PFC Add the GPIO I/O memory range to the r8a7790 PFC device. This extra I/O memory range is needed when using the PFC tables to drive both pin functions (using PINCTRL or function GPIO for old code) and actual GPIO. The goal is however to use a separate GPIO driver in the long run and when that happens this extra I/O memory range can be removed. Signed-off-by: Magnus Damm Acked-by: Laurent Pinchart Signed-off-by: Simon Horman --- diff --git a/arch/arm/mach-shmobile/setup-r8a7790.c b/arch/arm/mach-shmobile/setup-r8a7790.c index 481201a4f3f5..cfccf6c1001b 100644 --- a/arch/arm/mach-shmobile/setup-r8a7790.c +++ b/arch/arm/mach-shmobile/setup-r8a7790.c @@ -31,6 +31,7 @@ static const struct resource pfc_resources[] = { DEFINE_RES_MEM(0xe6060000, 0x250), + DEFINE_RES_MEM(0xe6050000, 0x5050), }; void __init r8a7790_pinmux_init(void)