rcu-gphy.txt 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. Lantiq XWAY SoC GPHY binding
  2. ============================
  3. This binding describes a software-defined ethernet PHY, provided by the RCU
  4. module on newer Lantiq XWAY SoCs (xRX200 and newer).
  5. -------------------------------------------------------------------------------
  6. Required properties:
  7. - compatible : Should be one of
  8. "lantiq,xrx200a1x-gphy"
  9. "lantiq,xrx200a2x-gphy"
  10. "lantiq,xrx300-gphy"
  11. "lantiq,xrx330-gphy"
  12. - reg : Addrress of the GPHY FW load address register
  13. - resets : Must reference the RCU GPHY reset bit
  14. - reset-names : One entry, value must be "gphy" or optional "gphy2"
  15. - clocks : A reference to the (PMU) GPHY clock gate
  16. Optional properties:
  17. - lantiq,gphy-mode : GPHY_MODE_GE (default) or GPHY_MODE_FE as defined in
  18. <dt-bindings/mips/lantiq_xway_gphy.h>
  19. -------------------------------------------------------------------------------
  20. Example for the GPHys on the xRX200 SoCs:
  21. #include <dt-bindings/mips/lantiq_rcu_gphy.h>
  22. gphy0: gphy@20 {
  23. compatible = "lantiq,xrx200a2x-gphy";
  24. reg = <0x20 0x4>;
  25. resets = <&reset0 31 30>, <&reset1 7 7>;
  26. reset-names = "gphy", "gphy2";
  27. clocks = <&pmu0 XRX200_PMU_GATE_GPHY>;
  28. lantiq,gphy-mode = <GPHY_MODE_GE>;
  29. };