microchip,zl30731.yaml 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/dpll/microchip,zl30731.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Microchip Azurite DPLL device
  7. maintainers:
  8. - Ivan Vecera <ivecera@redhat.com>
  9. description:
  10. Microchip Azurite DPLL (ZL3073x) is a family of DPLL devices that
  11. provides up to 5 independent DPLL channels, up to 10 differential or
  12. single-ended inputs and 10 differential or 20 single-ended outputs.
  13. These devices support both I2C and SPI interfaces.
  14. properties:
  15. compatible:
  16. enum:
  17. - microchip,zl30731
  18. - microchip,zl30732
  19. - microchip,zl30733
  20. - microchip,zl30734
  21. - microchip,zl30735
  22. reg:
  23. maxItems: 1
  24. required:
  25. - compatible
  26. - reg
  27. allOf:
  28. - $ref: /schemas/dpll/dpll-device.yaml#
  29. - $ref: /schemas/spi/spi-peripheral-props.yaml#
  30. unevaluatedProperties: false
  31. examples:
  32. - |
  33. i2c {
  34. #address-cells = <1>;
  35. #size-cells = <0>;
  36. dpll@70 {
  37. compatible = "microchip,zl30732";
  38. reg = <0x70>;
  39. dpll-types = "pps", "eec";
  40. input-pins {
  41. #address-cells = <1>;
  42. #size-cells = <0>;
  43. pin@0 { /* REF0P */
  44. reg = <0>;
  45. connection-type = "ext";
  46. label = "Input 0";
  47. supported-frequencies-hz = /bits/ 64 <1 1000>;
  48. };
  49. };
  50. output-pins {
  51. #address-cells = <1>;
  52. #size-cells = <0>;
  53. pin@3 { /* OUT1N */
  54. reg = <3>;
  55. connection-type = "gnss";
  56. esync-control;
  57. label = "Output 1";
  58. supported-frequencies-hz = /bits/ 64 <1 10000>;
  59. };
  60. };
  61. };
  62. };
  63. - |
  64. spi {
  65. #address-cells = <1>;
  66. #size-cells = <0>;
  67. dpll@70 {
  68. compatible = "microchip,zl30731";
  69. reg = <0x70>;
  70. spi-max-frequency = <12500000>;
  71. dpll-types = "pps";
  72. input-pins {
  73. #address-cells = <1>;
  74. #size-cells = <0>;
  75. pin@0 { /* REF0P */
  76. reg = <0>;
  77. connection-type = "ext";
  78. label = "Input 0";
  79. supported-frequencies-hz = /bits/ 64 <1 1000>;
  80. };
  81. };
  82. output-pins {
  83. #address-cells = <1>;
  84. #size-cells = <0>;
  85. pin@3 { /* OUT1N */
  86. reg = <3>;
  87. connection-type = "gnss";
  88. esync-control;
  89. label = "Output 1";
  90. supported-frequencies-hz = /bits/ 64 <1 10000>;
  91. };
  92. };
  93. };
  94. };
  95. ...