Airoha EN8811H PHY
Schema identifier ($id): "http://devicetree.org/schemas/net/airoha,en8811h.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Eric Woudstra <ericwouds@gmail.com>"
The Airoha EN8811H PHY has the ability to reverse polarity on the lines to and/or from the MAC. It is reversed by the booleans in the devicetree node of the phy.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):ethernet-phy.yaml#
Rule 2 #
Shared schema rule (
$ref):/schemas/phy/phy-common-props.yaml#
Properties and child nodes (properties) #
compatible — not listed as required here #
Allowed values (enum): "ethernet-phy-id03a2.a411"
reg — required here #
Maximum number of items (maxItems): 1
airoha,pnswap-rx — not listed as required here #
Value type (type): "boolean"
Reverse rx polarity of the SERDES. This is the receiving side of the lines from the MAC towards the EN881H. This property is deprecated, for details please refer to Documentation/devicetree/bindings/phy/phy-common-props.yaml
Deprecated (deprecated): true
airoha,pnswap-tx — not listed as required here #
Value type (type): "boolean"
Reverse tx polarity of SERDES. This is the transmitting side of the lines from EN8811H towards the MAC. This property is deprecated, for details please refer to Documentation/devicetree/bindings/phy/phy-common-props.yaml
Deprecated (deprecated): true
Required in this object (required): "reg"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/phy/phy.h>
mdio {
#address-cells = <1>;
#size-cells = <0>;
ethernet-phy@1 {
compatible = "ethernet-phy-id03a2.a411";
reg = <1>;
rx-polarity = <PHY_POL_INVERT>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)