Received: by 10.223.185.116 with SMTP id b49csp778249wrg; Fri, 23 Feb 2018 06:42:31 -0800 (PST) X-Google-Smtp-Source: AH8x225sWFxYjFVacr/cyR+Avt7bHJ4IfLbNM1zOV2CpemspvIWFiNf8osipalZtZ+te2yyjnBa9 X-Received: by 2002:a17:902:3a1:: with SMTP id d30-v6mr1897132pld.409.1519396951425; Fri, 23 Feb 2018 06:42:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519396951; cv=none; d=google.com; s=arc-20160816; b=XGte/5IKmhX0wVQQQe6FxT7n/mx3+g3M6BfMzVavaUgo9ck116UlU9ejQn7WKQCjO4 4FxwjVnT7I2sM3L3rVWyFW369xPW33EhJzLlos3ULnXoIvceha66FmocBDDEE5X9jths aeYJQ6+V/91uScMLrfxIWOyOG0BaDZ0d42CgZ0qpTy5I+p03k3tgPwv7QHMn1W4Z94r2 8k3MHSnd9rXwtsl6pqmCBhYwRcswUNnoQJE5Og86m4g9R1Urwrdry3Qm8djQreRPiZfc utYtt17105/HcWJ6qljhHC96etTuQ/ehyPpxjzfVES8ChMb27xYTaXloQeqFvAzrIbXs wnNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=1zRfXv/BUHh36zk01o47envUxGYCAFe+qlxTwkdx06A=; b=c/AeIHFPAp7YF+4HhZTkCzBz6a+3yGWBSYztDvSIrCeokOAhUoy1ptRQdtx4fz4lnm ovLmuoazF66ZIQwRla2JRhCL38fabkRE5i13sspFKDbzTA7l3gekIn5cMlfh3FFPDdMt aLiNCRnaQVzaDzuKnNRKItLiNg52SxcS85CfYCOhP0siKz04LFS9yV2qP2cG9TqwtLb0 D2elWdolSlCqdxCFQ8QsfBfSrM3/Jrgt/XKkAPGYJgA+UtmhBsk1sMLs2A8/cccQGKp3 BZR8JIu8aQi98uTp9OrtIiNkl9W9GHtez1PmkevJsFuPwUxYwqPuSt8/lr5OAX3xURjX xBzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@monstr-eu.20150623.gappssmtp.com header.s=20150623 header.b=JQHRtdud; 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 p10si1917168pfe.171.2018.02.23.06.42.16; Fri, 23 Feb 2018 06:42:31 -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; dkim=fail header.i=@monstr-eu.20150623.gappssmtp.com header.s=20150623 header.b=JQHRtdud; 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 S1751799AbeBWOlR (ORCPT + 99 others); Fri, 23 Feb 2018 09:41:17 -0500 Received: from mail-wr0-f193.google.com ([209.85.128.193]:36679 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751713AbeBWOko (ORCPT ); Fri, 23 Feb 2018 09:40:44 -0500 Received: by mail-wr0-f193.google.com with SMTP id v111so2117469wrb.3 for ; Fri, 23 Feb 2018 06:40:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=1zRfXv/BUHh36zk01o47envUxGYCAFe+qlxTwkdx06A=; b=JQHRtdud924LMfYAIswyG0zT/a1kq8IQ3odh5TS/EKxePIP4i+80vHOcx6OaVs5Hpp y3jKDNCbBQB3h3Ke9g5tiO41ovAF0wYaK2b4BsEj4/fFYT74rDJnijy3xgGF/gKvzZwz s7GONgx7YBsn5C/4EN/mDKzkfNp+uHQ8ytOvEw5PWQBoxsUjMV2kB2wWy/q2/sCWPV5y aylpasLr/Ysw0k6cpgFj+fGcpF3YjYTX2Lj+QLg3ti1baKJYZeB3qm9DUCYVrhzKQamy THLZaXLNxTs9653/Ysb9/ryU6MhFLIKuOc+gsgGlFND+HFOjqqSCMkUc0VHElCH8KPRe 8lSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:in-reply-to:references; bh=1zRfXv/BUHh36zk01o47envUxGYCAFe+qlxTwkdx06A=; b=FLh6+fXenFgaRt/6sxPCAzMYPLEtJwgg8sqHGkG8vrqWoxsUkm1IFL/7b41rzNVO7o 2dYSVvhhpD4RooZEDzN8WeX76btPvH5cwp/M+PP3PHeqkWSBLOj+QAK1TMCGYU4nOvvg KSfhWo3xlgT1PVue4Yv8G5VwIZQ7+E2VV3A/7S8fzvKRA6qwPRd3rWRwYIBPn1LZ1yX+ BxXmrylQa6Ybk7r72p1FDfreIyJ4nLE3Rk4jjmfhq3Y1EcQqwHoQUEntGMywt6HFz1QS S6712lZbvwV87RwKTrtx3mpEi9jlCULcdqAmm9XKo3tfdZ5Vo0LaJ4d4DQAwMO9P2igA DB3g== X-Gm-Message-State: APf1xPDWq7xOxqzmmTPi1hT0msQboV/3Nr4aewFxvgdC483AgfMXAc3s iG7RJQbHAd4FKzUaCqknCTRjUA== X-Received: by 10.223.154.7 with SMTP id z7mr1848986wrb.98.1519396843364; Fri, 23 Feb 2018 06:40:43 -0800 (PST) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id d188sm4750980wme.21.2018.02.23.06.40.42 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Fri, 23 Feb 2018 06:40:42 -0800 (PST) From: Michal Simek To: devicetree@vger.kernel.org Cc: monstr@monstr.eu, Masahiro Yamada , linux-kernel@vger.kernel.org, Arnd Bergmann , Will Deacon , Catalin Marinas , Rob Herring , Mark Rutland , linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 7/8] arm64: zynqmp: Add support for Xilinx zc12XX boards Date: Fri, 23 Feb 2018 15:40:29 +0100 Message-Id: <10883c083dfe48fe5349292f78e47143d87c0a15.1519396753.git.michal.simek@xilinx.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org These 3 boards requires minimal support to get Linux up and running. Signed-off-by: Michal Simek --- Changes in v2: - Record compatible string to xilinx.txt Documentation/devicetree/bindings/arm/xilinx.txt | 9 ++++ arch/arm64/boot/dts/xilinx/Makefile | 3 ++ arch/arm64/boot/dts/xilinx/zynqmp-zc1232-revA.dts | 54 +++++++++++++++++++++++ arch/arm64/boot/dts/xilinx/zynqmp-zc1254-revA.dts | 42 ++++++++++++++++++ arch/arm64/boot/dts/xilinx/zynqmp-zc1275-revA.dts | 42 ++++++++++++++++++ 5 files changed, 150 insertions(+) create mode 100644 arch/arm64/boot/dts/xilinx/zynqmp-zc1232-revA.dts create mode 100644 arch/arm64/boot/dts/xilinx/zynqmp-zc1254-revA.dts create mode 100644 arch/arm64/boot/dts/xilinx/zynqmp-zc1275-revA.dts diff --git a/Documentation/devicetree/bindings/arm/xilinx.txt b/Documentation/devicetree/bindings/arm/xilinx.txt index c2bc75774010..aceccf2bf43b 100644 --- a/Documentation/devicetree/bindings/arm/xilinx.txt +++ b/Documentation/devicetree/bindings/arm/xilinx.txt @@ -19,6 +19,15 @@ Required root node properties: Additional compatible strings: +- Xilinx internal board zc1232 + "xlnx,zynqmp-zc1232-revA", "xlnx,zynqmp-zc1232" + +- Xilinx internal board zc1254 + "xlnx,zynqmp-zc1254-revA", "xlnx,zynqmp-zc1254" + +- Xilinx internal board zc1275 + "xlnx,zynqmp-zc1275-revA", "xlnx,zynqmp-zc1275" + - 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 d15c9dc1d8f2..bdda451afaad 100644 --- a/arch/arm64/boot/dts/xilinx/Makefile +++ b/arch/arm64/boot/dts/xilinx/Makefile @@ -1,5 +1,8 @@ # SPDX-License-Identifier: GPL-2.0 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-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-zc1232-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zc1232-revA.dts new file mode 100644 index 000000000000..0f7b4cf6078e --- /dev/null +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zc1232-revA.dts @@ -0,0 +1,54 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * dts file for Xilinx ZynqMP ZC1232 + * + * (C) Copyright 2017 - 2018, Xilinx, Inc. + * + * Michal Simek + */ + +/dts-v1/; + +#include "zynqmp.dtsi" +#include "zynqmp-clk.dtsi" + +/ { + model = "ZynqMP ZC1232 RevA"; + compatible = "xlnx,zynqmp-zc1232-revA", "xlnx,zynqmp-zc1232", "xlnx,zynqmp"; + + aliases { + serial0 = &uart0; + serial1 = &dcc; + }; + + chosen { + bootargs = "earlycon"; + stdout-path = "serial0:115200n8"; + }; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x0 0x0 0x80000000>; + }; +}; + +&dcc { + status = "okay"; +}; + +&sata { + status = "okay"; + /* SATA OOB timing settings */ + ceva,p0-cominit-params = /bits/ 8 <0x18 0x40 0x18 0x28>; + ceva,p0-comwake-params = /bits/ 8 <0x06 0x14 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 <0x18 0x40 0x18 0x28>; + ceva,p1-comwake-params = /bits/ 8 <0x06 0x14 0x08 0x0E>; + ceva,p1-burst-params = /bits/ 8 <0x13 0x08 0x4A 0x06>; + ceva,p1-retry-params = /bits/ 16 <0x96A4 0x3FFC>; +}; + +&uart0 { + status = "okay"; +}; diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zc1254-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zc1254-revA.dts new file mode 100644 index 000000000000..9092828f92ec --- /dev/null +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zc1254-revA.dts @@ -0,0 +1,42 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * dts file for Xilinx ZynqMP ZC1254 + * + * (C) Copyright 2015 - 2018, Xilinx, Inc. + * + * Michal Simek + * Siva Durga Prasad Paladugu + */ + +/dts-v1/; + +#include "zynqmp.dtsi" +#include "zynqmp-clk.dtsi" + +/ { + model = "ZynqMP ZC1254 RevA"; + compatible = "xlnx,zynqmp-zc1254-revA", "xlnx,zynqmp-zc1254", "xlnx,zynqmp"; + + aliases { + serial0 = &uart0; + serial1 = &dcc; + }; + + chosen { + bootargs = "earlycon"; + stdout-path = "serial0:115200n8"; + }; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x0 0x0 0x80000000>; + }; +}; + +&dcc { + status = "okay"; +}; + +&uart0 { + status = "okay"; +}; diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zc1275-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zc1275-revA.dts new file mode 100644 index 000000000000..4f404c580eec --- /dev/null +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zc1275-revA.dts @@ -0,0 +1,42 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * dts file for Xilinx ZynqMP ZC1275 + * + * (C) Copyright 2017 - 2018, Xilinx, Inc. + * + * Michal Simek + * Siva Durga Prasad Paladugu + */ + +/dts-v1/; + +#include "zynqmp.dtsi" +#include "zynqmp-clk.dtsi" + +/ { + model = "ZynqMP ZC1275 RevA"; + compatible = "xlnx,zynqmp-zc1275-revA", "xlnx,zynqmp-zc1275", "xlnx,zynqmp"; + + aliases { + serial0 = &uart0; + serial1 = &dcc; + }; + + chosen { + bootargs = "earlycon"; + stdout-path = "serial0:115200n8"; + }; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x0 0x0 0x80000000>; + }; +}; + +&dcc { + status = "okay"; +}; + +&uart0 { + status = "okay"; +}; -- 1.9.1