[PXA320] How to find I/O registers, base address of ASIX ethernet chip?

Daniel Mack
2010-02-08T10:15:24Z

On Mon, Feb 08, 2010 at 12:38:06PM +0300, Dennis Semakin wrote:
> 08.02.10, 10:13, "Uwe Kleine-K?nig" <u.kleine-koenig@pengutronix.de>:
> > This sounds like a missing clock. Ah, and Daniel already asked that,
> > too: "Did you switch on the clock for the static bus?"
> >
>
> Well... I yet do not know how to do this...

Try adding this sniplet to your lowlevel_init function in U-Boot:

/* enable clocks for NAND and static memory */
ldr r0, =CKENA
ldr r1, [r0]
orr r1, r1, #(CKENA_4_NAND | CKENA_9_SMC)
str r1, [r0]
ldr r1, [r0]

Daniel