On Mon, Feb 04, 2019 at 10:35:55PM +0100, Christian Lamparter wrote: > The QCA8337 enumerates 5 PHYs on the MDC/MDIO access: PHY0-PHY4. > Based on the System Block Diagram in Section 1.2 of the > QCA8337's datasheet. These PHYs are internally connected > to MACs of PORT 1 - PORT 5. However, neither qca8k's slave > mdio access functions qca8k_phy_read()/qca8k_phy_write() > nor the dsa framework is set up for that. > > This version of the patch uses the existing phy-handle > properties of each specified DSA Port in the DT to map > each PORT/MAC to its exposed PHY on the MDIO bus. This > is supported by the current binding document qca8k.txt > as well.
Hi Christian Looking at Documentation/devicetree/bindings/net/dsa/qca8k.txt I think everything you need is already implemented. What problem do you actually have? Thanks Andrew