diff options
author | Sumit Garg <sumit.garg@linaro.org> | 2023-02-01 19:28:55 +0530 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-02-10 12:50:00 -0500 |
commit | d382025dc555b4e847877bb9b2d492ad1127d144 (patch) | |
tree | 07b1ffb2a360c38d23b46916914f40e467e04c37 /drivers/net/dwc_eth_qos.c | |
parent | a962b7cff4bd9f16dabc75917dc76e9ff959ad13 (diff) |
net: dwc_eth_qos: Add Qcom ethernet driver glue layer
The Qualcom ETHQOS hardware supports an RGMII macro which needs to be
configured according to following link speeds:
- SPEED_1000
- SPEED_100
- SPEED_10
So add a corresponding glue driver to configure RGMII macro.
Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Diffstat (limited to 'drivers/net/dwc_eth_qos.c')
-rw-r--r-- | drivers/net/dwc_eth_qos.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/net/dwc_eth_qos.c b/drivers/net/dwc_eth_qos.c index 65b8556be28..112deb546de 100644 --- a/drivers/net/dwc_eth_qos.c +++ b/drivers/net/dwc_eth_qos.c @@ -1712,6 +1712,13 @@ static const struct udevice_id eqos_ids[] = { }, #endif +#if IS_ENABLED(CONFIG_DWC_ETH_QOS_QCOM) + { + .compatible = "qcom,qcs404-ethqos", + .data = (ulong)&eqos_qcom_config + }, +#endif + { } }; |