* [PATCH 1/2] dt-bindings: add TUL Corporation
@ 2020-12-27 19:38 Florian Klink
2020-12-27 19:38 ` [PATCH 2/2] ARM: dts: pynq: Add Digilent/TUL Zynq PYNQ Board Florian Klink
0 siblings, 1 reply; 3+ messages in thread
From: Florian Klink @ 2020-12-27 19:38 UTC (permalink / raw)
To: linux-arm-kernel; +Cc: Florian Klink
This adds an entry for TUL Corporation: https://www.tul.com.tw
Signed-off-by: Florian Klink <flokli@flokli.de>
---
Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml
index 041ae90b0d8f..0ac883945ad3 100644
--- a/Documentation/devicetree/bindings/vendor-prefixes.yaml
+++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml
@@ -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,.*":
--
2.29.2
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 2/2] ARM: dts: pynq: Add Digilent/TUL Zynq PYNQ Board
2020-12-27 19:38 [PATCH 1/2] dt-bindings: add TUL Corporation Florian Klink
@ 2020-12-27 19:38 ` Florian Klink
2021-01-04 8:27 ` Michal Simek
0 siblings, 1 reply; 3+ messages in thread
From: Florian Klink @ 2020-12-27 19:38 UTC (permalink / raw)
To: linux-arm-kernel; +Cc: Florian Klink, Thomas Heijligen
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.
Co-authored-by: Thomas Heijligen <src@posteo.de>
Signed-off-by: Florian Klink <flokli@flokli.de>
---
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
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index 3d1ea0b25168..aedf76dc31fe 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -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 \
diff --git a/arch/arm/boot/dts/zynq-pynq.dts b/arch/arm/boot/dts/zynq-pynq.dts
new file mode 100644
index 000000000000..04ac0f7cdc7b
--- /dev/null
+++ b/arch/arm/boot/dts/zynq-pynq.dts
@@ -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 = <ðernet_phy>;
+
+ ethernet_phy: ethernet-phy@0 {
+ reg = <0>;
+ device_type = "ethernet-phy";
+ };
+};
+
+&sdhci0 {
+ status = "okay";
+};
+
+&uart0 {
+ status = "okay";
+};
+
+&usb0 {
+ status = "okay";
+ dr_mode = "host";
+ usb-phy = <&usb_phy0>;
+};
--
2.29.2
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 2/2] ARM: dts: pynq: Add Digilent/TUL Zynq PYNQ Board
2020-12-27 19:38 ` [PATCH 2/2] ARM: dts: pynq: Add Digilent/TUL Zynq PYNQ Board Florian Klink
@ 2021-01-04 8:27 ` Michal Simek
0 siblings, 0 replies; 3+ messages in thread
From: Michal Simek @ 2021-01-04 8:27 UTC (permalink / raw)
To: Florian Klink, linux-arm-kernel; +Cc: Thomas Heijligen
On 27. 12. 20 20:38, Florian Klink wrote:
> 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.
>
> Co-authored-by: Thomas Heijligen <src@posteo.de>
> Signed-off-by: Florian Klink <flokli@flokli.de>
> ---
> 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
>
> diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
> index 3d1ea0b25168..aedf76dc31fe 100644
> --- a/arch/arm/boot/dts/Makefile
> +++ b/arch/arm/boot/dts/Makefile
> @@ -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 \
> diff --git a/arch/arm/boot/dts/zynq-pynq.dts b/arch/arm/boot/dts/zynq-pynq.dts
> new file mode 100644
> index 000000000000..04ac0f7cdc7b
> --- /dev/null
> +++ b/arch/arm/boot/dts/zynq-pynq.dts
> @@ -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 = <ðernet_phy>;
> +
> + ethernet_phy: ethernet-phy@0 {
> + reg = <0>;
> + device_type = "ethernet-phy";
> + };
> +};
> +
> +&sdhci0 {
> + status = "okay";
> +};
> +
> +&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
--
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
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-01-04 8:28 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-27 19:38 [PATCH 1/2] dt-bindings: add TUL Corporation Florian Klink
2020-12-27 19:38 ` [PATCH 2/2] ARM: dts: pynq: Add Digilent/TUL Zynq PYNQ Board Florian Klink
2021-01-04 8:27 ` Michal Simek
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.