]> rtime.felk.cvut.cz Git - vajnamar/linux-xlnx.git/commitdiff
arm64: zynqmp: Add zcu100 revB loopback card description
authorMichal Simek <michal.simek@xilinx.com>
Wed, 22 Feb 2017 07:45:22 +0000 (08:45 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 22 Feb 2017 08:28:41 +0000 (09:28 +0100)
Add description for zcu100 loopback card.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm64/boot/dts/xilinx/Makefile
arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revB-loopback.dts [new file with mode: 0644]

index 2bba9bd94f157f21029fbc78fea9c58f913b3cbf..4fe8e2d42e1ee901b53e9caed11b982a728b14e9 100644 (file)
@@ -4,6 +4,7 @@ dtb-$(CONFIG_ARCH_ZYNQMP) += zynqmp-zc1751-xm016-dc2.dtb
 dtb-$(CONFIG_ARCH_ZYNQMP) += zynqmp-zc1751-xm019-dc5.dtb
 dtb-$(CONFIG_ARCH_ZYNQMP) += zynqmp-zcu100-revA.dtb
 dtb-$(CONFIG_ARCH_ZYNQMP) += zynqmp-zcu100-revB.dtb
+dtb-$(CONFIG_ARCH_ZYNQMP) += zynqmp-zcu100-revB-loopback.dtb
 dtb-$(CONFIG_ARCH_ZYNQMP) += zynqmp-zcu102.dtb
 dtb-$(CONFIG_ARCH_ZYNQMP) += zynqmp-zcu102-revB.dtb
 dtb-$(CONFIG_ARCH_ZYNQMP) += zynqmp-zcu106.dtb
diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revB-loopback.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu100-revB-loopback.dts
new file mode 100644 (file)
index 0000000..8a3fa11
--- /dev/null
@@ -0,0 +1,58 @@
+/*
+ * dts file for Xilinx ZynqMP ZCU100 revB
+ *
+ * (C) Copyright 2017, Xilinx, Inc.
+ *
+ * Michal Simek <michal.simek@xilinx.com>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of
+ * the License, or (at your option) any later version.
+ */
+
+#include "zynqmp-zcu100-revB.dts"
+
+/* loopback */
+&i2csw_0 {
+       eeprom0: eeprom@54 { /* u1 */
+               compatible = "at,24c02";
+               reg = <0x54>;
+       };
+};
+
+&i2csw_1 {
+       eeprom1: eeprom@54 { /* u2 */
+               compatible = "at,24c02";
+               reg = <0x54>;
+       };
+};
+
+&i2csw_2 {
+       eeprom2: eeprom@54 { /* u3 */
+               compatible = "at,24c02";
+               reg = <0x54>;
+       };
+};
+
+&i2csw_3 {
+       eeprom3: eeprom@54 { /* u4 */
+               compatible = "at,24c02";
+               reg = <0x54>;
+       };
+};
+
+&spi1 { /* High Speed connector */
+       flash: at45db041@0 { /* u5 */
+               #address-cells = <1>;
+               #size-cells = <1>;
+               compatible = "atmel,at45db041e", "atmel,at45", "atmel,dataflash";
+               spi-max-frequency = <85000000>;
+               reg = <0>;
+
+               partition@0 {
+                       label = "test";
+                       reg = <0x0 0x84000>;
+               };
+       };
+};