Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: net: airoha,en8811h: Add en8811h

Add the Airoha EN8811H 2.5 Gigabit PHY.

The en8811h phy can be set with serdes polarity reversed on rx and/or tx.

Signed-off-by: Eric Woudstra <ericwouds@gmail.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/20240326162305.303598-2-ericwouds@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Eric Woudstra and committed by
Jakub Kicinski
2434ba2b da493dbb

+56
+56
Documentation/devicetree/bindings/net/airoha,en8811h.yaml
··· 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 + 7 + title: Airoha EN8811H PHY 8 + 9 + maintainers: 10 + - Eric Woudstra <ericwouds@gmail.com> 11 + 12 + description: 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 + 17 + allOf: 18 + - $ref: ethernet-phy.yaml# 19 + 20 + properties: 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 + 40 + required: 41 + - reg 42 + 43 + unevaluatedProperties: false 44 + 45 + examples: 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 + };