Skip to contentSkip to conversation

ARM: dts: r8a7745: Add Ethernet AVB support

PATCH Superseded Biju Das 3 participants 5 messages Aug 22, 2017 – Aug 25, 2017 1 message not in the archive Device tree bindings

lore
Share & tools
lore

Biju Das

author
#0 lore raw

PATCH 1/1 ARM: dts: r8a7745: Add Ethernet AVB support

Add Ethernet AVB support for r8a7745 SoC.

---
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(+)
arch/arm/boot/dts/r8a7745.dtsi +13 -0
index a55d98f..2816a0b 100644
@@ -614,6 +614,19 @@
 			status = "disabled";
 		};
 
+		avb: ethernet at 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 at ee200000 {
 			compatible = "renesas,mmcif-r8a7745",
 				     "renesas,sh-mmcif";
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 ARM: dts: r8a7745: Add Ethernet AVB support

Quoted 10 lines · Biju Das

Add Ethernet AVB support for r8a7745 SoC.

---
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.

author
#2 lore raw

PATCH 1/1 ARM: dts: r8a7745: Add Ethernet AVB support

Quoted 21 lines

-----Original Message-----
From: Simon Horman [mailto:horms at verge.net.au]
Sent: 24 August 2017 11:19
To: Biju Das <[email protected]>
Cc: Rob Herring <[email protected]>; Mark Rutland <[email protected]>; Magnus Damm <[email protected]>; Russell King <[email protected]>; Chris Paterson <[email protected]>; devicetree at vger.kernel.org; linux-renesas- soc at vger.kernel.org; linux-arm-kernel at lists.infradead.org
Subject: Re: [PATCH ] ARM: dts: r8a7745: Add Ethernet AVB support

Quoted 7 lines · Biju Das

Add Ethernet AVB support for r8a7745 SoC.

---
This patch is depend upon the below patch [1/2] ARM: dts: r8a7745: Add MMC interface support https://patchwork.kernel.org/patch/9906803/

Quoted 5 lines
Quoted 2 lines

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.

author
#3 lore raw

PATCH RESEND 1/1 ARM: dts: r8a7745: Add Ethernet AVB support

In reply to Biju Das

Add Ethernet AVB support for r8a7745 SoC.

---
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(+)
arch/arm/boot/dts/r8a7745.dtsi +13 -0
index 7fd2967..c34f88e 100644
@@ -707,6 +707,19 @@
 			status = "disabled";
 		};
 
+		avb: ethernet at 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 at ee200000 {
 			compatible = "renesas,mmcif-r8a7745",
 				     "renesas,sh-mmcif";
Signature · 1 line
1.9.1

A message that is not in the archive (sent off-list or not yet received): 1503582359-43820-1-git-send-email-biju.das-kTT6dE0pTRh9uiUsa/[email protected]

#5 lore raw

Hi all,

Quoted 36 lines

-----Original Message-----
From: Biju Das [mailto:biju.das-kTT6dE0pTRh9uiUsa/[email protected]]
Sent: 24 August 2017 14:46
To: Rob Herring <[email protected]>; Mark Rutland <[email protected]>
Cc: Simon Horman <horms-/[email protected]>; Magnus Damm <[email protected]>; Russell King <[email protected]>; Chris Paterson <[email protected]>; [email protected]; linux- [email protected]; linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org; Biju Das <biju.das-kTT6dE0pTRh9uiUsa/[email protected]>
Subject: [PATCH resend] ARM: dts: r8a7745: Add Ethernet AVB support

Add Ethernet AVB support for r8a7745 SoC.

---
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(+)
arch/arm/boot/dts/r8a7745.dtsi +4 -0
index 7fd2967..c34f88e 100644
@@ -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

arch/arm/boot/dts/r8a7745.dtsi line 723

Quoted 10 lines
arch/arm/boot/dts/r8a7745.dtsi +9 -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.

Quoted 5 lines
arch/arm/boot/dts/r8a7745.dtsi +0 -0
 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. --
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html