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
7title: MaxLinear GPY2xx PHY
8
9maintainers:
10  - Andrew Lunn <andrew@lunn.ch>
11  - Michael Walle <michael@walle.cc>
12
13allOf:
14  - $ref: ethernet-phy.yaml#
15
16properties:
17  maxlinear,use-broken-interrupts:
18    description: |
19      Interrupts are broken on some GPY2xx PHYs in that they keep the
20      interrupt line asserted even after the interrupt status register is
21      cleared. Thus it is blocking the interrupt line which is usually bad
22      for shared lines. By default interrupts are disabled for this PHY and
23      polling mode is used. If one can live with the consequences, this
24      property can be used to enable interrupt handling.
25
26      Affected PHYs (as far as known) are GPY215B and GPY215C.
27    type: boolean
28
29dependencies:
30  maxlinear,use-broken-interrupts: [ interrupts ]
31
32unevaluatedProperties: false
33
34examples:
35  - |
36    ethernet {
37        #address-cells = <1>;
38        #size-cells = <0>;
39
40        ethernet-phy@0 {
41            reg = <0>;
42            interrupts-extended = <&intc 0>;
43            maxlinear,use-broken-interrupts;
44        };
45    };
46
47...
48