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