net: sh_eth: Add r8a7793 support
authorHisashi Nakamura <hisashi.nakamura.ak@renesas.com>
Thu, 13 Nov 2014 06:59:07 +0000 (15:59 +0900)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Nov 2014 20:03:53 +0000 (15:03 -0500)
The device tree probing for R-Car M2N (r8a7793) is added.

Signed-off-by: Hisashi Nakamura <hisashi.nakamura.ak@renesas.com>
Signed-off-by: Yoshihiro Kaneko <ykaneko0929@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/net/sh_eth.txt
drivers/net/ethernet/renesas/sh_eth.c

index 34d4db1a4e257a6efcf86aac42813de920214329..2f6ec85fda8e1bced5605f998565d68624656703 100644 (file)
@@ -9,6 +9,7 @@ Required properties:
              "renesas,ether-r8a7779"  if the device is a part of R8A7779 SoC.
              "renesas,ether-r8a7790"  if the device is a part of R8A7790 SoC.
              "renesas,ether-r8a7791"  if the device is a part of R8A7791 SoC.
+             "renesas,ether-r8a7793"  if the device is a part of R8A7793 SoC.
              "renesas,ether-r8a7794"  if the device is a part of R8A7794 SoC.
              "renesas,ether-r7s72100" if the device is a part of R7S72100 SoC.
 - reg: offset and length of (1) the E-DMAC/feLic register block (required),
index 1f79ed61f9cd75ca102e87849cd727a66caf85e1..71f59ee513046defd7f4334c13c9a2675cac0af7 100644 (file)
@@ -2747,6 +2747,7 @@ static const struct of_device_id sh_eth_match_table[] = {
        { .compatible = "renesas,ether-r8a7779", .data = &r8a777x_data },
        { .compatible = "renesas,ether-r8a7790", .data = &r8a779x_data },
        { .compatible = "renesas,ether-r8a7791", .data = &r8a779x_data },
+       { .compatible = "renesas,ether-r8a7793", .data = &r8a779x_data },
        { .compatible = "renesas,ether-r8a7794", .data = &r8a779x_data },
        { .compatible = "renesas,ether-r7s72100", .data = &r7s72100_data },
        { }
@@ -2973,6 +2974,7 @@ static struct platform_device_id sh_eth_id_table[] = {
        { "r8a777x-ether", (kernel_ulong_t)&r8a777x_data },
        { "r8a7790-ether", (kernel_ulong_t)&r8a779x_data },
        { "r8a7791-ether", (kernel_ulong_t)&r8a779x_data },
+       { "r8a7793-ether", (kernel_ulong_t)&r8a779x_data },
        { "r8a7794-ether", (kernel_ulong_t)&r8a779x_data },
        { }
 };