mirror_ubuntu-kernels/Documentation/devicetree/bindings/net/dsa
Vladimir Oltean b975b73425 dt-bindings: net: dsa: hellcreek: add missing CPU port phy-mode/fixed-link to example
Looking at hellcreek_phylink_get_caps(), I see that depending on whether
is_100_mbits is set, speeds of 1G or of 100M will be advertised. The
de1soc_r1_pdata sets is_100_mbits to true.

The PHY modes declared in the capabilities are MII, RGMII and GMII. GMII
doesn't support 100Mbps, and as for RGMII, it would be a bit implausible
to me to support this PHY mode but limit it to only 25 MHz. So I've
settled on MII as a phy-mode in the example, and a fixed-link of
100Mbps.

As a side note, there exists such a thing as "rev-mii", because the MII
protocol is asymmetric, and "mii" is the designation for the MAC side
(expected to be connected to a PHY), and "rev-mii" is the designation
for the PHY side (expected to be connected to a MAC). I wonder whether
"mii" or "rev-mii" should actually be used here, since this is a CPU
port and presumably connected to another MAC.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Acked-by: Rob Herring <robh@kernel.org>
Reviewed-by: Kurt Kanzenbach <kurt@linutronix.de>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2022-08-22 17:45:45 -07:00
..
ar9331.txt dt-bindings: net: dsa: qca, ar9331 switch documentation 2019-12-20 17:05:47 -08:00
arrow,xrs700x.yaml dt-bindings: net: dsa: xrs700x: add missing CPU port phy-mode to example 2022-08-22 17:45:45 -07:00
brcm,b53.yaml dt-bindings: net/dsa: Add spi-peripheral-props.yaml references 2022-06-03 11:46:26 -05:00
brcm,sf2.yaml dt-bindings: Drop redundant minItems/maxItems 2021-06-21 13:56:46 -06:00
dsa-port.yaml dt-bindings: Fix missing '/schemas' in $ref paths 2022-03-28 20:17:55 -05:00
dsa.txt dt-bindings: net: dsa: Fix typo 2020-08-24 18:03:29 -07:00
dsa.yaml dt-bindings: net: dsa: split generic port definition from dsa.yaml 2021-12-02 12:03:36 +00:00
hirschmann,hellcreek.yaml dt-bindings: net: dsa: hellcreek: add missing CPU port phy-mode/fixed-link to example 2022-08-22 17:45:45 -07:00
lan9303.txt net: dsa: lan9303: Fix syntax errors in device tree examples 2017-11-08 13:29:06 +09:00
lantiq-gswip.txt dt-bindings: net: dsa: lantiq: add xRx300 and xRX330 switch bindings 2021-03-22 16:33:39 -07:00
marvell.txt dt-bindings: net: dsa: marvell: fix compatible in example 2021-10-06 15:20:40 +01:00
mediatek,mt7530.yaml dt-bindings: net: dsa: mediatek,mt7530: Add missing 'reg' property 2022-07-05 15:07:56 -07:00
microchip,ksz.yaml dt-bindings: net/dsa: Add spi-peripheral-props.yaml references 2022-06-03 11:46:26 -05:00
microchip,lan937x.yaml dt-bindings: net: dsa: dt bindings for microchip lan937x 2022-07-02 16:34:04 +01:00
nxp,sja1105.yaml dt-bindings: net/dsa: Add spi-peripheral-props.yaml references 2022-06-03 11:46:26 -05:00
ocelot.txt docs: devicetree: add bindings for Seville DSA switch inside Felix driver 2020-07-13 17:40:02 -07:00
qca8k.yaml Devicetree updates for v5.17: 2022-01-12 16:47:05 -08:00
realtek.yaml dt-bindings: net/dsa: Add spi-peripheral-props.yaml references 2022-06-03 11:46:26 -05:00
renesas,rzn1-a5psw.yaml dt-bindings: net: dsa: renesas,rzn1-a5psw: add interrupts description 2022-07-04 10:32:24 +01:00
vitesse,vsc73xx.txt net: dsa: Change DT bindings for Vitesse VSC73xx switches 2019-07-07 14:16:32 -07:00