Message ID | 1503582359-43820-1-git-send-email-biju.das@bp.renesas.com (mailing list archive) |
---|---|
State | Superseded |
Delegated to: | Simon Horman |
Headers | show |
Hi all, > -----Original Message----- > From: Biju Das [mailto:biju.das@bp.renesas.com] > Sent: 24 August 2017 14:46 > To: Rob Herring <robh+dt@kernel.org>; Mark Rutland > <mark.rutland@arm.com> > Cc: Simon Horman <horms@verge.net.au>; 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; Biju Das > <biju.das@bp.renesas.com> > Subject: [PATCH resend] ARM: dts: r8a7745: Add Ethernet AVB support > > Add Ethernet AVB support for r8a7745 SoC. > > Signed-off-by: Biju Das <biju.das@bp.renesas.com> > --- > It is applying cleanly on renesas-devel branch tag renesas-devel-20170824- > v4.13-rc6. > > It is tested against renesas-devel branch tag renesas-devel-20170824-v4.13-rc6. > > arch/arm/boot/dts/r8a7745.dtsi | 13 +++++++++++++ > 1 file changed, 13 insertions(+) > > diff --git a/arch/arm/boot/dts/r8a7745.dtsi b/arch/arm/boot/dts/r8a7745.dtsi > index 7fd2967..c34f88e 100644 > --- a/arch/arm/boot/dts/r8a7745.dtsi > +++ b/arch/arm/boot/dts/r8a7745.dtsi > @@ -707,6 +707,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"; > +}; > + Hmmm. Just observed that positioning of avb node is not correct compared to the similar r8a7794 SoC(R-Car E2). I will send a new patch for correcting this. > mmcif0: mmc@ee200000 { > compatible = "renesas,mmcif-r8a7745", > "renesas,sh-mmcif"; > -- > 1.9.1 Renesas Electronics Europe Ltd, Dukes Meadow, Millboard Road, Bourne End, Buckinghamshire, SL8 5FH, UK. Registered in England & Wales under Registered No. 04586709.
diff --git a/arch/arm/boot/dts/r8a7745.dtsi b/arch/arm/boot/dts/r8a7745.dtsi index 7fd2967..c34f88e 100644 --- a/arch/arm/boot/dts/r8a7745.dtsi +++ b/arch/arm/boot/dts/r8a7745.dtsi @@ -707,6 +707,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";
Add Ethernet AVB support for r8a7745 SoC. Signed-off-by: Biju Das <biju.das@bp.renesas.com> --- It is applying cleanly on renesas-devel branch tag renesas-devel-20170824-v4.13-rc6. It is tested against renesas-devel branch tag renesas-devel-20170824-v4.13-rc6. arch/arm/boot/dts/r8a7745.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+)