From patchwork Mon Jun 14 15:25:38 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 12319271 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.9 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=unavailable 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 C1F46C2B9F4 for ; Mon, 14 Jun 2021 15:44:12 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 874E961378 for ; Mon, 14 Jun 2021 15:44:12 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 874E961378 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=xilinx.com 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=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=0K3YcRmZYO+LwuQoUwaVSdsS6mWAOrNYsRENRa2zajY=; b=Zo483uen0We/OY iBMQZgG7iNJ5luiiGnourVUMHx/08ct5TPfFet2/WIPBbJOMjZ3EAWmPg0wZQV/Rjv/MtbTyivKGM isKxt7/AcVpfnyP0od/DOFlsAa68QTNfpfpNECUQjAxPu7VPossxYOTPoaMprMUmyLPZO6T+js1Ka QMnOEhBX4nOsLq+FLdsuT7ibX2lCeshLwG7j1XA6nxnS9nM8Q0zuKeO5KvEaOJUfCZ7+bVGCALEnZ LoIiiEwutTF2RW5GMbwgKUuxGuTzN5lNjfEGNrfq5f1qzgItxoqpcbVknJ9BYaHekkloUP9CqQuNa 677yAO/MekuxhBvAPvZA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lsoio-00Eoz3-FR; Mon, 14 Jun 2021 15:41:56 +0000 Received: from mail-ej1-x632.google.com ([2a00:1450:4864:20::632]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lsoTt-00EjCp-2T for linux-arm-kernel@lists.infradead.org; Mon, 14 Jun 2021 15:26:30 +0000 Received: by mail-ej1-x632.google.com with SMTP id c10so17320804eja.11 for ; Mon, 14 Jun 2021 08:26:28 -0700 (PDT) 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 :mime-version:content-transfer-encoding; bh=uIIPf/rVDazF1Cu6Pp5jF9Ix3WsprKigp0yGfmEr25U=; b=iAz4f/xBbtkY3AYctaPRA8DB2vzul2OSrBZ90ROJrbwcyhd+AoP5wN0SfRlUJb1oTA BcG3BAxb1HAxrdBNQCI6e6QWMxBsH7K9+HZz/D2GHWphtACjWBcQljUK1kc4v4F6iY9N pK0mmaUChvFT3yKR+1lwHz3DXnhz34LG/OTKYBNZf/nVpR0mkXW/ZTwbV8v1sVN+aLK5 TuaRkquusM/plvRTfoHYlXNcedNjLadSjmR4DSHTxqbWEfKwU1dC+RNb1RDEEpZXYUmz I5RlAeabNiQ+pp+9pXSQP/oWcSezfxiEXRiEi7n8AA9x4qGAPNzGI+zLMco4OVSSk3c5 ye6g== 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:mime-version:content-transfer-encoding; bh=uIIPf/rVDazF1Cu6Pp5jF9Ix3WsprKigp0yGfmEr25U=; b=sIzAwG5QwJF6/LUC6bLl0Kt/i0590AljQ7eAt6PApjEbZ1I1DvZ3i7GNE97eeVPcLV R7qwSIcAct51Ck7jA3eSK4nAKDx39WOdLenp8xproQ1UndCowtorNzSe8RNjPIaBa2pH fJ0JQxLm5EUtTn0KqoEBcArtAY/CFgkYTR8WyJ5wAcdGEQae1ctn93BcRMqDlvBkaSNf 4oky8BqG2FGLmuxwrR3y2ceXe0JRkshbODlya5vmc37hol8X/kSo3Uu25n06tmjeID9T 3cf9Ljz3Jb0g58pfEAUapDZr4BHURASyC/3I+VMIzlstkCPSLKTSLAwsResYe28qz1Y7 RYIg== X-Gm-Message-State: AOAM53217yJzh8PUvWqIGTq0UtAR7uHzkAiKLROytxS3wqPRuJofdB33 k+FF/Rd/5V/eX87CXRawBRHI1g== X-Google-Smtp-Source: ABdhPJyxOgoYNEiSM6KdbKJLH1VaDNbu7OfZUgt6+tWaJUY/8p8L/YwWXA8RgxHoY5CRrOzWionDHw== X-Received: by 2002:a17:906:86d2:: with SMTP id j18mr15425424ejy.180.1623684387146; Mon, 14 Jun 2021 08:26:27 -0700 (PDT) Received: from localhost ([2a02:768:2307:40d6:f666:9af6:3fed:e53b]) by smtp.gmail.com with ESMTPSA id kb20sm7631297ejc.58.2021.06.14.08.26.26 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 14 Jun 2021 08:26:26 -0700 (PDT) From: Michal Simek To: linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, git@xilinx.com, Viresh Kumar Cc: Geert Uytterhoeven , Krzysztof Kozlowski , Michael Walle , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 30/33] arm64: zynqmp: Add support for zcu102-rev1.1 board Date: Mon, 14 Jun 2021 17:25:38 +0200 Message-Id: <38bbbeb885f4d9ba466c43ab9b4d25190a3552fb.1623684253.git.michal.simek@xilinx.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210614_082629_177261_6ABB11E1 X-CRM114-Status: GOOD ( 16.65 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org zcu102 rev1.1 compare to rev1.0 is using by default different DDR memory which requires different configuration. The reason for adding this file to Linux kernel is that U-Boot fdtfile variable is composed based on board revision (in eeprom) and dtb file should exist in standard distibutions for passing it to Linux kernel. Signed-off-by: Michal Simek Reviewed-by: Rob Herring --- Changes in v2: None Documentation/devicetree/bindings/arm/xilinx.yaml | 1 + arch/arm64/boot/dts/xilinx/Makefile | 1 + .../boot/dts/xilinx/zynqmp-zcu102-rev1.1.dts | 15 +++++++++++++++ 3 files changed, 17 insertions(+) create mode 100644 arch/arm64/boot/dts/xilinx/zynqmp-zcu102-rev1.1.dts diff --git a/Documentation/devicetree/bindings/arm/xilinx.yaml b/Documentation/devicetree/bindings/arm/xilinx.yaml index f52c7e8ce654..a0b1ae6e3e71 100644 --- a/Documentation/devicetree/bindings/arm/xilinx.yaml +++ b/Documentation/devicetree/bindings/arm/xilinx.yaml @@ -87,6 +87,7 @@ properties: - xlnx,zynqmp-zcu102-revA - xlnx,zynqmp-zcu102-revB - xlnx,zynqmp-zcu102-rev1.0 + - xlnx,zynqmp-zcu102-rev1.1 - const: xlnx,zynqmp-zcu102 - const: xlnx,zynqmp diff --git a/arch/arm64/boot/dts/xilinx/Makefile b/arch/arm64/boot/dts/xilinx/Makefile index 11fb4fd3ebd4..083ed52337fd 100644 --- a/arch/arm64/boot/dts/xilinx/Makefile +++ b/arch/arm64/boot/dts/xilinx/Makefile @@ -12,6 +12,7 @@ dtb-$(CONFIG_ARCH_ZYNQMP) += zynqmp-zcu100-revC.dtb dtb-$(CONFIG_ARCH_ZYNQMP) += zynqmp-zcu102-revA.dtb dtb-$(CONFIG_ARCH_ZYNQMP) += zynqmp-zcu102-revB.dtb dtb-$(CONFIG_ARCH_ZYNQMP) += zynqmp-zcu102-rev1.0.dtb +dtb-$(CONFIG_ARCH_ZYNQMP) += zynqmp-zcu102-rev1.1.dtb dtb-$(CONFIG_ARCH_ZYNQMP) += zynqmp-zcu104-revA.dtb dtb-$(CONFIG_ARCH_ZYNQMP) += zynqmp-zcu104-revC.dtb dtb-$(CONFIG_ARCH_ZYNQMP) += zynqmp-zcu106-revA.dtb diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-rev1.1.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-rev1.1.dts new file mode 100644 index 000000000000..b6798394fcf4 --- /dev/null +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-rev1.1.dts @@ -0,0 +1,15 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * dts file for Xilinx ZynqMP ZCU102 Rev1.1 + * + * (C) Copyright 2016 - 2020, Xilinx, Inc. + * + * Michal Simek + */ + +#include "zynqmp-zcu102-rev1.0.dts" + +/ { + model = "ZynqMP ZCU102 Rev1.1"; + compatible = "xlnx,zynqmp-zcu102-rev1.1", "xlnx,zynqmp-zcu102", "xlnx,zynqmp"; +};