Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Documentation: DT: net: Add Xilinx gmiitorgmii converter device tree binding documentation

Device-tree binding documentation for xilinx gmiitorgmii converter.

Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Appana Durga Kedareswara Rao and committed by
David S. Miller
71e11aff 300d8b93

+35
+35
Documentation/devicetree/bindings/net/xilinx_gmii2rgmii.txt
··· 1 + XILINX GMIITORGMII Converter Driver Device Tree Bindings 2 + -------------------------------------------------------- 3 + 4 + The Gigabit Media Independent Interface (GMII) to Reduced Gigabit Media 5 + Independent Interface (RGMII) core provides the RGMII between RGMII-compliant 6 + Ethernet physical media devices (PHY) and the Gigabit Ethernet controller. 7 + This core can be used in all three modes of operation(10/100/1000 Mb/s). 8 + The Management Data Input/Output (MDIO) interface is used to configure the 9 + Speed of operation. This core can switch dynamically between the three 10 + Different speed modes by configuring the conveter register through mdio write. 11 + 12 + This converter sits between the ethernet MAC and the external phy. 13 + MAC <==> GMII2RGMII <==> RGMII_PHY 14 + 15 + For more details about mdio please refer phy.txt file in the same directory. 16 + 17 + Required properties: 18 + - compatible : Should be "xlnx,gmii-to-rgmii-1.0" 19 + - reg : The ID number for the phy, usually a small integer 20 + - phy-handle : Should point to the external phy device. 21 + See ethernet.txt file in the same directory. 22 + 23 + Example: 24 + mdio { 25 + #address-cells = <1>; 26 + #size-cells = <0>; 27 + phy: ethernet-phy@0 { 28 + ...... 29 + }; 30 + gmiitorgmii: gmiitorgmii@8 { 31 + compatible = "xlnx,gmii-to-rgmii-1.0"; 32 + reg = <8>; 33 + phy-handle = <&phy>; 34 + }; 35 + };