From patchwork Fri Aug 6 10:05:02 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 12423113 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=-14.7 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, UNWANTED_LANGUAGE_BODY,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 93C72C4338F for ; Fri, 6 Aug 2021 10:07:16 +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 40C506101C for ; Fri, 6 Aug 2021 10:07:16 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 40C506101C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=xilinx.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=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: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:In-Reply-To:References: List-Owner; bh=yLp655m3k3Zdwq5P55ItmvamwNMlysjJbj3NX37lamk=; b=j/+hL0UgidHFaL UnvbA0MxoxeP/1PYZc8o0HTtLQ2sAQYzcgyCIZdXHKN7VXWZ9c52t5yrt1e5ivAWmvJ1SnXBoO8ew hsfgEvcLTNTDAYdQUk464Trmb3ZeXlqR/KbrOW4+AwLkTl30Roes3OHgrMEHYhzz0jc8VB55/5UQ3 rmSDv1elldiRAQPDFl3ZZwRQFxcRTRDpOuw2mt9n++NyuJgLH0d8+0YgN+L7wAJa6KdZySJy2/F9P cGG13G0lFjoT8PA2Rqf1pkiyz6X8QJozNmtNElWkRoVHUcqUcDSk+HHPIcdMGSwf2uPJBWqAVFMu+ GrAFNmlTU9WERv7e9vEg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mBwj0-00C4Ci-1i; Fri, 06 Aug 2021 10:05:10 +0000 Received: from mail-ed1-x533.google.com ([2a00:1450:4864:20::533]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mBwiw-00C4C4-7Q for linux-arm-kernel@lists.infradead.org; Fri, 06 Aug 2021 10:05:07 +0000 Received: by mail-ed1-x533.google.com with SMTP id k9so12306026edr.10 for ; Fri, 06 Aug 2021 03:05:05 -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:mime-version :content-transfer-encoding; bh=WDSFc/YFGROeBwra2NE5wlZ1pD4ayBay+gG3STbLHu0=; b=qfLFEJkym59HwX9J/ELX95EwPqTjAQ4o0ywbuG8nRSkRfjL2XwVd5lyRrV0WGK6pWb xKMyBQw6IpzL5KsTzLwzRPUyoTNKKuxmpw6ui5/sl0UXWtYvvdy3V+Kc2f1RhNx6U/e8 5ag4szrGir0IWddIJ6z/3LXdnHXFhIpjoUwYTm+U2QIANQsJyCauqEFAJYODCBW3rVTW ejNJdQZ22P5R/O3LinT1hHSUoNtvDZxM+cKnvWRvaWSLKo1dDbOZdRVzQjPlnrtyBoDS AQN3nnC2spsASjdY4SjRx0g5jeaJmJ00Vx0+J/Zy94Mo1U1V4v8y90F1lRQt7eDuI8LR l+Uw== 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 :mime-version:content-transfer-encoding; bh=WDSFc/YFGROeBwra2NE5wlZ1pD4ayBay+gG3STbLHu0=; b=T652e9cMY8xOOPOOgXolB1a5RNLZ8+mSatTn+HKqzCMrPaOz16wQWn106rrvgP7IAs Ok1rTlknL+Jso3dn8bv+GhB7PBnv6R955dRpOYavaHv2aIhliB4otYwnMER7kqx110Fe tthWPPtKIS1TN7PRLp7Hc/dsBVKJFU7GRGrt2ilGFmIxWs1KzG6UmXd608kIQD6Er4+A /kvPrPnzaz0CxXCoe2lQSN8nvJN4pWcH4mQTaciJmqMfXg8GP92znrXm2CITXVcYqTCq ZEgt1Xs8DY/bfxu5bVOcez1u+9I/AYBCjNAHDGUBbKshQrDYjaNcDhzYIBmjo3Xc9iGf M0Ag== X-Gm-Message-State: AOAM532DZkE8N+zu4Bi915Z0pzfNBpji6KpA4/kFuOae4TVwJwF2L6uW fzgpXuMj+H70JQDHBWqqtOzKOA== X-Google-Smtp-Source: ABdhPJxeU0gz5fAf7JuAKGWgvm+A1QMkSuRIokztt3lVZM5Vwkw8ea9rC+kh7PC5+JpGYxOxh2HmdQ== X-Received: by 2002:a05:6402:27cf:: with SMTP id c15mr12053766ede.268.1628244304263; Fri, 06 Aug 2021 03:05:04 -0700 (PDT) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id v8sm2712463ejy.79.2021.08.06.03.05.03 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 06 Aug 2021 03:05:03 -0700 (PDT) From: Michal Simek To: linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, git@xilinx.com Cc: Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH] arm64: zynqmp: Enable gpio and qspi for zc1275-revA Date: Fri, 6 Aug 2021 12:05:02 +0200 Message-Id: <839d833133318feeb2755c4431204b0ef4788cce.1628244299.git.michal.simek@xilinx.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210806_030506_353962_C7D59274 X-CRM114-Status: GOOD ( 11.31 ) 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 Add missing gpio and qspio for zc1275-revA board. Signed-off-by: Michal Simek --- .../boot/dts/xilinx/zynqmp-zc1275-revA.dts | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zc1275-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zc1275-revA.dts index 66a90483b004..e971ba8c1418 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp-zc1275-revA.dts +++ b/arch/arm64/boot/dts/xilinx/zynqmp-zc1275-revA.dts @@ -2,7 +2,7 @@ /* * dts file for Xilinx ZynqMP ZC1275 * - * (C) Copyright 2017 - 2019, Xilinx, Inc. + * (C) Copyright 2017 - 2021, Xilinx, Inc. * * Michal Simek * Siva Durga Prasad Paladugu @@ -20,6 +20,7 @@ / { aliases { serial0 = &uart0; serial1 = &dcc; + spi0 = &qspi; }; chosen { @@ -37,6 +38,21 @@ &dcc { status = "okay"; }; +&gpio { + status = "okay"; +}; + +&qspi { + status = "okay"; + flash@0 { + compatible = "m25p80", "jedec,spi-nor"; + reg = <0x0>; + spi-tx-bus-width = <1>; + spi-rx-bus-width = <4>; + spi-max-frequency = <108000000>; + }; +}; + &uart0 { status = "okay"; };