linux/Documentation/devicetree/bindings/net/mdio-gpio.txt
<<
>>
Prefs
   1MDIO on GPIOs
   2
   3Currently defined compatibles:
   4- virtual,gpio-mdio
   5
   6MDC and MDIO lines connected to GPIO controllers are listed in the
   7gpios property as described in section VIII.1 in the following order:
   8
   9MDC, MDIO.
  10
  11Note: Each gpio-mdio bus should have an alias correctly numbered in "aliases"
  12node.
  13
  14Example:
  15
  16aliases {
  17        mdio-gpio0 = <&mdio0>;
  18};
  19
  20mdio0: mdio {
  21        compatible = "virtual,mdio-gpio";
  22        #address-cells = <1>;
  23        #size-cells = <0>;
  24        gpios = <&qe_pio_a 11
  25                 &qe_pio_c 6>;
  26};
  27