diff mbox

[v2] ARM: dts: r8a7745: Add Ethernet AVB support

Message ID 1503649913-9985-1-git-send-email-biju.das@bp.renesas.com (mailing list archive)
State Accepted
Commit 372b01369fed699c417789ad94344847e09b7a43
Delegated to: Simon Horman
Headers show

Commit Message

Biju Das Aug. 25, 2017, 8:31 a.m. UTC
Add Ethernet AVB support for r8a7745 SoC.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
---
v1-->v2
    Position the avb node similar to r8a7794(R-Car E2) SoC.

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(+)

Comments

Simon Horman Aug. 28, 2017, 8 a.m. UTC | #1
On Fri, Aug 25, 2017 at 09:31:53AM +0100, Biju Das wrote:
> Add Ethernet AVB support for r8a7745 SoC.
> 
> Signed-off-by: Biju Das <biju.das@bp.renesas.com>
> ---
> v1-->v2
>     Position the avb node similar to r8a7794(R-Car E2) SoC.
> 
> It is tested against renesas-devel branch tag
> renesas-devel-20170824-v4.13-rc6.

Thanks, applied for v4.15.
diff mbox

Patch

diff --git a/arch/arm/boot/dts/r8a7745.dtsi b/arch/arm/boot/dts/r8a7745.dtsi
index 7fd2967..6e82991 100644
--- a/arch/arm/boot/dts/r8a7745.dtsi
+++ b/arch/arm/boot/dts/r8a7745.dtsi
@@ -623,6 +623,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";
+		};
+
 		i2c0: i2c@e6508000 {
 			#address-cells = <1>;
 			#size-cells = <0>;