Add a compatible string match for MT8366 targets.

Signed-off-by: David Lechner <[email protected]>
---
 drivers/net/dwc_eth_qos.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/net/dwc_eth_qos.c b/drivers/net/dwc_eth_qos.c
index e7cf68d011c..bf590421324 100644
--- a/drivers/net/dwc_eth_qos.c
+++ b/drivers/net/dwc_eth_qos.c
@@ -1664,6 +1664,10 @@ static const struct udevice_id eqos_ids[] = {
                .compatible = "mediatek,mt8189-gmac",
                .data = (ulong)&eqos_mtk_config
        },
+       {
+               .compatible = "mediatek,mt8366-gmac",
+               .data = (ulong)&eqos_mtk_config
+       },
 #endif
 #if IS_ENABLED(CONFIG_DWC_ETH_QOS_SUNXI)
        {

-- 
2.43.0

Reply via email to