ARM: rockchip: add snoop-control-unit
authorHeiko Stuebner <heiko@sntech.de>
Mon, 17 Jun 2013 19:28:57 +0000 (21:28 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Sat, 1 Mar 2014 15:03:40 +0000 (16:03 +0100)
This adds the device-node and config select to enable the
scu in all Rockchip Cortex-A9 SoCs.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Tested-by: Ulrich Prinz <ulrich.prinz@googlemail.com>
arch/arm/boot/dts/rk3xxx.dtsi
arch/arm/mach-rockchip/Kconfig

index 0fcbcfd..0a3d5b1 100644 (file)
                compatible = "simple-bus";
                ranges;
 
+               scu@1013c000 {
+                       compatible = "arm,cortex-a9-scu";
+                       reg = <0x1013c000 0x100>;
+               };
+
                gic: interrupt-controller@1013d000 {
                        compatible = "arm,cortex-a9-gic";
                        interrupt-controller;
index cf073de..133410e 100644 (file)
@@ -5,6 +5,7 @@ config ARCH_ROCKCHIP
        select ARCH_REQUIRE_GPIOLIB
        select ARM_GIC
        select CACHE_L2X0
+       select HAVE_ARM_SCU if SMP
        select HAVE_ARM_TWD if SMP
        select HAVE_SMP
        select COMMON_CLK