Skip to content

Commit

Permalink
ARM: moxart: move fixed rate clock child node to board level dts
Browse files Browse the repository at this point in the history
When a skeleton "clocks { .. }" remain in .dtsi, the child node can
be moved to .dts, "ref12" is then found by of_clk_get().

Signed-off-by: Jonas Jensen <jonas.jensen@gmail.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
  • Loading branch information
Jonas Jensen authored and Olof Johansson committed Jan 24, 2014
1 parent 935b0d6 commit 929267c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
8 changes: 8 additions & 0 deletions arch/arm/boot/dts/moxart-uc7112lx.dts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,14 @@
reg = <0x0 0x2000000>;
};

clocks {
ref12: ref12M {
compatible = "fixed-clock";
#clock-cells = <0>;
clock-frequency = <12000000>;
};
};

flash@80000000,0 {
compatible = "numonyx,js28f128", "cfi-flash";
reg = <0x80000000 0x1000000>;
Expand Down
6 changes: 0 additions & 6 deletions arch/arm/boot/dts/moxart.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,6 @@
clocks {
#address-cells = <1>;
#size-cells = <0>;

ref12: ref12M {
compatible = "fixed-clock";
#clock-cells = <0>;
clock-frequency = <12000000>;
};
};

soc {
Expand Down

0 comments on commit 929267c

Please sign in to comment.