linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: linuxppc-embedded@ozlabs.org
Cc: linuxppc-dev@ozlabs.org, Victor Gallardo <vgallard@amcc.com>,
	fkan@amcc.com
Subject: Re: [PATCH] Add AMCC Arches DTS
Date: Fri, 18 Jul 2008 16:24:10 +0200	[thread overview]
Message-ID: <200807181624.10338.sr@denx.de> (raw)
In-Reply-To: <1216186476-28018-1-git-send-email-fkan@amcc.com>

On Wednesday 16 July 2008, fkan@amcc.com wrote:
> From: Victor Gallardo <vgallard@amcc.com>
>
> ppc4xx: Add AMCC Arches DTS
>
> Signed-off-by: Victor Gallardo <vgallard@amcc.com>
> ---
>  arch/powerpc/boot/dts/arches.dts |  522
> ++++++++++++++++++++++++++++++++++++++ 1 files changed, 522 insertions(+),
> 0 deletions(-)
>  create mode 100644 arch/powerpc/boot/dts/arches.dts
>
> diff --git a/arch/powerpc/boot/dts/arches.dts

<snip>

> +				nor_flash@0,0 {
> +					compatible = "amd,s29gl256n", "cfi-flash";

So its a S29GL256 with 32MBytes...

> +					bank-width = <2>;
> +					reg = <0 000000 4000000>;
> +					#address-cells = <1>;
> +					#size-cells = <1>;
> +					partition@0 {
> +						label = "kernel";
> +						reg = <0 1e0000>;
> +					};
> +					partition@1e0000 {
> +						label = "dtb";
> +						reg = <1e0000 20000>;
> +					};
> +					partition@200000 {
> +						label = "ramdisk";
> +						reg = <200000 1400000>;
> +					};
> +					partition@1600000 {
> +						label = "jffs2";
> +						reg = <1600000 400000>;
> +					};
> +					partition@1a00000 {
> +						label = "user";
> +						reg = <1a00000 2560000>;
> +					};
> +					partition@3f60000 {
> +						label = "env";
> +						reg = <3f60000 40000>;
> +					};
> +					partition@3fa0000 {
> +						label = "u-boot";
> +						reg = <3fa0000 60000>;
> +					};

... and this partition scheme is for 64MByte.

<snip>

> +			EMAC0: ethernet@ef600e00 {
> +				device_type = "network";
> +				compatible = "ibm,emac-460gt", "ibm,emac4";

That's not correct anymore. A recent patch from Grant Erickson [ibm_newemac: 
Parameterize EMAC Multicast Match Handling] changed these compatible entries. 
You should use "ibm_emac4sync" here now.

> +				interrupt-parent = <&EMAC0>;
> +				interrupts = <0 1>;
> +				#interrupt-cells = <1>;
> +				#address-cells = <0>;
> +				#size-cells = <0>;
> +				interrupt-map = </*Status*/ 0 &UIC2 10 4
> +						 /*Wake*/   1 &UIC2 14 4>;
> +				reg = <ef600e00 70>;

The patch mentioned above also cfixed the incorrect size here. Please fix this 
too.

> +				local-mac-address = [000000000000]; /* Filled in by U-Boot */
> +				mal-device = <&MAL0>;
> +				mal-tx-channel = <0>;
> +				mal-rx-channel = <0>;
> +				cell-index = <0>;
> +				max-frame-size = <2328>;
> +				rx-fifo-size = <1000>;
> +				tx-fifo-size = <800>;
> +				phy-mode = "rgmii";

SGMII, right?

> +				phy-map = <00000000>;
> +				rgmii-device = <&RGMII0>;
> +				rgmii-channel = <0>;
> +				tah-device = <&TAH0>;
> +				tah-channel = <0>;
> +				has-inverted-stacr-oc;
> +				has-new-stacr-staopc;
> +			};

All EMAC related comment above are valid for all EMAC nodes of course.

Best regards,
Stefan

  parent reply	other threads:[~2008-07-18 14:24 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-16  5:34 [PATCH] Add AMCC Arches DTS fkan
2008-07-16 11:39 ` Josh Boyer
2008-07-18 19:32   ` Victor Gallardo
2008-07-18 19:42     ` Jon Loeliger
2008-07-18 21:15       ` Victor Gallardo
2008-07-18 14:24 ` Stefan Roese [this message]
2008-07-18 22:10   ` Victor Gallardo

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=200807181624.10338.sr@denx.de \
    --to=sr@denx.de \
    --cc=fkan@amcc.com \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=linuxppc-embedded@ozlabs.org \
    --cc=vgallard@amcc.com \
    /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).