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


Groups > linux.kernel > #1331591

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

From Stefan Agner <stefan@agner.ch>
Newsgroups linux.kernel
Subject [PATCH 2/2] ARM: dts: vf-colibri: assign Ethernet clock explicitly
Date 2016-02-11 01:10 +0100
Message-ID <r0MZz-10t-3@gated-at.bofh.it> (permalink)
References <r0MZz-10t-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web