From: Michal Simek Date: Mon, 27 May 2019 12:15:04 +0000 (+0200) Subject: arm64: versal: Add support for vc-d-d1760-01 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=26722abf2faee024073d1e227f7dd47bc93847ee;p=thirdparty%2Fu-boot.git arm64: versal: Add support for vc-d-d1760-01 Add support for the first data center card. Only memory and uart is specified for initial bringup. Signed-off-by: Michal Simek --- diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile index 2fc799fb4ec..f0219fc40f5 100644 --- a/arch/arm/dts/Makefile +++ b/arch/arm/dts/Makefile @@ -214,7 +214,8 @@ dtb-$(CONFIG_ARCH_VERSAL) += \ versal-vc-p-a2197-00-revA.dtb \ versal-vc-p-a2197-00-revA-x-prc-01-revA.dtb \ versal-vc-p-a2197-00-revA-x-prc-01-revA-ospi.dtb \ - versal-vc-p-a2197-00-revA-x-prc-02-revA.dtb + versal-vc-p-a2197-00-revA-x-prc-02-revA.dtb \ + versal-vc-d-d1760-01-revA.dtb dtb-$(CONFIG_ARCH_ZYNQMP_R5) += \ zynqmp-r5.dtb dtb-$(CONFIG_AM33XX) += am335x-boneblack.dtb am335x-bone.dtb \ diff --git a/arch/arm/dts/versal-vc-d-d1760-01-revA.dts b/arch/arm/dts/versal-vc-d-d1760-01-revA.dts new file mode 100644 index 00000000000..a1f09ab2d38 --- /dev/null +++ b/arch/arm/dts/versal-vc-d-d1760-01-revA.dts @@ -0,0 +1,50 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * dts file for Xilinx Versal + * + * (C) Copyright 2019, Xilinx, Inc. + * + * Michal Simek + */ + +#include "versal.dtsi" +#include "versal-fixed.dtsi" + +/ { + compatible = "xlnx,versal-vc-d-d1760-01-revA", + "xlnx,versal-vc-d-d1760-01", + "xlnx,versal-vc-d-d1760", "xlnx,versal"; + model = "Xilinx Versal d1760 Processor board revA"; /* xbb2525/v350 */ + + chosen { + bootargs = "console=ttyAMA0 earlycon=pl011,mmio32,0xFF010000,115200n8 clk_ignore_unused"; + stdout-path = "serial0:115200"; + }; + + aliases { + serial0 = &serial1; + serial1 = &serial0; + }; + + memory: memory@0 { + device_type = "memory"; /* 16GB total via MC0/1/2/3 */ + reg = <0 0 0 0x80000000>; /* 2GB here */ + /* <0x8 0x0 0x3 0x80000000> */ /* 12GB - enable it later */ + }; +}; + +&dcc { + status = "okay"; +}; + +&gpio { + status = "okay"; +}; + +&serial0 { + status = "disabled"; /* communication with MSP432 */ +}; + +&serial1 { + status = "okay"; +}; diff --git a/configs/xilinx_versal_virt_defconfig b/configs/xilinx_versal_virt_defconfig index 4b24ab78ff8..09b18a26188 100644 --- a/configs/xilinx_versal_virt_defconfig +++ b/configs/xilinx_versal_virt_defconfig @@ -45,7 +45,7 @@ CONFIG_EFI_PARTITION=y # CONFIG_PARTITION_UUIDS is not set CONFIG_OF_BOARD=y CONFIG_DEFAULT_DEVICE_TREE="versal-vc-p-a2197-00-revA-x-prc-01-revA" -CONFIG_OF_LIST="versal-vc-p-a2197-00-revA-x-prc-01-revA versal-vc-p-a2197-00-revA-x-prc-01-revA-ospi versal-vc-p-a2197-00-revA-x-prc-02-revA" +CONFIG_OF_LIST="versal-vc-p-a2197-00-revA-x-prc-01-revA versal-vc-p-a2197-00-revA-x-prc-01-revA-ospi versal-vc-p-a2197-00-revA-x-prc-02-revA versal-vc-d-d1760-01-revA" CONFIG_MULTI_DTB_FIT=y CONFIG_NET_RANDOM_ETHADDR=y CONFIG_SPL_DM_SEQ_ALIAS=y