mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
257417ec74
commit
b2da116cbe
|
@ -58,20 +58,37 @@ pclk: pclk@0 {
|
||||||
|
|
||||||
core-module@10000000 {
|
core-module@10000000 {
|
||||||
/* 24 MHz chrystal on the core module */
|
/* 24 MHz chrystal on the core module */
|
||||||
xtal24mhz: xtal24mhz@24M {
|
cm24mhz: cm24mhz@24M {
|
||||||
#clock-cells = <0>;
|
#clock-cells = <0>;
|
||||||
compatible = "fixed-clock";
|
compatible = "fixed-clock";
|
||||||
clock-frequency = <24000000>;
|
clock-frequency = <24000000>;
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/* Oscillator on the core module, clocks the CPU core */
|
||||||
* External oscillator on the core module, usually used
|
cmcore: cmosc@24M {
|
||||||
* to drive video circuitry. Driven from the 24MHz clock.
|
compatible = "arm,syscon-icst525-integratorcp-cm-core";
|
||||||
*/
|
|
||||||
auxosc: cm_aux_osc@25M {
|
|
||||||
#clock-cells = <0>;
|
#clock-cells = <0>;
|
||||||
compatible = "arm,integrator-cm-auxosc";
|
lock-offset = <0x14>;
|
||||||
clocks = <&xtal24mhz>;
|
vco-offset = <0x08>;
|
||||||
|
clocks = <&cm24mhz>;
|
||||||
|
};
|
||||||
|
|
||||||
|
/* Oscillator on the core module, clocks the memory bus */
|
||||||
|
cmmem: cmosc@24M {
|
||||||
|
compatible = "arm,syscon-icst525-integratorcp-cm-mem";
|
||||||
|
#clock-cells = <0>;
|
||||||
|
lock-offset = <0x14>;
|
||||||
|
vco-offset = <0x08>;
|
||||||
|
clocks = <&cm24mhz>;
|
||||||
|
};
|
||||||
|
|
||||||
|
/* Auxilary oscillator on the core module, clocks the CLCD */
|
||||||
|
auxosc: auxosc@24M {
|
||||||
|
compatible = "arm,syscon-icst525";
|
||||||
|
#clock-cells = <0>;
|
||||||
|
lock-offset = <0x14>;
|
||||||
|
vco-offset = <0x1c>;
|
||||||
|
clocks = <&cm24mhz>;
|
||||||
};
|
};
|
||||||
|
|
||||||
/* The KMI clock is the 24 MHz oscillator divided to 8MHz */
|
/* The KMI clock is the 24 MHz oscillator divided to 8MHz */
|
||||||
|
@ -80,7 +97,7 @@ kmiclk: kmiclk@1M {
|
||||||
compatible = "fixed-factor-clock";
|
compatible = "fixed-factor-clock";
|
||||||
clock-div = <3>;
|
clock-div = <3>;
|
||||||
clock-mult = <1>;
|
clock-mult = <1>;
|
||||||
clocks = <&xtal24mhz>;
|
clocks = <&cm24mhz>;
|
||||||
};
|
};
|
||||||
|
|
||||||
/* The timer clock is the 24 MHz oscillator divided to 1MHz */
|
/* The timer clock is the 24 MHz oscillator divided to 1MHz */
|
||||||
|
@ -89,7 +106,7 @@ timclk: timclk@1M {
|
||||||
compatible = "fixed-factor-clock";
|
compatible = "fixed-factor-clock";
|
||||||
clock-div = <24>;
|
clock-div = <24>;
|
||||||
clock-mult = <1>;
|
clock-mult = <1>;
|
||||||
clocks = <&xtal24mhz>;
|
clocks = <&cm24mhz>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue