ARM: dts: vf-colibri: assign Ethernet clock explicitly
authorStefan Agner <stefan@agner.ch>
Thu, 11 Feb 2016 00:02:26 +0000 (16:02 -0800)
committerShawn Guo <shawnguo@kernel.org>
Mon, 29 Feb 2016 08:17:34 +0000 (16:17 +0800)
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>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/vf-colibri.dtsi

index 432dea7..ff6f58e 100644 (file)
        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";