diff options
author | Heiko Stuebner <heiko@sntech.de> | 2013-06-17 21:28:57 +0200 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2014-03-01 16:03:40 +0100 |
commit | f6f70cf707a4774d881cc6274c1b53f0e82d2233 (patch) | |
tree | df9f5acedc69472a5e2cade5361044b0a5fc0459 | |
parent | 38dbfb59d1175ef458d006556061adeaa8751b72 (diff) | |
download | op-kernel-dev-f6f70cf707a4774d881cc6274c1b53f0e82d2233.zip op-kernel-dev-f6f70cf707a4774d881cc6274c1b53f0e82d2233.tar.gz |
ARM: rockchip: add snoop-control-unit
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>
-rw-r--r-- | arch/arm/boot/dts/rk3xxx.dtsi | 5 | ||||
-rw-r--r-- | arch/arm/mach-rockchip/Kconfig | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/rk3xxx.dtsi b/arch/arm/boot/dts/rk3xxx.dtsi index 0fcbcfd..0a3d5b1 100644 --- a/arch/arm/boot/dts/rk3xxx.dtsi +++ b/arch/arm/boot/dts/rk3xxx.dtsi @@ -26,6 +26,11 @@ 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; diff --git a/arch/arm/mach-rockchip/Kconfig b/arch/arm/mach-rockchip/Kconfig index cf073de..133410e 100644 --- a/arch/arm/mach-rockchip/Kconfig +++ b/arch/arm/mach-rockchip/Kconfig @@ -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 |