linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Marco Schramel <Schramel.Linux@go.bartec.de>
To: Steven Blakeslee <BlakesleeS@embeddedplanet.com>
Cc: PPC_LINUX <linuxppc-embedded@ozlabs.org>
Subject: Re: CPM uart
Date: Thu, 14 Apr 2005 15:34:10 +0200	[thread overview]
Message-ID: <200504141534.10883.Schramel.Linux@go.bartec.de> (raw)
In-Reply-To: <1628E43D99629C46988BE46087A3FBB9205B50@ep-01.EmbeddedPlanet.local>

Hi Steven,

thank you for your answer.


> The selection of the BRGs is hard coded last time I checked.  When you
> add SMC1 and SMC2 it may use the wrong BRG for SCC1.  Check the BRG
> registers, the cmx_smr register and cmx_scr register and make sure
> everything matches up. 

But this original code seems to be ok.

static int rs_brg_map[] = {
	6,	/* BRG7 for SMC1 */
	7,	/* BRG8 for SMC2 */
	0,	/* BRG1 for SCC1 */
	1,	/* BRG2 for SCC2 */
	2,	/* BRG3 for SCC3 */
};


	/* Wire BRG7 to SMC1 and BRG8 to SMC2 */
	immap->im_cpmux.cmx_smr = 0x11;

Best regards
Marco

       reply	other threads:[~2005-04-14 13:04 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1628E43D99629C46988BE46087A3FBB9205B50@ep-01.EmbeddedPlanet.local>
2005-04-14 13:34 ` Marco Schramel [this message]
2005-04-14 13:55   ` CPM uart Dan Malek
2005-04-14  7:26 Marco Schramel
2005-04-14 12:01 ` Dan Malek
2005-04-14 12:54   ` Marco Schramel
2005-04-14 15:51     ` Dan Malek
2005-04-14 23:24     ` Ricardo Scop
2005-04-15  2:50       ` Dan Malek
2005-04-15  8:38         ` Marco Schramel

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=200504141534.10883.Schramel.Linux@go.bartec.de \
    --to=schramel.linux@go.bartec.de \
    --cc=BlakesleeS@embeddedplanet.com \
    --cc=linuxppc-embedded@ozlabs.org \
    /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;
as well as URLs for NNTP newsgroup(s).