1*c639a708SPranavi Somisetty# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*c639a708SPranavi Somisetty%YAML 1.2 3*c639a708SPranavi Somisetty--- 4*c639a708SPranavi Somisetty$id: http://devicetree.org/schemas/net/xlnx,gmii-to-rgmii.yaml# 5*c639a708SPranavi Somisetty$schema: http://devicetree.org/meta-schemas/core.yaml# 6*c639a708SPranavi Somisetty 7*c639a708SPranavi Somisettytitle: Xilinx GMII to RGMII Converter 8*c639a708SPranavi Somisetty 9*c639a708SPranavi Somisettymaintainers: 10*c639a708SPranavi Somisetty - Harini Katakam <harini.katakam@amd.com> 11*c639a708SPranavi Somisetty 12*c639a708SPranavi Somisettydescription: 13*c639a708SPranavi Somisetty The Gigabit Media Independent Interface (GMII) to Reduced Gigabit Media 14*c639a708SPranavi Somisetty Independent Interface (RGMII) core provides the RGMII between RGMII-compliant 15*c639a708SPranavi Somisetty ethernet physical media devices (PHY) and the Gigabit Ethernet controller. 16*c639a708SPranavi Somisetty This core can be used in all three modes of operation(10/100/1000 Mb/s). 17*c639a708SPranavi Somisetty The Management Data Input/Output (MDIO) interface is used to configure the 18*c639a708SPranavi Somisetty speed of operation. This core can switch dynamically between the three 19*c639a708SPranavi Somisetty different speed modes by configuring the converter register through mdio write. 20*c639a708SPranavi Somisetty The core cannot function without an external phy connected to it. 21*c639a708SPranavi Somisetty 22*c639a708SPranavi Somisettyproperties: 23*c639a708SPranavi Somisetty compatible: 24*c639a708SPranavi Somisetty const: xlnx,gmii-to-rgmii-1.0 25*c639a708SPranavi Somisetty 26*c639a708SPranavi Somisetty reg: 27*c639a708SPranavi Somisetty minimum: 0 28*c639a708SPranavi Somisetty maximum: 31 29*c639a708SPranavi Somisetty description: The ID number for the phy. 30*c639a708SPranavi Somisetty 31*c639a708SPranavi Somisetty phy-handle: 32*c639a708SPranavi Somisetty $ref: ethernet-controller.yaml#/properties/phy-handle 33*c639a708SPranavi Somisetty 34*c639a708SPranavi Somisettyrequired: 35*c639a708SPranavi Somisetty - compatible 36*c639a708SPranavi Somisetty - reg 37*c639a708SPranavi Somisetty - phy-handle 38*c639a708SPranavi Somisetty 39*c639a708SPranavi SomisettyunevaluatedProperties: false 40*c639a708SPranavi Somisetty 41*c639a708SPranavi Somisettyexamples: 42*c639a708SPranavi Somisetty - | 43*c639a708SPranavi Somisetty mdio { 44*c639a708SPranavi Somisetty #address-cells = <1>; 45*c639a708SPranavi Somisetty #size-cells = <0>; 46*c639a708SPranavi Somisetty 47*c639a708SPranavi Somisetty phy: ethernet-phy@0 { 48*c639a708SPranavi Somisetty reg = <0>; 49*c639a708SPranavi Somisetty }; 50*c639a708SPranavi Somisetty gmiitorgmii@8 { 51*c639a708SPranavi Somisetty compatible = "xlnx,gmii-to-rgmii-1.0"; 52*c639a708SPranavi Somisetty reg = <8>; 53*c639a708SPranavi Somisetty phy-handle = <&phy>; 54*c639a708SPranavi Somisetty }; 55*c639a708SPranavi Somisetty }; 56