ARM: dts: vf610twr: assign Ethernet clock explicitly
authorStefan Agner <stefan@agner.ch>
Thu, 11 Feb 2016 00:02:25 +0000 (16:02 -0800)
committerShawn Guo <shawnguo@kernel.org>
Mon, 29 Feb 2016 08:17:33 +0000 (16:17 +0800)
Assign Ethernet clock parents explicitly. The VF610 Tower Board
uses the external Ethernet clock input which is connected to
a 50MHz clock.

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/vf610-twr.dts

index ce937b9fcf0001ff6bd623ff1f2a7dffe98ac8fb..cdc1007325144195567fad08df9153ca21f2349c 100644 (file)
 &clks {
        clocks = <&sxosc>, <&fxosc>, <&enet_ext>, <&audio_ext>;
        clock-names = "sxosc", "fxosc", "enet_ext", "audio_ext";
+       assigned-clocks = <&clks VF610_CLK_ENET_SEL>,
+                         <&clks VF610_CLK_ENET_TS_SEL>;
+       assigned-clock-parents = <&clks VF610_CLK_ENET_EXT>,
+                                <&clks VF610_CLK_ENET_EXT>;
 };
 
 &dspi0 {