[PATCH] Add AMCC Arches DTS

Josh Boyer jwboyer at linux.vnet.ibm.com
Wed Jul 16 21:39:13 EST 2008


On Tue, 15 Jul 2008 22:34:36 -0700
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 b/arch/powerpc/boot/dts/arches.dts
> new file mode 100644
> index 0000000..459cec2
> --- /dev/null
> +++ b/arch/powerpc/boot/dts/arches.dts
> @@ -0,0 +1,522 @@
> +/*
> + * Device Tree Source for AMCC Arches (dual 460GT board)
> + *
> + * (C) Copyright 2008
> + * Victor Gallardo, Applied Micro Circuits Corp., vgallardo at amcc.com.
> + * Adam Graham, Applied Micro Circuits Corp., agraham at amcc.com.
> + *
> + * Based on the glacier.dts file
> + * Stefan Roese <sr at denx.de>
> + * Copyright 2008 DENX Software Engineering
> + *
> + * See file CREDITS for list of people who contributed to this
> + * project.
> + *
> + * This program is free software; you can redistribute it and/or
> + * modify it under the terms of the GNU General Public License as
> + * published by the Free Software Foundation; either version 2 of
> + * the License, or (at your option) any later version.
> + *
> + * This program is distributed in the hope that it will be useful,
> + * but WITHOUT ANY WARRANTY; without even the implied warranty of
> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> + * GNU General Public License for more details.
> + *
> + * You should have received a copy of the GNU General Public License
> + * along with this program; if not, write to the Free Software
> + * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
> + * MA 02111-1307 USA
> + */
> +
> +/ {

Could you convert this to a dts-v1 file please?  All the in-tree DTS
files are dts-v1 and I'd very much like to keep it that way.

> +	#address-cells = <2>;
> +	#size-cells = <1>;
> +	model = "amcc,arches";
> +	compatible = "amcc,arches";
> +	dcr-parent = <&/cpus/cpu at 0>;
> +
> +	aliases {
> +		ethernet0 = &EMAC0;
> +		ethernet1 = &EMAC1;
> +		serial0 = &UART0;
> +		serial1 = &UART1;
> +	};
> +
> +	cpus {
> +		#address-cells = <1>;
> +		#size-cells = <0>;
> +
> +		cpu at 0 {
> +			device_type = "cpu";
> +			model = "PowerPC,460GT";
> +			reg = <0>;
> +			clock-frequency = <0>; /* Filled in by U-Boot */
> +			timebase-frequency = <0>; /* Filled in by U-Boot */
> +			i-cache-line-size = <20>;
> +			d-cache-line-size = <20>;
> +			i-cache-size = <8000>;
> +			d-cache-size = <8000>;
> +			dcr-controller;
> +			dcr-access-method = "native";
> +		};

If this is a dual-460GT, why is there only one CPU node listed?  Is it
simply because Linux will only see one CPU as it is an AMP
configuration?

josh


More information about the Linuxppc-embedded mailing list