All of lore.kernel.org
 help / color / mirror / Atom feed
From: 조기성 <k9@tibetsystem.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] PPC440EP UART 4port enble
Date: Tue, 11 Nov 2008 20:03:40 +0900	[thread overview]
Message-ID: <001a01c943ed$27ca4f90$775eeeb0$@com> (raw)
In-Reply-To: <200811110824.10776.sr@denx.de>

Stefan,
Thank you for the feedback 

I have another question. 
UART 0,1,2,3 works fine.
UART3 TX works good, but UART RX is not working. 

TX data is success, but RX is not working . 
maybe you can point me to the right direction.

I use pcs440ep.h 's CONFIG_SYS_4xx_GPIO_TABLE , 

Best Regards. 
Steven. 

/* GPIO Core 1 */ \ 
{GPIO1_BASE, GPIO_IN, GPIO_SEL, GPIO_OUT_NO_CHG}, /* GPIO32 USB2D_OPMODE0 */ \ 
{GPIO1_BASE, GPIO_IN, GPIO_SEL, GPIO_OUT_NO_CHG}, /* GPIO33 USB2D_OPMODE1 */ \ 
{GPIO1_BASE, GPIO_OUT, GPIO_ALT3, GPIO_OUT_NO_CHG}, /* GPIO34 UART0_DCD_N UART1_DSR_CTS_N UART2_SOUT*/ \ 
{GPIO1_BASE, GPIO_IN, GPIO_ALT3, GPIO_OUT_NO_CHG}, /* GPIO35 UART0_8PIN_DSR_N UART1_RTS_DTR_N UART2_SIN*/ \ 
{GPIO1_BASE, GPIO_IN, GPIO_ALT3, GPIO_OUT_NO_CHG}, /* GPIO36 UART0_8PIN_CTS_N UART3_SIN*/ \ 
{GPIO1_BASE, GPIO_OUT, GPIO_ALT3, GPIO_OUT_NO_CHG}, /* GPIO37 UART0_RTS_N */ \ 
{GPIO1_BASE, GPIO_OUT, GPIO_ALT2, GPIO_OUT_NO_CHG}, /* GPIO38 UART0_DTR_N UART1_SOUT */ \ 
{GPIO1_BASE, GPIO_IN, GPIO_ALT2, GPIO_OUT_NO_CHG}, /* GPIO39 UART0_RI_N UART1_SIN */ \

-----Original Message-----
From: Stefan Roese [mailto:sr at denx.de] 
Sent: Tuesday, November 11, 2008 4:24 PM
To: u-boot at lists.denx.de; k9 at tibetsystem.com
Subject: Re: [U-Boot] PPC440EP UART 4port enble

On Tuesday 11 November 2008, ??? wrote:
> We have designed a new PPC440EP yosemite based board.
> But we are using UART 4port tx,rx( 2pin UART0, 1, 2, 3)
> But current It only works 2port(UART0, UART1).
> I read user manual then changed  u-boot's GPIO bit flag blows.
> But it's now working, How can I do that?

I suggest that you switch in your board port to the GPIO multiplexing 
initialization via the CONFIG_SYS_4xx_GPIO_TABLE definition. As an example 
for 440EP take a look at the pcs440ep board port. It's easier and less error 
prone to change the pin configuration in this table.

Best regards,
Stefan

=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================

  reply	other threads:[~2008-11-11 11:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-11  6:34 [U-Boot] PPC440EP UART 4port enble 조기성
2008-11-11  7:24 ` Stefan Roese
2008-11-11 11:03   ` 조기성 [this message]
2008-11-11 13:12     ` 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='001a01c943ed$27ca4f90$775eeeb0$@com' \
    --to=k9@tibetsystem.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.