Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: vf610twr: assign Ethernet clock explicitly

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>

authored by

Stefan Agner and committed by
Shawn Guo
6af2f61a ddcc6cad

+4
+4
arch/arm/boot/dts/vf610-twr.dts
··· 128 128 &clks { 129 129 clocks = <&sxosc>, <&fxosc>, <&enet_ext>, <&audio_ext>; 130 130 clock-names = "sxosc", "fxosc", "enet_ext", "audio_ext"; 131 + assigned-clocks = <&clks VF610_CLK_ENET_SEL>, 132 + <&clks VF610_CLK_ENET_TS_SEL>; 133 + assigned-clock-parents = <&clks VF610_CLK_ENET_EXT>, 134 + <&clks VF610_CLK_ENET_EXT>; 131 135 }; 132 136 133 137 &dspi0 {