linux-mips.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Rahul Bedarkar <rahulbedarkar89@gmail.com>
To: Hauke Mehrtens <hauke@hauke-m.de>
Cc: tsbogend@alpha.franken.de, linux-mips@vger.kernel.org,
	devicetree@vger.kernel.org, robh+dt@kernel.org,
	james.hartley@sondrel.com, wigyori@uid0.hu
Subject: Re: [PATCH 1/3] MIPS: DTS: img: marduk: Add SPI NAND flash
Date: Fri, 4 Sep 2020 02:10:56 +0530	[thread overview]
Message-ID: <CA+NV+Vn=+o-u-A24YVbpzmDo6HLeepmu0-wqVd_Eyt0URhtQGw@mail.gmail.com> (raw)
In-Reply-To: <20200815163514.11631-1-hauke@hauke-m.de>

On Sat, Aug 15, 2020 at 10:05 PM Hauke Mehrtens <hauke@hauke-m.de> wrote:
>
> Add Gigadevice GD5F4GQ4UCYIGT SPI NAND flash to the device tree.
>
> The NAND flash chip is connected with quad SPI, but reading currently
> fails in quad SPI mode.
>

I think dual RX and quad TX should work.
https://github.com/CreatorDev/openwrt/blob/ci40/target/linux/pistachio/dts/pistachio/pistachio_marduk_common.dtsi#L203

> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

Reviewed-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>

> ---
>  arch/mips/boot/dts/img/pistachio_marduk.dts | 6 ++++++
>  1 file changed, 6 insertions(+)
>
> diff --git a/arch/mips/boot/dts/img/pistachio_marduk.dts b/arch/mips/boot/dts/img/pistachio_marduk.dts
> index bf69da96dc8b..ea11a21b133b 100644
> --- a/arch/mips/boot/dts/img/pistachio_marduk.dts
> +++ b/arch/mips/boot/dts/img/pistachio_marduk.dts
> @@ -88,6 +88,12 @@
>                 reg = <0>;
>                 spi-max-frequency = <50000000>;
>         };
> +
> +       flash@1 {
> +               compatible = "spi-nand";
> +               reg = <1>;
> +               spi-max-frequency = <50000000>;
> +       };
>  };
>
>  &uart0 {
> --
> 2.20.1
>

      parent reply	other threads:[~2020-09-03 20:41 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-15 16:35 [PATCH 1/3] MIPS: DTS: img: marduk: Add SPI NAND flash Hauke Mehrtens
2020-08-15 16:35 ` [PATCH 2/3] MIPS: DTS: img: marduk: Add Cascoda CA8210 6LoWPAN Hauke Mehrtens
2020-08-16  9:14   ` Sergei Shtylyov
2020-08-16 10:59     ` Hauke Mehrtens
2020-08-16 17:06       ` Sergei Shtylyov
2020-08-15 16:35 ` [PATCH 3/3] MIPS: DTS: img: marduk: Add NXP SC16IS752IPW Hauke Mehrtens
2020-09-12  6:46   ` Zhou Yanjie
2020-09-03 20:40 ` Rahul Bedarkar [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CA+NV+Vn=+o-u-A24YVbpzmDo6HLeepmu0-wqVd_Eyt0URhtQGw@mail.gmail.com' \
    --to=rahulbedarkar89@gmail.com \
    --cc=devicetree@vger.kernel.org \
    --cc=hauke@hauke-m.de \
    --cc=james.hartley@sondrel.com \
    --cc=linux-mips@vger.kernel.org \
    --cc=robh+dt@kernel.org \
    --cc=tsbogend@alpha.franken.de \
    --cc=wigyori@uid0.hu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).