Thread (36 messages) 36 messages, 4 authors, 2021-06-10

Re: [PATCH 31/31] arm64: zynqmp: Add support for Xilinx Kria SOM board

From: Michal Simek <hidden>
Date: 2021-06-09 12:19:51
Also in: linux-arm-kernel, lkml

Hi Geert,

On 6/9/21 2:04 PM, Geert Uytterhoeven wrote:
Hi Michal,

On Wed, Jun 9, 2021 at 1:46 PM Michal Simek [off-list ref] wrote:
quoted
There are couple of revisions of SOMs (k26) and associated carrier cards
(kv260).
SOM itself has two major versions:
sm-k26 - SOM with EMMC
smk-k26 - SOM without EMMC used on starter kit with preprogrammed firmware
in QSPI.

SOMs are describing only devices available on the SOM or connections which
are described in specification (for example UART, fwuen).

Signed-off-by: Michal Simek <redacted>
Thanks for your patch!
quoted
--- /dev/null
+++ b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dts
@@ -0,0 +1,371 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * dts file for KV260 revA Carrier Card
+ *
+ * (C) Copyright 2020, Xilinx, Inc.
+ *
+ * SD level shifter:
+ * "A"  A01 board un-modified (NXP)
+ * "Y"  A01 board modified with legacy interposer (Nexperia)
+ * "Z"  A01 board modified with Diode interposer
+ *
+ * Michal Simek <michal.simek@xilinx.com>
+ */
+
+ #include <dt-bindings/gpio/gpio.h>
+ #include <dt-bindings/net/ti-dp83867.h>
+ #include <dt-bindings/phy/phy.h>
+ #include <dt-bindings/pinctrl/pinctrl-zynqmp.h>
+
+/dts-v1/;
+/plugin/;
+
+/{
+       compatible = "xlnx,zynqmp-sk-kv260-revA",
+                    "xlnx,zynqmp-sk-kv260-revY",
+                    "xlnx,zynqmp-sk-kv260-revZ",
+                    "xlnx,zynqmp-sk-kv260", "xlnx,zynqmp";
+
+       fragment1 {
+               target = <&i2c1>; /* I2C_SCK C23/C24 - MIO from SOM */
+
+               __overlay__ {
Please use overlay sugar syntax, which is supported by the dtc
supplied with the kernel since v4.15.
No problem I will.

Thanks,
Michal
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help