mirror of
https://github.com/torvalds/linux.git
synced 2026-05-30 18:13:41 +02:00
net: ethernet: ti: am65-cpsw: add support for J722S SoC family
The J722S CPSW3G is mostly identical to the AM64's, but additionally supports SGMII. Signed-off-by: Nora Schiffer <nora.schiffer@ew.tq-group.com> Link: https://patch.msgid.link/6118e81358d47f455e4c1dbddf3ece6f3329e184.1775558273.git.nora.schiffer@ew.tq-group.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
f757a2da6d
commit
436e9e48ca
|
|
@ -3468,6 +3468,13 @@ static const struct am65_cpsw_pdata am64x_cpswxg_pdata = {
|
|||
.fdqring_mode = K3_RINGACC_RING_MODE_RING,
|
||||
};
|
||||
|
||||
static const struct am65_cpsw_pdata j722s_cpswxg_pdata = {
|
||||
.quirks = AM64_CPSW_QUIRK_DMA_RX_TDOWN_IRQ,
|
||||
.ale_dev_id = "am64-cpswxg",
|
||||
.fdqring_mode = K3_RINGACC_RING_MODE_RING,
|
||||
.extra_modes = BIT(PHY_INTERFACE_MODE_SGMII),
|
||||
};
|
||||
|
||||
static const struct am65_cpsw_pdata j7200_cpswxg_pdata = {
|
||||
.quirks = 0,
|
||||
.ale_dev_id = "am64-cpswxg",
|
||||
|
|
@ -3495,6 +3502,7 @@ static const struct of_device_id am65_cpsw_nuss_of_mtable[] = {
|
|||
{ .compatible = "ti,am654-cpsw-nuss", .data = &am65x_sr1_0},
|
||||
{ .compatible = "ti,j721e-cpsw-nuss", .data = &j721e_pdata},
|
||||
{ .compatible = "ti,am642-cpsw-nuss", .data = &am64x_cpswxg_pdata},
|
||||
{ .compatible = "ti,j722s-cpsw-nuss", .data = &j722s_cpswxg_pdata},
|
||||
{ .compatible = "ti,j7200-cpswxg-nuss", .data = &j7200_cpswxg_pdata},
|
||||
{ .compatible = "ti,j721e-cpswxg-nuss", .data = &j721e_cpswxg_pdata},
|
||||
{ .compatible = "ti,j784s4-cpswxg-nuss", .data = &j784s4_cpswxg_pdata},
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user