Hi Biju, On Tue, Nov 27, 2018 at 1:05 PM Biju Das <biju.das@xxxxxxxxxxxxxx> wrote: > Add support for the SPI NOR device used to boot up the system > to the iWave RZ/G1N Qseven System On Module DT. > > Signed-off-by: Biju Das <biju.das@xxxxxxxxxxxxxx> Thanks for your patch! > --- a/arch/arm/boot/dts/r8a7744-iwg20m.dtsi > +++ b/arch/arm/boot/dts/r8a7744-iwg20m.dtsi > @@ -53,6 +58,27 @@ > status = "okay"; > }; > > +&qspi { > + pinctrl-0 = <&qspi_pins>; > + pinctrl-names = "default"; > + > + status = "okay"; > + > + /* WARNING - This device contains the bootloader. Handle with care. */ > + flash: flash@0 { > + #address-cells = <1>; > + #size-cells = <1>; > + compatible = "sst,sst25vf016b", "jedec,spi-nor"; According to the schematics, this is an ISSI IS25LP016D? ISSI was acquired by GigaDevice, according to Wikipedia. While SST is now MicroChip. > + reg = <0>; > + spi-max-frequency = <50000000>; > + spi-tx-bus-width = <1>; > + spi-rx-bus-width = <1>; <1> is the default, but it's indeed good to make this explicit, as this is a QSPI device with 2 unwired data pins. However, as the device seems to support dual transfers, and dual mode uses the standard MOSI/MISO pins, you should use <2> for both. The RSPI driver supports this. The same applies to the RZ/G1M version. > + m25p,fast-read; > + spi-cpol; > + spi-cpha; > + }; > +}; Apart from that: Reviewed-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx> Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds