From: Chanho Park Date: Wed, 2 Dec 2015 04:33:27 +0000 (+0900) Subject: arm: exynos: fix gpio map of exynos3 X-Git-Tag: submit/tizen/20160318.071304~23 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9e8d0a0e0515b8a529840c12852d464f89de3603;p=profile%2Fcommon%2Fplatform%2Fkernel%2Fu-boot-artik.git arm: exynos: fix gpio map of exynos3 The gpio part2 map of exynos3 was incorrect. The gpio part2 is started from 0x11000000 and the register map of gpk0 is 0x11000040. Thus, two gpio pads should be before gpk0. The gpx0 is started from 0x11000c00 so we should fix the count of res5 pad from 0x4a to 0x48. Change-Id: I8ceae5009227daf0e4cff4d3d73aeb2318c640de Reported-by: Jaeyoung Lee Signed-off-by: Chanho Park --- diff --git a/arch/arm/include/asm/arch-exynos/gpio.h b/arch/arm/include/asm/arch-exynos/gpio.h index 868b9270a..a0096ddc2 100644 --- a/arch/arm/include/asm/arch-exynos/gpio.h +++ b/arch/arm/include/asm/arch-exynos/gpio.h @@ -143,7 +143,9 @@ struct exynos3_gpio_part1 { struct s5p_gpio_bank d0; struct s5p_gpio_bank d1; }; + struct exynos3_gpio_part2 { + struct s5p_gpio_bank res0[2]; struct s5p_gpio_bank k0; struct s5p_gpio_bank k1; struct s5p_gpio_bank k2; @@ -160,7 +162,7 @@ struct exynos3_gpio_part2 { struct s5p_gpio_bank M2; struct s5p_gpio_bank M3; struct s5p_gpio_bank M4; - struct s5p_gpio_bank res5[0x4a]; + struct s5p_gpio_bank res5[0x48]; struct s5p_gpio_bank x0; struct s5p_gpio_bank x1; struct s5p_gpio_bank x2;