Configuring KSZ8795

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Configuring KSZ8795

Jump to solution
4,371 Views
aliismail
Contributor IV

Working on a custom board that uses imx6dqscm. We are using the KS8795 switch and having issues with configuring the ethernet. First, we are using the micrel driver, however, it does not seem to support the KS8795 switch. Does anyone know where we can find this driver or a patch? Also, if anyone knows of documentation that can give general guidance to setting up the ethernet?

Thanks!

Labels (3)
0 Kudos
1 Solution
2,003 Views
igorpadykov
NXP Employee
NXP Employee

Hi Ali

one can look at driver at

http://lxr.free-electrons.com/source/drivers/net/phy/spi_ks8995.c
https://kernel.googlesource.com/pub/scm/linux/kernel/git/next/linux-next/+/refs/heads/akpm-base/Docu...

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
3 Replies
2,004 Views
igorpadykov
NXP Employee
NXP Employee

Hi Ali

one can look at driver at

http://lxr.free-electrons.com/source/drivers/net/phy/spi_ks8995.c
https://kernel.googlesource.com/pub/scm/linux/kernel/git/next/linux-next/+/refs/heads/akpm-base/Docu...

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
2,004 Views
eric_kang1
Contributor I

Hi Igor,

Long time no see.

I have a question for the RGMII connection between i.MX6Q and KSZ8795 Ethernet Switch.

I have to connect the both via RGMII Interface.

But I couldn't find how to connect the both.

Could you give me any reference schematic for that?

It's very helpful to me if i have that.

Best Regards,

Eric.

0 Kudos
2,004 Views
stevenguzior
Contributor I

It looks like this driver configures the PHY over SPI.  Is it possible to configure the PHY over MDIO using this driver and binding?

0 Kudos