Skip to contentSkip to conversation

arm: dts: zynq: Add MicroZed board support

PATCH In review Jagan Teki 3 participants 5 messages Jan 12, 2016

Subsystems (3)
lore
Share & tools
lore

Jagan Teki

author
#0 lore raw

PATCH 1/1 arm: dts: zynq: Add MicroZed board support

Added basic dts support for MicroZed board.

---
 arch/arm/boot/dts/Makefile          |  1 +
 arch/arm/boot/dts/zynq-microzed.dts | 45 +++++++++++++++++++++++++++++++++++++
 2 files changed, 46 insertions(+)
 create mode 100644 arch/arm/boot/dts/zynq-microzed.dts
arch/arm/boot/dts/Makefile +1 -0
index 30bbc37..9eb52fa 100644
@@ -725,6 +725,7 @@ dtb-$(CONFIG_ARCH_VT8500) += \
 	wm8750-apc8750.dtb \
 	wm8850-w70v2.dtb
 dtb-$(CONFIG_ARCH_ZYNQ) += \
+	zynq-microzed.dtb \
 	zynq-parallella.dtb \
 	zynq-zc702.dtb \
 	zynq-zc706.dtb \
arch/arm/boot/dts/zynq-microzed.dts new file +45 -0

45 lines not on this page · raw message

Signature · 6 lines
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#2 lore raw
In reply to Jagan Teki
Quoted 65 lines · Jagan Teki

Added basic dts support for MicroZed board.

Cc Soren Brinkmann <[email protected]>
Cc Michal Simek <[email protected]>
---
 arch/arm/boot/dts/Makefile          |  1 +
 arch/arm/boot/dts/zynq-microzed.dts | 45 +++++++++++++++++++++++++++++++++++++
 2 files changed, 46 insertions(+)
 create mode 100644 arch/arm/boot/dts/zynq-microzed.dts
arch/arm/boot/dts/Makefile +1 -0
index 30bbc37..9eb52fa 100644
@@ -725,6 +725,7 @@ dtb-$(CONFIG_ARCH_VT8500) += \
 	wm8750-apc8750.dtb \
 	wm8850-w70v2.dtb
 dtb-$(CONFIG_ARCH_ZYNQ) += \
+	zynq-microzed.dtb \
 	zynq-parallella.dtb \
 	zynq-zc702.dtb \
 	zynq-zc706.dtb \
arch/arm/boot/dts/zynq-microzed.dts new file +35 -0
new file mode 100644
index 0000000..a8c7d2b
@@ -0,0 +1,45 @@
+/*
+ * Copyright (C) 2015 Jagan Teki <[email protected]>
+ *
+ * This software is licensed under the terms of the GNU General Public
+ * License version 2, as published by the Free Software Foundation, and
+ * may be copied, distributed, and modified under those terms.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ */
+/dts-v1/;
+/include/ "zynq-7000.dtsi"
+
+/ {
+	model = "Zynq MicroZED Development Board";
+	compatible = "xlnx,zynq-microzed", "xlnx,zynq-7000";
+
+	aliases {
+		serial0 = &uart1;
+	};
+
+	memory {
+		device_type = "memory";
+		reg = <0x0 0x40000000>;
+	};
+
+	chosen {
+		bootargs = "earlyprintk";
+		stdout-path = "serial0:115200n8";
+	};
+};
+
+&clkc {

arch/arm/boot/dts/zynq-microzed.dts line 45

Quoted 10 lines
arch/arm/boot/dts/zynq-microzed.dts new file +10 -0
+	ps-clk-frequency = <33333333>;
+};
+
+&sdhci0 {
+	status = "okay";
+};
+
+&uart1 {
+	status = "okay";
+};

I would prefer to have full description of this board instead of partial one. In U-Boot there is also qspi enabled. Board has also USB and ethernet that's why all of these should be enabled and tested.

Thanks,
Michal

author
#3 lore raw
Quoted 72 lines · Michal Simek
Quoted 71 lines · Jagan Teki

Added basic dts support for MicroZed board.

---
  arch/arm/boot/dts/Makefile          |  1 +
  arch/arm/boot/dts/zynq-microzed.dts | 45 +++++++++++++++++++++++++++++++++++++
  2 files changed, 46 insertions(+)

create mode 100644 arch/arm/boot/dts/zynq-microzed.dts

arch/arm/boot/dts/Makefile +1 -0
index 30bbc37..9eb52fa 100644
@@ -725,6 +725,7 @@ dtb-$(CONFIG_ARCH_VT8500) += \
  	wm8750-apc8750.dtb \
  	wm8850-w70v2.dtb
  dtb-$(CONFIG_ARCH_ZYNQ) += \
+	zynq-microzed.dtb \
  	zynq-parallella.dtb \
  	zynq-zc702.dtb \
  	zynq-zc706.dtb \
