apm-xgene-mdio.txt 883 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. APM X-Gene SoC MDIO node
  2. MDIO node is defined to describe on-chip MDIO controller.
  3. Required properties:
  4. - compatible: Must be "apm,xgene-mdio-rgmii" or "apm,xgene-mdio-xfi"
  5. - #address-cells: Must be <1>.
  6. - #size-cells: Must be <0>.
  7. - reg: Address and length of the register set
  8. - clocks: Reference to the clock entry
  9. For the phys on the mdio bus, there must be a node with the following fields:
  10. - compatible: PHY identifier. Please refer ./phy.txt for the format.
  11. - reg: The ID number for the phy.
  12. Example:
  13. mdio: mdio@17020000 {
  14. compatible = "apm,xgene-mdio-rgmii";
  15. #address-cells = <1>;
  16. #size-cells = <0>;
  17. reg = <0x0 0x17020000 0x0 0xd100>;
  18. clocks = <&menetclk 0>;
  19. };
  20. /* Board-specific peripheral configurations */
  21. &mdio {
  22. menetphy: phy@3 {
  23. reg = <0x3>;
  24. };
  25. sgenet0phy: phy@4 {
  26. reg = <0x4>;
  27. };
  28. sgenet1phy: phy@5 {
  29. reg = <0x5>;
  30. };
  31. };