Olimex A20-SOM interfacing KSZ8563 PHY

Started by mavstuff, April 08, 2024, 04:40:32 PM

Previous topic - Next topic

mavstuff

Hi everybody!
Has anybody tried to connect Microchip KSZ8563 PHY to Olimex A20-SOM board? I am not able to get it to work.

Any information appreciated

LubOlimex

We use KSZ9031 in our designs, maybe look for the definitions for KSZ9031 in the Linux sources and adjust definitions and settings for your KSZ8563.

https://www.microchip.com/en-us/product-comparison.KSZ8563.ksz9031

Also check here:

https://microchip.my.site.com/s/article/An-Overview-of-Linux-Drivers-for-KSZ-Switch-Families

It says that you should use ksz9563 device tree for ksz8563.
Technical support and documentation manager at Olimex

mavstuff

Got it working at 100Mbit with overlay file that
1. disables MDIO
2. adds fixed-link 100 to gmac

Not using ksz9477 dsa driver as it seems to incorrectly overwrite switch registers.
PCB traces must be short also.