public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Steven A. Falco <sfalco@harris.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH] sequoia uarts
Date: Fri, 01 Aug 2008 16:19:32 -0400	[thread overview]
Message-ID: <48936FD4.3010802@harris.com> (raw)

I have verified that the Sequoia (440EPx) does not have its UARTs
properly configured.  The attached patch corrects this by setting three
bits in SDR0_PFC1 to enable 4-wire mode, and to select cts/rts
functionality for the UARTs.  Also, I modified the GPIO settings for
pins 34-37 to conform to the tables in section 31 of the 440EPx users
manual.

Here is a dump of the registers once the patch was made.  I've verified
that these match the users manual.  Also, my Sequoia board works. :-)

=> getidcr e.f 4101
000e.000f-4101 Read  034c100f
=> md.l ef600c00 1
ef600c00: 00000000    ....
=> md.l ef600c04 1
ef600c04: d6000000    ....
=> md.l ef600c08 1
ef600c08: 52180000    R...
=> md.l ef600c10 1
ef600c10: 00000000    ....
=>  md.l ef600c40 1
ef600c40: 00000000    ....
=> md.l ef600c38 1
ef600c38: 04010000    ....
=>  md.l ef600c30 1
ef600c30: 00405550    . at UP

    Signed-off-by: Steven A. Falco <sfalco@harris.com>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: sequoia.patch
Type: text/x-patch
Size: 2521 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20080801/f196eceb/attachment.bin 

             reply	other threads:[~2008-08-01 20:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-01 20:19 Steven A. Falco [this message]
2008-08-01 20:30 ` [U-Boot-Users] [PATCH] sequoia uarts Wolfgang Denk
2008-08-04 13:45   ` Steven A. Falco
2008-08-06  9:46   ` Stefan Roese
2008-08-06 13:14     ` Steven A. Falco
2008-08-06 14:55       ` Stefan Roese

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48936FD4.3010802@harris.com \
    --to=sfalco@harris.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox