summaryrefslogtreecommitdiffstats
path: root/drivers/bcma/driver_gpio.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-04-15 15:07:53 +0200
committerKalle Valo <kvalo@codeaurora.org>2015-05-09 15:28:07 +0200
commitf022ea52d9a5007ae949aff8d4a1ec848bfdd66e (patch)
treeb66d75012d61a11c2bf6f5a4cf9b51107c5c23a9 /drivers/bcma/driver_gpio.c
parentbcma: use absolute base for SoC GPIO pins (diff)
downloadlinux-f022ea52d9a5007ae949aff8d4a1ec848bfdd66e.tar.xz
linux-f022ea52d9a5007ae949aff8d4a1ec848bfdd66e.zip
bcma: enable 32 GPIO pins for BCM4707
Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/bcma/driver_gpio.c')
-rw-r--r--drivers/bcma/driver_gpio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/bcma/driver_gpio.c b/drivers/bcma/driver_gpio.c
index 9b8d9bfd036f..5f6018e7cd4c 100644
--- a/drivers/bcma/driver_gpio.c
+++ b/drivers/bcma/driver_gpio.c
@@ -226,6 +226,7 @@ int bcma_gpio_init(struct bcma_drv_cc *cc)
chip->of_node = cc->core->dev.of_node;
#endif
switch (bus->chipinfo.id) {
+ case BCMA_CHIP_ID_BCM4707:
case BCMA_CHIP_ID_BCM5357:
case BCMA_CHIP_ID_BCM53572:
chip->ngpio = 32;