Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp551194pxt; Fri, 6 Aug 2021 08:12:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwqN2r/Hq2F69QlgF5RN9E4awzJxOlqRC7ZiqjeoT9GPktymhK5WEPS56X/wK+ogcH5FwWi X-Received: by 2002:a02:2348:: with SMTP id u69mr10114364jau.141.1628262746064; Fri, 06 Aug 2021 08:12:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628262746; cv=none; d=google.com; s=arc-20160816; b=jRVoBLHISV8TvYjnPUEvfEnqtFdDAi80Wgfpr50auOJV3STHVgsK0ZzUJ8QtPx5Oc/ TZ+UwB2XxfeHGAYzHs2fNv+wuVQnwhQ9hVneT2DJ40rJog3ZCfJxNlSlzkdbaMj4hTDt tE37CP8TyAxIiUltK0SrtbZJRWUym7lPB5wDhtujdug9eYBZA+35P9gGeZoPVeT1/xJ2 xCqKh0vGAvl69GYJfQSOwI0GPL5I8w7IiIFb4PYgyEYVeS8i2UOSkY0aYifP5oeJq8X6 ertR9gZ7Azdrt63Ll/hieVrfSRXUOB3zU5KrU3daaDM9KiW4tmg7OCF78s4o7a6NmXkP XYvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:sender:dkim-signature; bh=WDSFc/YFGROeBwra2NE5wlZ1pD4ayBay+gG3STbLHu0=; b=VhPaiI4ZQI47KYBBZZgRV0t/ags53BdG1Cbi/yWZq9k8QRMT9MzZrt+JaMPhT/y4T7 mk0GEjk+lpuNqRQWG05wdkWzTk6HXlKJwZ74kAAXAlR2K80rceeeWLePzfZ9IjdzdAGK YodKVgl0z/SypVKWtUKVqTc046W+R/2byjbnEvXcjJX2Ssta2Im2q5RciXL6veV6ULSV Nw9I7yfGUQGlmUSo97l7Jf2mNWYiEHtQ9QsahE5s+wYem862KRGjqHWq+xj2E0Qmawly Fim868xW04OFk5szkNJXkSFovN2/jRRdrBYa5nM14thh9GnkGhqnCMIeR2IcRylpLC9U VctA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@monstr-eu.20150623.gappssmtp.com header.s=20150623 header.b=qfLFEJky; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=xilinx.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b138si7662521iof.84.2021.08.06.08.12.13; Fri, 06 Aug 2021 08:12:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@monstr-eu.20150623.gappssmtp.com header.s=20150623 header.b=qfLFEJky; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=xilinx.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244822AbhHFKFW (ORCPT + 99 others); Fri, 6 Aug 2021 06:05:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53920 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244817AbhHFKFV (ORCPT ); Fri, 6 Aug 2021 06:05:21 -0400 Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 06462C061799 for ; Fri, 6 Aug 2021 03:05:06 -0700 (PDT) Received: by mail-ed1-x534.google.com with SMTP id d6so12293588edt.7 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=ItzeL3r9XzFZoKti9av6TkDqH+SMyi8WTpcongScM8LG7TrvL5RLFlFmIlysfH/j1Y zidAiSqBu2mMAqG68e96lfGjAAfArlxu7gCCQcW6rLE8XsYpsNC86ddu+zbV288X0DHD /wXSzaP6ULAnWLIucvGNF3CiAwvfnyKWtcmt4UIfDyMqv7wz8ibZQPY8aWWdAodo4Z2w eur1pUuKpIOI6SsyHYOrAQLi70T/L148gTse/rNvZLhEgdsOI+ieWKiXe2uk/r97XJmI Nt0DAzUj6maYfzUkPZHg+5yoz2HD4AO3RIYKdbLlcvM8EG3K/GoDZYpId4E1xlDfwFEl 9x/Q== X-Gm-Message-State: AOAM532tbeqPeUpkBtvA7Jw3OciznuaeIq8RZOBYHF9HmPmrgiEEz9J3 T342+2FCvS6H8WKbkBef6h7olmns5EJ4CD0F 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) Sender: Michal Simek 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 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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"; }; -- 2.32.0