Received: by 10.223.185.116 with SMTP id b49csp251447wrg; Fri, 2 Mar 2018 18:17:28 -0800 (PST) X-Google-Smtp-Source: AG47ELt7YC4R9JzhF75OvhazI7qGVQHjlJkLjO3pDNCgfK/PAZvp3dklqFgxR68LE3/M2ei5krmy X-Received: by 10.98.73.140 with SMTP id r12mr7552546pfi.229.1520043448490; Fri, 02 Mar 2018 18:17:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520043448; cv=none; d=google.com; s=arc-20160816; b=kdAm6AIRw/bOtSoDZeBJDSt9y/MPKjw4aBtx+LtY7tTMNlKTP0NhiyXli7VqeZWmmu dniXCcBrs5zlVlxKBMr4RWA8C2o1+gptFk342ky5r+eEjQ8tMR/uCTE/0Qp026n1g5S2 MRrIhFW5a6H0BmHqn7Nvat74q7xOVjVwqmCWvObOYCWIWJOo/1e+hbEg/Ww9e/hPrS79 Q7wPxRtuugY2gWmez9Wo1w/W1vyQPrcSH/6xFESnYV7W42hdnTwV0qwtv1j/krH8iCVn xyLMD+1LxqANhBvcctAan9PXyJKvmLo6ivn3gh0bi5AN4nlQdWqhszAONNSm/JAIlcqF Hn9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=0HqouRDP1eI9pAGF8udQp5+KHA3DwNNK+mmWoEeCjqE=; b=EFnGezl1+OSINWJPGcNINK51IkDCvcBD3mZHHLwO7R4LsawDlka3b58sJxS79I8JEm zyv9Msu+LSmPLXHy3xrBtmMEynYs/TA8Su0dioEpXTeQ4DfTDpFX+eYE9xqNVkDyi4rU kpNL+lbHMGsUpHmokQpY1LbLNm+CbXqRqbv56M71m8jtCwpJynU8H+AN8CUPzUyx2yQy 9Rw58ft1u+okHvmPQ5JxJYwTC34NBQBtQjjzPG1iF/kg7wImifOMYI+P93jz7+DrpFDa LtgGGeVvt3Yo1Tp1wj6IAEC0RJcwsOGCXrKDFV4o0CHOZq2VImwfwsPy0OdJ9A1WufER XueQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z5si5865994pfz.382.2018.03.02.18.17.13; Fri, 02 Mar 2018 18:17:28 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1426765AbeCBSMd (ORCPT + 99 others); Fri, 2 Mar 2018 13:12:33 -0500 Received: from mail-oi0-f66.google.com ([209.85.218.66]:44632 "EHLO mail-oi0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751841AbeCBSMa (ORCPT ); Fri, 2 Mar 2018 13:12:30 -0500 Received: by mail-oi0-f66.google.com with SMTP id b8so7658634oib.11; Fri, 02 Mar 2018 10:12:30 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=0HqouRDP1eI9pAGF8udQp5+KHA3DwNNK+mmWoEeCjqE=; b=A6CWhr/YsvKBqUz9uSc9ojQRb+nw3ixMgEm4twesFfzaYeMixwRxX8jfrwQmo3lV9C l4uRbk5rU4Xg59Rwoc3FG3t+/kqEMUT3zqIL1F62e1k6hORlro58C0pnDq99kcF6qoZD Y3jj4T00VI0fQye9oxV1oN8U9DHy3i2K75QUIpoaAJG/yVPko8GTsenczvH3oDzIjo8u wSu7lfDtrtS1XOx5Hee8msysZbhx4eUkALHZE+d7tX5IUvVllskrhhj7x/5rNtlQyGTv OwLvXmQJZaPffofN81DSyHQsVtsKnSXAB/EJ0nN/o39zEAMyaVniUutmdUyF068D8Zum xcXw== X-Gm-Message-State: AElRT7GTR9iKnQ+2fiSDcN1Y2v/eJANso/PLUUGD85fOB+ZBv5MRnZYE Orbr1JiC3g1hcXqNYfOMIg== X-Received: by 10.84.68.7 with SMTP id k7mr4013797oiw.118.1520014349793; Fri, 02 Mar 2018 10:12:29 -0800 (PST) Received: from localhost (216-188-254-6.dyn.grandenetworks.net. [216.188.254.6]) by smtp.gmail.com with ESMTPSA id s12sm3314478oie.9.2018.03.02.10.12.29 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 02 Mar 2018 10:12:29 -0800 (PST) Date: Fri, 2 Mar 2018 12:12:28 -0600 From: Rob Herring To: Michal Simek Cc: devicetree@vger.kernel.org, monstr@monstr.eu, Masahiro Yamada , linux-kernel@vger.kernel.org, Arnd Bergmann , Will Deacon , Catalin Marinas , Mark Rutland , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v2 8/8] arm64: zynqmp: Add support for Xilinx zc1751 Message-ID: <20180302181228.r7pdll5lyc6os374@rob-hp-laptop> References: <10c8f7ee495ea73547f683ce1e3ad8e0e1880410.1519396753.git.michal.simek@xilinx.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <10c8f7ee495ea73547f683ce1e3ad8e0e1880410.1519396753.git.michal.simek@xilinx.com> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 23, 2018 at 03:40:30PM +0100, Michal Simek wrote: > Xilinx zc1751 boards is used for silicon validation. Board can be > extended with 5 FMCs/DCs cards to connect various IPs. Describe all > these combinations. > > Signed-off-by: Michal Simek > --- > > Changes in v2: > - Record compatible string to xilinx.txt > > Documentation/devicetree/bindings/arm/xilinx.txt | 3 + > arch/arm64/boot/dts/xilinx/Makefile | 5 + > .../boot/dts/xilinx/zynqmp-zc1751-xm015-dc1.dts | 133 +++++++++++++++ > .../boot/dts/xilinx/zynqmp-zc1751-xm016-dc2.dts | 170 +++++++++++++++++++ > .../boot/dts/xilinx/zynqmp-zc1751-xm017-dc3.dts | 153 +++++++++++++++++ > .../boot/dts/xilinx/zynqmp-zc1751-xm018-dc4.dts | 181 +++++++++++++++++++++ > .../boot/dts/xilinx/zynqmp-zc1751-xm019-dc5.dts | 126 ++++++++++++++ > 7 files changed, 771 insertions(+) > create mode 100644 arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm015-dc1.dts > create mode 100644 arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm016-dc2.dts > create mode 100644 arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm017-dc3.dts > create mode 100644 arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm018-dc4.dts > create mode 100644 arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm019-dc5.dts > > diff --git a/Documentation/devicetree/bindings/arm/xilinx.txt b/Documentation/devicetree/bindings/arm/xilinx.txt > index aceccf2bf43b..0cf6fb61631d 100644 > --- a/Documentation/devicetree/bindings/arm/xilinx.txt > +++ b/Documentation/devicetree/bindings/arm/xilinx.txt > @@ -28,6 +28,9 @@ Additional compatible strings: > - Xilinx internal board zc1275 > "xlnx,zynqmp-zc1275-revA", "xlnx,zynqmp-zc1275" > > +- Xilinx internal board zc1751 > + "xlnx,zynqmp-zc1751" > + > - Xilinx 96boards compatible board zcu100 > "xlnx,zynqmp-zcu100-revC", "xlnx,zynqmp-zcu100" > > diff --git a/arch/arm64/boot/dts/xilinx/Makefile b/arch/arm64/boot/dts/xilinx/Makefile > index bdda451afaad..c2a0c00272e2 100644 > --- a/arch/arm64/boot/dts/xilinx/Makefile > +++ b/arch/arm64/boot/dts/xilinx/Makefile > @@ -3,6 +3,11 @@ dtb-$(CONFIG_ARCH_ZYNQMP) += zynqmp-ep108.dtb > dtb-$(CONFIG_ARCH_ZYNQMP) += zynqmp-zc1232-revA.dtb > dtb-$(CONFIG_ARCH_ZYNQMP) += zynqmp-zc1254-revA.dtb > dtb-$(CONFIG_ARCH_ZYNQMP) += zynqmp-zc1275-revA.dtb > +dtb-$(CONFIG_ARCH_ZYNQMP) += zynqmp-zc1751-xm015-dc1.dtb > +dtb-$(CONFIG_ARCH_ZYNQMP) += zynqmp-zc1751-xm016-dc2.dtb > +dtb-$(CONFIG_ARCH_ZYNQMP) += zynqmp-zc1751-xm017-dc3.dtb > +dtb-$(CONFIG_ARCH_ZYNQMP) += zynqmp-zc1751-xm018-dc4.dtb > +dtb-$(CONFIG_ARCH_ZYNQMP) += zynqmp-zc1751-xm019-dc5.dtb > dtb-$(CONFIG_ARCH_ZYNQMP) += zynqmp-zcu100-revC.dtb > dtb-$(CONFIG_ARCH_ZYNQMP) += zynqmp-zcu102-revA.dtb > dtb-$(CONFIG_ARCH_ZYNQMP) += zynqmp-zcu102-revB.dtb > diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm015-dc1.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm015-dc1.dts > new file mode 100644 > index 000000000000..41f9e987c559 > --- /dev/null > +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm015-dc1.dts > @@ -0,0 +1,133 @@ > +// SPDX-License-Identifier: GPL-2.0+ > +/* > + * dts file for Xilinx ZynqMP zc1751-xm015-dc1 > + * > + * (C) Copyright 2015 - 2018, Xilinx, Inc. > + * > + * Michal Simek > + */ > + > +/dts-v1/; > + > +#include "zynqmp.dtsi" > +#include "zynqmp-clk.dtsi" > +#include > + > +/ { > + model = "ZynqMP zc1751-xm015-dc1 RevA"; > + compatible = "xlnx,zynqmp-zc1751", "xlnx,zynqmp"; > + > + aliases { > + ethernet0 = &gem3; > + gpio0 = &gpio; > + i2c0 = &i2c1; > + mmc0 = &sdhci0; > + mmc1 = &sdhci1; > + rtc0 = &rtc; > + serial0 = &uart0; > + usb0 = &usb0; Same alias comments. > + }; > + > + chosen { > + bootargs = "earlycon"; > + stdout-path = "serial0:115200n8"; > + }; > + > + memory@0 { > + device_type = "memory"; > + reg = <0x0 0x0 0x0 0x80000000>, <0x8 0x00000000 0x0 0x80000000>; > + }; > +}; > + > +&fpd_dma_chan1 { > + status = "okay"; > +}; > + > +&fpd_dma_chan2 { > + status = "okay"; > +}; > + > +&fpd_dma_chan3 { > + status = "okay"; > +}; > + > +&fpd_dma_chan4 { > + status = "okay"; > +}; > + > +&fpd_dma_chan5 { > + status = "okay"; > +}; > + > +&fpd_dma_chan6 { > + status = "okay"; > +}; > + > +&fpd_dma_chan7 { > + status = "okay"; > +}; > + > +&fpd_dma_chan8 { > + status = "okay"; > +}; > + > +&gem3 { > + status = "okay"; > + phy-handle = <&phy0>; > + phy-mode = "rgmii-id"; > + phy0: phy@0 { > + reg = <0>; > + }; > +}; > + > +&gpio { > + status = "okay"; > +}; > + > + > +&i2c1 { > + status = "okay"; > + clock-frequency = <400000>; > + > + eeprom: eeprom@55 { > + compatible = "atmel,24c64"; /* 24AA64 */ > + reg = <0x55>; > + }; > +}; > + > +&rtc { > + status = "okay"; > +}; > + > +&sata { > + status = "okay"; > + /* SATA phy OOB timing settings */ > + ceva,p0-cominit-params = /bits/ 8 <0x1B 0x4D 0x18 0x28>; > + ceva,p0-comwake-params = /bits/ 8 <0x06 0x19 0x08 0x0E>; > + ceva,p0-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>; > + ceva,p0-retry-params = /bits/ 16 <0x96A4 0x3FFC>; > + ceva,p1-cominit-params = /bits/ 8 <0x1B 0x4D 0x18 0x28>; > + ceva,p1-comwake-params = /bits/ 8 <0x06 0x19 0x08 0x0E>; > + ceva,p1-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>; > + ceva,p1-retry-params = /bits/ 16 <0x96A4 0x3FFC>; > +}; > + > +/* eMMC */ > +&sdhci0 { > + status = "okay"; > + bus-width = <8>; > +}; > + > +/* SD1 with level shifter */ > +&sdhci1 { > + status = "okay"; > +}; > + > +&uart0 { > + status = "okay"; > +}; > + > +/* ULPI SMSC USB3320 */ > +&usb0 { > + status = "okay"; > +}; > diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm016-dc2.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm016-dc2.dts > new file mode 100644 > index 000000000000..c4d253cec526 > --- /dev/null > +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm016-dc2.dts > @@ -0,0 +1,170 @@ > +// SPDX-License-Identifier: GPL-2.0+ > +/* > + * dts file for Xilinx ZynqMP zc1751-xm016-dc2 > + * > + * (C) Copyright 2015 - 2018, Xilinx, Inc. > + * > + * Michal Simek > + */ > + > +/dts-v1/; > + > +#include "zynqmp.dtsi" > +#include "zynqmp-clk.dtsi" > +#include > + > +/ { > + model = "ZynqMP zc1751-xm016-dc2 RevA"; > + compatible = "xlnx,zynqmp-zc1751", "xlnx,zynqmp"; > + > + aliases { > + can0 = &can0; > + can1 = &can1; > + ethernet0 = &gem2; > + gpio0 = &gpio; > + i2c0 = &i2c0; > + rtc0 = &rtc; > + serial0 = &uart0; > + serial1 = &uart1; > + spi0 = &spi0; > + spi1 = &spi1; > + usb0 = &usb1; > + }; > + > + chosen { > + bootargs = "earlycon"; > + stdout-path = "serial0:115200n8"; > + }; > + > + memory@0 { > + device_type = "memory"; > + reg = <0x0 0x0 0x0 0x80000000>, <0x8 0x00000000 0x0 0x80000000>; > + }; > +}; > + > +&can0 { > + status = "okay"; > +}; > + > +&can1 { > + status = "okay"; > +}; > + > +&fpd_dma_chan1 { > + status = "okay"; > +}; > + > +&fpd_dma_chan2 { > + status = "okay"; > +}; > + > +&fpd_dma_chan3 { > + status = "okay"; > +}; > + > +&fpd_dma_chan4 { > + status = "okay"; > +}; > + > +&fpd_dma_chan5 { > + status = "okay"; > +}; > + > +&fpd_dma_chan6 { > + status = "okay"; > +}; > + > +&fpd_dma_chan7 { > + status = "okay"; > +}; > + > +&fpd_dma_chan8 { > + status = "okay"; > +}; > + > +&gem2 { > + status = "okay"; > + phy-handle = <&phy0>; > + phy-mode = "rgmii-id"; > + phy0: phy@5 { > + reg = <5>; > + ti,rx-internal-delay = <0x8>; > + ti,tx-internal-delay = <0xa>; > + ti,fifo-depth = <0x1>; > + }; > +}; > + > +&gpio { > + status = "okay"; > +}; > + > +&i2c0 { > + status = "okay"; > + clock-frequency = <400000>; > + > + tca6416_u26: gpio@20 { > + compatible = "ti,tca6416"; > + reg = <0x20>; > + gpio-controller; > + #gpio-cells = <2>; > + /* IRQ not connected */ > + }; > + > + rtc@68 { > + compatible = "dallas,ds1339"; > + reg = <0x68>; > + }; > +}; > + > +&rtc { > + status = "okay"; > +}; > + > +&spi0 { > + status = "okay"; > + num-cs = <1>; > + > + spi0_flash0: spi0_flash0@0 { flash@0 > + #address-cells = <1>; > + #size-cells = <1>; > + compatible = "sst,sst25wf080", "jedec,spi-nor"; > + spi-max-frequency = <50000000>; > + reg = <0>; > + > + spi0_flash0@0 { Don't use underscores. Also, this is a partition, right? Follow the partitions binding. For example, there should be a "partitions" node. And the name should be partition@0 > + label = "spi0_flash0"; This should be something that describes what is in the partition like say "rootfs". > + reg = <0x0 0x100000>; > + }; > + }; > +}; > + > +&spi1 { > + status = "okay"; > + num-cs = <1>; > + > + spi1_flash0: spi1_flash0@0 { > + #address-cells = <1>; > + #size-cells = <1>; > + compatible = "atmel,at45db041e", "atmel,at45", "atmel,dataflash"; > + spi-max-frequency = <20000000>; > + reg = <0>; > + > + spi1_flash0@0 { > + label = "spi1_flash0"; > + reg = <0x0 0x84000>; > + }; > + }; > +}; > + > +/* ULPI SMSC USB3320 */ > +&usb1 { > + status = "okay"; > +}; > + > +&uart0 { > + status = "okay"; > +}; > + > +&uart1 { > + status = "okay"; > +}; > diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm017-dc3.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm017-dc3.dts > new file mode 100644 > index 000000000000..9f312ef0e061 > --- /dev/null > +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm017-dc3.dts > @@ -0,0 +1,153 @@ > +// SPDX-License-Identifier: GPL-2.0+ > +/* > + * dts file for Xilinx ZynqMP zc1751-xm017-dc3 > + * > + * (C) Copyright 2016 - 2018, Xilinx, Inc. > + * > + * Michal Simek > + */ > + > +/dts-v1/; > + > +#include "zynqmp.dtsi" > +#include "zynqmp-clk.dtsi" > + > +/ { > + model = "ZynqMP zc1751-xm017-dc3 RevA"; > + compatible = "xlnx,zynqmp-zc1751", "xlnx,zynqmp"; > + > + aliases { > + ethernet0 = &gem0; > + gpio0 = &gpio; > + i2c0 = &i2c0; > + i2c1 = &i2c1; > + mmc0 = &sdhci1; > + rtc0 = &rtc; > + serial0 = &uart0; > + serial1 = &uart1; > + usb0 = &usb0; > + usb1 = &usb1; > + }; > + > + chosen { > + bootargs = "earlycon"; > + stdout-path = "serial0:115200n8"; > + }; > + > + memory@0 { > + device_type = "memory"; > + reg = <0x0 0x0 0x0 0x80000000>, <0x8 0x00000000 0x0 0x80000000>; > + }; > +}; > + > +&fpd_dma_chan1 { > + status = "okay"; > +}; > + > +&fpd_dma_chan2 { > + status = "okay"; > +}; > + > +&fpd_dma_chan3 { > + status = "okay"; > +}; > + > +&fpd_dma_chan4 { > + status = "okay"; > +}; > + > +&fpd_dma_chan5 { > + status = "okay"; > +}; > + > +&fpd_dma_chan6 { > + status = "okay"; > +}; > + > +&fpd_dma_chan7 { > + status = "okay"; > +}; > + > +&fpd_dma_chan8 { > + status = "okay"; > +}; > + > +&gem0 { > + status = "okay"; > + phy-handle = <&phy0>; > + phy-mode = "rgmii-id"; > + phy0: phy@0 { /* VSC8211 */ > + reg = <0>; > + }; > +}; > + > +&gpio { > + status = "okay"; > +}; > + > +/* just eeprom here */ > +&i2c0 { > + status = "okay"; > + clock-frequency = <400000>; > + > + tca6416_u26: gpio@20 { > + compatible = "ti,tca6416"; > + reg = <0x20>; > + gpio-controller; > + #gpio-cells = <2>; > + /* IRQ not connected */ > + }; > + > + rtc@68 { > + compatible = "dallas,ds1339"; > + reg = <0x68>; > + }; > +}; > + > +/* eeprom24c02 and SE98A temp chip pca9306 */ > +&i2c1 { > + status = "okay"; > + clock-frequency = <400000>; > +}; > + > +&rtc { > + status = "okay"; > +}; > + > +&sata { > + status = "okay"; > + /* SATA phy OOB timing settings */ > + ceva,p0-cominit-params = /bits/ 8 <0x1B 0x4D 0x18 0x28>; > + ceva,p0-comwake-params = /bits/ 8 <0x06 0x19 0x08 0x0E>; > + ceva,p0-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>; > + ceva,p0-retry-params = /bits/ 16 <0x96A4 0x3FFC>; > + ceva,p1-cominit-params = /bits/ 8 <0x1B 0x4D 0x18 0x28>; > + ceva,p1-comwake-params = /bits/ 8 <0x06 0x19 0x08 0x0E>; > + ceva,p1-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>; > + ceva,p1-retry-params = /bits/ 16 <0x96A4 0x3FFC>; > +}; > + > +&sdhci1 { /* emmc with some settings */ > + status = "okay"; > +}; > + > +/* main */ > +&uart0 { > + status = "okay"; > +}; > + > +/* DB9 */ > +&uart1 { > + status = "okay"; > +}; > + > +&usb0 { > + status = "okay"; > + dr_mode = "host"; > +}; > + > +/* ULPI SMSC USB3320 */ > +&usb1 { > + status = "okay"; > + dr_mode = "host"; > +}; > diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm018-dc4.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm018-dc4.dts > new file mode 100644 > index 000000000000..c6eb888d7812 > --- /dev/null > +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm018-dc4.dts > @@ -0,0 +1,181 @@ > +// SPDX-License-Identifier: GPL-2.0+ > +/* > + * dts file for Xilinx ZynqMP zc1751-xm018-dc4 > + * > + * (C) Copyright 2015 - 2018, Xilinx, Inc. > + * > + * Michal Simek > + */ > + > +/dts-v1/; > + > +#include "zynqmp.dtsi" > +#include "zynqmp-clk.dtsi" > + > +/ { > + model = "ZynqMP zc1751-xm018-dc4"; > + compatible = "xlnx,zynqmp-zc1751", "xlnx,zynqmp"; > + > + aliases { > + can0 = &can0; > + can1 = &can1; These too should be dropped I think. > + ethernet0 = &gem0; > + ethernet1 = &gem1; > + ethernet2 = &gem2; > + ethernet3 = &gem3; > + gpio0 = &gpio; > + i2c0 = &i2c0; > + i2c1 = &i2c1; > + rtc0 = &rtc; > + serial0 = &uart0; > + serial1 = &uart1; > + }; > + > + chosen { > + bootargs = "earlycon"; > + stdout-path = "serial0:115200n8"; > + }; > + > + memory@0 { > + device_type = "memory"; > + reg = <0x0 0x0 0x0 0x80000000>, <0x8 0x00000000 0x0 0x80000000>; > + }; > +}; > + > +&can0 { > + status = "okay"; > +}; > + > +&can1 { > + status = "okay"; > +}; > + > +&fpd_dma_chan1 { > + status = "okay"; > +}; > + > +&fpd_dma_chan2 { > + status = "okay"; > +}; > + > +&fpd_dma_chan3 { > + status = "okay"; > +}; > + > +&fpd_dma_chan4 { > + status = "okay"; > +}; > + > +&fpd_dma_chan5 { > + status = "okay"; > +}; > + > +&fpd_dma_chan6 { > + status = "okay"; > +}; > + > +&fpd_dma_chan7 { > + status = "okay"; > +}; > + > +&fpd_dma_chan8 { > + status = "okay"; > +}; > + > +&lpd_dma_chan1 { > + status = "okay"; > +}; > + > +&lpd_dma_chan2 { > + status = "okay"; > +}; > + > +&lpd_dma_chan3 { > + status = "okay"; > +}; > + > +&lpd_dma_chan4 { > + status = "okay"; > +}; > + > +&lpd_dma_chan5 { > + status = "okay"; > +}; > + > +&lpd_dma_chan6 { > + status = "okay"; > +}; > + > +&lpd_dma_chan7 { > + status = "okay"; > +}; > + > +&lpd_dma_chan8 { > + status = "okay"; > +}; > + > +&gem0 { > + status = "okay"; > + phy-mode = "rgmii-id"; > + phy-handle = <ðernet_phy0>; > + ethernet_phy0: ethernet-phy@0 { /* Marvell 88e1512 */ > + reg = <0>; > + }; > + ethernet_phy7: ethernet-phy@7 { /* Vitesse VSC8211 */ > + reg = <7>; > + }; > + ethernet_phy3: ethernet-phy@3 { /* Realtek RTL8211DN */ > + reg = <3>; > + }; > + ethernet_phy8: ethernet-phy@8 { /* Vitesse VSC8211 */ > + reg = <8>; > + }; > +}; > + > +&gem1 { > + status = "okay"; > + phy-mode = "rgmii-id"; > + phy-handle = <ðernet_phy7>; > +}; > + > +&gem2 { > + status = "okay"; > + phy-mode = "rgmii-id"; > + phy-handle = <ðernet_phy3>; > +}; > + > +&gem3 { > + status = "okay"; > + phy-mode = "rgmii-id"; > + phy-handle = <ðernet_phy8>; > +}; > + > +&gpio { > + status = "okay"; > +}; > + > +&i2c0 { > + clock-frequency = <400000>; > + status = "okay"; > +}; > + > +&i2c1 { > + clock-frequency = <400000>; > + status = "okay"; > +}; > + > +&rtc { > + status = "okay"; > +}; > + > +&uart0 { > + status = "okay"; > +}; > + > +&uart1 { > + status = "okay"; > +}; > + > +&watchdog0 { > + status = "okay"; > +}; > diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm019-dc5.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm019-dc5.dts > new file mode 100644 > index 000000000000..2422f939ab53 > --- /dev/null > +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm019-dc5.dts > @@ -0,0 +1,126 @@ > +// SPDX-License-Identifier: GPL-2.0+ > +/* > + * dts file for Xilinx ZynqMP zc1751-xm019-dc5 > + * > + * (C) Copyright 2015 - 2018, Xilinx, Inc. > + * > + * Siva Durga Prasad > + * Michal Simek > + */ > + > +/dts-v1/; > + > +#include "zynqmp.dtsi" > +#include "zynqmp-clk.dtsi" > +#include > + > +/ { > + model = "ZynqMP zc1751-xm019-dc5 RevA"; > + compatible = "xlnx,zynqmp-zc1751", "xlnx,zynqmp"; > + > + aliases { > + ethernet0 = &gem1; > + gpio0 = &gpio; > + i2c0 = &i2c0; > + i2c1 = &i2c1; > + mmc0 = &sdhci0; > + serial0 = &uart0; > + serial1 = &uart1; > + }; > + > + chosen { > + bootargs = "earlycon"; > + stdout-path = "serial0:115200n8"; > + }; > + > + memory@0 { > + device_type = "memory"; > + reg = <0x0 0x0 0x0 0x80000000>, <0x8 0x00000000 0x0 0x80000000>; > + }; > +}; > + > +&fpd_dma_chan1 { > + status = "okay"; > +}; > + > +&fpd_dma_chan2 { > + status = "okay"; > +}; > + > +&fpd_dma_chan3 { > + status = "okay"; > +}; > + > +&fpd_dma_chan4 { > + status = "okay"; > +}; > + > +&fpd_dma_chan5 { > + status = "okay"; > +}; > + > +&fpd_dma_chan6 { > + status = "okay"; > +}; > + > +&fpd_dma_chan7 { > + status = "okay"; > +}; > + > +&fpd_dma_chan8 { > + status = "okay"; > +}; > + > +&gem1 { > + status = "okay"; > + phy-handle = <&phy0>; > + phy-mode = "rgmii-id"; > + phy0: phy@0 { > + reg = <0>; > + }; > +}; > + > +&gpio { > + status = "okay"; > +}; > + > +&i2c0 { > + status = "okay"; > +}; > + > +&i2c1 { > + status = "okay"; > +}; > + > +&sdhci0 { > + status = "okay"; > + no-1-8-v; > +}; > + > +&ttc0 { > + status = "okay"; > +}; > + > +&ttc1 { > + status = "okay"; > +}; > + > +&ttc2 { > + status = "okay"; > +}; > + > +&ttc3 { > + status = "okay"; > +}; > + > +&uart0 { > + status = "okay"; > +}; > + > +&uart1 { > + status = "okay"; > +}; > + > +&watchdog0 { > + status = "okay"; > +}; > -- > 1.9.1 >