Commit 160e1fd10a287bb805745ea4e5b8bb383b686b7f

Authored by Giuseppe CAVALLARO
Committed by David S. Miller
1 parent 8c2a7a5d2c

stmmac: make the STi Layer compatible to STiH407

This adds the missing compatibility to the STiH407 SoC.

Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

Showing 2 changed files with 3 additions and 2 deletions Side-by-side Diff

Documentation/devicetree/bindings/net/sti-dwmac.txt
... ... @@ -3,8 +3,8 @@
3 3 The device node has following properties.
4 4  
5 5 Required properties:
6   - - compatible : Can be "st,stih415-dwmac", "st,stih416-dwmac" or
7   - "st,stid127-dwmac".
  6 + - compatible : Can be "st,stih415-dwmac", "st,stih416-dwmac",
  7 + "st,stid127-dwmac", "st,stih407-dwmac".
8 8 - reg : Offset of the glue configuration register map in system
9 9 configuration regmap pointed by st,syscon property and size.
10 10  
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
... ... @@ -40,6 +40,7 @@
40 40 { .compatible = "st,stih415-dwmac", .data = &sti_gmac_data},
41 41 { .compatible = "st,stih416-dwmac", .data = &sti_gmac_data},
42 42 { .compatible = "st,stid127-dwmac", .data = &sti_gmac_data},
  43 + { .compatible = "st,stih407-dwmac", .data = &sti_gmac_data},
43 44 #endif
44 45 #ifdef CONFIG_DWMAC_SOCFPGA
45 46 { .compatible = "altr,socfpga-stmmac", .data = &socfpga_gmac_data },