aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2016-08-04 10:24:38 -0400
committerLinus Walleij <linus.walleij@linaro.org>2016-08-31 03:30:16 -0400
commitb2da116cbe46f55d34bcac3ae69206aeda5f11e1 (patch)
treeccecc4b5a955595d7f02d8bcd887ab5a00b70a92
parent257417ec7485b8da4fe5cd9ae350c2bb19728150 (diff)
ARM: dts: add the core module clocks to Integrator/CP
This adds the core and memory clocks to the Integrator/CP device tree. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
-rw-r--r--arch/arm/boot/dts/integratorcp.dts37
1 files changed, 27 insertions, 10 deletions
diff --git a/arch/arm/boot/dts/integratorcp.dts b/arch/arm/boot/dts/integratorcp.dts
index d43f15b4f79a..e8299590bb6a 100644
--- a/arch/arm/boot/dts/integratorcp.dts
+++ b/arch/arm/boot/dts/integratorcp.dts
@@ -58,20 +58,37 @@
58 58
59 core-module@10000000 { 59 core-module@10000000 {
60 /* 24 MHz chrystal on the core module */ 60 /* 24 MHz chrystal on the core module */
61 xtal24mhz: xtal24mhz@24M { 61 cm24mhz: cm24mhz@24M {
62 #clock-cells = <0>; 62 #clock-cells = <0>;
63 compatible = "fixed-clock"; 63 compatible = "fixed-clock";
64 clock-frequency = <24000000>; 64 clock-frequency = <24000000>;
65 }; 65 };
66 66
67 /* 67 /* Oscillator on the core module, clocks the CPU core */
68 * External oscillator on the core module, usually used 68 cmcore: cmosc@24M {
69 * to drive video circuitry. Driven from the 24MHz clock. 69 compatible = "arm,syscon-icst525-integratorcp-cm-core";
70 */ 70 #clock-cells = <0>;
71 auxosc: cm_aux_osc@25M { 71 lock-offset = <0x14>;
72 vco-offset = <0x08>;
73 clocks = <&cm24mhz>;
74 };
75
76 /* Oscillator on the core module, clocks the memory bus */
77 cmmem: cmosc@24M {
78 compatible = "arm,syscon-icst525-integratorcp-cm-mem";
79 #clock-cells = <0>;
80 lock-offset = <0x14>;
81 vco-offset = <0x08>;
82 clocks = <&cm24mhz>;
83 };
84
85 /* Auxilary oscillator on the core module, clocks the CLCD */
86 auxosc: auxosc@24M {
87 compatible = "arm,syscon-icst525";
72 #clock-cells = <0>; 88 #clock-cells = <0>;
73 compatible = "arm,integrator-cm-auxosc"; 89 lock-offset = <0x14>;
74 clocks = <&xtal24mhz>; 90 vco-offset = <0x1c>;
91 clocks = <&cm24mhz>;
75 }; 92 };
76 93
77 /* The KMI clock is the 24 MHz oscillator divided to 8MHz */ 94 /* The KMI clock is the 24 MHz oscillator divided to 8MHz */
@@ -80,7 +97,7 @@
80 compatible = "fixed-factor-clock"; 97 compatible = "fixed-factor-clock";
81 clock-div = <3>; 98 clock-div = <3>;
82 clock-mult = <1>; 99 clock-mult = <1>;
83 clocks = <&xtal24mhz>; 100 clocks = <&cm24mhz>;
84 }; 101 };
85 102
86 /* The timer clock is the 24 MHz oscillator divided to 1MHz */ 103 /* The timer clock is the 24 MHz oscillator divided to 1MHz */
@@ -89,7 +106,7 @@
89 compatible = "fixed-factor-clock"; 106 compatible = "fixed-factor-clock";
90 clock-div = <24>; 107 clock-div = <24>;
91 clock-mult = <1>; 108 clock-mult = <1>;
92 clocks = <&xtal24mhz>; 109 clocks = <&cm24mhz>;
93 }; 110 };
94 }; 111 };
95 112