devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
  • * [PATCH v3 09/11] ARM: shmobile: r8a7791 dtsi: Add QSPI node
           [not found] <1391527445-14881-1-git-send-email-geert@linux-m68k.org>
           [not found] ` <1391527445-14881-1-git-send-email-geert-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.org>
    @ 2014-02-04 15:24 ` Geert Uytterhoeven
      2014-02-04 15:24 ` [PATCH v3 10/11] ARM: shmobile: koelsch dts: Add QSPI nodes Geert Uytterhoeven
      2 siblings, 0 replies; 3+ messages in thread
    From: Geert Uytterhoeven @ 2014-02-04 15:24 UTC (permalink / raw)
      To: Simon Horman, Magnus Damm
      Cc: devicetree, Geert Uytterhoeven, linux-sh, linux-kernel, linux-spi,
    	linux-arm-kernel
    
    From: Geert Uytterhoeven <geert+renesas@linux-m68k.org>
    
    Signed-off-by: Geert Uytterhoeven <geert+renesas@linux-m68k.org>
    Cc: devicetree@vger.kernel.org
    ---
    v3:
      - Rebased on top of renesas-devel-v3.14-rc1-20140204
    v2:
      - No changes
    
     arch/arm/boot/dts/r8a7791.dtsi |   12 ++++++++++++
     1 file changed, 12 insertions(+)
    
    diff --git a/arch/arm/boot/dts/r8a7791.dtsi b/arch/arm/boot/dts/r8a7791.dtsi
    index d5cc3626dd60..240c4ece1f0c 100644
    --- a/arch/arm/boot/dts/r8a7791.dtsi
    +++ b/arch/arm/boot/dts/r8a7791.dtsi
    @@ -710,4 +710,16 @@
     			clock-output-names = "scifa3", "scifa4", "scifa5";
     		};
     	};
    +
    +	spi: spi@e6b10000 {
    +		compatible = "renesas,qspi-r8a7791", "renesas,qspi";
    +		reg = <0 0xe6b10000 0 0x2c>;
    +		interrupt-parent = <&gic>;
    +		interrupts = <0 184 IRQ_TYPE_LEVEL_HIGH>;
    +		clocks = <&mstp9_clks R8A7791_CLK_QSPI_MOD>;
    +		num-cs = <1>;
    +		#address-cells = <1>;
    +		#size-cells = <0>;
    +		status = "disabled";
    +	};
     };
    -- 
    1.7.9.5
    
    ^ permalink raw reply related	[flat|nested] 3+ messages in thread
  • * [PATCH v3 10/11] ARM: shmobile: koelsch dts: Add QSPI nodes
           [not found] <1391527445-14881-1-git-send-email-geert@linux-m68k.org>
           [not found] ` <1391527445-14881-1-git-send-email-geert-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.org>
      2014-02-04 15:24 ` [PATCH v3 09/11] ARM: shmobile: r8a7791 dtsi: Add QSPI node Geert Uytterhoeven
    @ 2014-02-04 15:24 ` Geert Uytterhoeven
      2 siblings, 0 replies; 3+ messages in thread
    From: Geert Uytterhoeven @ 2014-02-04 15:24 UTC (permalink / raw)
      To: Simon Horman, Magnus Damm
      Cc: linux-spi, linux-sh, linux-arm-kernel, linux-kernel,
    	Geert Uytterhoeven, devicetree
    
    From: Geert Uytterhoeven <geert+renesas@linux-m68k.org>
    
    Add pinctrl and SPI devices for QSPI on Koelsch.
    Add Spansion s25fl512s SPI FLASH and MTD partitions.
    
    Signed-off-by: Geert Uytterhoeven <geert+renesas@linux-m68k.org>
    Cc: devicetree@vger.kernel.org
    ---
    v3:
      - Rebased on top of renesas-devel-v3.14-rc1-20140204
    v2:
      - No changes
    
     arch/arm/boot/dts/r8a7791-koelsch.dts |   36 +++++++++++++++++++++++++++++++++
     1 file changed, 36 insertions(+)
    
    diff --git a/arch/arm/boot/dts/r8a7791-koelsch.dts b/arch/arm/boot/dts/r8a7791-koelsch.dts
    index 74f098596b5c..d4b9bba38685 100644
    --- a/arch/arm/boot/dts/r8a7791-koelsch.dts
    +++ b/arch/arm/boot/dts/r8a7791-koelsch.dts
    @@ -121,8 +121,44 @@
     		renesas,groups = "scif1_data_d";
     		renesas,function = "scif1";
     	};
    +
    +	qspi_pins: spi {
    +		renesas,groups = "qspi_ctrl", "qspi_data4";
    +		renesas,function = "qspi";
    +	};
     };
     
     &sata0 {
     	status = "okay";
     };
    +
    +&spi {
    +	pinctrl-0 = <&qspi_pins>;
    +	pinctrl-names = "default";
    +
    +	status = "okay";
    +
    +	flash: flash@0 {
    +		#address-cells = <1>;
    +		#size-cells = <1>;
    +		compatible = "spansion,s25fl512s";
    +		reg = <0>;
    +		spi-max-frequency = <30000000>;
    +		m25p,fast-read;
    +
    +		partition@0 {
    +			label = "loader";
    +			reg = <0x00000000 0x00080000>;
    +			read-only;
    +		};
    +		partition@80000 {
    +			label = "bootenv";
    +			reg = <0x00080000 0x00080000>;
    +			read-only;
    +		};
    +		partition@100000 {
    +			label = "data";
    +			reg = <0x00100000 0x03f00000>;
    +		};
    +	};
    +};
    -- 
    1.7.9.5
    
    ^ permalink raw reply related	[flat|nested] 3+ messages in thread

  • end of thread, other threads:[~2014-02-04 15:24 UTC | newest]
    
    Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
    -- links below jump to the message on this page --
         [not found] <1391527445-14881-1-git-send-email-geert@linux-m68k.org>
         [not found] ` <1391527445-14881-1-git-send-email-geert-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.org>
    2014-02-04 15:23   ` [PATCH v5 05/11] ARM: shmobile: r7s72100 dtsi: Add RSPI nodes Geert Uytterhoeven
    2014-02-04 15:24 ` [PATCH v3 09/11] ARM: shmobile: r8a7791 dtsi: Add QSPI node Geert Uytterhoeven
    2014-02-04 15:24 ` [PATCH v3 10/11] ARM: shmobile: koelsch dts: Add QSPI nodes Geert Uytterhoeven
    

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