linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Scott Wood <scottwood@freescale.com>
To: Kumar Gala <galak@kernel.crashing.org>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: [PATCH] [POWERPC] 85xx: Port STX GP3 board over from arch/ppc
Date: Thu, 24 Jan 2008 14:19:39 -0600	[thread overview]
Message-ID: <20080124201939.GB3926@loki.buserror.net> (raw)
In-Reply-To: <Pine.LNX.4.64.0801240041530.22238@blarg.am.freescale.net>

On Thu, Jan 24, 2008 at 12:43:38AM -0600, Kumar Gala wrote:
> +			d-cache-size = <0x8000>;	// L1, 32K
> +			i-cache-size = <0x8000>;	// L1, 32K
> +			timebase-frequency = <0x4ead9a0>;
> +			bus-frequency = <0x13ab6680>;
> +			clock-frequency = <0x312c8040>;

Decimal, please.

> +	soc8560@fdf00000 {
> +		#address-cells = <1>;
> +		#size-cells = <1>;
> +		device_type = "soc";
> +		ranges = <0 0xfdf00000 0x100000>;
> +		reg = <0xfdf00000 0x1000>;

compatible = "fsl,mpc8560-immr", "simple-bus".
Also add "simple-bus" to the CPM node.

> +		bus-frequency = <0x13ab6680>;

Decimal, please -- if it needs to exist at all.

> @@ -49,7 +57,7 @@ config MPC8540
>  config MPC8560
>  	bool
>  	select CPM2
> -	default y if MPC8560_ADS
> +	default y if MPC8560_ADS || STX_GP3

Can we select this from 8560 boards, instead of a default y list?

> +static struct of_device_id __initdata of_bus_ids[] = {
> +	{ .name = "soc", },
> +	{ .type = "soc", },
> +	{ .name = "cpm", },
> +	{ .name = "localbus", },
> +	{},
> +};

compatible = "simple-bus".

> +/*
> + * Called very early, device-tree isn't unflattened
> + */
> +static int __init stx_gp3_probe(void)
> +{
> +        unsigned long root = of_get_flat_dt_root();
> +
> +        return of_flat_dt_is_compatible(root, "stx,gp3-8560");
> +}

Tabs, not spaces.

-Scott

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

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-24  6:43 [PATCH] [POWERPC] 85xx: Port STX GP3 board over from arch/ppc Kumar Gala
2008-01-24  7:06 ` Stephen Rothwell
2008-01-24 20:19 ` Scott Wood [this message]
2008-01-25  2:58   ` Kumar Gala

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=20080124201939.GB3926@loki.buserror.net \
    --to=scottwood@freescale.com \
    --cc=galak@kernel.crashing.org \
    --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).