ARM: dts: vf-colibri: assign Ethernet clock explicitly
authorStefan Agner <stefan@agner.ch>
Wed, 10 Feb 2016 23:35:13 +0000 (15:35 -0800)
committerStefan Agner <stefan@agner.ch>
Thu, 11 Feb 2016 02:42:28 +0000 (18:42 -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.

arch/arm/boot/dts/vf-colibri.dtsi

index e5949b9349453394688ba62bd4073c817049ac58..504562023f1c5a8b229ca33fa54d40bafb20eb09 100644 (file)
        status = "okay";
 };
 
+&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";