Commit 61dba73c authored by Rafał Miłecki's avatar Rafał Miłecki Committed by Kalle Valo

bcma: add support for BCM47094

It's another SoC with 32 GPIOs and simplified watchdog handling. It was
tested on D-Link DIR-885L.
Signed-off-by: default avatarRafał Miłecki <zajec5@gmail.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent 4c81acab
...@@ -197,6 +197,7 @@ u32 bcma_chipco_watchdog_timer_set(struct bcma_drv_cc *cc, u32 ticks) ...@@ -197,6 +197,7 @@ u32 bcma_chipco_watchdog_timer_set(struct bcma_drv_cc *cc, u32 ticks)
struct bcma_bus *bus = cc->core->bus; struct bcma_bus *bus = cc->core->bus;
if (bus->chipinfo.id != BCMA_CHIP_ID_BCM4707 && if (bus->chipinfo.id != BCMA_CHIP_ID_BCM4707 &&
bus->chipinfo.id != BCMA_CHIP_ID_BCM47094 &&
bus->chipinfo.id != BCMA_CHIP_ID_BCM53018) bus->chipinfo.id != BCMA_CHIP_ID_BCM53018)
bcma_core_set_clockmode(cc->core, bcma_core_set_clockmode(cc->core,
ticks ? BCMA_CLKMODE_FAST : BCMA_CLKMODE_DYNAMIC); ticks ? BCMA_CLKMODE_FAST : BCMA_CLKMODE_DYNAMIC);
......
...@@ -197,6 +197,7 @@ int bcma_gpio_init(struct bcma_drv_cc *cc) ...@@ -197,6 +197,7 @@ int bcma_gpio_init(struct bcma_drv_cc *cc)
case BCMA_CHIP_ID_BCM4707: case BCMA_CHIP_ID_BCM4707:
case BCMA_CHIP_ID_BCM5357: case BCMA_CHIP_ID_BCM5357:
case BCMA_CHIP_ID_BCM53572: case BCMA_CHIP_ID_BCM53572:
case BCMA_CHIP_ID_BCM47094:
chip->ngpio = 32; chip->ngpio = 32;
break; break;
default: default:
......
...@@ -201,6 +201,7 @@ struct bcma_host_ops { ...@@ -201,6 +201,7 @@ struct bcma_host_ops {
#define BCMA_PKG_ID_BCM4707 1 #define BCMA_PKG_ID_BCM4707 1
#define BCMA_PKG_ID_BCM4708 2 #define BCMA_PKG_ID_BCM4708 2
#define BCMA_PKG_ID_BCM4709 0 #define BCMA_PKG_ID_BCM4709 0
#define BCMA_CHIP_ID_BCM47094 53030
#define BCMA_CHIP_ID_BCM53018 53018 #define BCMA_CHIP_ID_BCM53018 53018
/* Board types (on PCI usually equals to the subsystem dev id) */ /* Board types (on PCI usually equals to the subsystem dev id) */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment