mscc,miim.yaml 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/net/mscc,miim.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Microsemi MII Management Controller (MIIM)
  7. maintainers:
  8. - Alexandre Belloni <alexandre.belloni@bootlin.com>
  9. allOf:
  10. - $ref: mdio.yaml#
  11. properties:
  12. compatible:
  13. oneOf:
  14. - enum:
  15. - mscc,ocelot-miim
  16. - microchip,lan966x-miim
  17. - items:
  18. - enum:
  19. - microchip,lan9691-miim
  20. - const: mscc,ocelot-miim
  21. "#address-cells":
  22. const: 1
  23. "#size-cells":
  24. const: 0
  25. reg:
  26. items:
  27. - description: base address
  28. - description: associated reset register for internal PHYs
  29. minItems: 1
  30. interrupts:
  31. maxItems: 1
  32. clocks:
  33. maxItems: 1
  34. clock-frequency: true
  35. resets:
  36. items:
  37. - description:
  38. Reset shared with all blocks attached to the Switch Core Register
  39. Bus (CSR) including VRAP slave.
  40. reset-names:
  41. items:
  42. - const: switch
  43. required:
  44. - compatible
  45. - reg
  46. - "#address-cells"
  47. - "#size-cells"
  48. unevaluatedProperties: false
  49. examples:
  50. - |
  51. mdio@107009c {
  52. compatible = "mscc,ocelot-miim";
  53. reg = <0x107009c 0x36>, <0x10700f0 0x8>;
  54. interrupts = <14>;
  55. #address-cells = <1>;
  56. #size-cells = <0>;
  57. phy0: ethernet-phy@0 {
  58. reg = <0>;
  59. };
  60. };