kernel-5.15/0604-net-dwmac-baikal-added-compatible-strings.patch

27 lines
964 B
Diff
Raw Normal View History

From f42e3ac9176206d78d6a103b62a6a7964723cc06 Mon Sep 17 00:00:00 2001
From: Alexey Sheplyakov <asheplyakov@altlinux.org>
Date: Mon, 24 Jan 2022 13:46:15 +0400
Subject: [PATCH 604/634] net: dwmac-baikal: added compatible strings...
... for AQBM1000 board, TF307 board with FDT from SDK-M 5.3
---
drivers/net/ethernet/stmicro/stmmac/dwmac-baikal.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-baikal.c b/drivers/net/ethernet/stmicro/stmmac/dwmac-baikal.c
index 95ef0e144..7dca7824b 100644
--- a/drivers/net/ethernet/stmicro/stmmac/dwmac-baikal.c
+++ b/drivers/net/ethernet/stmicro/stmmac/dwmac-baikal.c
@@ -195,6 +195,8 @@ static int dwmac_baikal_probe(struct platform_device *pdev)
static const struct of_device_id dwmac_baikal_match[] = {
{ .compatible = "baikal,dwmac" },
+ { .compatible = "be,dwmac" },
+ { .compatible = "aq,dwmac" },
{ }
};
MODULE_DEVICE_TABLE(of, dwmac_baikal_match);
--
2.33.2