1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/net/airoha,en8811h.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Airoha EN8811H PHY 8 9maintainers: 10 - Eric Woudstra <ericwouds@gmail.com> 11 12description: 13 The Airoha EN8811H PHY has the ability to reverse polarity 14 on the lines to and/or from the MAC. It is reversed by 15 the booleans in the devicetree node of the phy. 16 17allOf: 18 - $ref: ethernet-phy.yaml# 19 20properties: 21 compatible: 22 enum: 23 - ethernet-phy-id03a2.a411 24 25 reg: 26 maxItems: 1 27 28 airoha,pnswap-rx: 29 type: boolean 30 description: 31 Reverse rx polarity of the SERDES. This is the receiving 32 side of the lines from the MAC towards the EN881H. 33 34 airoha,pnswap-tx: 35 type: boolean 36 description: 37 Reverse tx polarity of SERDES. This is the transmitting 38 side of the lines from EN8811H towards the MAC. 39 40required: 41 - reg 42 43unevaluatedProperties: false 44 45examples: 46 - | 47 mdio { 48 #address-cells = <1>; 49 #size-cells = <0>; 50 51 ethernet-phy@1 { 52 compatible = "ethernet-phy-id03a2.a411"; 53 reg = <1>; 54 airoha,pnswap-rx; 55 }; 56 }; 57