Linux Renesas SOC kernel development
 help / color / mirror / Atom feed
From: Sergey Shtylyov <s.shtylyov@omp.ru>
To: Wolfram Sang <wsa+renesas@sang-engineering.com>,
	<linux-renesas-soc@vger.kernel.org>
Cc: Geert Uytterhoeven <geert+renesas@glider.be>
Subject: Re: [PATCH 4/4] arm64: dts: renesas: falcon-cpu: add SPI flash via RPC
Date: Wed, 29 Sep 2021 13:33:27 +0300	[thread overview]
Message-ID: <bba2d698-8afb-9ba0-a72a-ded58c7ffd82@omp.ru> (raw)
In-Reply-To: <20210929064924.1997-5-wsa+renesas@sang-engineering.com>

On 29.09.2021 9:49, Wolfram Sang wrote:

> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
> ---
>   .../boot/dts/renesas/r8a779a0-falcon-cpu.dtsi | 33 +++++++++++++++++++
>   1 file changed, 33 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/renesas/r8a779a0-falcon-cpu.dtsi b/arch/arm64/boot/dts/renesas/r8a779a0-falcon-cpu.dtsi
> index a0a1a1da0d87..7eeee1da9c0b 100644
> --- a/arch/arm64/boot/dts/renesas/r8a779a0-falcon-cpu.dtsi
> +++ b/arch/arm64/boot/dts/renesas/r8a779a0-falcon-cpu.dtsi
[...]
> @@ -177,6 +182,34 @@ scif_clk_pins: scif_clk {
>   	};
>   };
>   
> +&rpc {
> +	pinctrl-0 = <&qspi0_pins>;
> +	pinctrl-names = "default";
> +
> +	status = "okay";
> +
> +	flash@0 {
> +		compatible = "spansion,s25fs512s", "jedec,spi-nor";
> +		reg = <0>;
> +		spi-max-frequency = <40000000>;
> +		spi-rx-bus-width = <4>;
> +
> +		partitions {
> +			compatible = "fixed-partitions";
> +			#address-cells = <1>;
> +			#size-cells = <1>;
> +
> +			boot_partition@0 {

    Not just boot@...? And hyphens are preferred here over underscores.

> +				reg = <0x00000000 0xc40000>;
> +				read-only;
> +			};
> +			user@c40000 {
> +				reg = <0x00c40000 0x33c0000>;
> +			};
> +		};
> +	};
> +};
> +
[...]

MBR, Sergey

      reply	other threads:[~2021-09-29 10:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-29  6:49 [PATCH 0/4] r8a779a0: add RPC support Wolfram Sang
2021-09-29  6:49 ` [PATCH 1/4] clk: renesas: cpg-lib: move RPC clock registration to the library Wolfram Sang
2021-09-29  6:49 ` [PATCH 2/4] clk: renesas: r8a779a0: Add RPC support Wolfram Sang
2021-09-29  6:49 ` [PATCH 3/4] arm64: dts: renesas: r8a779a0: Add RPC node Wolfram Sang
2021-09-29  6:49 ` [PATCH 4/4] arm64: dts: renesas: falcon-cpu: add SPI flash via RPC Wolfram Sang
2021-09-29 10:33   ` Sergey Shtylyov [this message]

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=bba2d698-8afb-9ba0-a72a-ded58c7ffd82@omp.ru \
    --to=s.shtylyov@omp.ru \
    --cc=geert+renesas@glider.be \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=wsa+renesas@sang-engineering.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