[PATCH 2/2] powerpc/p2020rdb p1010rdb: lower spi flash freq to 40Mhz

Kumar Gala galak at kernel.crashing.org
Sat Mar 17 02:13:56 EST 2012


On Mar 15, 2012, at 12:40 PM, Sebastian Andrzej Siewior wrote:

> This is here most likely since the FSL bsp. Back in the FSL bsp it was
> set to 50Mhz and working. However the driver divided the SoC freq. only
> by 2. According to the TRM the platform clock (which the manual refers
> in its formula) is the system clock divided by two. So in the end it has
> to divide by 4 and this is what the fsl-spi driver in tree is doing.
> Since then the flash is not wokring I guess. After chaning the freq from
> 50Mhz to 40Mhz like others do then I can access the flash.
> 
> Signed-off-by: Sebastian Andrzej Siewior <bigeasy at linutronix.de>
> ---
> arch/powerpc/boot/dts/p1010rdb.dtsi |    2 +-
> arch/powerpc/boot/dts/p2020rdb.dts  |    2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)

applied

- k


More information about the Linuxppc-dev mailing list