aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m68knommu/platform/527x
diff options
context:
space:
mode:
authorSteven King <sfking@fdwdc.com>2009-10-15 12:54:41 -0700
committerGreg Ungerer <gerg@goober.(none)>2009-12-04 11:45:30 +1000
commitb0d22d66fd485316653b8db4c16139eeae5a0266 (patch)
treed3809022146e5ecb5bc426e5d15d3a46239bf120 /arch/m68knommu/platform/527x
parentd6f80e3a2a8c49f3e9c350b15f510c6eb8c1770d (diff)
downloadmrst-s0i3-test-b0d22d66fd485316653b8db4c16139eeae5a0266.tar.gz
mrst-s0i3-test-b0d22d66fd485316653b8db4c16139eeae5a0266.tar.xz
mrst-s0i3-test-b0d22d66fd485316653b8db4c16139eeae5a0266.zip
m68knommu: Coldfire GPIO corrections
Pin 0 of the EPORT is not connected on the 523x, 5271, 5275 and 528x and the TIMER on the 523x has 8 pins, not 4. Signed-off-by: Steven King <sfking@fdwdc.com> Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'arch/m68knommu/platform/527x')
-rw-r--r--arch/m68knommu/platform/527x/gpio.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/m68knommu/platform/527x/gpio.c b/arch/m68knommu/platform/527x/gpio.c
index 1028142851a..0b56e19db0f 100644
--- a/arch/m68knommu/platform/527x/gpio.c
+++ b/arch/m68knommu/platform/527x/gpio.c
@@ -31,7 +31,8 @@ static struct mcf_gpio_chip mcf_gpio_chips[] = {
.direction_output = mcf_gpio_direction_output,
.get = mcf_gpio_get_value,
.set = mcf_gpio_set_value,
- .ngpio = 8,
+ .base = 1,
+ .ngpio = 7,
},
.pddr = MCFEPORT_EPDDR,
.podr = MCFEPORT_EPDR,
@@ -263,7 +264,8 @@ static struct mcf_gpio_chip mcf_gpio_chips[] = {
.direction_output = mcf_gpio_direction_output,
.get = mcf_gpio_get_value,
.set = mcf_gpio_set_value,
- .ngpio = 8,
+ .base = 1,
+ .ngpio = 7,
},
.pddr = MCFEPORT_EPDDR,
.podr = MCFEPORT_EPDR,