linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Scott Wood <scottwood@freescale.com>
To: Heiko Schocher <hs@denx.de>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: [PATCH 3/4] 82xx: MGCOGE support
Date: Tue, 29 Jan 2008 13:20:33 -0600	[thread overview]
Message-ID: <20080129192033.GB4051@loki.buserror.net> (raw)
In-Reply-To: <479EFE71.5090201@denx.de>

On Tue, Jan 29, 2008 at 11:22:41AM +0100, Heiko Schocher wrote:
> +	model = "MGCOGE";
> +	compatible = "fsl,mgcoge";

keymile,mgcoge

> +		PowerPC,8247@0 {
[snip]
> +		compatible = "fsl,mpc8248-localbus",

All of these 8248s should be 8247.

> +		// Temporary -- will go away once kernel uses ranges for get_immrbase().
> +		reg = <0xf0000000 0x00053000>;

The patch to use ranges for get_immrbase() just went in, so we can drop this
now.

> +				data@0 {
> +					compatible = "fsl,cpm-muram-data";
> +					reg = <0 0x1100 0x1140
> +					       0xec0 0x9800 0x800>;

This doesn't look right.  You're excluding 0x40 bytes at 0x1100, which is
where planetcore puts SMC1.  However, you're using SMC2 -- and I'm guessing
aren't using planetcore, since this isn't an embedded planet board.

If you're using u-boot, this should be:

reg = <0x80 0x1f80 0x9800 0x800>;

> +			/* Monitor port/SMC2 */
> +			smc2: serial@11a90 {
> +				device_type = "serial";
> +				compatible = "fsl,mpc8248-smc-uart",
> +				             "fsl,cpm2-smc-uart";
> +				reg = <0x11a90 0x20 0x1100 0x40 0x88fc 4>;

If you're using u-boot, this should be <0x11a90 0x20 0x40 0x40>.

> +				current-speed = <0x1c200>;

This should be decimal.

-Scott

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

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.813.1200609119.6908.linuxppc-dev@ozlabs.org>
2008-01-29 10:20 ` [PATCH 1/4] 82xx: MGCOGE support Heiko Schocher
2008-01-29 10:21 ` [PATCH 2/4] " Heiko Schocher
2008-01-29 10:22 ` [PATCH 3/4] " Heiko Schocher
2008-01-29 19:20   ` Scott Wood [this message]
2008-01-29 19:26     ` Jon Loeliger
2008-01-29 10:22 ` [PATCH 4/4] " Heiko Schocher
2008-01-29 19:24   ` Scott Wood
2008-01-29 19:31     ` Scott Wood
2008-01-30  9:49   ` [PATCH v2] " Heiko Schocher
2008-02-01 20:45     ` Scott Wood
2008-03-07 13:12       ` Heiko Schocher
2008-03-07 14:55         ` Kumar Gala
2008-03-09  9:53       ` [PATCH v3] " Heiko Schocher

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=20080129192033.GB4051@loki.buserror.net \
    --to=scottwood@freescale.com \
    --cc=hs@denx.de \
    --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).