linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: David Gibson <david@gibson.dropbear.id.au>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: [PATCH 2/2] [POWERPC] 4xx: Add AMCC Haleakala (405EXr) dts
Date: Wed, 16 Jan 2008 06:04:56 +0100	[thread overview]
Message-ID: <200801160604.56766.sr@denx.de> (raw)
In-Reply-To: <20080116004642.GD4283@localhost.localdomain>

On Wednesday 16 January 2008, David Gibson wrote:
> On Tue, Jan 15, 2008 at 08:09:25AM +0100, Stefan Roese wrote:
> > The patch adds the Haleakala dts. The Haleakala is a stripped down
> > version of the Kilauea (405EX) with only one EMAC and only one PCIe
> > interface.
>
> [snip]
>
> > +			IIC0: i2c@ef600400 {
> > +				device_type = "i2c";
>
> No device_type here.

Ok.

> > +				compatible = "ibm,iic-405exr", "ibm,iic";
> > +				reg = <ef600400 14>;
> > +				interrupt-parent = <&UIC0>;
> > +				interrupts = <2 4>;
> > +			};
> > +
> > +			IIC1: i2c@ef600500 {
> > +				device_type = "i2c";
>
> Or here.

Ok.

> > +				compatible = "ibm,iic-405exr", "ibm,iic";
> > +				reg = <ef600500 14>;
> > +				interrupt-parent = <&UIC0>;
> > +				interrupts = <7 4>;
> > +			};
> > +
> > +
> > +			RGMII0: emac-rgmii@ef600b00 {
> > +				device_type = "rgmii-interface";
>
> And especially not here.

Ok.

Your comments are valid for some of the other 4xx dts files too. Should I 
create a patch that removes these device-types there too?

> > +				compatible = "ibm,rgmii-405exr", "ibm,rgmii";
> > +				reg = <ef600b00 104>;
> > +				has-mdio;
> > +			};
>
> [snip]
>
> > +		PCIE0: pciex@0a0000000 {
> > +			device_type = "pci";
> > +			#interrupt-cells = <1>;
> > +			#size-cells = <2>;
> > +			#address-cells = <3>;
> > +			compatible = "ibm,plb-pciex-405exr", "ibm,plb-pciex";
> > +			primary;
> > +			port = <0>; /* port number */
> > +			reg = <a0000000 20000000	/* Config space access */
> > +			       ef000000 00001000>;	/* Registers */
> > +			dcr-reg = <040 020>;
> > +			sdr-base = <400>;
>
> Oh, for crying out loud.  They put dcrs on the bridge as well as MMIO
> registers. *facepalm*

Yep. PCIe on 4xx has DCR, SDR *and* MMIO registers.

Best regards,
Stefan

  reply	other threads:[~2008-01-16  5:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-15  7:09 [PATCH 2/2] [POWERPC] 4xx: Add AMCC Haleakala (405EXr) dts Stefan Roese
2008-01-16  0:46 ` David Gibson
2008-01-16  5:04   ` Stefan Roese [this message]
2008-01-16  5:52     ` David Gibson
  -- strict thread matches above, loose matches on Subject: below --
2008-01-16  7:24 Stefan Roese

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=200801160604.56766.sr@denx.de \
    --to=sr@denx.de \
    --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).