summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/integratorap.dts
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2012-11-02 04:31:10 +0400
committerLinus Walleij <linus.walleij@linaro.org>2012-11-17 01:25:50 +0400
commite67ae6be734de909954e20317c38472af983b92c (patch)
tree646010180c98b8918e72d7d3ed388a1cfb37e02f /arch/arm/boot/dts/integratorap.dts
parent6f0c0580b70c89094b3422ba81118c7b959c7556 (diff)
downloadlinux-e67ae6be734de909954e20317c38472af983b92c.tar.xz
ARM: integrator: hook the AP into the SoC bus
This hooks the Integrator/AP into the SoC bus when booting from device tree, by mapping the AP controller registers first, then registering the SoC device, and then populating the device tree with the SoC device as parent. Introduce some helpers in the core to provide sysfs files detailing the use of the SoC ID which will later be reused by the Integrator/CP patch for the same bus grouping. Cc: Lee Jones <lee.jones@linaro.org> Acked-by: Arnd Bergmann <arnd@arndb.de> 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.dts5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/integratorap.dts b/arch/arm/boot/dts/integratorap.dts
index 61767757b50a..c9c3fa344647 100644
--- a/arch/arm/boot/dts/integratorap.dts
+++ b/arch/arm/boot/dts/integratorap.dts
@@ -18,6 +18,11 @@
bootargs = "root=/dev/ram0 console=ttyAM0,38400n8 earlyprintk";
};
+ syscon {
+ /* AP system controller registers */
+ reg = <0x11000000 0x100>;
+ };
+
timer0: timer@13000000 {
compatible = "arm,integrator-timer";
};