pwm: enable rk_pwm0

This commit is contained in:
许盛飞
2014-03-19 18:15:01 +08:00
parent d630168627
commit 24b42b9115
2 changed files with 5 additions and 1 deletions

View File

@@ -421,6 +421,10 @@
};
};
&pwm0 {
status = "okay";
};
&pwm1 {
status = "okay";
};

View File

@@ -118,7 +118,7 @@ static void __init rk3288_dt_map_io(void)
rockchip_soc_id = ROCKCHIP_SOC_RK3288;
/* rkpwm is used instead of old pwm */
//writel_relaxed(0x00010001, RK_GRF_VIRT + RK3288_GRF_SOC_CON2);
writel_relaxed(0x00010001, RK_GRF_VIRT + RK3288_GRF_SOC_CON2);
#ifdef CONFIG_SMP
/* enable fast boot */