Skip to contentSkip to conversation

arm64: dts: renesas: eagle: add EtherAVB support

PATCH Superseded Sergei Shtylyov 1 participant 2 messages Sep 12, 2017

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 11/11 arm64: dts: renesas: eagle: add EtherAVB support

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.

---
 arch/arm64/boot/dts/renesas/r8a77970-eagle.dts |   15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)
arch/arm64/boot/dts/renesas/r8a77970-eagle.dts +14 -1
Index: 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,15 @@
 &scif0 {
 	status = "okay";
 };
+
+&avb {
+//	renesas,no-ether-link;
+	phy-handle = <&phy0>;
+	status = "okay";
+
+	phy0: ethernet-phy at 0 {
+		rxc-skew-ps = <1500>;
+		reg = <0>;
+		max-speed = <1000>;
+	};
+};
#1 lore raw

PATCH 11/11 arm64: dts: renesas: eagle: add EtherAVB support

Quoted 16 lines · Sergei Shtylyov

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.

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

Index: renesas/arch/arm64/boot/dts/renesas/r8a77970-eagle.dts
===================================================================

arch/arm64/boot/dts/renesas/r8a77970-eagle.dts +0 -0

[...]

arch/arm64/boot/dts/renesas/r8a77970-eagle.dts line 49

Quoted 7 lines
arch/arm64/boot/dts/renesas/r8a77970-eagle.dts +3 -0
@@ -43,3 +44,15 @@
 &scif0 {
 	status = "okay";
 };
+
+&avb {
+//	renesas,no-ether-link;

Oops, overlooked it, will fix!

arch/arm64/boot/dts/renesas/r8a77970-eagle.dts line 58

Quoted 9 lines
arch/arm64/boot/dts/renesas/r8a77970-eagle.dts +9 -0
+	phy-handle = <&phy0>;
+	status = "okay";
+
+	phy0: ethernet-phy at 0 {
+		rxc-skew-ps = <1500>;
+		reg = <0>;
+		max-speed = <1000>;
+	};
+};

MNR, Sergei