From mboxrd@z Thu Jan 1 00:00:00 1970 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=-13.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS 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 AA530C4338F for ; Mon, 23 Aug 2021 06:49:28 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0A72661356 for ; Mon, 23 Aug 2021 06:49:28 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 0A72661356 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=monstr.eu Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 367D082F34; Mon, 23 Aug 2021 08:49:26 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=monstr.eu Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.b="izLWBYiA"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 87DD780394; Mon, 23 Aug 2021 08:49:24 +0200 (CEST) Received: from mail-ed1-x52e.google.com (mail-ed1-x52e.google.com [IPv6:2a00:1450:4864:20::52e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 07A6C8314B for ; Mon, 23 Aug 2021 08:49:20 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=monstr.eu Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=monstr@monstr.eu Received: by mail-ed1-x52e.google.com with SMTP id q3so24635326edt.5 for ; Sun, 22 Aug 2021 23:49:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=6QmQorB5MqmK4Av+tzhhoVf+3vbWoOU1bgv0CeSu0Ic=; b=izLWBYiAWKKz4dyQC6kezP1lLLD3utlNAwqB0BXFHSSLrGLDxqhs0pZOGZR5IHpUDz HLLfNDTW9vAMF5/C4LIISpibAI0IygSmQsIPXDhixIDtYI5IoBGH70VdofHzuA4FvekB KCyy57HXnPXEOZdmKlWU/o6VES/WWwFoajkZv/KukpKvsVdtV2dFDvI0/ZFgYTp/IN9Q mxxBKjFIybHjMoSUf625TciWpMU7FsX65xZF0FN0bOK3elAVD11hfiRwZPcicBzowLQL 2OuY3lxt9xZpnEW76A5lpEpQ1ECCLx0bjRp5xQZtwSiQ32F9NqzlLOdEXK7oKNbKR8XT m0+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=6QmQorB5MqmK4Av+tzhhoVf+3vbWoOU1bgv0CeSu0Ic=; b=MBPlZJkCKiMscn8oLHhwsCMRsQOyMyrEkovMvl7h9dtOHckaJ8eyBZ1wQQA7oh77kC imBGlv1GByfkH89WRgWAvI/twKqnHW15SP+d2LMs3WBJLdFdFpg0ITIjdqGK267YQd66 oogAW3GD3hNTsreS7g+h/K2eMijhK9lgzSacXiz90NgOX4FwILh4UD9Ms+oXnULh3YF/ iFU8+AvaqU2e6ZGlSHaM/9x99/ZuQpYmtlqCD2V1VEN1QWC070n6PYMWCMG0HoTBjIVq 9097HJVAbmy6oIbSXGTySjyV+NIYVd/Jdcaey49xrhSVTh4XjJzrKBE0KxUFFXI7Psgf SMEA== X-Gm-Message-State: AOAM531YeGaZ5pVP9uY0r7KPJOaOWZTceGTNGiuPKsXwuIw2qd0GbJOE Sc0rydB9M8yeMs8BQHNq7JS3CWfN8oWUCN9VGRMCLdvOhzqipA== X-Google-Smtp-Source: ABdhPJwJyvWnspNkAxgQ3V/QFB6UgPI2JaXvr2oFF4oRNQDZRMMhSnuB4dGfRmTJbIcdn0f/l/eZ7rGqxy9zEIz3OQM= X-Received: by 2002:a05:6402:2889:: with SMTP id eg9mr36338176edb.38.1629701359525; Sun, 22 Aug 2021 23:49:19 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Michal Simek Date: Mon, 23 Aug 2021 08:49:08 +0200 Message-ID: Subject: Re: [PATCH] ARM: zynq: Wire single qspi on couple of boards To: U-Boot , git Cc: Sai Krishna Potthuri , Tom Rini Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean p=C3=A1 6. 8. 2021 v 13:34 odes=C3=ADlatel Michal Simek napsal: > > Single configuration is working fine and no issue to enable it. > > Signed-off-by: Michal Simek > --- > > arch/arm/dts/zynq-zc702.dts | 8 ++++++++ > arch/arm/dts/zynq-zc706.dts | 8 ++++++++ > arch/arm/dts/zynq-zc770-xm010.dts | 8 ++++++++ > arch/arm/dts/zynq-zc770-xm013.dts | 8 ++++++++ > 4 files changed, 32 insertions(+) > > diff --git a/arch/arm/dts/zynq-zc702.dts b/arch/arm/dts/zynq-zc702.dts > index 57a47409b915..f2e05a55b958 100644 > --- a/arch/arm/dts/zynq-zc702.dts > +++ b/arch/arm/dts/zynq-zc702.dts > @@ -409,6 +409,14 @@ > &qspi { > u-boot,dm-pre-reloc; > status =3D "okay"; > + num-cs =3D <1>; > + flash@0 { > + compatible =3D "n25q128a11", "jedec,spi-nor"; > + reg =3D <0x0>; > + spi-tx-bus-width =3D <1>; > + spi-rx-bus-width =3D <4>; > + spi-max-frequency =3D <50000000>; > + }; > }; > > &sdhci0 { > diff --git a/arch/arm/dts/zynq-zc706.dts b/arch/arm/dts/zynq-zc706.dts > index 87308c0333d3..cb919e40533e 100644 > --- a/arch/arm/dts/zynq-zc706.dts > +++ b/arch/arm/dts/zynq-zc706.dts > @@ -307,6 +307,14 @@ > &qspi { > u-boot,dm-pre-reloc; > status =3D "okay"; > + num-cs =3D <1>; > + flash@0 { > + compatible =3D "n25q128a11", "jedec,spi-nor"; > + reg =3D <0x0>; > + spi-tx-bus-width =3D <1>; > + spi-rx-bus-width =3D <4>; > + spi-max-frequency =3D <50000000>; > + }; > }; > > &sdhci0 { > diff --git a/arch/arm/dts/zynq-zc770-xm010.dts b/arch/arm/dts/zynq-zc770-= xm010.dts > index c547d7921d9c..002ff9f7f489 100644 > --- a/arch/arm/dts/zynq-zc770-xm010.dts > +++ b/arch/arm/dts/zynq-zc770-xm010.dts > @@ -62,6 +62,14 @@ > > &qspi { > status =3D "okay"; > + num-cs =3D <1>; > + flash@0 { > + compatible =3D "n25q128a11", "jedec,spi-nor"; > + reg =3D <0x0>; > + spi-tx-bus-width =3D <1>; > + spi-rx-bus-width =3D <4>; > + spi-max-frequency =3D <50000000>; > + }; > }; > > &sdhci0 { > diff --git a/arch/arm/dts/zynq-zc770-xm013.dts b/arch/arm/dts/zynq-zc770-= xm013.dts > index 7218ee3ad8ef..455c8a961057 100644 > --- a/arch/arm/dts/zynq-zc770-xm013.dts > +++ b/arch/arm/dts/zynq-zc770-xm013.dts > @@ -61,6 +61,14 @@ > > &qspi { > status =3D "okay"; > + num-cs =3D <1>; > + flash@0 { > + compatible =3D "n25q128a11", "jedec,spi-nor"; > + reg =3D <0x0>; > + spi-tx-bus-width =3D <1>; > + spi-rx-bus-width =3D <4>; > + spi-max-frequency =3D <50000000>; > + }; > }; > > &spi0 { > -- > 2.32.0 > Applied. M --=20 Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91 w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel - Xilinx Microblaze Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs