maxlinear,gpy2xx.yaml 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/net/maxlinear,gpy2xx.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: MaxLinear GPY2xx PHY
  7. maintainers:
  8. - Andrew Lunn <andrew@lunn.ch>
  9. - Michael Walle <michael@walle.cc>
  10. allOf:
  11. - $ref: ethernet-phy.yaml#
  12. properties:
  13. maxlinear,use-broken-interrupts:
  14. description: |
  15. Interrupts are broken on some GPY2xx PHYs in that they keep the
  16. interrupt line asserted for a random amount of time even after the
  17. interrupt status register is cleared. Thus it is blocking the
  18. interrupt line which is usually bad for shared lines. By default,
  19. interrupts are disabled for this PHY and polling mode is used. If one
  20. can live with the consequences, this property can be used to enable
  21. interrupt handling.
  22. Affected PHYs (as far as known) are GPY215B and GPY215C.
  23. type: boolean
  24. dependencies:
  25. maxlinear,use-broken-interrupts: [ interrupts ]
  26. unevaluatedProperties: false
  27. examples:
  28. - |
  29. ethernet {
  30. #address-cells = <1>;
  31. #size-cells = <0>;
  32. ethernet-phy@0 {
  33. reg = <0>;
  34. interrupts-extended = <&intc 0>;
  35. maxlinear,use-broken-interrupts;
  36. };
  37. };
  38. ...