From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 32CAEC433DB for ; Sun, 27 Dec 2020 19:42:34 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D94BB22522 for ; Sun, 27 Dec 2020 19:42:33 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D94BB22522 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=flokli.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=6HglwzGWyB+rjykT3vRDWa4hFyC3ObVPvVsshzlDer4=; b=bNG0I95FwI6UNS3smih1oUWQ7 cJlbR/q+njjXTQNpP4gLl14FBftvcp7KUQYAKOen6roHiefgPHOnqKB/7c/2HKo2edxcx3LqTbhqY gE0souKJ9GVGTVZ7alR3B9hcZeuSpS1l+CTUVi8euVXOuXZy8EXlUKZYeK4xRp3E7sB9ZYyoLOn2q xaThUMtxrm19TmG/By9CsvyAuc1e07zDTYnH+UcrjEzDJehuX4OeHJzQ6OjOJWeZgdTYtiKSxgApe yhlsf50pqlZCB8vsFopBpZh/tK/cu6xoIbIjGQk2XlrEWYz4ru+rCa7ZEJZBROzg5ft4xsSIK3X3T HEfAyC7ZQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1ktbuQ-0005eE-UT; Sun, 27 Dec 2020 19:40:54 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1ktbuN-0005dP-8q for linux-arm-kernel@merlin.infradead.org; Sun, 27 Dec 2020 19:40:51 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=+Zor8uOTdRjXkxIgVLTn7E3zaPG/Sv1HPlHP0c127qw=; b=CBNFDLRO6uAHP99bxXe4LDzr+J /1TamqLKPnvB5yG04hYhJAX+UGpe2E/CEu4kPYJM1kJhBcRXu+tWT9mSCbPL1x9c11LsZHtsCW6jz JqjP8NVtGlFCtWVPbN/8WIqk67yE6EQcydCcF6Hj4W7XH7XnFjGZHMih8MYIcL9MEsT7Atjy9GfCz 1XepjJRJfGsf+LDdMlFEkt/03j2ZWj/KyDrjOIODqg11lQQgtf0+nLC11Yz53MqIkLCYQEpeZ9xRs q5J+PJGp4SHfa/th1IuIJq9E4CymzvRNv9Ai375YUm9XTGj+/E7Iw5XgQZpw3a3sow9XLdsqBGfKf mZGSDA2g==; Received: from mail.zeus.flokli.de ([88.198.15.28] helo=zeus.flokli.de) by casper.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1ktbtD-0007fO-P4 for linux-arm-kernel@lists.infradead.org; Sun, 27 Dec 2020 19:40:12 +0000 Received: from localhost (ip-178-200-107-224.hsi07.unitymediagroup.de [178.200.107.224]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: flokli@flokli.de) by zeus.flokli.de (Postfix) with ESMTPSA id 53D17FA5976; Sun, 27 Dec 2020 19:39:21 +0000 (UTC) From: Florian Klink To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 2/2] ARM: dts: pynq: Add Digilent/TUL Zynq PYNQ Board Date: Sun, 27 Dec 2020 20:38:46 +0100 Message-Id: <20201227193846.11433-2-flokli@flokli.de> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201227193846.11433-1-flokli@flokli.de> References: <20201227193846.11433-1-flokli@flokli.de> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201227_193958_389543_BD75273C X-CRM114-Status: GOOD ( 14.23 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Florian Klink , Thomas Heijligen Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 Signed-off-by: Florian Klink --- 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 + +/ { + 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