Message ID | 20200815163514.11631-1-hauke@hauke-m.de (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | [1/3] MIPS: DTS: img: marduk: Add SPI NAND flash | expand |
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 >
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 {
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. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> --- arch/mips/boot/dts/img/pistachio_marduk.dts | 6 ++++++ 1 file changed, 6 insertions(+)