Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A20 => Topic started by: mavstuff on April 08, 2024, 04:40:32 PM

Title: Olimex A20-SOM interfacing KSZ8563 PHY
Post by: mavstuff on April 08, 2024, 04:40:32 PM
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
Title: Re: Olimex A20-SOM interfacing KSZ8563 PHY
Post by: LubOlimex on April 09, 2024, 08:58:15 AM
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.
Title: Re: Olimex A20-SOM interfacing KSZ8563 PHY
Post by: mavstuff on April 26, 2024, 07:51:10 PM
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.