rockchip: rk3399: update PPLL and pmu_pclk frequency
authorKever Yang <kever.yang@rock-chips.com>
Fri, 23 Sep 2016 07:57:17 +0000 (15:57 +0800)
committerSimon Glass <sjg@chromium.org>
Sun, 2 Oct 2016 00:35:01 +0000 (18:35 -0600)
commit8389dcbf98b756d01b0b31679d3b83119382ac51
treece96b4776c29ca1ed30b5420fec5a738682edbf1
parente73e5fcd8498b5db7bb604ef2223d636a54505ff
rockchip: rk3399: update PPLL and pmu_pclk frequency

Update PPLL to 676MHz and PMU_PCLK to 48MHz, because:
1. 48MHz can make sure the pwm can get exact 50% duty ratio, but 99MHz
can not,
2. We think 48MHz is fast enough for pmu pclk and it is lower power cost
than 99MHz,
3. PPLL 676 MHz and PMU_PCLK 48MHz are the clock rate we are using
internally for kernel,it suppose not to change the bus clock like pmu_pclk
in kernel, so we want to change it in uboot.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Acked-by: Simon Glass <sjg@chromium.org>
arch/arm/include/asm/arch-rockchip/cru_rk3399.h