[U-Boot] [PATCH 10/12] dt: socfpga: Import and enable Arria V DK DTS

Dinh Nguyen dinguyen at opensource.altera.com
Sun Jan 18 07:21:34 CET 2015



On 12/31/14 1:14 PM, Marek Vasut wrote:
> Import DTS for Arria V development kit and enable support
> for DT. The DT is imported from Linux 3.19-rc1 as of commit
> 97bf6af1f928216fd6c5a66e8a57bfa95a659672 .
> 
> Signed-off-by: Marek Vasut <marex at denx.de>
> Cc: Chin Liang See <clsee at opensource.altera.com>
> Cc: Dinh Nguyen <dinguyen at opensource.altera.com>
> Cc: Pavel Machek <pavel at denx.de>
> Cc: Stefan Roese <sr at denx.de>
> Cc: Vince Bridgers <vbridger at opensource.altera.com>
> ---
>  arch/arm/dts/Makefile                 |  1 +
>  arch/arm/dts/socfpga_arria5.dtsi      | 34 ++++++++++++++++
>  arch/arm/dts/socfpga_arria5_socdk.dts | 74 +++++++++++++++++++++++++++++++++++
>  configs/socfpga_arria5_defconfig      |  2 +
>  4 files changed, 111 insertions(+)
>  create mode 100644 arch/arm/dts/socfpga_arria5.dtsi
>  create mode 100644 arch/arm/dts/socfpga_arria5_socdk.dts
> 
> diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
> index c851d65..2a84323 100644
> --- a/arch/arm/dts/Makefile
> +++ b/arch/arm/dts/Makefile
> @@ -49,6 +49,7 @@ dtb-$(CONFIG_ZYNQ) += zynq-zc702.dtb \
>  dtb-$(CONFIG_AM33XX) += am335x-boneblack.dtb
>  
>  dtb-$(CONFIG_SOCFPGA) +=				\
> +	socfpga_arria5_socdk.dtb			\
>  	socfpga_cyclone5_socdk.dtb			\
>  	socfpga_cyclone5_socrates.dtb
>  
> diff --git a/arch/arm/dts/socfpga_arria5.dtsi b/arch/arm/dts/socfpga_arria5.dtsi
> new file mode 100644
> index 0000000..5175f03
> --- /dev/null
> +++ b/arch/arm/dts/socfpga_arria5.dtsi
> @@ -0,0 +1,34 @@
> +/*
> + *  Copyright (C) 2013 Altera Corporation <www.altera.com>

Nit: extra space before "Copyright".

> + *
> + * SPDX-License-Identifier:	GPL-2.0+
> + */
> +
> +/dts-v1/;
> +/* First 4KB has trampoline code for secondary cores. */
> +/memreserve/ 0x00000000 0x0001000;
> +#include "socfpga.dtsi"
> +
> +/ {
> +	soc {
> +		clkmgr at ffd04000 {
> +			clocks {
> +				osc1 {
> +					clock-frequency = <25000000>;
> +				};
> +			};
> +		};
> +
> +		mmc0: dwmmc0 at ff704000 {
> +			num-slots = <1>;
> +			broken-cd;
> +			bus-width = <4>;
> +			cap-mmc-highspeed;
> +			cap-sd-highspeed;
> +		};
> +
> +		sysmgr at ffd08000 {
> +			cpu1-start-addr = <0xffd080c4>;
> +		};
> +	};
> +};
> diff --git a/arch/arm/dts/socfpga_arria5_socdk.dts b/arch/arm/dts/socfpga_arria5_socdk.dts
> new file mode 100644
> index 0000000..4e529a1
> --- /dev/null
> +++ b/arch/arm/dts/socfpga_arria5_socdk.dts
> @@ -0,0 +1,74 @@
> +/*
> + *  Copyright (C) 2013 Altera Corporation <www.altera.com>

Same nit

Dinh


More information about the U-Boot mailing list