Commit Graph

5 Commits (7ae1d573ae5c11014f3d6604a30b919ba21fa978)

Author SHA1 Message Date
Jonas Gorski 60edb75e47 brcm63xx: fix number of switch ports for BCM63168/63268
BCM63168 has 6 ports (3 FE PHY, 1 GE PHY, two RGMII) and BCM63268
has two additional RGMII ports, making it 8.
Fix this by checking the chip variant and applying an appropriate
limit.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 39677
11 years ago
Florian Fainelli fed4b02a68 brcm63xx: improve BCM63268 support
Allow using the HSSPI controller since it works just fine, as well as
the integrated switch core, since that one works too.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 39362
11 years ago
Florian Fainelli 0ecdc42f60 brcm63xx: improve BCM6318 support
Provide clock toggling for the USB host and slave controller as well as
for the Ethernet Switch. The bcm63xx_enetsw driver is changed not to use
request_mem_region() as the Roboswitch register overlaps with the
Roboswitch IUDMA channels, hence making the driver return -EBUSY. A
future fix might be to use variable size RSET_ENETSW sizes depending on
the chip we are targetting.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 39282
11 years ago
Florian Fainelli a6425f8437 brcm63xx: allow HSSPI registration on 6318
A missing condition check in dev-hsspi.c prevented the controller from
being registered on 6318 where it is fully functional.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 39278
11 years ago
Jonas Gorski 4aa92df0d8 brcm63xx: add initial support for BCM6318
Add inital support for BCM6318, but keep it disabled for now until
most things are supported.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 39272
11 years ago