aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Jensen <jonas.jensen@gmail.com>2014-01-16 16:39:06 +0100
committerOlof Johansson <olof@lixom.net>2014-01-23 18:13:44 -0800
commit929267cb3525daf72f730f4d4c4e1e9e2b135e61 (patch)
tree08e24c15fd78d78ac8993aebd9df75a824b521f1
parent935b0d622f16538d071af823388c21c2e6f66134 (diff)
downloadlinux-linaro-stable-929267cb3525daf72f730f4d4c4e1e9e2b135e61.tar.gz
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 <jonas.jensen@gmail.com> Signed-off-by: Olof Johansson <olof@lixom.net>
-rw-r--r--arch/arm/boot/dts/moxart-uc7112lx.dts8
-rw-r--r--arch/arm/boot/dts/moxart.dtsi6
2 files changed, 8 insertions, 6 deletions
diff --git a/arch/arm/boot/dts/moxart-uc7112lx.dts b/arch/arm/boot/dts/moxart-uc7112lx.dts
index 90749d55de0d..10d088df0c35 100644
--- a/arch/arm/boot/dts/moxart-uc7112lx.dts
+++ b/arch/arm/boot/dts/moxart-uc7112lx.dts
@@ -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>;
diff --git a/arch/arm/boot/dts/moxart.dtsi b/arch/arm/boot/dts/moxart.dtsi
index da1d8effef97..1fd27ed65a01 100644
--- a/arch/arm/boot/dts/moxart.dtsi
+++ b/arch/arm/boot/dts/moxart.dtsi
@@ -26,12 +26,6 @@
clocks {
#address-cells = <1>;
#size-cells = <0>;
-
- ref12: ref12M {
- compatible = "fixed-clock";
- #clock-cells = <0>;
- clock-frequency = <12000000>;
- };
};
soc {