Thread (1 message) 1 message, 1 author, 2017-08-25

RE: [PATCH resend] ARM: dts: r8a7745: Add Ethernet AVB support

From: Biju Das <hidden>
Date: 2017-08-25 08:26:38
Also in: linux-renesas-soc

Hi all,
quoted hunk
-----Original Message-----
From: Biju Das [mailto:biju.das-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org]
Sent: 24 August 2017 14:46
To: Rob Herring <redacted>; Mark Rutland
[off-list ref]
Cc: Simon Horman <horms-/R6kz+dDXgpPR4JQBCEnsQ@public.gmane.org>; Magnus Damm
[off-list ref]; Russell King [off-list ref]; Chris
Paterson [off-list ref]; devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org; linux-
renesas-soc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org; linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org; Biju Das
[off-list ref]
Subject: [PATCH resend] ARM: dts: r8a7745: Add Ethernet AVB support

Add Ethernet AVB support for r8a7745 SoC.

Signed-off-by: Biju Das <biju.das-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org>
---
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.
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help