From: Paul Gortmaker <paul.gortmaker@windriver.com>
To: linuxppc-dev@ozlabs.org
Cc: david@gibson.dropbear.id.au
Subject: Re: [PATCH 2/10] sbc8560: Add v1 device tree source for Wind River SBC8560 board
Date: Tue, 5 Feb 2008 11:53:09 -0500 [thread overview]
Message-ID: <20080205165308.GA6358@windriver.com> (raw)
In-Reply-To: <20080201075408.GC18684@localhost.localdomain>
In message: Re: [PATCH 2/10] sbc8560: Add v1 device tree source for Wind River SBC8560 board
on 01/02/2008 David Gibson wrote:
> On Thu, Jan 24, 2008 at 06:41:24PM -0500, Paul Gortmaker wrote:
> > This adds a v1 device tree source for the Wind River SBC8560 board. The
> > biggest difference between this and the MPC8560ADS reference platform
> > dts is the use of an external 16550 compatible UART instead of the CPM2.
> >
> > Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
>
> [snip]
> > +/dts-v1/;
> > +
> > +/ {
> > + model = "SBC8560";
> > + compatible = "SBC8560";
>
> This is not the conventional format for board-level compatible
> entries, which should generally be "vendor,model" and all in lower
> case.
No problem - I can change to "sbc8560" and "wrs,sbc8560" on this board
and others.
>
> [snip]
> > + enet0: ethernet@24000 {
> > + cell-index = <0>;
> > + device_type = "network";
> > + model = "TSEC";
> > + compatible = "gianfar";
>
> This looks like the old dodgy gianfar binding, and needs updating
> (mdio node will probably also need changes).
I thought I'd merged in all Kumar's updates to the gianfar nodes at that
point in time, but I'll go back and re-check.
>
> [snip]
> > + localbus@ff705000 {
> > + compatible = "fsl,mpc8560-localbus";
> > + #address-cells = <2>;
> > + #size-cells = <1>;
> > + reg = <0xff705000 0x100>; // BRx, ORx, etc.
> > +
> > + ranges = <
> > + 0x0 0x0 0xff800000 0x0800000 // 8MB boot flash
> > + 0x1 0x0 0xe4000000 0x4000000 // 64MB flash
> > + 0x3 0x0 0x20000000 0x4000000 // 64MB SDRAM
> > + 0x4 0x0 0x24000000 0x4000000 // 64MB SDRAM
> > + 0x5 0x0 0xfc000000 0x0c00000 // EPLD
> > + 0x6 0x0 0xe0000000 0x4000000 // 64MB flash
> > + 0x7 0x0 0x80000000 0x0200000 // ATM1,2
> > + >;
> > +
> > + epld@5,0 {
>
> I'm not entirely convinced on this two-level representation. I think
> the FSL people need to get together and define a binding (or set of
> bindings) for their various chipselect style external bus bridges.
I'd tried to capture what you'd outlined for the localbus node, and the
epld child seemed like a natural extension of that. I suspect that a
lot of boards would just have the localbus node and not the extra node
that fans things out a step further. There wasn't really any similar
precedent for that to work off of that I noticed. I'm agreeable to
change or restructuring if Kumar recommends re-using some standard as
set by the 4xx/EBC.
Paul.
>
> > + compatible = "wrs,epld-localbus";
> > + #address-cells = <2>;
> > + #size-cells = <1>;
> > + reg = <0x5 0x0 0xc00000>;
> > + ranges = <
> > + 0x0 0x0 0x5 0x000000 0x1fff // LED disp.
> > + 0x1 0x0 0x5 0x100000 0x1fff // switches
> > + 0x2 0x0 0x5 0x200000 0x1fff // ID reg.
> > + 0x3 0x0 0x5 0x300000 0x1fff // status reg.
> > + 0x4 0x0 0x5 0x400000 0x1fff // reset reg.
> > + 0x5 0x0 0x5 0x500000 0x1fff // Wind port
> > + 0x7 0x0 0x5 0x700000 0x1fff // UART #1
> > + 0x8 0x0 0x5 0x800000 0x1fff // UART #2
> > + 0x9 0x0 0x5 0x900000 0x1fff // RTC
> > + 0xb 0x0 0x5 0xb00000 0x1fff // EEPROM
> > + >;
>
> --
> David Gibson | I'll have my music baroque, and my code
> david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
> | _way_ _around_!
> http://www.ozlabs.org/~dgibson
next prev parent reply other threads:[~2008-02-05 16:53 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-24 23:41 [PATCH 0/10] Support for SBC834x/8548/8560 Wind River Boards Paul Gortmaker
[not found] ` <e3ccba7097a77e66f07663fe9d1f174c06183528.1201217172.git.paul.gortmaker@windriver.com>
2008-01-24 23:41 ` [PATCH 1/10] sbc8560: add support for Wind River SBC8560 in arch/powerpc Paul Gortmaker
[not found] ` <e314406ab20b7a8fd11365f7475e3cc9175d2b72.1201217172.git.paul.gortmaker@windriver.com>
2008-01-24 23:41 ` [PATCH 3/10] CPM2: Make support for the CPM2 optional on 8560 based boards Paul Gortmaker
2008-01-25 0:15 ` Scott Wood
2008-01-25 0:20 ` Paul Gortmaker
[not found] ` <e9e77b397953132bd24e0fe2e83cb059ba69b881.1201217172.git.paul.gortmaker@windriver.com>
2008-01-24 23:41 ` [PATCH 4/10] sbc8560: Add default .config file for Wind River SBC8560 Paul Gortmaker
[not found] ` <deb53dafb980045ef6ec30e5c1bf97f4407e04cf.1201217172.git.paul.gortmaker@windriver.com>
2008-01-24 23:41 ` [PATCH 5/10] sbc8548: Add basic support for Wind River SBC8548 as powerpc Paul Gortmaker
[not found] ` <2f25b75cad6c228a687093741f4ed1c5d1f1d4e7.1201217172.git.paul.gortmaker@windriver.com>
2008-01-24 23:41 ` [PATCH 6/10] sbc8548: Add v1 device tree source for Wind River SBC8548 board Paul Gortmaker
[not found] ` <93c8075ef9371c69ca336581c20ae0c8d27a3646.1201217172.git.paul.gortmaker@windriver.com>
2008-01-24 23:41 ` [PATCH 7/10] sbc8548: Add default .config file for Wind River SBC8548 Paul Gortmaker
[not found] ` <14dfe83746b13d3704894f8198001bd5f704df05.1201217172.git.paul.gortmaker@windriver.com>
2008-01-24 23:41 ` [PATCH 8/10] sbc834x: Add support for Wind River SBC834x boards Paul Gortmaker
[not found] ` <331a875ebbfcf28f26707c86fa904953298e240b.1201217172.git.paul.gortmaker@windriver.com>
2008-01-24 23:41 ` [PATCH 9/10] sbc834x: Add device tree source for Wind River SBC834x board Paul Gortmaker
[not found] ` <3e5c0cb973367b8ec650620a1357448a380f7dc7.1201217172.git.paul.gortmaker@windriver.com>
2008-01-24 23:41 ` [PATCH 10/10] sbc834x: Add default config file for Wind River SBC8349 board Paul Gortmaker
[not found] ` <7107e511a0f989ad55335855fa0f241f09eff52f.1201217172.git.paul.gortmaker@windriver.com>
2008-01-24 23:41 ` [PATCH 2/10] sbc8560: Add v1 device tree source for Wind River SBC8560 board Paul Gortmaker
2008-02-01 7:54 ` David Gibson
2008-02-01 14:46 ` Kumar Gala
2008-02-05 2:40 ` David Gibson
2008-02-05 15:44 ` Kumar Gala
2008-02-06 1:06 ` David Gibson
2008-02-05 16:53 ` Paul Gortmaker [this message]
2008-01-25 8:38 ` [PATCH 0/10] Support for SBC834x/8548/8560 Wind River Boards 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=20080205165308.GA6358@windriver.com \
--to=paul.gortmaker@windriver.com \
--cc=david@gibson.dropbear.id.au \
--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).