[PATCH 1/3] ARM: S5PC210: Use the correct GPIO base addresses

Kukjin Kim kgene.kim at samsung.com
Fri Aug 6 09:41:20 EDT 2010


Kyungmin Park wrote:
> 
> From: Kyungmin Park <kyungmin.park at samsung.com>
> 
> The S5PC210 has three GPIO base addresses.
> 
> Part1 Base Address=0x11400000
> Part2 Base Address=0x11000000
> Part3 Base Address=0x03860000
> 
Yes, maybe missed.

> Signed-off-by: Kyungmin Park <kyungmin.park at samsung.com>
> ---
>  arch/arm/mach-s5pv310/include/mach/map.h |    4 +++-
>  1 files changed, 3 insertions(+), 1 deletions(-)
> 
> diff --git a/arch/arm/mach-s5pv310/include/mach/map.h b/arch/arm/mach-
> s5pv310/include/mach/map.h
> index 87697c9..7eb2a7a 100644
> --- a/arch/arm/mach-s5pv310/include/mach/map.h
> +++ b/arch/arm/mach-s5pv310/include/mach/map.h
> @@ -39,8 +39,10 @@
>  #define S5PV310_PA_GIC_DIST		(0x10501000)
>  #define S5PV310_PA_L2CC			(0x10502000)
> 
> -#define S5PV310_PA_GPIO			(0x11000000)
> +#define S5PV310_PA_GPIO			(0x11400000)

S5PV310_PA_GPIO1 is better...

>  #define S5P_PA_GPIO			S5PV310_PA_GPIO

> +#define S5PV310_PA_GPIO2		(0x11000000)
> +#define S5PV310_PA_GPIO3		(0x03860000)

> 
>  #define S5PV310_PA_UART			(0x13800000)
> 
> --


Thanks.

Best regards,
Kgene.
--
Kukjin Kim <kgene.kim at samsung.com>, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.




More information about the linux-arm-kernel mailing list