Re: [RFC] phylink: support for devices with MAC sharing SFP cage & PHY (e.g. Turris Omnia)

2019-01-03 Thread Klaus Kudielka
On 31.12.18 18:43, Andrew Lunn wrote: The Marvell documentation is not public. I would have to check, but i think there is a bit which tells you. But as Florian pointed out, this can be indirectly controlled from software, in that a PHY which is configured down will never get link, in the same w

Re: [RFC] phylink: support for devices with MAC sharing SFP cage & PHY (e.g. Turris Omnia)

2018-12-31 Thread Klaus Kudielka
On 30.12.18 10:51, Andrew Lunn wrote: Some of the Marvell Ethernet switches have a similar setup. Some ports have both an internal PHY and a SERDES port which can be connected to an SFP cage. Whichever gets link first is connected to the MAC. This decision is taken by hardware? I am just won

[RFC] phylink: support for devices with MAC sharing SFP cage & PHY (e.g. Turris Omnia)

2018-12-30 Thread Klaus Kudielka
Hello, I own a Turris Omnia, which has basic support included in the Linux kernel (armada-385-turris-omnia.dts). Apart from the 88E1514 PHY specified for eth2, the device also features an SFP cage, which uses the same SGMII of the Armada 385 SoC (a 2:1 multiplexer is driven by the MOD_DEF0 signa