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