Skip to content

Commit

Permalink
ARM: dts: vf-colibri: assign Ethernet clock explicitly
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Stefan Agner authored and Shawn Guo committed Feb 29, 2016
1 parent 6af2f61 commit 5c35b77
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions arch/arm/boot/dts/vf-colibri.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,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";
Expand Down

0 comments on commit 5c35b77

Please sign in to comment.