summaryrefslogtreecommitdiff
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 16:28:07 +0300
commitf022ea52d9a5007ae949aff8d4a1ec848bfdd66e (patch)
treeb66d75012d61a11c2bf6f5a4cf9b51107c5c23a9
parent2d57b7126d6d80b9b97ce83335a246ca796babd2 (diff)
downloadlwn-f022ea52d9a5007ae949aff8d4a1ec848bfdd66e.tar.gz
lwn-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>
-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;