net: ti: icssg-prueth: Add AM64x icssg support
Add AM64x ICSSG support which is similar to am65x SR2.0, but required: - all ring configured in exposed ring mode - always fill both original and buffer fields in cppi5 desc Reviewed-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Roger Quadros <rogerq@kernel.org> Signed-off-by: MD Danish Anwar <danishanwar@ti.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
This commit is contained in:
parent
0caab0a46d
commit
b256e13378
1 changed files with 5 additions and 0 deletions
|
@ -2313,8 +2313,13 @@ static const struct prueth_pdata am654_icssg_pdata = {
|
||||||
.quirk_10m_link_issue = 1,
|
.quirk_10m_link_issue = 1,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
static const struct prueth_pdata am64x_icssg_pdata = {
|
||||||
|
.fdqring_mode = K3_RINGACC_RING_MODE_RING,
|
||||||
|
};
|
||||||
|
|
||||||
static const struct of_device_id prueth_dt_match[] = {
|
static const struct of_device_id prueth_dt_match[] = {
|
||||||
{ .compatible = "ti,am654-icssg-prueth", .data = &am654_icssg_pdata },
|
{ .compatible = "ti,am654-icssg-prueth", .data = &am654_icssg_pdata },
|
||||||
|
{ .compatible = "ti,am642-icssg-prueth", .data = &am64x_icssg_pdata },
|
||||||
{ /* sentinel */ }
|
{ /* sentinel */ }
|
||||||
};
|
};
|
||||||
MODULE_DEVICE_TABLE(of, prueth_dt_match);
|
MODULE_DEVICE_TABLE(of, prueth_dt_match);
|
||||||
|
|
Loading…
Add table
Reference in a new issue