linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Scott Wood <scottwood@freescale.com>
To: Boris Shteinbock <bshtein@yahoo.com>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: powerpc port for sbc8260-based board problem
Date: Wed, 7 May 2008 13:22:09 -0500	[thread overview]
Message-ID: <20080507182209.GA2710@loki.buserror.net> (raw)
In-Reply-To: <733382.15174.qm@web50603.mail.re2.yahoo.com>

On Wed, May 07, 2008 at 01:31:52AM -0700, Boris Shteinbock wrote:
>      /* Monitor port/SMC1 */
>      smc1: serial@11a80 {
>        device_type = "serial";
>        compatible = "fsl,mpc8260-smc-uart",
>                     "fsl,cpm2-smc-uart";
>        reg = <0x11a80 0x20 0x1100 0x40>;

The second reg resource depends on where your firmware set up the SMC pram
regs.  With U-boot, it's usually zero.

Note that as of 2.6.26-rc1, this is set up dynamically instead, and the
second resource should be 0x87fc 2.

> Can someone, also, explain, how "fsl, cpm-command" field works,

It's the device-specific portion of the value that gets written to the CPM
command register (page, sub-block, and mcc channel).

> booting-without-of document doesn't provide much information. I feel, that
> just copying this value from ep8248.dts isn't right somehow.

It should be the same.

-Scott

  parent reply	other threads:[~2008-05-07 18:21 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-07  8:31 powerpc port for sbc8260-based board problem Boris Shteinbock
2008-05-07 17:38 ` Sergej Stepanov
2008-05-07 18:22 ` Scott Wood [this message]
2008-05-07 18:40   ` Sergej Stepanov
2008-05-07 18:57     ` Scott Wood
2008-05-07 19:26       ` Sergej Stepanov
2008-05-07 19:34         ` Scott Wood
2008-05-07 19:40           ` Sergej Stepanov
2008-05-07 19:42             ` Scott Wood
2008-05-07 19:44               ` Scott Wood
2008-05-08  6:22                 ` Sergej Stepanov
  -- strict thread matches above, loose matches on Subject: below --
2008-05-07 18:42 Boris Shteinbock
2008-05-07 18:53 ` Scott Wood

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=20080507182209.GA2710@loki.buserror.net \
    --to=scottwood@freescale.com \
    --cc=bshtein@yahoo.com \
    --cc=linuxppc-dev@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).