pwm: enable rk_pwm0
author许盛飞 <xsf@rock-chips.com>
Wed, 19 Mar 2014 10:15:01 +0000 (18:15 +0800)
committer许盛飞 <xsf@rock-chips.com>
Wed, 19 Mar 2014 10:15:01 +0000 (18:15 +0800)
arch/arm/boot/dts/rk3288-tb.dts
arch/arm/mach-rockchip/rk3288.c

index a2011314c383d577f8291f2f704077ae0c457e35..ce0c92132f6b2802f16370a82345f4e3cc8c00b1 100755 (executable)
        };
 };
 
+&pwm0 {
+        status = "okay";
+};
+
 &pwm1 {
        status = "okay";
 };
index c3d366acd8b0a493b27d124cdc09d4df63ef175a..8070d96a636e0dfc42d625b991269c54531af5cc 100644 (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 */