]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: dts: add the Integrator/AP baseboard clocks
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 22 Aug 2016 09:16:57 +0000 (11:16 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 31 Aug 2016 07:30:15 +0000 (09:30 +0200)
The two clocks present on the Integrator/AP baseboard and
accessible through its system controller is the PCIv3 bridge
clock and the PCI bus clock. Define the proper device tree
nodes for these.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/boot/dts/integratorap.dts

index 33b253d5e244be4546853ff38cfbb32b018c5ac1..16266722ce7ce83d549ee39d745158c8444cf5dc 100644 (file)
                interrupt-parent = <&pic>;
                /* These are the logical module IRQs */
                interrupts = <9>, <10>, <11>, <12>;
+
+               /*
+                * SYSCLK clocks PCIv3 bridge, system controller and the
+                * logic modules.
+                */
+               sysclk: apsys@24M {
+                       compatible = "arm,syscon-icst525-integratorap-sys";
+                       #clock-cells = <0>;
+                       lock-offset = <0x1c>;
+                       vco-offset = <0x04>;
+                       clocks = <&xtal24mhz>;
+               };
+
+               /* One-bit control for the PCI bus clock (33 or 25 MHz) */
+               pciclk: pciclk@24M {
+                       compatible = "arm,syscon-icst525-integratorap-pci";
+                       #clock-cells = <0>;
+                       lock-offset = <0x1c>;
+                       vco-offset = <0x04>;
+                       clocks = <&xtal24mhz>;
+               };
        };
 
        timer0: timer@13000000 {