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