mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-04 20:19:47 +08:00
Merge branch 'riscv-sophgo-add-ethernet-support-for-sg2042'
Inochi Amaoto says: ==================== riscv: sophgo: Add ethernet support for SG2042 The ethernet controller of SG2042 is Synopsys DesignWare IP with tx clock. Add device id for it. This patch can only be tested on a SG2042 evb board, as pioneer does not expose this device. The user dts patch link: https://lore.kernel.org/linux-riscv/cover.1751700954.git.rabenda.cn@gmail.com ==================== Link: https://patch.msgid.link/20250708064052.507094-1-inochiama@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
commit
cd258940b3
@ -30,6 +30,7 @@ select:
|
||||
- snps,dwmac-4.00
|
||||
- snps,dwmac-4.10a
|
||||
- snps,dwmac-4.20a
|
||||
- snps,dwmac-5.00a
|
||||
- snps,dwmac-5.10a
|
||||
- snps,dwmac-5.20
|
||||
- snps,dwmac-5.30a
|
||||
@ -98,11 +99,13 @@ properties:
|
||||
- snps,dwmac-4.00
|
||||
- snps,dwmac-4.10a
|
||||
- snps,dwmac-4.20a
|
||||
- snps,dwmac-5.00a
|
||||
- snps,dwmac-5.10a
|
||||
- snps,dwmac-5.20
|
||||
- snps,dwmac-5.30a
|
||||
- snps,dwxgmac
|
||||
- snps,dwxgmac-2.10
|
||||
- sophgo,sg2042-dwmac
|
||||
- sophgo,sg2044-dwmac
|
||||
- starfive,jh7100-dwmac
|
||||
- starfive,jh7110-dwmac
|
||||
@ -641,6 +644,7 @@ allOf:
|
||||
- snps,dwmac-4.00
|
||||
- snps,dwmac-4.10a
|
||||
- snps,dwmac-4.20a
|
||||
- snps,dwmac-5.00a
|
||||
- snps,dwmac-5.10a
|
||||
- snps,dwmac-5.20
|
||||
- snps,dwmac-5.30a
|
||||
|
@ -15,14 +15,19 @@ select:
|
||||
contains:
|
||||
enum:
|
||||
- sophgo,sg2044-dwmac
|
||||
- sophgo,sg2042-dwmac
|
||||
required:
|
||||
- compatible
|
||||
|
||||
properties:
|
||||
compatible:
|
||||
items:
|
||||
- const: sophgo,sg2044-dwmac
|
||||
- const: snps,dwmac-5.30a
|
||||
oneOf:
|
||||
- items:
|
||||
- const: sophgo,sg2042-dwmac
|
||||
- const: snps,dwmac-5.00a
|
||||
- items:
|
||||
- const: sophgo,sg2044-dwmac
|
||||
- const: snps,dwmac-5.30a
|
||||
|
||||
reg:
|
||||
maxItems: 1
|
||||
|
@ -54,6 +54,7 @@ static int sophgo_dwmac_probe(struct platform_device *pdev)
|
||||
}
|
||||
|
||||
static const struct of_device_id sophgo_dwmac_match[] = {
|
||||
{ .compatible = "sophgo,sg2042-dwmac" },
|
||||
{ .compatible = "sophgo,sg2044-dwmac" },
|
||||
{ /* sentinel */ }
|
||||
};
|
||||
|
@ -410,6 +410,7 @@ static const char * const stmmac_gmac4_compats[] = {
|
||||
"snps,dwmac-4.00",
|
||||
"snps,dwmac-4.10a",
|
||||
"snps,dwmac-4.20a",
|
||||
"snps,dwmac-5.00a",
|
||||
"snps,dwmac-5.10a",
|
||||
"snps,dwmac-5.20",
|
||||
"snps,dwmac-5.30a",
|
||||
|
Loading…
Reference in New Issue
Block a user