allwinner,sun4i-mdio.txt 593 B

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