From patchwork Fri Jan 19 12:55:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 10175219 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id F12AE60392 for ; Fri, 19 Jan 2018 12:56:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E165228685 for ; Fri, 19 Jan 2018 12:56:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D59DB28696; Fri, 19 Jan 2018 12:56:57 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 623BD28685 for ; Fri, 19 Jan 2018 12:56:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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=7vsTYC517tvDY5AobJdZWn9Mk2rqcZcCHliUktMatxQ=; b=VnLybt/rZI/JGNkmw1cEYtt5PC u4u/B2O9N8R6+Ki8TRXLbrEol7CwrcLU8SMuorLlil8dkH3bdqfD5oTF7XLU8lHIcXYueNhkV97hj sFTOjpkqlKTNYbvoygA/Gz4ksazBg6zM6FEK1Lyha7BmbPHJ5xK0AVRI5shI/QQEo0CsL9jb/h/uS GK171XML9igRlJ9JkG44hdfSbCCDy/+ieFUaF6YkYhITwYGcpz1amZ0m79c1N5EvLqMb8t0ezHPQ0 T4uEQZdJXGjj288Yrvdl1bS7zMahbBXYnos4T7aR4F1mn1rU8t7V9rnA14JAGe7TdXsgKP982MqLq VexHCw4g==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1ecWE1-0006QH-QM; Fri, 19 Jan 2018 12:56:53 +0000 Received: from mail-wr0-x241.google.com ([2a00:1450:400c:c0c::241]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1ecWDH-0005e4-Vt for linux-arm-kernel@lists.infradead.org; Fri, 19 Jan 2018 12:56:09 +0000 Received: by mail-wr0-x241.google.com with SMTP id e41so1490160wre.9 for ; Fri, 19 Jan 2018 04:56:03 -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=Wr2PeXWDCMKKKuw//xhRY/+g8gorjNrN9K91Ub60dHU=; b=jYaebm0HoPKfGl10LAm7l8G/sZMGUh5XG7PQHn/rAZEYmmpHZe8bZns/9/wgfGVaz/ 2L9XewVl0rVOIUL81/4BgwkeHI2Uj9pF1AQIY73PJYjv25WsuY70mz1yLfo6Q+q0Fwnm P+N7DjH5vJoJNL1GS37ljngieN7Od2JfO2/44EF89xL8VU9fYqGpNVgJMePfcC9PLEgc uK1ipi7PR/y6kEiUUhR1XtjTlDhC2ola3f2Z2jv45ozzMoBDn3sVrWza3EhbIpyuj59V INo/7NkB34o1a4hsrM53UHZGx1WsH4izWop0k5tpabAO0pXG9VTjpbBRDXnheDRRqXdI /Bgg== 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=Wr2PeXWDCMKKKuw//xhRY/+g8gorjNrN9K91Ub60dHU=; b=EusU9SbO7qwRRHhv/72q59BUMVgUNt5yhUnUdHORPvkLHcJRdCGaE92sS/81BZmRW0 E84zkGzGFbAhP9pV0TtE/oiR2pgAcH+6yxEgFKaFGpkFZa8rt4yxy4yCSp+D1FBh5gIL jmgiuKkfwGjyzNhvISWz5h5Gf3rMOIMBmrQn9Ay24hfuaaniK2o0FSNIxEjFMCmL+CiT nuxG8kPXJIIDCkEcYbWTB2SuxEkyYT31WI64DCiExS/xP7554twVzCgq+s2Y7OWb/VOb nTaWSCg+3jgX+3tbiERVkm1zPsPmU8Tf2qYKdM9Zpg2RyKM9F/2Uwv+OcVRfGEFUZ6rI skFA== X-Gm-Message-State: AKwxytdQML+Ec432aHOUaxoL15M/4wqontUiaKn3QQGJAz6M0hXhaDpY J3oModSvLpESgu8W600kZCsCAw== X-Google-Smtp-Source: ACJfBoud1iIU0yv4R7cQzgAUmibA7ARLY7mMZC7Be2HJeCfpy4klVLNKgMlclyMi68KdLuh3kRkpUQ== X-Received: by 10.223.133.103 with SMTP id 94mr9439949wrh.266.1516366561840; Fri, 19 Jan 2018 04:56:01 -0800 (PST) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id u33sm12517694wrc.83.2018.01.19.04.56.01 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Fri, 19 Jan 2018 04:56:01 -0800 (PST) From: Michal Simek To: devicetree@vger.kernel.org Subject: [PATCH 6/7] arm64: zynqmp: Add support for Xilinx zc12XX boards Date: Fri, 19 Jan 2018 13:55:45 +0100 Message-Id: <1cc1e046fe0fb25dd3d2ed3144dc7d03792bfd10.1516366474.git.michal.simek@xilinx.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: References: In-Reply-To: References: X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , monstr@monstr.eu, Arnd Bergmann , Catalin Marinas , Will Deacon , linux-kernel@vger.kernel.org, Masahiro Yamada , Rob Herring , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP These 3 boards requires minimal support to get Linux up and running. Signed-off-by: Michal Simek --- 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 ++++++++++++++++++ 4 files changed, 141 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/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"; +};