cdns,dphy.yaml 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/phy/cdns,dphy.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Cadence DPHY
  7. maintainers:
  8. - Pratyush Yadav <pratyush@kernel.org>
  9. properties:
  10. compatible:
  11. enum:
  12. - cdns,dphy
  13. - ti,j721e-dphy
  14. reg:
  15. maxItems: 1
  16. clocks:
  17. items:
  18. - description: PMA state machine clock
  19. - description: PLL reference clock
  20. clock-names:
  21. items:
  22. - const: psm
  23. - const: pll_ref
  24. "#phy-cells":
  25. const: 0
  26. power-domains:
  27. maxItems: 1
  28. required:
  29. - compatible
  30. - reg
  31. - clocks
  32. - clock-names
  33. - "#phy-cells"
  34. additionalProperties: false
  35. examples:
  36. - |
  37. #include <dt-bindings/soc/ti,sci_pm_domain.h>
  38. dphy0: phy@fd0e0000{
  39. compatible = "cdns,dphy";
  40. reg = <0xfd0e0000 0x1000>;
  41. clocks = <&psm_clk>, <&pll_ref_clk>;
  42. clock-names = "psm", "pll_ref";
  43. power-domains = <&k3_pds 147 TI_SCI_PD_EXCLUSIVE>;
  44. #phy-cells = <0>;
  45. };