devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Niklas Söderlund" <niklas.soderlund@ragnatech.se>
To: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Simon Horman <horms@verge.net.au>,
	Magnus Damm <magnus.damm@gmail.com>,
	Chris Brandt <chris.brandt@renesas.com>,
	linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH] ARM: dts: ape6evm: Add NOR FLASH
Date: Thu, 21 Mar 2019 17:37:38 +0100	[thread overview]
Message-ID: <20190321163737.GD25993@bigcity.dyn.berto.se> (raw)
In-Reply-To: <20190320194522.15053-1-geert+renesas@glider.be>

Hi Geert,

Thanks for your work, you are a life saver :-)

On 2019-03-20 20:45:22 +0100, Geert Uytterhoeven wrote:
> Describe the 128 MiB CFI NOR FLASH, which contains the boot loader and
> its environment.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>

Tested-by: Niklas S�derlund <niklas.soderlund+renesas@ragnatech.se>

> ---
>  arch/arm/boot/dts/r8a73a4-ape6evm.dts | 27 +++++++++++++++++++++++++++
>  1 file changed, 27 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/r8a73a4-ape6evm.dts b/arch/arm/boot/dts/r8a73a4-ape6evm.dts
> index 5c691e79e2b6e5fc..fa01de098dbcc0ac 100644
> --- a/arch/arm/boot/dts/r8a73a4-ape6evm.dts
> +++ b/arch/arm/boot/dts/r8a73a4-ape6evm.dts
> @@ -173,6 +173,33 @@
>  };
>  
>  &bsc {
> +	flash@0 {
> +		compatible = "cfi-flash", "mtd-rom";
> +		reg = <0x0 0x08000000>;
> +		bank-width = <2>;
> +
> +		partitions {
> +			compatible = "fixed-partitions";
> +			#address-cells = <1>;
> +			#size-cells = <1>;
> +
> +			partition@0 {
> +				label = "uboot";
> +				reg = <0x00000000 0x00040000>;
> +				read-only;
> +			};
> +			partition@40000 {
> +				label = "uboot-env";
> +				reg = <0x00040000 0x00040000>;
> +				read-only;
> +			};
> +			partition@80000 {
> +				label = "flash";
> +				reg = <0x00080000 0x07f80000>;
> +			};
> +		};
> +	};
> +
>  	ethernet@8000000 {
>  		compatible = "smsc,lan9220", "smsc,lan9115";
>  		reg = <0x08000000 0x1000>;
> -- 
> 2.17.1
> 

-- 
Regards,
Niklas S�derlund

  reply	other threads:[~2019-03-21 16:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-20 19:45 [PATCH] ARM: dts: ape6evm: Add NOR FLASH Geert Uytterhoeven
2019-03-21 16:37 ` Niklas Söderlund [this message]
2019-03-22 10:15   ` Simon Horman

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=20190321163737.GD25993@bigcity.dyn.berto.se \
    --to=niklas.soderlund@ragnatech.se \
    --cc=chris.brandt@renesas.com \
    --cc=devicetree@vger.kernel.org \
    --cc=geert+renesas@glider.be \
    --cc=horms@verge.net.au \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=magnus.damm@gmail.com \
    /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).