diff options
author | Emmanuel Vadot <manu@FreeBSD.org> | 2022-11-15 18:51:46 +0000 |
---|---|---|
committer | Emmanuel Vadot <manu@FreeBSD.org> | 2022-11-15 18:51:46 +0000 |
commit | 8bf583e1ce183a262b726a119817ffe4b6462794 (patch) | |
tree | e592abc1e0c2d16e8e4658093e102fe4adf994ed /Bindings/net/ethernet-controller.yaml | |
parent | 0085f59d9e1122295aecf220d1a6ee6ffe7b023c (diff) | |
download | src-8bf583e1ce183a262b726a119817ffe4b6462794.tar.gz src-8bf583e1ce183a262b726a119817ffe4b6462794.zip |
Import device-tree files from Linux 6.0vendor/device-tree/6.0
Diffstat (limited to 'Bindings/net/ethernet-controller.yaml')
-rw-r--r-- | Bindings/net/ethernet-controller.yaml | 35 |
1 files changed, 23 insertions, 12 deletions
diff --git a/Bindings/net/ethernet-controller.yaml b/Bindings/net/ethernet-controller.yaml index 170cd201adc2..c138a1022879 100644 --- a/Bindings/net/ethernet-controller.yaml +++ b/Bindings/net/ethernet-controller.yaml @@ -133,12 +133,6 @@ properties: and is useful for determining certain configuration settings such as flow control thresholds. - rx-internal-delay-ps: - description: | - RGMII Receive Clock Delay defined in pico seconds. - This is used for controllers that have configurable RX internal delays. - If this property is present then the MAC applies the RX delay. - sfp: $ref: /schemas/types.yaml#/definitions/phandle description: @@ -150,12 +144,6 @@ properties: The size of the controller\'s transmit fifo in bytes. This is used for components that can have configurable fifo sizes. - tx-internal-delay-ps: - description: | - RGMII Transmit Clock Delay defined in pico seconds. - This is used for controllers that have configurable TX internal delays. - If this property is present then the MAC applies the TX delay. - managed: description: Specifies the PHY management type. If auto is set and fixed-link @@ -227,6 +215,29 @@ properties: required: - speed +allOf: + - if: + properties: + phy-mode: + contains: + enum: + - rgmii + - rgmii-rxid + - rgmii-txid + - rgmii-id + then: + properties: + rx-internal-delay-ps: + description: + RGMII Receive Clock Delay defined in pico seconds.This is used for + controllers that have configurable RX internal delays. If this + property is present then the MAC applies the RX delay. + tx-internal-delay-ps: + description: + RGMII Transmit Clock Delay defined in pico seconds.This is used for + controllers that have configurable TX internal delays. If this + property is present then the MAC applies the TX delay. + additionalProperties: true ... |