Introduction

This page describes the Xilinx GMII2RGMII convertor IP which can be found at /drivers/net/phy/xilinx_gmii2rgmii.c
This convertor can be used with any MAC device, either axi ethernet or Zynq/Zynq Ultrascale+ MPSoC GEM.
Paths, files, links and documentation on this page are given relative to the Linux kernel source tree.

HW IP features

  • GMII2RGMII conversion

Features supported in drive

  • GMII2RGMII conversion

Missing Features, Known Issues and Limitations

  • None

Kernel Configuration

This following config option is required to enable this convertor driver:
XILINX_GMII2RGMII
gmii2rgmii_menuconfig.png

Devicetree


mdio {
    #address-cells = <1>;
    #size-cells = <0>;
    phy: ethernet-phy@0 {
        ......
    };
    gmiitorgmii: gmiitorgmii@8 {
        compatible = "xlnx,gmii-to-rgmii-1.0";
        reg = <8>;
        phy-handle = <&phy>;
    };
};

Test Procedure

This phy can be tested with any MAC using general ethernet test procedures like ping, iperf/netperf.
Refer to http://www.wiki.xilinx.com/Macb+Driver#Test Procedure

Mainline status

This driver is currently in sync with mainline

Change Log

2018.2
Summary:
Enable gmii2rgmii in ZynqMP defconfig and fix an error when external phy driver is not registered.
Commits:
c2ba891 arm64: zynqmp: Enable GMII2RGMII driver in ZynqMP defconfig
d937ecc phy: gmii2rgmii: Add check for external phy driver

2018.1
None

2017.4
None

2017.3
7eb5f81 net: phy: Fix mask value write on gmii2rgmii converter speed register

2017.2
None

2017.1
None

Related Links