diff mbox

[1/2] ARM: dts: r8a77470: Add EtherAVB support

Message ID 1524584253-52936-2-git-send-email-biju.das@bp.renesas.com (mailing list archive)
State Accepted
Commit f70b0958c044a73188056a231d40a8af55c04dd2
Delegated to: Simon Horman
Headers show

Commit Message

Biju Das April 24, 2018, 3:37 p.m. UTC
Define the generic R8A77470 part of the EtherAVB device node.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Chris Paterson <chris.paterson2@renesas.com>
---
 arch/arm/boot/dts/r8a77470.dtsi | 13 +++++++++++++
 1 file changed, 13 insertions(+)

Comments

Simon Horman April 30, 2018, 7:59 a.m. UTC | #1
On Tue, Apr 24, 2018 at 04:37:32PM +0100, Biju Das wrote:
> Define the generic R8A77470 part of the EtherAVB device node.
> 
> Signed-off-by: Biju Das <biju.das@bp.renesas.com>
> Reviewed-by: Chris Paterson <chris.paterson2@renesas.com>

Thanks, applied.
diff mbox

Patch

diff --git a/arch/arm/boot/dts/r8a77470.dtsi b/arch/arm/boot/dts/r8a77470.dtsi
index baec3ca..c85032f 100644
--- a/arch/arm/boot/dts/r8a77470.dtsi
+++ b/arch/arm/boot/dts/r8a77470.dtsi
@@ -190,6 +190,19 @@ 
 			dma-channels = <15>;
 		};
 
+		avb: ethernet@e6800000 {
+			compatible = "renesas,etheravb-r8a77470",
+				     "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 32>;
+			resets = <&cpg 812>;
+			#address-cells = <1>;
+			#size-cells = <0>;
+			status = "disabled";
+		};
+
 		scif0: serial@e6e60000 {
 			compatible = "renesas,scif-r8a77470",
 				     "renesas,rcar-gen2-scif", "renesas,scif";