linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: marex@denx.de (Marek Vasut)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/3] ARM: mx28evk: Add SPI flash support
Date: Mon, 27 Aug 2012 18:58:16 +0200	[thread overview]
Message-ID: <201208271858.16842.marex@denx.de> (raw)
In-Reply-To: <1346084609-31407-1-git-send-email-fabio.estevam@freescale.com>

Dear Fabio Estevam,

> mx28evk has a free slot (J89) which can be used to populate an SPI NOR
> Flash.
> 
> Add support for it.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---
>  arch/arm/boot/dts/imx28-evk.dts |   17 +++++++++++++++++
>  1 file changed, 17 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/imx28-evk.dts
> b/arch/arm/boot/dts/imx28-evk.dts index ab78ee5..8a9a2f4 100644
> --- a/arch/arm/boot/dts/imx28-evk.dts
> +++ b/arch/arm/boot/dts/imx28-evk.dts
> @@ -46,6 +46,23 @@
>  				wp-gpios = <&gpio0 28 0>;
>  			};
> 
> +			ssp2: ssp at 80014000 {
> +				#address-cells = <1>;
> +				#size-cells = <0>;
> +				compatible = "fsl,imx28-spi";
> +				pinctrl-names = "default";
> +				pinctrl-0 = <&spi2_pins_a>;
> +				status = "okay";
> +
> +				flash: m25p80 at 0 {

Shouldn't this also be sst25vf016b at 0 ?

> +					#address-cells = <1>;
> +					#size-cells = <1>;
> +					compatible = "sst,sst25vf016b";
> +					spi-max-frequency = <40000000>;
> +					reg = <0>;
> +				};
> +			};
> +
>  			pinctrl at 80018000 {
>  				pinctrl-names = "default";
>  				pinctrl-0 = <&hog_pins_a>;

Best regards,
Marek Vasut

  parent reply	other threads:[~2012-08-27 16:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-27 16:23 [PATCH 1/3] ARM: mx28evk: Add SPI flash support Fabio Estevam
2012-08-27 16:23 ` [PATCH 2/3] ARM: mx28evk: Add LRADC support Fabio Estevam
2012-08-27 16:58   ` Marek Vasut
2012-08-27 16:23 ` [PATCH 3/3] ARM: mxs_defconfig: Add SPI and " Fabio Estevam
2012-08-27 16:58 ` Marek Vasut [this message]
2012-08-27 19:46   ` [PATCH 1/3] ARM: mx28evk: Add SPI flash support Fabio Estevam
2012-08-28  0:40 ` Shawn Guo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201208271858.16842.marex@denx.de \
    --to=marex@denx.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).