Hi.
I'm working on a custom board and we have a different PHY than the SabreSD board so I need to access that PHY via MDIO to make some changes in the PHY's setting.
Can I use the FEC to access the MDIO bus?
If so, how do I do that (is there some example code)?
Also, how do I set the MDIO address that the board should use?
Best regards,
NIklas
I ended up to create some function in my mach-imx6q.c function, which I accessed with a module, which I called from userspace.
Please use the platform SDK, in paricular, please take a look at
C function "enet_phy_rework_ar803" in
"imx6_platform_sdk_v1.1.0.tar\iMX6_Platform_SDK\sdk\drivers\enet\src\"
"Bare-metal SDK for the i.MX 6 series, including reusable drivers and tests for
many peripherals, and much example code. Also includes register definition
headers files, and register definitions for debuggers"
https://www.freescale.com/webapp/Download?colCode=i.MX6_PLATFORM_SDK&location=null
Thanks Yuri.
I'll take a look at this.