All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 8/8] arm64: dts: renesas: eagle: add EtherAVB support
@ 2017-09-15 19:43 ` Sergei Shtylyov
  0 siblings, 0 replies; 32+ messages in thread
From: Sergei Shtylyov @ 2017-09-15 19:43 UTC (permalink / raw)
  To: Rob Herring, Simon Horman, Catalin Marinas, Will Deacon,
	linux-renesas-soc, devicetree
  Cc: Mark Rutland, Magnus Damm, linux-arm-kernel, Vladimir Barinov,
	Sergei Shtylyov

[-- Attachment #1: arm64-dts-renesas-eagle-add-EtherAVB-support-v2.patch --]
[-- Type: text/plain, Size: 1261 bytes --]

Define the Eagle board  dependent part of the EtherAVB device node.
Enable DHCP  and NFS root for the kernel booting.

Based  on the original (and large) patch by Vladimir Barinov.

Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>

---
Changes in version 2:
- uncommented the "renesas,no-ether-link" property;
- removed the "max-speed" property from the PHY node.

 arch/arm64/boot/dts/renesas/r8a77970-eagle.dts |   14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

Index: renesas/arch/arm64/boot/dts/renesas/r8a77970-eagle.dts
===================================================================
--- renesas.orig/arch/arm64/boot/dts/renesas/r8a77970-eagle.dts
+++ renesas/arch/arm64/boot/dts/renesas/r8a77970-eagle.dts
@@ -18,10 +18,11 @@
 
 	aliases {
 		serial0 = &scif0;
+		ethernet0 = &avb;
 	};
 
 	chosen {
-		bootargs = "ignore_loglevel";
+		bootargs = "ignore_loglevel rw root=/dev/nfs ip=dhcp";
 		stdout-path = "serial0:115200n8";
 	};
 
@@ -43,3 +44,14 @@
 &scif0 {
 	status = "okay";
 };
+
+&avb {
+	renesas,no-ether-link;
+	phy-handle = <&phy0>;
+	status = "okay";
+
+	phy0: ethernet-phy@0 {
+		rxc-skew-ps = <1500>;
+		reg = <0>;
+	};
+};

^ permalink raw reply	[flat|nested] 32+ messages in thread

end of thread, other threads:[~2017-10-10  8:03 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-15 19:43 [PATCH v2 8/8] arm64: dts: renesas: eagle: add EtherAVB support Sergei Shtylyov
2017-09-15 19:43 ` Sergei Shtylyov
2017-09-21 13:08 ` Geert Uytterhoeven
2017-09-21 13:08   ` Geert Uytterhoeven
2017-09-21 13:08   ` Geert Uytterhoeven
2017-09-21 16:03   ` Sergei Shtylyov
2017-09-21 16:03     ` Sergei Shtylyov
2017-09-21 16:03     ` Sergei Shtylyov
2017-09-21 16:09     ` Geert Uytterhoeven
2017-09-21 16:09       ` Geert Uytterhoeven
2017-09-21 16:09       ` Geert Uytterhoeven
2017-10-05  9:05       ` Simon Horman
2017-10-05  9:05         ` Simon Horman
2017-10-05 17:18         ` Sergei Shtylyov
2017-10-05 17:18           ` Sergei Shtylyov
2017-10-05 17:18           ` Sergei Shtylyov
2017-10-06  9:31           ` Simon Horman
2017-10-06  9:31             ` Simon Horman
2017-10-06  9:34             ` Sergei Shtylyov
2017-10-06  9:34               ` Sergei Shtylyov
2017-10-09 17:57         ` Sergei Shtylyov
2017-10-09 17:57           ` Sergei Shtylyov
2017-10-09 17:57           ` Sergei Shtylyov
2017-10-10  7:33           ` Simon Horman
2017-10-10  7:33             ` Simon Horman
2017-10-10  7:33             ` Simon Horman
2017-10-10  7:48             ` Simon Horman
2017-10-10  7:48               ` Simon Horman
2017-10-10  7:48               ` Simon Horman
2017-10-10  8:03               ` Simon Horman
2017-10-10  8:03                 ` Simon Horman
2017-10-10  8:03                 ` Simon Horman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.