net: ethernet: ave: add UniPhier PXs3 support
Add a compatible string and SoC data for ethernet controller on UniPhier PXs3 SoC. Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
8396764154
commit
469e3d79b8
@@ -1701,6 +1701,10 @@ static const struct ave_soc_data ave_ld20_data = {
|
|||||||
.is_desc_64bit = true,
|
.is_desc_64bit = true,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
static const struct ave_soc_data ave_pxs3_data = {
|
||||||
|
.is_desc_64bit = false,
|
||||||
|
};
|
||||||
|
|
||||||
static const struct of_device_id of_ave_match[] = {
|
static const struct of_device_id of_ave_match[] = {
|
||||||
{
|
{
|
||||||
.compatible = "socionext,uniphier-pro4-ave4",
|
.compatible = "socionext,uniphier-pro4-ave4",
|
||||||
@@ -1718,6 +1722,10 @@ static const struct of_device_id of_ave_match[] = {
|
|||||||
.compatible = "socionext,uniphier-ld20-ave4",
|
.compatible = "socionext,uniphier-ld20-ave4",
|
||||||
.data = &ave_ld20_data,
|
.data = &ave_ld20_data,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
.compatible = "socionext,uniphier-pxs3-ave4",
|
||||||
|
.data = &ave_pxs3_data,
|
||||||
|
},
|
||||||
{ /* Sentinel */ }
|
{ /* Sentinel */ }
|
||||||
};
|
};
|
||||||
MODULE_DEVICE_TABLE(of, of_ave_match);
|
MODULE_DEVICE_TABLE(of, of_ave_match);
|
||||||
|
|||||||
Reference in New Issue
Block a user