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