bcma: enable 32 GPIO pins for BCM4707
authorFelix Fietkau <nbd@openwrt.org>
Wed, 15 Apr 2015 13:07:53 +0000 (15:07 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 9 May 2015 13:28:07 +0000 (16:28 +0300)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/bcma/driver_gpio.c

index 9b8d9bfd036fd4f0dfec7788628b1afa508caba8..5f6018e7cd4c42c5b4e2f7670c28e05a2bc21eb5 100644 (file)
@@ -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;