190c47eb1SMichael Walle# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 290c47eb1SMichael Walle%YAML 1.2 390c47eb1SMichael Walle--- 490c47eb1SMichael Walle$id: http://devicetree.org/schemas/net/maxlinear,gpy2xx.yaml# 590c47eb1SMichael Walle$schema: http://devicetree.org/meta-schemas/core.yaml# 690c47eb1SMichael Walle 790c47eb1SMichael Walletitle: MaxLinear GPY2xx PHY 890c47eb1SMichael Walle 990c47eb1SMichael Wallemaintainers: 1090c47eb1SMichael Walle - Andrew Lunn <andrew@lunn.ch> 1190c47eb1SMichael Walle - Michael Walle <michael@walle.cc> 1290c47eb1SMichael Walle 1390c47eb1SMichael WalleallOf: 1490c47eb1SMichael Walle - $ref: ethernet-phy.yaml# 1590c47eb1SMichael Walle 1690c47eb1SMichael Walleproperties: 1790c47eb1SMichael Walle maxlinear,use-broken-interrupts: 1890c47eb1SMichael Walle description: | 1990c47eb1SMichael Walle Interrupts are broken on some GPY2xx PHYs in that they keep the 20*264879fdSMichael Walle interrupt line asserted for a random amount of time even after the 21*264879fdSMichael Walle interrupt status register is cleared. Thus it is blocking the 22*264879fdSMichael Walle interrupt line which is usually bad for shared lines. By default, 23*264879fdSMichael Walle interrupts are disabled for this PHY and polling mode is used. If one 24*264879fdSMichael Walle can live with the consequences, this property can be used to enable 25*264879fdSMichael Walle interrupt handling. 2690c47eb1SMichael Walle 2790c47eb1SMichael Walle Affected PHYs (as far as known) are GPY215B and GPY215C. 2890c47eb1SMichael Walle type: boolean 2990c47eb1SMichael Walle 3090c47eb1SMichael Walledependencies: 3190c47eb1SMichael Walle maxlinear,use-broken-interrupts: [ interrupts ] 3290c47eb1SMichael Walle 3390c47eb1SMichael WalleunevaluatedProperties: false 3490c47eb1SMichael Walle 3590c47eb1SMichael Walleexamples: 3690c47eb1SMichael Walle - | 3790c47eb1SMichael Walle ethernet { 3890c47eb1SMichael Walle #address-cells = <1>; 3990c47eb1SMichael Walle #size-cells = <0>; 4090c47eb1SMichael Walle 4190c47eb1SMichael Walle ethernet-phy@0 { 4290c47eb1SMichael Walle reg = <0>; 4390c47eb1SMichael Walle interrupts-extended = <&intc 0>; 4490c47eb1SMichael Walle maxlinear,use-broken-interrupts; 4590c47eb1SMichael Walle }; 4690c47eb1SMichael Walle }; 4790c47eb1SMichael Walle 4890c47eb1SMichael Walle... 49