ARM: moxart: move fixed rate clock child node to board level dts
PATCH 1/1 ARM: moxart: move fixed rate clock child node to board level dts
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 <[email protected]>
---
Notes:
Applies to next-20140116
arch/arm/boot/dts/moxart-uc7112lx.dts | 8 ++++++++ arch/arm/boot/dts/moxart.dtsi | 6 ------ 2 files changed, 8 insertions(+), 6 deletions(-)
arch/arm/boot/dts/moxart-uc7112lx.dts +8 -0
@@ -17,6 +17,14 @@ reg = <0x0 0x2000000>; }; + clocks { + ref12: ref12M { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <12000000>; + }; + }; + flash at 80000000,0 { compatible = "numonyx,js28f128", "cfi-flash"; reg = <0x80000000 0x1000000>;
arch/arm/boot/dts/moxart.dtsi +0 -6
@@ -26,12 +26,6 @@ clocks { #address-cells = <1>; #size-cells = <0>; - - ref12: ref12M { - compatible = "fixed-clock"; - #clock-cells = <0>; - clock-frequency = <12000000>; - }; }; soc {
Signature · 1 line
1.8.2.1
Olof Johansson
AppliedQuoted 4 lines · Jonas Jensen
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 <[email protected]>
Applied to late/misc branch, will likely be included in 3.14-rc1
-Olof