[PATCH] Add AMCC Arches DTS
Stefan Roese
sr at denx.de
Sat Jul 19 00:24:10 EST 2008
On Wednesday 16 July 2008, fkan at amcc.com wrote:
> From: Victor Gallardo <vgallard at amcc.com>
>
> ppc4xx: Add AMCC Arches DTS
>
> Signed-off-by: Victor Gallardo <vgallard at 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 at 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 at 0 {
> + label = "kernel";
> + reg = <0 1e0000>;
> + };
> + partition at 1e0000 {
> + label = "dtb";
> + reg = <1e0000 20000>;
> + };
> + partition at 200000 {
> + label = "ramdisk";
> + reg = <200000 1400000>;
> + };
> + partition at 1600000 {
> + label = "jffs2";
> + reg = <1600000 400000>;
> + };
> + partition at 1a00000 {
> + label = "user";
> + reg = <1a00000 2560000>;
> + };
> + partition at 3f60000 {
> + label = "env";
> + reg = <3f60000 40000>;
> + };
> + partition at 3fa0000 {
> + label = "u-boot";
> + reg = <3fa0000 60000>;
> + };
... and this partition scheme is for 64MByte.
<snip>
> + EMAC0: ethernet at 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
More information about the Linuxppc-embedded
mailing list