Nate Drude | a9521ea | 2022-04-08 11:28:14 -0500 | [diff] [blame] | 1 | * Analog Devices ADIN PHY Device Tree binding |
| 2 | |
| 3 | Required properties: |
| 4 | - reg: PHY address |
| 5 | |
| 6 | Optional properties: |
| 7 | - adi,rx-internal-delay-ps: RGMII RX Clock Delay used only when PHY operates |
| 8 | in RGMII mode with internal delay (phy-mode is 'rgmii-id' or |
| 9 | 'rgmii-rxid') in pico-seconds. |
| 10 | - adi,tx-internal-delay-ps: RGMII TX Clock Delay used only when PHY operates |
| 11 | in RGMII mode with internal delay (phy-mode is 'rgmii-id' or |
| 12 | 'rgmii-txid') in pico-seconds. |
| 13 | - adi,phy-mode-override: Override phy-mode property for adin. This is useful |
| 14 | when a single device tree supports an adin PHY (e.g. ADIN1300) |
| 15 | or another PHY (e.g. AR8033) at the same address, but they require |
| 16 | different phy-modes. |
| 17 | |
| 18 | Example: |
| 19 | |
| 20 | ethernet-phy@0 { |
| 21 | reg = <0>; |
| 22 | |
| 23 | adi,rx-internal-delay-ps = <1800>; |
| 24 | adi,tx-internal-delay-ps = <2200>; |
| 25 | adi,phy-mode-override = "rgmii-id"; |
| 26 | }; |