arch/arm/boot/dts/zynq-microzed.dts new file +42 -0
new file mode 100644
index 0000000..a8c7d2b
@@ -0,0 +1,45 @@
+/*
+ * Copyright (C) 2015 Jagan Teki <jteki-oRp2ZoJdM/RWk0Htik3J/[email protected]>
+ *
+ * This software is licensed under the terms of the GNU General Public
+ * License version 2, as published by the Free Software Foundation, and
+ * may be copied, distributed, and modified under those terms.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ */
+/dts-v1/;
+/include/ "zynq-7000.dtsi"
+
+/ {
+	model = "Zynq MicroZED Development Board";
+	compatible = "xlnx,zynq-microzed", "xlnx,zynq-7000";
+
+	aliases {
+		serial0 = &uart1;
+	};
+
+	memory {
+		device_type = "memory";
+		reg = <0x0 0x40000000>;
+	};
+
+	chosen {
+		bootargs = "earlyprintk";
+		stdout-path = "serial0:115200n8";
+	};
+};
+
+&clkc {
+	ps-clk-frequency = <33333333>;
+};
+
+&sdhci0 {
+	status = "okay";
+};
+
Quoted 8 lines

arch/arm/boot/dts/zynq-microzed.dts line 45

Quoted 4 lines
arch/arm/boot/dts/zynq-microzed.dts new file +3 -0
+&uart1 {
+	status = "okay";
+};

I would prefer to have full description of this board instead of partial one. In U-Boot there is also qspi enabled. Board has also USB and ethernet that's why all of these should be enabled and tested.

I have verified what all I added like uart, mmc ie why I described as basic support.

May be we can move this first and rest will add in future like USB and Ethernet. For qspi the driver is not mainlined yet.

Signature · 5 lines
Jagan
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#4 lore raw
Quoted 84 lines · Jagan Teki
Quoted 74 lines · Michal Simek
Quoted 73 lines · Jagan Teki

Added basic dts support for MicroZed board.

---
  arch/arm/boot/dts/Makefile          |  1 +
  arch/arm/boot/dts/zynq-microzed.dts | 45
+++++++++++++++++++++++++++++++++++++
  2 files changed, 46 insertions(+)

create mode 100644 arch/arm/boot/dts/zynq-microzed.dts

arch/arm/boot/dts/Makefile +1 -0
index 30bbc37..9eb52fa 100644
@@ -725,6 +725,7 @@ dtb-$(CONFIG_ARCH_VT8500) += \
      wm8750-apc8750.dtb \
      wm8850-w70v2.dtb
  dtb-$(CONFIG_ARCH_ZYNQ) += \
+    zynq-microzed.dtb \
      zynq-parallella.dtb \
      zynq-zc702.dtb \
      zynq-zc706.dtb \
arch/arm/boot/dts/zynq-microzed.dts new file +42 -0
new file mode 100644
index 0000000..a8c7d2b
@@ -0,0 +1,45 @@
+/*
+ * Copyright (C) 2015 Jagan Teki <jteki-oRp2ZoJdM/RWk0Htik3J/[email protected]>
+ *
+ * This software is licensed under the terms of the GNU General Public
+ * License version 2, as published by the Free Software Foundation, and
+ * may be copied, distributed, and modified under those terms.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ */
+/dts-v1/;
+/include/ "zynq-7000.dtsi"
+
+/ {
+    model = "Zynq MicroZED Development Board";
+    compatible = "xlnx,zynq-microzed", "xlnx,zynq-7000";
+
+    aliases {
+        serial0 = &uart1;
+    };
+
+    memory {
+        device_type = "memory";
+        reg = <0x0 0x40000000>;
+    };
+
+    chosen {
+        bootargs = "earlyprintk";
+        stdout-path = "serial0:115200n8";
+    };
+};
+
+&clkc {
+    ps-clk-frequency = <33333333>;
+};
+
+&sdhci0 {
+    status = "okay";
+};
+
Quoted 8 lines

arch/arm/boot/dts/zynq-microzed.dts line 45

Quoted 4 lines
arch/arm/boot/dts/zynq-microzed.dts new file +3 -0
+&uart1 {
+    status = "okay";
+};

I would prefer to have full description of this board instead of partial one. In U-Boot there is also qspi enabled. Board has also USB and ethernet that's why all of these should be enabled and tested.

Quoted 5 lines

I have verified what all I added like uart, mmc ie why I described as basic support.

May be we can move this first and rest will add in future like USB and Ethernet. For qspi the driver is not mainlined yet.

Adding USB, ethernet should be quite simple. It means if you have the board please test it and send v2 with that.
Hopefully both 7010 and 7020 microzed boards are the same.

Thanks,
Michal

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html