]> git.karo-electronics.de Git - linux-beck.git/commitdiff
dts: versatile: Add sysregs node
authorRob Herring <robh@kernel.org>
Wed, 28 Jan 2015 17:56:32 +0000 (11:56 -0600)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 29 Jan 2015 13:02:16 +0000 (14:02 +0100)
The Versatile boards have the same sysregs as other ARM Ltd boards. Add
the nodes in order to enable support for 24MHz counter as sched_clock.

This is a minimal node definition as the existing sub node definition
used on VExpress has some issues raised by Linus W.

Signed-off-by: Rob Herring <robh@kernel.org>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: devicetree@vger.kernel.org
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
arch/arm/boot/dts/versatile-ab.dts

index 27d0d9c8adf3da724d9e64ba2e5229731a0b38eb..01f40197ea13c4cc03691ef65a18c7ee20eb1990 100644 (file)
                        #size-cells = <1>;
                        ranges = <0 0x10000000 0x10000>;
 
+                       sysreg@0 {
+                               compatible = "arm,versatile-sysreg", "syscon";
+                               reg = <0x00000 0x1000>;
+                       };
+
                        aaci@4000 {
                                compatible = "arm,primecell";
                                reg = <0x4000 0x1000>;