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