Skip to content

Commit 6fcc0fd

Browse files
inochisaRevySR
authored andcommitted
UPSTREAM: net: stmmac: dwmac-sophgo: Add support for Sophgo SG2042 SoC
Adds device id of the ethernet controller on the Sophgo SG2042 SoC. Signed-off-by: Inochi Amaoto <[email protected]> Tested-by: Han Gao <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]> (cherry picked from commit 543009e) Signed-off-by: Han Gao <[email protected]>
1 parent 30e422c commit 6fcc0fd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/net/ethernet/stmicro/stmmac/dwmac-sophgo.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ static int sophgo_dwmac_probe(struct platform_device *pdev)
5454
}
5555

5656
static const struct of_device_id sophgo_dwmac_match[] = {
57+
{ .compatible = "sophgo,sg2042-dwmac" },
5758
{ .compatible = "sophgo,sg2044-dwmac" },
5859
{ /* sentinel */ }
5960
};

0 commit comments

Comments
 (0)