stmmac: make the STi Layer compatible to STiH407
authorGiuseppe CAVALLARO <peppe.cavallaro@st.com>
Tue, 14 Oct 2014 06:12:55 +0000 (08:12 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Oct 2014 20:40:06 +0000 (16:40 -0400)
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>
Documentation/devicetree/bindings/net/sti-dwmac.txt
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c

index 3dd3d0bf112f7fe530777be11763814f56685cb5..8c84d9a18f4c8f37b3b2322bbcd486a7365b88a4 100644 (file)
@@ -3,8 +3,8 @@ STMicroelectronics SoC DWMAC glue layer controller
 The device node has following properties.
 
 Required properties:
- - compatible  : Can be "st,stih415-dwmac", "st,stih416-dwmac" or
-   "st,stid127-dwmac".
+ - compatible  : Can be "st,stih415-dwmac", "st,stih416-dwmac",
+   "st,stid127-dwmac", "st,stih407-dwmac".
  - reg         : Offset of the glue configuration register map in system
    configuration regmap pointed by st,syscon property and size.
 
index 4894500a0139770c8ec6b4f552cbf28ec61f8228..0d6b9adad6ddbaadd6113c275f522bfa280704a9 100644 (file)
@@ -40,6 +40,7 @@ static const struct of_device_id stmmac_dt_ids[] = {
        { .compatible = "st,stih415-dwmac", .data = &sti_gmac_data},
        { .compatible = "st,stih416-dwmac", .data = &sti_gmac_data},
        { .compatible = "st,stid127-dwmac", .data = &sti_gmac_data},
+       { .compatible = "st,stih407-dwmac", .data = &sti_gmac_data},
 #endif
 #ifdef CONFIG_DWMAC_SOCFPGA
        { .compatible = "altr,socfpga-stmmac", .data = &socfpga_gmac_data },