Commit 160e1fd1 authored by Giuseppe CAVALLARO's avatar Giuseppe CAVALLARO Committed by David S. Miller

stmmac: make the STi Layer compatible to STiH407

This adds the missing compatibility to the STiH407 SoC.
Signed-off-by: default avatarGiuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 8c2a7a5d
...@@ -3,8 +3,8 @@ STMicroelectronics SoC DWMAC glue layer controller ...@@ -3,8 +3,8 @@ STMicroelectronics SoC DWMAC glue layer controller
The device node has following properties. The device node has following properties.
Required properties: Required properties:
- compatible : Can be "st,stih415-dwmac", "st,stih416-dwmac" or - compatible : Can be "st,stih415-dwmac", "st,stih416-dwmac",
"st,stid127-dwmac". "st,stid127-dwmac", "st,stih407-dwmac".
- reg : Offset of the glue configuration register map in system - reg : Offset of the glue configuration register map in system
configuration regmap pointed by st,syscon property and size. configuration regmap pointed by st,syscon property and size.
......
...@@ -40,6 +40,7 @@ static const struct of_device_id stmmac_dt_ids[] = { ...@@ -40,6 +40,7 @@ static const struct of_device_id stmmac_dt_ids[] = {
{ .compatible = "st,stih415-dwmac", .data = &sti_gmac_data}, { .compatible = "st,stih415-dwmac", .data = &sti_gmac_data},
{ .compatible = "st,stih416-dwmac", .data = &sti_gmac_data}, { .compatible = "st,stih416-dwmac", .data = &sti_gmac_data},
{ .compatible = "st,stid127-dwmac", .data = &sti_gmac_data}, { .compatible = "st,stid127-dwmac", .data = &sti_gmac_data},
{ .compatible = "st,stih407-dwmac", .data = &sti_gmac_data},
#endif #endif
#ifdef CONFIG_DWMAC_SOCFPGA #ifdef CONFIG_DWMAC_SOCFPGA
{ .compatible = "altr,socfpga-stmmac", .data = &socfpga_gmac_data }, { .compatible = "altr,socfpga-stmmac", .data = &socfpga_gmac_data },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment