diff mbox

ARM: dts: r8a7745: Add Ethernet AVB support

Message ID 1503388405-48325-1-git-send-email-biju.das@bp.renesas.com (mailing list archive)
State New, archived
Headers show

Commit Message

Biju Das Aug. 22, 2017, 7:53 a.m. UTC
Add Ethernet AVB support for r8a7745 SoC.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
---
This patch is depend upon the below patch
[1/2] ARM: dts: r8a7745: Add MMC interface support
https://patchwork.kernel.org/patch/9906803/

It is tested against renesas-devel branch tag
renesas-devel-20170821-v4.13-rc5

 arch/arm/boot/dts/r8a7745.dtsi | 13 +++++++++++++
 1 file changed, 13 insertions(+)

Comments

Simon Horman Aug. 24, 2017, 10:18 a.m. UTC | #1
On Tue, Aug 22, 2017 at 08:53:25AM +0100, Biju Das wrote:
> Add Ethernet AVB support for r8a7745 SoC.
> 
> Signed-off-by: Biju Das <biju.das@bp.renesas.com>
> ---
> This patch is depend upon the below patch
> [1/2] ARM: dts: r8a7745: Add MMC interface support
> https://patchwork.kernel.org/patch/9906803/
> 
> It is tested against renesas-devel branch tag
> renesas-devel-20170821-v4.13-rc5

This patch does not seem to apply cleanly (using git am)
on top of the tag above. Please resolve this problem and resubmit.
Biju Das Aug. 24, 2017, 1:51 p.m. UTC | #2
> -----Original Message-----
> From: Simon Horman [mailto:horms@verge.net.au]
> Sent: 24 August 2017 11:19
> To: Biju Das <biju.das@bp.renesas.com>
> Cc: Rob Herring <robh+dt@kernel.org>; Mark Rutland
> <mark.rutland@arm.com>; Magnus Damm <magnus.damm@gmail.com>;
> Russell King <linux@armlinux.org.uk>; Chris Paterson
> <Chris.Paterson2@renesas.com>; devicetree@vger.kernel.org; linux-renesas-
> soc@vger.kernel.org; linux-arm-kernel@lists.infradead.org
> Subject: Re: [PATCH ] ARM: dts: r8a7745: Add Ethernet AVB support
>
> On Tue, Aug 22, 2017 at 08:53:25AM +0100, Biju Das wrote:
> > Add Ethernet AVB support for r8a7745 SoC.
> >
> > Signed-off-by: Biju Das <biju.das@bp.renesas.com>
> > ---
> > This patch is depend upon the below patch [1/2] ARM: dts: r8a7745: Add
> > MMC interface support https://patchwork.kernel.org/patch/9906803/
> >
> > It is tested against renesas-devel branch tag
> > renesas-devel-20170821-v4.13-rc5
>
> This patch does not seem to apply cleanly (using git am) on top of the tag
> above. Please resolve this problem and resubmit.

Thanks. I will resubmit the patch.



Renesas Electronics Europe Ltd, Dukes Meadow, Millboard Road, Bourne End, Buckinghamshire, SL8 5FH, UK. Registered in England & Wales under Registered No. 04586709.
diff mbox

Patch

diff --git a/arch/arm/boot/dts/r8a7745.dtsi b/arch/arm/boot/dts/r8a7745.dtsi
index a55d98f..2816a0b 100644
--- a/arch/arm/boot/dts/r8a7745.dtsi
+++ b/arch/arm/boot/dts/r8a7745.dtsi
@@ -614,6 +614,19 @@ 
 			status = "disabled";
 		};
 
+		avb: ethernet@e6800000 {
+			compatible = "renesas,etheravb-r8a7745",
+				     "renesas,etheravb-rcar-gen2";
+			reg = <0 0xe6800000 0 0x800>, <0 0xee0e8000 0 0x4000>;
+			interrupts = <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&cpg CPG_MOD 812>;
+			power-domains = <&sysc R8A7745_PD_ALWAYS_ON>;
+			resets = <&cpg 812>;
+			#address-cells = <1>;
+			#size-cells = <0>;
+			status = "disabled";
+		};
+
 		mmcif0: mmc@ee200000 {
 			compatible = "renesas,mmcif-r8a7745",
 				     "renesas,sh-mmcif";