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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 2F0CCC433FE for ; Wed, 19 Oct 2022 15:59:34 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D82B884E56; Wed, 19 Oct 2022 17:59:31 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org 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=kernel.org header.i=@kernel.org header.b="Yrsq+hbc"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 61C1C84D2F; Wed, 19 Oct 2022 17:59:30 +0200 (CEST) Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 2E4C784F90 for ; Wed, 19 Oct 2022 17:59:28 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=conor@kernel.org Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id B2655B824F5; Wed, 19 Oct 2022 15:59:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5BA75C433D6; Wed, 19 Oct 2022 15:59:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1666195166; bh=KbLEHsYjdW62RaZq9/9Esoo9oqiVztbr2eRTGeAtGcA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Yrsq+hbcDs3x8j6xWa/PNPczOaifvK17qLQrSDz5Wpl97psnGRft+6m8yJFSjbuZq jE1Sdys74EX3hyblUtDLl399XEScaPapa5I8822P6JlAIp2U4hD78OHT7HgjiEZs8U 3UD8YfM7RWsxuzJWGujRtJGe7uQs2K8Kg5k8M8VQdrDyGrjNsXtMiO6nx6njPcGi2R qtaPCLr4KN+8BWUYR9WA35evUIxZXl/atp+l39/dZtYkuoxkR3r5ztLpb1mniUezpm FJI0af3OM0lQfYYwWmc3vd3av/joDLukIiSACMPHFh9rHlTNlpfglrpU46UMh6nqJc 6uLbRw+qaqFGw== Date: Wed, 19 Oct 2022 16:59:21 +0100 From: Conor Dooley To: Padmarao Begari Cc: u-boot@lists.denx.de, jagan@amarulasolutions.com, rick@andestech.com, ycliang@andestech.com, bmeng.cn@gmail.com, cyril.jean@microchip.com, conor.dooley@microchip.com, valentina.fernandezalanis@microchip.com, nagasuresh.relli@microchip.com Subject: Re: [PATCH 2/4] riscv: dts: Add QSPI NAND device node Message-ID: References: <20221019145322.2274420-1-padmarao.begari@microchip.com> <20221019145322.2274420-3-padmarao.begari@microchip.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221019145322.2274420-3-padmarao.begari@microchip.com> X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.6 at phobos.denx.de X-Virus-Status: Clean On Wed, Oct 19, 2022 at 08:23:20PM +0530, Padmarao Begari wrote: > riscv: dts: Add QSPI NAND device node I didn't notice this on 1/3, but I think we need to mention which board that this is being added for in the shortlog. Thanks, Conor. > Add QSPI NAND device node to the Microchip PolarFire SoC > Icicle kit device tree > > Signed-off-by: Padmarao Begari > --- > arch/riscv/dts/microchip-mpfs-icicle-kit.dts | 15 +++++++++++++++ > 1 file changed, 15 insertions(+) > > diff --git a/arch/riscv/dts/microchip-mpfs-icicle-kit.dts b/arch/riscv/dts/microchip-mpfs-icicle-kit.dts > index 876c475069..679221e13f 100644 > --- a/arch/riscv/dts/microchip-mpfs-icicle-kit.dts > +++ b/arch/riscv/dts/microchip-mpfs-icicle-kit.dts > @@ -18,6 +18,7 @@ > aliases { > serial1 = &uart1; > ethernet0 = &mac1; > + spi0 = &qspi; > }; > > chosen { > @@ -113,3 +114,17 @@ > ti,fifo-depth = <0x1>; > }; > }; > + > +&qspi { > + status = "okay"; > + num-cs = <1>; > + flash0: spi-nand@0 { > + compatible = "spi-nand"; > + reg = <0x0>; > + spi-tx-bus-width = <4>; > + spi-rx-bus-width = <4>; > + spi-max-frequency = <20000000>; > + spi-cpol; > + spi-cpha; > + }; > +}; > -- > 2.25.1 >