[U-Boot] [PATCH v2] ARM: zynq: Add support for SYZYGY Hub board

Michal Simek monstr at monstr.eu
Tue Oct 10 05:45:43 UTC 2017


On 28.9.2017 02:53, Tom McLeod wrote:
> Add the Zynq-based SYZYGY Hub board from Opal Kelly. The board
> contains a Xilinx Zynq xc7z012s SoC, 1GB DDR3 RAM, and supports
> booting from SD.
> 
> Signed-off-by: Tom McLeod <tom.mcleod at opalkelly.com>
> Cc: Michal Simek <monstr at monstr.eu>
> CC: Albert Aribaud <albert.u.boot at aribaud.net>
> ---
> Changes for v2:
>   - Append syzygy-hub dtb to the end of the Zynq section in the dts Makefile
>     as this appears to be the convention, if desired I can change this
>   - Add an opalkelly,syzygy-hub compatible line to the syzygy hub dts
>   - Clean up the ps7_init_gpl sources, removing old/unnecessary/unused code
>     and eliminating all checkpatch warnings/errors
> 
>  arch/arm/dts/Makefile                              |   3 +-
>  arch/arm/dts/zynq-syzygy-hub.dts                   |  72 ++++
>  board/opalkelly/zynq/MAINTAINERS                   |   6 +
>  board/opalkelly/zynq/Makefile                      |   9 +
>  board/opalkelly/zynq/board.c                       |   1 +
>  .../opalkelly/zynq/zynq-syzygy-hub/ps7_init_gpl.c  | 431 +++++++++++++++++++++
>  .../opalkelly/zynq/zynq-syzygy-hub/ps7_init_gpl.h  |  82 ++++
>  configs/syzygy_hub_defconfig                       |  57 +++
>  include/configs/syzygy_hub.h                       |  72 ++++
>  9 files changed, 732 insertions(+), 1 deletion(-)
>  create mode 100644 arch/arm/dts/zynq-syzygy-hub.dts
>  create mode 100644 board/opalkelly/zynq/MAINTAINERS
>  create mode 100644 board/opalkelly/zynq/Makefile
>  create mode 100644 board/opalkelly/zynq/board.c
>  create mode 100644 board/opalkelly/zynq/zynq-syzygy-hub/ps7_init_gpl.c
>  create mode 100644 board/opalkelly/zynq/zynq-syzygy-hub/ps7_init_gpl.h
>  create mode 100644 configs/syzygy_hub_defconfig
>  create mode 100644 include/configs/syzygy_hub.h
> 
> diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
> index 762429c..1a6a8ff 100644
> --- a/arch/arm/dts/Makefile
> +++ b/arch/arm/dts/Makefile
> @@ -135,7 +135,8 @@ dtb-$(CONFIG_ARCH_ZYNQ) += zynq-zc702.dtb \
>  	zynq-zc770-xm010.dtb \
>  	zynq-zc770-xm011.dtb \
>  	zynq-zc770-xm012.dtb \
> -	zynq-zc770-xm013.dtb
> +	zynq-zc770-xm013.dtb \
> +	zynq-syzygy-hub.dtb
>  dtb-$(CONFIG_ARCH_ZYNQMP) += \
>  	zynqmp-ep108.dtb			\
>  	zynqmp-zcu102-revA.dtb			\
> diff --git a/arch/arm/dts/zynq-syzygy-hub.dts b/arch/arm/dts/zynq-syzygy-hub.dts
> new file mode 100644
> index 0000000..ebd08b4
> --- /dev/null
> +++ b/arch/arm/dts/zynq-syzygy-hub.dts
> @@ -0,0 +1,72 @@
> +/*
> + * SYZYGY Hub DTS
> + *
> + *  Copyright (C) 2011 - 2015 Xilinx
> + *  Copyright (C) 2017 Opal Kelly Inc.
> + *
> + * SPDX-License-Identifier:	GPL-2.0+
> + */
> +/dts-v1/;
> +/include/ "zynq-7000.dtsi"
> +
> +/ {
> +	model = "SYZYGY Hub";
> +	compatible = "opalkelly,syzygy-hub", "xlnx,zynq-7000";

Patch looks good but only this prefix needs to be added to the Linux
kernel. It should be present in this file. Please send the patch and
when it is added to linux-next I will add your patch

https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/tree/Documentation/devicetree/bindings/vendor-prefixes.txt?h=next-20171009

Thanks,
Michal
-- 
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Xilinx Microblaze
Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs
U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP SoCs


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20171010/6307e187/attachment.sig>


More information about the U-Boot mailing list