[PATCH v2 3/3] ARM: shmobile: gose: Add QSPI device to DT

Simon Horman horms at verge.net.au
Thu Nov 12 17:11:23 PST 2015


On Thu, Nov 12, 2015 at 02:51:37PM +0300, Sergei Shtylyov wrote:
> On 11/12/2015 4:29 AM, Simon Horman wrote:
> 
> >Enable the QSPI controller in the gose device tree.
> >
> >Based similar work for the silk board by by Vladimir Barinov and
> >Sergei Shtylyov.
> >
> >Cc: Vladimir Barinov <vladimir.barinov at cogentembedded.com>
> >Cc: Sergei Shtylyov <sergei.shtylyov at cogentembedded.com>
> >Signed-off-by: Simon Horman <horms+renesas at verge.net.au>
> >
> >---
> >Tested: Read /dev/mtd0 with 512K blocks at 1.7MB/s
> >
> >v2
> >* Move partitions into partitions subnode
> >   as suggested by Geert Uytterhoeven.
> >---
> >  arch/arm/boot/dts/r8a7793-gose.dts | 43 ++++++++++++++++++++++++++++++++++++++
> >  1 file changed, 43 insertions(+)
> >
> >diff --git a/arch/arm/boot/dts/r8a7793-gose.dts b/arch/arm/boot/dts/r8a7793-gose.dts
> >index 1575ef759047..79be514d3a1c 100644
> >--- a/arch/arm/boot/dts/r8a7793-gose.dts
> >+++ b/arch/arm/boot/dts/r8a7793-gose.dts
> [...]
> >@@ -92,3 +97,41 @@
> >
> >  	status = "okay";
> >  };
> >+
> >+&qspi {
> >+	pinctrl-0 = <&qspi_pins>;
> >+	pinctrl-names = "default";
> >+
> >+	status = "okay";
> >+
> >+	flash at 0 {
> >+		compatible = "spansion,s25fl512s", "jedec,spi-nor";
> >+		reg = <0>;
> >+		spi-max-frequency = <30000000>;
> >+		spi-tx-bus-width = <4>;
> >+		spi-rx-bus-width = <4>;
> >+		spi-cpol;
> >+		spi-cpha;
> >+		m25p,fast-read;
> >+
> >+		partitions{
> 
>    Need space before {.

Thanks, I have corrected that and queued this up for v4.5.



More information about the linux-arm-kernel mailing list