mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 06:57:57 +00:00
1e48a48915
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45418
18 lines
512 B
Diff
18 lines
512 B
Diff
From: Felix Fietkau <nbd@openwrt.org>
|
|
Subject: [PATCH] bcma: enable 32 GPIO pins for BCM4707+
|
|
|
|
At least one BCM4709 device uses GPIO pins > 16.
|
|
|
|
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
|
|
---
|
|
--- a/drivers/bcma/driver_gpio.c
|
|
+++ b/drivers/bcma/driver_gpio.c
|
|
@@ -226,6 +226,7 @@ int bcma_gpio_init(struct bcma_drv_cc *c
|
|
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;
|