Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1331591 > unrolled thread

[PATCH 2/2] ARM: dts: vf-colibri: assign Ethernet clock explicitly

Started byStefan Agner <stefan@agner.ch>
First post2016-02-11 01:10 +0100
Last post2016-02-11 01:10 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 2/2] ARM: dts: vf-colibri: assign Ethernet clock explicitly Stefan Agner <stefan@agner.ch> - 2016-02-11 01:10 +0100

#1331591 — [PATCH 2/2] ARM: dts: vf-colibri: assign Ethernet clock explicitly

FromStefan Agner <stefan@agner.ch>
Date2016-02-11 01:10 +0100
Subject[PATCH 2/2] ARM: dts: vf-colibri: assign Ethernet clock explicitly
Message-ID<r0MZz-10t-3@gated-at.bofh.it>
Assign Ethernet clock parents explicitly. The Colibri VF61
uses the 50MHz Ethernet clock provided by PLL5.

The Vybrid SoC has two ethernet interfaces (fec0 and fec1) which
use the same clock source (VF610_CLK_ENET). Therefore this parent
configuration affects multiple consumer devices and need to be
specified in the clock provider node.

Signed-off-by: Stefan Agner <stefan@agner.ch>
---
 arch/arm/boot/dts/vf-colibri.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/arch/arm/boot/dts/vf-colibri.dtsi b/arch/arm/boot/dts/vf-colibri.dtsi
index c4312c4..8a889af 100644
--- a/arch/arm/boot/dts/vf-colibri.dtsi
+++ b/arch/arm/boot/dts/vf-colibri.dtsi
@@ -38,6 +38,13 @@
 	status = "disabled";
 };
 
+&clks {
+	assigned-clocks = <&clks VF610_CLK_ENET_SEL>,
+			  <&clks VF610_CLK_ENET_TS_SEL>;
+	assigned-clock-parents = <&clks VF610_CLK_ENET_50M>,
+				 <&clks VF610_CLK_ENET_50M>;
+};
+
 &dspi1 {
 	bus-num = <1>;
 	pinctrl-names = "default";
-- 
2.7.1

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web