summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/integratorap.dts
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2016-08-04 17:17:08 +0300
committerLinus Walleij <linus.walleij@linaro.org>2016-08-31 10:30:15 +0300
commit257417ec7485b8da4fe5cd9ae350c2bb19728150 (patch)
tree3bc9242e353ef03f3456bc050d193c404204cc12 /arch/arm/boot/dts/integratorap.dts
parent49eb1efadc47f49b0f43a4725f116fa61aba206b (diff)
downloadlinux-257417ec7485b8da4fe5cd9ae350c2bb19728150.tar.xz
ARM: dts: Add the core module clocks to Integrator/AP
This adds the clocks on the core module to the Integrator/AP board: a 24MHz chrystal, and two special-purpose ICST525 dividers, one used to clock the CPU core and another auxilary oscillator. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/integratorap.dts')
-rw-r--r--arch/arm/boot/dts/integratorap.dts29
1 files changed, 28 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/integratorap.dts b/arch/arm/boot/dts/integratorap.dts
index 16266722ce7c..ba2f9406660f 100644
--- a/arch/arm/boot/dts/integratorap.dts
+++ b/arch/arm/boot/dts/integratorap.dts
@@ -19,7 +19,7 @@
bootargs = "root=/dev/ram0 console=ttyAM0,38400n8 earlyprintk";
};
- /* 24 MHz chrystal on the core module */
+ /* 24 MHz chrystal on the Integrator/AP development board */
xtal24mhz: xtal24mhz@24M {
#clock-cells = <0>;
compatible = "fixed-clock";
@@ -42,6 +42,33 @@
clocks = <&xtal24mhz>;
};
+ core-module@10000000 {
+ /* 24 MHz chrystal on the core module */
+ cm24mhz: cm24mhz@24M {
+ #clock-cells = <0>;
+ compatible = "fixed-clock";
+ clock-frequency = <24000000>;
+ };
+
+ /* Oscillator on the core module, clocks the CPU core */
+ cmosc: cmosc@24M {
+ compatible = "arm,syscon-icst525-integratorap-cm";
+ #clock-cells = <0>;
+ lock-offset = <0x14>;
+ vco-offset = <0x08>;
+ clocks = <&cm24mhz>;
+ };
+
+ /* Auxilary oscillator on the core module, 32.369MHz at boot */
+ auxosc: auxosc@24M {
+ compatible = "arm,syscon-icst525";
+ #clock-cells = <0>;
+ lock-offset = <0x14>;
+ vco-offset = <0x1c>;
+ clocks = <&cm24mhz>;
+ };
+ };
+
syscon {
compatible = "arm,integrator-ap-syscon";
reg = <0x11000000 0x100>;