Message ID | cover.b921b010b6d6bde1c11e69551ae38f3b2818645b.1536916714.git-series.quentin.schulz@bootlin.com |
---|---|
Headers | show |
Series | add support for VSC8584 and VSC8574 Microsemi quad-port PHYs | expand |
Just as a drive-by comment this seems vaguely related to the Vitesse DSA switch I merged in drivers/net/dsa/vitesse-vsc73xx.c The VSC* product name handily gives away the origin in Vitesse's product line. The VSC73xx also have the 8051 CPU and internal RAM, but are accessed (typically) over SPI, and AFAICT this thing is talking over MDIO. The Vitesse 73xx however also supports a WAN port and VLANs which makes it significantly different, falling into switch class I guess. These VSC85*4's does have an SPI interface as well, according to the data sheet but I assume your target boards don't even connect it? When it comes to 8051 code we have quite a lot of this in the kernel these days, I suspect the 8051 snippets in this code could be disassembled and put into linux-firmware in source form, but that is maybe a bit overly ambitious. We have done that for a few USB to serial controllers using the EzUSB 8051 though: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/keyspan_pda https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/usbdux These can rebuild their firmware using the as31 assembler. https://github.com/nitsky/as31 Yours, Linus Walleij
Hi Linus, I'm Allan, working for Microchip, who acquired Microsemi, who acquired Vitesse. Alexandre pointed me to your comments on the VSC7384 switch done by Vitesse ~15 years ago. BTW: the chip is not being sold any more, and is unlikely to turn up in new products. I managed to find the complete datasheet of this device, and convincing people that it can be "opened-up" meaning that it is available without any NDA or similar. It is a 1.2mb/200 page pdf, it is not avialable at any web page (that I know of), but if you are interested in having it then I can send it in a mail to you. The 09/20/2018 14:38, Linus Walleij wrote: > Just as a drive-by comment this seems vaguely related to the Vitesse > DSA switch I merged in drivers/net/dsa/vitesse-vsc73xx.c > The VSC* product name handily gives away the origin in Vitesse's > product line. > > The VSC73xx also have the 8051 CPU and internal RAM, but are > accessed (typically) over SPI, and AFAICT this thing is talking over > MDIO. > > The Vitesse 73xx however also supports a WAN port and VLANs > which makes it significantly different, falling into switch class I > guess. That is right, here are the list of feature from page 1 in the datasheet. Features: - 12 Gigabit Ethernet ports with nonblocking wire- speed performance - IEEE802.1Q-in-Q nested VLAN support - Tri-speed (10/100/1000 Mbps) RGMII interfaces - Full duplex flow control (IEEE802.3x) and half duplex back pressure - Support for both wire-speed automatic learning, and CPU-based learning - Flexible link aggregation compliant with IEEE802.3ad - 208 kB on-chip frame buffer - Spanning Tree Protocol support (IEEE802.1D) - Jumbo frame support - Multiple Spanning Tree support (IEEE802.1s) - Programmable classifier for QoS (Layer 4/Multimedia) into four classes of service - Port-based Access Control (IEEE802.1X) - IGMP, GARP, GMRP, and GVRP support - 8192 MAC addresses and 4,096 VLAN support (IEEE802.1Q) - Cost effective 4-pin serial CPU interface - Per-port shaping, policing, and Broadcast and Multicast Storm Control - Selection between on-chip 8051 CPU, or off-chip 8-bit or 16-bit CPU for SNMP and Web-based management /Allan
On Thu, Oct 11, 2018 at 8:18 AM Allan W. Nielsen <allan.nielsen@microchip.com> wrote: > I'm Allan, working for Microchip, who acquired Microsemi, who acquired Vitesse. Thanks Allan, it's nice to have vendors involved :) > Alexandre pointed me to your comments on the VSC7384 switch done by Vitesse ~15 > years ago. BTW: the chip is not being sold any more, and is unlikely to turn up > in new products. Yeah, it's just us enthusiasts who maintain the old chips. It's nice, because since they don't have very shiny new features, it is often a bliss to add proper kernel support these days since the subsystems improved and they become very good proofs of concept. > I managed to find the complete datasheet of this device, and convincing people > that it can be "opened-up" meaning that it is available without any NDA or > similar. It is a 1.2mb/200 page pdf, it is not avialable at any web page (that I > know of), but if you are interested in having it then I can send it in a mail to > you. I'd be delighted to have a look! I hope my mailbox survives that, otherise sharing it on Google drive works fine. Yours, Linus Walleij