marvell-orion-mdio.txt 933 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. * Marvell MDIO Ethernet Controller interface
  2. The Ethernet controllers of the Marvel Kirkwood, Dove, Orion5x,
  3. MV78xx0, Armada 370 and Armada XP have an identical unit that provides
  4. an interface with the MDIO bus. This driver handles this MDIO
  5. interface.
  6. Required properties:
  7. - compatible: "marvell,orion-mdio"
  8. - reg: address and length of the SMI register
  9. Optional properties:
  10. - interrupts: interrupt line number for the SMI error/done interrupt
  11. - clocks: Phandle to the clock control device and gate bit
  12. The child nodes of the MDIO driver are the individual PHY devices
  13. connected to this MDIO bus. They must have a "reg" property given the
  14. PHY address on the MDIO bus.
  15. Example at the SoC level:
  16. mdio {
  17. #address-cells = <1>;
  18. #size-cells = <0>;
  19. compatible = "marvell,orion-mdio";
  20. reg = <0xd0072004 0x4>;
  21. };
  22. And at the board level:
  23. mdio {
  24. phy0: ethernet-phy@0 {
  25. reg = <0>;
  26. };
  27. phy1: ethernet-phy@1 {
  28. reg = <1>;
  29. };
  30. }