From: Dave Kleikamp <shaggy@linux.vnet.ibm.com>
To: David Gibson <david@gibson.dropbear.id.au>
Cc: linuxppc-dev@lists.ozlabs.org
Subject: Re: [PATCH V2 6/6] powerpc/476: Create a dts files for two 476 AMP instances under ISS
Date: Wed, 09 Feb 2011 17:03:12 -0600 [thread overview]
Message-ID: <1297292592.14457.6.camel@shaggy-w500> (raw)
In-Reply-To: <20110202024315.GB3032@yookeroo>
On Wed, 2011-02-02 at 13:43 +1100, David Gibson wrote:
> On Tue, Feb 01, 2011 at 12:48:46PM -0600, Dave Kleikamp wrote:
> > These are completely independent OS instances, each running on 2
> > cores.
>
> [snip]
> > +/memreserve/ 0x01f00000 0x00100000;
>
> A comment describing what this reserved section is for would be good.
I with I knew what it was for. I've blindly carried it along for a
while. Removing it doesn't appear to do any harm. Ben, any idea why
this was ever in here?
> > +/ {
> > + #address-cells = <2>;
> > + #size-cells = <1>;
> > + model = "ibm,iss-4xx";
> > + compatible = "ibm,iss-4xx", "ibm,47x-AMP";
> > + dcr-parent = <&{/cpus/cpu@0}>;
> > +
> > + aliases {
> > + serial0 = &UART0;
> > + };
> > +
> > + cpus {
> > + #address-cells = <1>;
> > + #size-cells = <0>;
> > +
> > + cpu@0 {
> > + device_type = "cpu";
> > + model = "PowerPC,4xx"; // real CPU changed in sim
>
> If the comment is true, then it's probably simpler to just omit the
> model property. I'm pretty sure nothing will look at it.
It doesn't appear to be true. Another bit I've been carrying along
without checking it. Removing the comment.
>
> > + reg = <0>;
> > + clock-frequency = <100000000>; // 100Mhz :-)
> > + timebase-frequency = <100000000>;> + i-cache-line-size = <32>;
> > + d-cache-line-size = <32>;
> > + i-cache-size = <32768>;
> > + d-cache-size = <32768>;
> > + dcr-controller;
> > + dcr-access-method = "native";
> > + status = "ok";
>
> Should be "okay" rather than "ok".
okay :-)
>
> [snip]
> > + UART0: serial@40000200 {
> > + device_type = "serial";
> > + compatible = "ns16550a";
> > + reg = <0x40000200 0x00000008>;
> > + virtual-reg = <0xe0000200>;
> > + clock-frequency = <11059200>;
> > + current-speed = <115200>;
> > + interrupt-parent = <&MPIC>;
> > + interrupts = <0x0 0x2>;
> > + };
> > + };
> > + };
> > +
> > + nvrtc {
> > + compatible = "ds1743-nvram", "ds1743", "rtc-ds1743";
> > + reg = <0 0xEF703000 0x2000>;
> > + };
> > +
> > + chosen {
> > + linux,stdout-path = "/plb/opb/serial@40000200";
>
> You can use a string reference here:
> linux,stdout-path = &UART0;
no problem
Shaggy
--
Dave Kleikamp
IBM Linux Technology Center
prev parent reply other threads:[~2011-02-09 23:05 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-01 18:48 [PATCH V2 0/6] powerpc: AMP support for 47x Dave Kleikamp
2011-02-01 18:48 ` [PATCH V2 1/6] powerpc: Move udbg_early_init() after early_init_devtree() Dave Kleikamp
2011-02-02 23:06 ` David Gibson
2011-02-03 0:00 ` Dave Kleikamp
2011-02-07 8:29 ` David Gibson
2011-03-02 3:37 ` Benjamin Herrenschmidt
2011-03-02 13:03 ` Dave Kleikamp
2011-02-01 18:48 ` [PATCH V2 2/6] powerpc/44x: allow override to hard-coded uart address Dave Kleikamp
2011-02-01 18:48 ` [PATCH V2 3/6] powerpc/47x: allow kernel to be loaded in higher physical memory Dave Kleikamp
2011-02-02 7:45 ` Kumar Gala
2011-02-09 22:59 ` Dave Kleikamp
2011-02-01 18:48 ` [PATCH V2 4/6] powerpc/44x: don't use tlbivax on AMP systems Dave Kleikamp
2011-02-02 7:48 ` Kumar Gala
2011-02-02 13:19 ` Dave Kleikamp
2011-02-02 23:08 ` David Gibson
2011-02-02 23:53 ` Dave Kleikamp
2011-02-03 5:03 ` David Gibson
2011-02-03 23:15 ` Dave Kleikamp
2011-02-04 2:22 ` Timur Tabi
2011-02-07 8:30 ` David Gibson
2011-02-04 13:56 ` Josh Boyer
2011-02-04 14:44 ` Dave Kleikamp
2011-02-01 18:48 ` [PATCH V2 5/6] powerpc/44x: boot wrapper: allow kernel to load into non-zero address Dave Kleikamp
2011-02-01 19:13 ` Scott Wood
2011-02-01 19:41 ` Dave Kleikamp
2011-02-04 14:07 ` Josh Boyer
2011-02-04 14:44 ` Dave Kleikamp
2011-02-01 18:48 ` [PATCH V2 6/6] powerpc/476: Create a dts files for two 476 AMP instances under ISS Dave Kleikamp
2011-02-02 2:43 ` David Gibson
2011-02-09 23:03 ` Dave Kleikamp [this message]
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=1297292592.14457.6.camel@shaggy-w500 \
--to=shaggy@linux.vnet.ibm.com \
--cc=david@gibson.dropbear.id.au \
--cc=linuxppc-dev@lists.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