net: ftgmac100: List all compatibles

As a step towards cleanup the probe function, list each compatible the
driver supports.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: Jacky Chou <jacky_chou@aspeedtech.com>
Link: https://patch.msgid.link/20260206-ftgmac-cleanup-v5-1-ad28a9067ea7@aspeedtech.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
This commit is contained in:
Andrew Lunn
2026-02-06 11:17:41 +08:00
committed by Paolo Abeni
parent 4f65ee7e0c
commit 03a2aba50b

View File

@@ -2091,6 +2091,9 @@ static void ftgmac100_remove(struct platform_device *pdev)
}
static const struct of_device_id ftgmac100_of_match[] = {
{ .compatible = "aspeed,ast2400-mac" },
{ .compatible = "aspeed,ast2500-mac" },
{ .compatible = "aspeed,ast2600-mac" },
{ .compatible = "faraday,ftgmac100" },
{ }
};