MDIO bus for non-phy device
I have a board with three devices on mdio bus connected to SoC (AM3358). Only one phy (AR8035) is connected to SoC through rgmii, the other two devices (MAX24287 and DP83620) have only mdio connection. I've integrated drivers for these devices into linux kernel (4.14.40). Davinchi_mdio finds all devices and attaches appropriate drivers, but I can't access registers through mdio because I only have two interfaces (I don't have Ethernet interfaces for MAX24287 and DP83620). How can I workaround these issue? Maybe there is a way I can describe non-phy MDIO devices in linux device tree?
|