Skip to contentSkip to conversation

dt-bindings: add TUL Corporation

PATCH In review Florian Klink 2 participants 3 messages Dec 27, 2020 – Jan 4, 2021

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 dt-bindings: add TUL Corporation

This adds an entry for TUL Corporation: https://www.tul.com.tw

---
 Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/vendor-prefixes.yaml +2 -0
index 041ae90b0d8f..0ac883945ad3 100644
@@ -1146,6 +1146,8 @@ patternProperties:
     description: Visionox
   "^tsd,.*":
     description: Theobroma Systems Design und Consulting GmbH
+  "^tul,.*":
+    description: TUL Corporation
   "^tyan,.*":
     description: Tyan Computer Corporation
   "^u-blox,.*":
Signature · 7 lines
2.29.2


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
#1 lore raw

PATCH 2/2 ARM: dts: pynq: Add Digilent/TUL Zynq PYNQ Board

This adds the DTS for the Digilent/TUL Zynq PYNQ Board(s).

They're Zynq 7000 - based boards, the Z1 is from Digilent, the Z2 from TUL.

They have a slightly different audio system, and a different pin header, but these aren't really accessible from the PS, only from the PL, so the DTB is the same.

---
 arch/arm/boot/dts/Makefile      |  1 +
 arch/arm/boot/dts/zynq-pynq.dts | 68 +++++++++++++++++++++++++++++++++
 2 files changed, 69 insertions(+)
 create mode 100644 arch/arm/boot/dts/zynq-pynq.dts
arch/arm/boot/dts/Makefile +1 -0
index 3d1ea0b25168..aedf76dc31fe 100644
@@ -1309,6 +1309,7 @@ dtb-$(CONFIG_ARCH_ZYNQ) += \
 	zynq-cc108.dtb \
 	zynq-microzed.dtb \
 	zynq-parallella.dtb \
+	zynq-pynq.dtb \
 	zynq-zc702.dtb \
 	zynq-zc706.dtb \
 	zynq-zc770-xm010.dtb \
arch/arm/boot/dts/zynq-pynq.dts new file +68 -0

68 lines not on this page · raw message

Signature · 7 lines
2.29.2


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
#2 lore raw

Re: [PATCH 2/2] ARM: dts: pynq: Add Digilent/TUL Zynq PYNQ Board

Quoted 94 lines · Florian Klink

This adds the DTS for the Digilent/TUL Zynq PYNQ Board(s).

They're Zynq 7000 - based boards, the Z1 is from Digilent, the Z2 from TUL.

They have a slightly different audio system, and a different pin header, but these aren't really accessible from the PS, only from the PL, so the DTB is the same.

---
 arch/arm/boot/dts/Makefile      |  1 +
 arch/arm/boot/dts/zynq-pynq.dts | 68 +++++++++++++++++++++++++++++++++
 2 files changed, 69 insertions(+)
 create mode 100644 arch/arm/boot/dts/zynq-pynq.dts
arch/arm/boot/dts/Makefile +1 -0
index 3d1ea0b25168..aedf76dc31fe 100644
@@ -1309,6 +1309,7 @@ dtb-$(CONFIG_ARCH_ZYNQ) += \
 	zynq-cc108.dtb \
 	zynq-microzed.dtb \
 	zynq-parallella.dtb \
+	zynq-pynq.dtb \
 	zynq-zc702.dtb \
 	zynq-zc706.dtb \
 	zynq-zc770-xm010.dtb \
arch/arm/boot/dts/zynq-pynq.dts new file +58 -0
new file mode 100644
index 000000000000..04ac0f7cdc7b
@@ -0,0 +1,68 @@
+// SPDX-License-Identifier: GPL-2.0+
+/dts-v1/;
+#include "zynq-7000.dtsi"
+#include <dt-bindings/gpio/gpio.h>
+
+/ {
+	model = "Digilent/TUL Zynq PYNQ";
+	compatible = "digilent,zynq-pynq", "digilent,zynq-pynq-z1", "tul,zynq-pynq", "tul,zynq-pynq-z2", "xlnx,zynq-7000";
+
+	aliases {
+		ethernet0 = &gem0;
+		serial0 = &uart0;
+	};
+
+	memory@0 {
+		device_type = "memory";
+		reg = <0x0 0x20000000>;
+	};
+
+	chosen {
+		bootargs = "";
+		stdout-path = "serial0:115200n8";
+	};
+
+	gpio-leds {
+		compatible = "gpio-leds";
+
+		ld4 {
+			label = "zynq-pynq:green:ld4";
+			gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
+		};
+	};
+
+	usb_phy0: phy0 {
+		#phy-cells = <0>;
+		compatible = "usb-nop-xceiv";
+		reset-gpios = <&gpio0 46 GPIO_ACTIVE_LOW>;
+	};
+};
+
+&clkc {
+	ps-clk-frequency = <50000000>;
+};
+
+&gem0 {
+	status = "okay";
+	phy-mode = "rgmii-id";
+	phy-handle = <&ethernet_phy>;
+
+	ethernet_phy: ethernet-phy@0 {
+		reg = <0>;
+		device_type = "ethernet-phy";
+	};
+};
+
+&sdhci0 {
+	status = "okay";
+};

arch/arm/boot/dts/zynq-pynq.dts line 68

Quoted 10 lines
arch/arm/boot/dts/zynq-pynq.dts new file +10 -0
+
+&uart0 {
+	status = "okay";
+};
+
+&usb0 {
+	status = "okay";
+	dr_mode = "host";
+	usb-phy = <&usb_phy0>;
+};

I am ignoring this patch. There is another series which I will comment.

M

Signature · 13 lines
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Xilinx Microblaze
Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs
U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs




_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel