提交 f95a2b3d 编写于 作者: H Heiko Stuebner

ARM: rockchip: enable arm-global-timer

RK2928 and RK3066 contain a dw_apb timer component, while the rk3188 uses
a slightly similar but still different timer component. But all of them
support the ARM-global-timer that got added as clocksource driver recently.

So enable support for it to get a working clocksource for rk3188.
Signed-off-by: NHeiko Stuebner <heiko@sntech.de>
上级 f75efdd7
...@@ -41,6 +41,13 @@ ...@@ -41,6 +41,13 @@
cache-level = <2>; cache-level = <2>;
}; };
global-timer@1013c200 {
compatible = "arm,cortex-a9-global-timer";
reg = <0x1013c200 0x20>;
interrupts = <GIC_PPI 11 0x304>;
clocks = <&dummy150m>;
};
local-timer@1013c600 { local-timer@1013c600 {
compatible = "arm,cortex-a9-twd-timer"; compatible = "arm,cortex-a9-twd-timer";
reg = <0x1013c600 0x20>; reg = <0x1013c600 0x20>;
......
...@@ -11,6 +11,8 @@ config ARCH_ROCKCHIP ...@@ -11,6 +11,8 @@ config ARCH_ROCKCHIP
select COMMON_CLK select COMMON_CLK
select GENERIC_CLOCKEVENTS select GENERIC_CLOCKEVENTS
select DW_APB_TIMER_OF select DW_APB_TIMER_OF
select ARM_GLOBAL_TIMER
select CLKSRC_ARM_GLOBAL_TIMER_SCHED_CLOCK
help help
Support for Rockchip's Cortex-A9 Single-to-Quad-Core-SoCs Support for Rockchip's Cortex-A9 Single-to-Quad-Core-SoCs
containing the RK2928, RK30xx and RK31xx series. containing the RK2928, RK30xx and RK31xx series.
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册