diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-04-13 17:32:18 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-04-13 17:32:18 +0000 |
commit | ab2b5dc9a6789642a9226065ec3d97aa7d365b22 (patch) | |
tree | 85751bf14190cc8ab798c9f039b22fd46c629856 | |
parent | f40359b53a14db24026dd5323b58d824b8764df7 (diff) | |
download | upstream-ab2b5dc9a6789642a9226065ec3d97aa7d365b22.tar.gz upstream-ab2b5dc9a6789642a9226065ec3d97aa7d365b22.tar.bz2 upstream-ab2b5dc9a6789642a9226065ec3d97aa7d365b22.zip |
bcm53xx: fix GPIO pins > 16
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45418 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | target/linux/bcm53xx/patches-3.18/181-bcma-ngpio-bcm4707.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/target/linux/bcm53xx/patches-3.18/181-bcma-ngpio-bcm4707.patch b/target/linux/bcm53xx/patches-3.18/181-bcma-ngpio-bcm4707.patch new file mode 100644 index 0000000000..79cb6df7f1 --- /dev/null +++ b/target/linux/bcm53xx/patches-3.18/181-bcma-ngpio-bcm4707.patch @@ -0,0 +1,17 @@ +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; |