brcm,mdio-mux-iproc.txt 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. Properties for an MDIO bus multiplexer found in Broadcom iProc based SoCs.
  2. This MDIO bus multiplexer defines buses that could be internal as well as
  3. external to SoCs and could accept MDIO transaction compatible to C-22 or
  4. C-45 Clause. When child bus is selected, one needs to select these two
  5. properties as well to generate desired MDIO transaction on appropriate bus.
  6. Required properties in addition to the generic multiplexer properties:
  7. MDIO multiplexer node:
  8. - compatible: brcm,mdio-mux-iproc.
  9. Every non-ethernet PHY requires a compatible so that it could be probed based
  10. on this compatible string.
  11. Additional information regarding generic multiplexer properties can be found
  12. at- Documentation/devicetree/bindings/net/mdio-mux.txt
  13. for example:
  14. mdio_mux_iproc: mdio-mux@6602023c {
  15. compatible = "brcm,mdio-mux-iproc";
  16. reg = <0x6602023c 0x14>;
  17. #address-cells = <1>;
  18. #size-cells = <0>;
  19. mdio@0 {
  20. reg = <0x0>;
  21. #address-cells = <1>;
  22. #size-cells = <0>;
  23. pci_phy0: pci-phy@0 {
  24. compatible = "brcm,ns2-pcie-phy";
  25. reg = <0x0>;
  26. #phy-cells = <0>;
  27. };
  28. };
  29. mdio@7 {
  30. reg = <0x7>;
  31. #address-cells = <1>;
  32. #size-cells = <0>;
  33. pci_phy1: pci-phy@0 {
  34. compatible = "brcm,ns2-pcie-phy";
  35. reg = <0x0>;
  36. #phy-cells = <0>;
  37. };
  38. };
  39. mdio@10 {
  40. reg = <0x10>;
  41. #address-cells = <1>;
  42. #size-cells = <0>;
  43. gphy0: eth-phy@10 {
  44. reg = <0x10>;
  45. };
  46. };
  47. };