Skip to content

Commit 0f76b9d

Browse files
Hisashi Nakamuradavem330
authored andcommitted
net: sh_eth: Add r8a7794 support
Signed-off-by: Hisashi Nakamura <hisashi.nakamura.ak@renesas.com> [uli: added bindings documentation] Signed-off-by: Ulrich Hecht <ulrich.hecht+renesas@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 58e70b5 commit 0f76b9d

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

Documentation/devicetree/bindings/net/sh_eth.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Required properties:
99
"renesas,ether-r8a7779" if the device is a part of R8A7779 SoC.
1010
"renesas,ether-r8a7790" if the device is a part of R8A7790 SoC.
1111
"renesas,ether-r8a7791" if the device is a part of R8A7791 SoC.
12+
"renesas,ether-r8a7794" if the device is a part of R8A7794 SoC.
1213
"renesas,ether-r7s72100" if the device is a part of R7S72100 SoC.
1314
- reg: offset and length of (1) the E-DMAC/feLic register block (required),
1415
(2) the TSU register block (optional).

drivers/net/ethernet/renesas/sh_eth.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2746,6 +2746,7 @@ static const struct of_device_id sh_eth_match_table[] = {
27462746
{ .compatible = "renesas,ether-r8a7779", .data = &r8a777x_data },
27472747
{ .compatible = "renesas,ether-r8a7790", .data = &r8a779x_data },
27482748
{ .compatible = "renesas,ether-r8a7791", .data = &r8a779x_data },
2749+
{ .compatible = "renesas,ether-r8a7794", .data = &r8a779x_data },
27492750
{ .compatible = "renesas,ether-r7s72100", .data = &r7s72100_data },
27502751
{ }
27512752
};
@@ -2972,6 +2973,7 @@ static struct platform_device_id sh_eth_id_table[] = {
29722973
{ "r8a777x-ether", (kernel_ulong_t)&r8a777x_data },
29732974
{ "r8a7790-ether", (kernel_ulong_t)&r8a779x_data },
29742975
{ "r8a7791-ether", (kernel_ulong_t)&r8a779x_data },
2976+
{ "r8a7794-ether", (kernel_ulong_t)&r8a779x_data },
29752977
{ }
29762978
};
29772979
MODULE_DEVICE_TABLE(platform, sh_eth_id_table);

0 commit comments

Comments
 (0)