Skip to contentSkip to conversation

arm64: dts: renesas: v3msk: add EtherAVB support

PATCH New Sergei Shtylyov 3 participants 3 messages Nov 24, 2017 – Dec 4, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 2/2 arm64: dts: renesas: v3msk: add EtherAVB support

Define the V3M Starter Kit board dependent part of the EtherAVB device node.

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

---
 arch/arm64/boot/dts/renesas/r8a77970-v3msk.dts |   11 +++++++++++
 1 file changed, 11 insertions(+)
arch/arm64/boot/dts/renesas/r8a77970-v3msk.dts +11 -0
Index: renesas/arch/arm64/boot/dts/renesas/r8a77970-v3msk.dts
===================================================================
@@ -31,6 +31,17 @@
 	};
 };
 
+&avb {
+	renesas,no-ether-link;
+	phy-handle = <&phy0>;
+	status = "okay";
+
+	phy0: ethernet-phy at 0 {
+		rxc-skew-ps = <1500>;
+		reg = <0>;
+	};
+};
+
 &extal_clk {
 	clock-frequency = <16666666>;
 };
#1 lore raw

PATCH 2/2 arm64: dts: renesas: v3msk: add EtherAVB support

Quoted 11 lines · Sergei Shtylyov

Define the V3M Starter Kit board dependent part of the EtherAVB device node.

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

---
 arch/arm64/boot/dts/renesas/r8a77970-v3msk.dts |   11 +++++++++++
 1 file changed, 11 insertions(+)

For consistency with other Renesas boards please consider reposing with the following added to the chosen node.

		bootargs = "ignore_loglevel rw root=/dev/nfs ip=dhcp";
Quoted 24 lines

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

arch/arm64/boot/dts/renesas/r8a77970-v3msk.dts +11 -0
@@ -31,6 +31,17 @@
 	};
 };
 
+&avb {
+	renesas,no-ether-link;
+	phy-handle = <&phy0>;
+	status = "okay";
+
+	phy0: ethernet-phy at 0 {
+		rxc-skew-ps = <1500>;
+		reg = <0>;
+	};
+};
+
 &extal_clk {
 	clock-frequency = <16666666>;
 };
#2 lore raw

PATCH 2/2 arm64: dts: renesas: v3msk: add EtherAVB support

In reply to Sergei Shtylyov
Quoted 7 lines · Sergei Shtylyov

Define the V3M Starter Kit board dependent part of the EtherAVB device node.

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

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds