intel,combo-phy.yaml 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/phy/intel,combo-phy.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Intel ComboPhy Subsystem
  7. maintainers:
  8. - Dilip Kota <eswara.kota@linux.intel.com>
  9. description: |
  10. Intel Combophy subsystem supports PHYs for PCIe, EMAC and SATA
  11. controllers. A single Combophy provides two PHY instances.
  12. properties:
  13. $nodename:
  14. pattern: "combophy(@.*|-([0-9]|[1-9][0-9]+))?$"
  15. compatible:
  16. items:
  17. - const: intel,combophy-lgm
  18. - const: intel,combo-phy
  19. clocks:
  20. maxItems: 1
  21. reg:
  22. items:
  23. - description: ComboPhy core registers
  24. - description: PCIe app core control registers
  25. reg-names:
  26. items:
  27. - const: core
  28. - const: app
  29. resets:
  30. maxItems: 4
  31. reset-names:
  32. items:
  33. - const: phy
  34. - const: core
  35. - const: iphy0
  36. - const: iphy1
  37. intel,syscfg:
  38. $ref: /schemas/types.yaml#/definitions/phandle-array
  39. items:
  40. - items:
  41. - description: phandle to Chip configuration registers
  42. - description: ComboPhy instance id
  43. description: Chip configuration registers handle and ComboPhy instance id
  44. intel,hsio:
  45. $ref: /schemas/types.yaml#/definitions/phandle-array
  46. items:
  47. - items:
  48. - description: phandle to HSIO registers
  49. - description: ComboPhy instance id
  50. description: HSIO registers handle and ComboPhy instance id on NOC
  51. intel,aggregation:
  52. type: boolean
  53. description: |
  54. Specify the flag to configure ComboPHY in dual lane mode.
  55. intel,phy-mode:
  56. $ref: /schemas/types.yaml#/definitions/uint32
  57. description: |
  58. Mode of the two phys in ComboPhy.
  59. See dt-bindings/phy/phy.h for values.
  60. "#phy-cells":
  61. const: 1
  62. required:
  63. - compatible
  64. - clocks
  65. - reg
  66. - reg-names
  67. - intel,syscfg
  68. - intel,hsio
  69. - intel,phy-mode
  70. - "#phy-cells"
  71. additionalProperties: false
  72. examples:
  73. - |
  74. #include <dt-bindings/phy/phy.h>
  75. combophy@d0a00000 {
  76. compatible = "intel,combophy-lgm", "intel,combo-phy";
  77. clocks = <&cgu0 1>;
  78. #phy-cells = <1>;
  79. reg = <0xd0a00000 0x40000>,
  80. <0xd0a40000 0x1000>;
  81. reg-names = "core", "app";
  82. resets = <&rcu0 0x50 6>,
  83. <&rcu0 0x50 17>,
  84. <&rcu0 0x50 23>,
  85. <&rcu0 0x50 24>;
  86. reset-names = "phy", "core", "iphy0", "iphy1";
  87. intel,syscfg = <&sysconf 0>;
  88. intel,hsio = <&hsiol 0>;
  89. intel,phy-mode = <PHY_TYPE_PCIE>;
  90. intel,aggregation;
  91. };