57 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/net/airoha,en8811h.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Airoha EN8811H PHY8 9maintainers:10 - Eric Woudstra <ericwouds@gmail.com>11 12description:13 The Airoha EN8811H PHY has the ability to reverse polarity14 on the lines to and/or from the MAC. It is reversed by15 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.a41124 25 reg:26 maxItems: 127 28 airoha,pnswap-rx:29 type: boolean30 description:31 Reverse rx polarity of the SERDES. This is the receiving32 side of the lines from the MAC towards the EN881H.33 34 airoha,pnswap-tx:35 type: boolean36 description:37 Reverse tx polarity of SERDES. This is the transmitting38 side of the lines from EN8811H towards the MAC.39 40required:41 - reg42 43unevaluatedProperties: false44 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