aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-rockchip/rockchip.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-rockchip/rockchip.c')
-rw-r--r--arch/arm/mach-rockchip/rockchip.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-rockchip/rockchip.c b/arch/arm/mach-rockchip/rockchip.c
index 8ab9e0e7ff04..d226b71d21d5 100644
--- a/arch/arm/mach-rockchip/rockchip.c
+++ b/arch/arm/mach-rockchip/rockchip.c
@@ -24,6 +24,12 @@
24#include <asm/hardware/cache-l2x0.h> 24#include <asm/hardware/cache-l2x0.h>
25#include "core.h" 25#include "core.h"
26 26
27static void __init rockchip_dt_init(void)
28{
29 of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
30 platform_device_register_simple("cpufreq-dt", 0, NULL, 0);
31}
32
27static const char * const rockchip_board_dt_compat[] = { 33static const char * const rockchip_board_dt_compat[] = {
28 "rockchip,rk2928", 34 "rockchip,rk2928",
29 "rockchip,rk3066a", 35 "rockchip,rk3066a",
@@ -37,4 +43,5 @@ DT_MACHINE_START(ROCKCHIP_DT, "Rockchip Cortex-A9 (Device Tree)")
37 .l2c_aux_val = 0, 43 .l2c_aux_val = 0,
38 .l2c_aux_mask = ~0, 44 .l2c_aux_mask = ~0,
39 .dt_compat = rockchip_board_dt_compat, 45 .dt_compat = rockchip_board_dt_compat,
46 .init_machine = rockchip_dt_init,
40MACHINE_END 47MACHINE_END