Re: [PATCH 1/3] MIPS: DTS: img: marduk: Add SPI NAND flash

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Aug 15, 2020 at 10:05 PM Hauke Mehrtens <hauke@xxxxxxxxxx> 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@xxxxxxxxxx>

Reviewed-by: Rahul Bedarkar <rahulbedarkar89@xxxxxxxxx>

> ---
>  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
>



[Index of Archives]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux