allwinner,sun4i-mdio.txt 534 B

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