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