linux/Documentation/devicetree/bindings/net/allwinner,sun4i-mdio.txt
<<
>>
Prefs
   1* Allwinner A10 MDIO Ethernet Controller interface
   2
   3Required properties:
   4- compatible: should be "allwinner,sun4i-mdio".
   5- reg: address and length of the register set for the device.
   6
   7Optional properties:
   8- phy-supply: phandle to a regulator if the PHY needs one
   9
  10Example at the SoC level:
  11mdio@01c0b080 {
  12        compatible = "allwinner,sun4i-mdio";
  13        reg = <0x01c0b080 0x14>;
  14        #address-cells = <1>;
  15        #size-cells = <0>;
  16};
  17
  18And at the board level:
  19
  20mdio@01c0b080 {
  21        phy-supply = <&reg_emac_3v3>;
  22
  23        phy0: ethernet-phy@0 {
  24                reg = <0>;
  25        };
  26};
  27