]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
arm64: versal: Add description for a2197-e-revA board
authorMichal Simek <michal.simek@xilinx.com>
Wed, 26 Jun 2019 13:34:06 +0000 (15:34 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 28 Jun 2019 09:34:14 +0000 (11:34 +0200)
It is pretty much subset of a2197-p with some differences.
It is the first evaluation/customer board with Versal.
Also called vck190.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/dts/Makefile
arch/arm/dts/versal-vc-e-a2197-00-revA.dts [new file with mode: 0644]
configs/xilinx_versal_virt_defconfig

index 8394da856554f5764fa8fa445a4242dfb2bf3082..0c174d3cf4c81ed5d9210bc5edd671f642487d2f 100644 (file)
@@ -218,6 +218,7 @@ dtb-$(CONFIG_ARCH_VERSAL) += \
        versal-mini-qspi-x1-stacked.dtb \
        versal-mini-qspi-x2-single.dtb \
        versal-mini-qspi-x2-stacked.dtb \
+       versal-vc-e-a2197-00-revA.dtb \
        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 \
diff --git a/arch/arm/dts/versal-vc-e-a2197-00-revA.dts b/arch/arm/dts/versal-vc-e-a2197-00-revA.dts
new file mode 100644 (file)
index 0000000..922fbff
--- /dev/null
@@ -0,0 +1,125 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * dts file for Xilinx Versal VC-E-A2191-00 revA (Also called VCK190/EB1)
+ *
+ * (C) Copyright 2019, Xilinx, Inc.
+ *
+ * Michal Simek <michal.simek@xilinx.com>
+ */
+
+#include "versal.dtsi"
+#include "versal-fixed.dtsi"
+
+/ {
+       compatible = "xlnx,versal-vc-e-a2197-00-revA",
+                    "xlnx,versal-vc-e-a2197-00",
+                    "xlnx,versal-vc-e-a2197", "xlnx,versal";
+       model = "Xilinx Versal A2197 Eval board revA";
+
+       memory: memory@0 {
+               device_type = "memory";
+               reg = <0 0 0 0x80000000>;
+       };
+
+       chosen {
+               bootargs = "console=ttyAMA0 earlycon=pl011,mmio32,0xFF000000,115200n8 clk_ignore_unused";
+               stdout-path = "serial0:115200";
+       };
+
+       aliases {
+               serial0 = &serial0;
+               ethernet0 = &gem0;
+               ethernet1 = &gem1;
+               i2c0 = &i2c0;
+               i2c1 = &i2c1;
+               mmc0 = &sdhci1;
+               gpio0 = &gpio;
+               spi0 = &qspi;
+               usb0 = &usb0;
+               rtc0 = &rtc;
+       };
+};
+
+/* PMC_MIO 0 -12 - configuration header QSPI/OSPI/EMMC */
+/* FIXME PMC_MIO37 ZU4_TRIGGER/PMC_MIO37/38 PCIE */
+
+&can1 { /* MIO40-41 */
+       status = "okay";
+};
+
+&dcc {
+       status = "okay";
+};
+
+&rtc {
+       status = "okay";
+};
+
+&gpio {
+       status = "okay";
+};
+
+&watchdog {
+       status = "okay";
+};
+
+&sdhci1 { /* PMC_MIO26-36/51 */
+       status = "okay";
+       xlnx,mio_bank = <1>;
+       no-1-8-v;
+};
+
+&serial0 { /* PMC_MIO42/43 */
+       status = "okay";
+};
+
+&gem0 { /* PMC_MIO_48, LPD_MIO0-11/24/25 */
+       status = "okay";
+       phy-handle = <&phy1>; /* u128 */
+       phy-mode = "rgmii-id";
+       phy1: phy@1 {
+               reg = <1>;
+               ti,rx-internal-delay = <0xb>;
+               ti,tx-internal-delay = <0xa>;
+               ti,fifo-depth = <1>;
+               ti,dp83867-rxctrl-strap-quirk;
+       };
+       phy2: phy@2 {
+               reg = <2>;
+               ti,rx-internal-delay = <0xb>;
+               ti,tx-internal-delay = <0xa>;
+               ti,fifo-depth = <1>;
+               ti,dp83867-rxctrl-strap-quirk;
+       };
+};
+
+&gem1 { /* PMC_MIO_49, LPD_MIO12-23 */
+       status = "okay";
+       phy-handle = <&phy2>; /* u134 */
+       phy-mode = "rgmii-id";
+};
+
+&i2c0 { /* PMC_MIO46/47 */
+       status = "okay";
+       clock-frequency = <400000>;
+};
+
+&i2c1 { /* PMC_MIO44/45 */
+       status = "okay";
+       clock-frequency = <400000>;
+};
+
+&usb0 { /* PMC_MIO13_500 - PMC_MIO25 USB 2.0 */
+       status = "okay";
+       xlnx,usb-polarity = <0x0>;
+       xlnx,usb-reset-mode = <0x0>;
+};
+
+&dwc3_0 { /* USB 2.0 host */
+       status = "okay";
+       dr_mode = "host";
+       maximum-speed = "high-speed";
+       snps,dis_u2_susphy_quirk;
+       snps,dis_u3_susphy_quirk;
+       snps,usb3_lpm_capable;
+};
index a10b484a879cbfc6fc09c8e38a1b25686cb1f4f7..f74aa74ff722a5953aba2cd63b9e54984c017639 100644 (file)
@@ -46,7 +46,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 versal-vc-p-a2197-00-revA-x-prc-03-revA versal-vc-p-a2197-00-revA-x-prc-04-revA versal-vc-p-a2197-00-revA-x-prc-04-revA-ospi versal-vc-p-a2197-00-revA-x-prc-05-revA versal-vc-d-d1760-01-revA"
+CONFIG_OF_LIST="versal-vc-e-a2197-00-revA 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-p-a2197-00-revA-x-prc-03-revA versal-vc-p-a2197-00-revA-x-prc-04-revA versal-vc-p-a2197-00-revA-x-prc-04-revA-ospi versal-vc-p-a2197-00-revA-x-prc-05-revA versal-vc-d-d1760-01-revA"
 CONFIG_MULTI_DTB_FIT=y
 CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_SPL_DM_SEQ_ALIAS=y