From: gregory.clement@free-electrons.com (Gregory CLEMENT)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH RESEND v2] arm64: dts: marvell: Enable Armada-8040-DB CPS SPI1
Date: Mon, 25 Sep 2017 18:04:08 +0200 [thread overview]
Message-ID: <87vak6ix3b.fsf@free-electrons.com> (raw)
In-Reply-To: <20170922130834.7096-1-miquel.raynal@free-electrons.com> (Miquel Raynal's message of "Fri, 22 Sep 2017 15:08:34 +0200")
Hi Miquel,
On ven., sept. 22 2017, Miquel Raynal <miquel.raynal@free-electrons.com> wrote:
> From: Christine Gharzuzi <chrisg@marvell.com>
>
> Add the DT node enabling Armada-8040-DB CPS SPI controller driver.
>
> Add the SPI NAND flash device connected on the bus. Fill the MTD
> partitions layout.
>
> Signed-off-by: Christine Gharzuzi <chrisg@marvell.com>
> Signed-off-by: Miquel Raynal <miquel.raynal@free-electrons.com>
Applied on mvebu/dt64
Thanks,
Gregory
> ---
>
> Hello,
>
> Made a mistake resending the v1 prefixed by v2.
> This is the real v2.
>
> It fixes the third partition address from 0xd00000 to 0xf00000.
>
> Thanks,
> Miqu?l
>
> arch/arm64/boot/dts/marvell/armada-8040-db.dts | 31 ++++++++++++++++++++++++++
> 1 file changed, 31 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/marvell/armada-8040-db.dts b/arch/arm64/boot/dts/marvell/armada-8040-db.dts
> index 0d7b2ae46610..85c72f835184 100644
> --- a/arch/arm64/boot/dts/marvell/armada-8040-db.dts
> +++ b/arch/arm64/boot/dts/marvell/armada-8040-db.dts
> @@ -216,6 +216,37 @@
> clock-frequency = <100000>;
> };
>
> +&cps_spi1 {
> + status = "okay";
> +
> + spi-flash at 0 {
> + #address-cells = <0x1>;
> + #size-cells = <0x1>;
> + compatible = "jedec,spi-nor";
> + reg = <0x0>;
> + spi-max-frequency = <20000000>;
> +
> + partitions {
> + compatible = "fixed-partitions";
> + #address-cells = <1>;
> + #size-cells = <1>;
> +
> + partition at 0 {
> + label = "Boot";
> + reg = <0x0 0x200000>;
> + };
> + partition at 200000 {
> + label = "Filesystem";
> + reg = <0x200000 0xd00000>;
> + };
> + partition at f00000 {
> + label = "Boot_2nd";
> + reg = <0xf00000 0x100000>;
> + };
> + };
> + };
> +};
> +
> /* CON4 on CP1 expansion */
> &cps_sata0 {
> status = "okay";
> --
> 2.11.0
>
--
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
WARNING: multiple messages have this Message-ID (diff)
From: Gregory CLEMENT <gregory.clement-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
To: Miquel Raynal
<miquel.raynal-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
Cc: Jason Cooper <jason-NLaQJdtUoK4Be96aLqz0jA@public.gmane.org>,
Andrew Lunn <andrew-g2DYL2Zd6BY@public.gmane.org>,
Sebastian Hesselbarth
<sebastian.hesselbarth-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Thomas Petazzoni
<thomas.petazzoni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>,
Antoine Tenart
<antoine.tenart-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>,
Nadav Haklai <nadavh-eYqpPyKDWXRBDgjK7y7TUQ@public.gmane.org>,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
Christine Gharzuzi
<chrisg-eYqpPyKDWXRBDgjK7y7TUQ@public.gmane.org>
Subject: Re: [PATCH RESEND v2] arm64: dts: marvell: Enable Armada-8040-DB CPS SPI1
Date: Mon, 25 Sep 2017 18:04:08 +0200 [thread overview]
Message-ID: <87vak6ix3b.fsf@free-electrons.com> (raw)
In-Reply-To: <20170922130834.7096-1-miquel.raynal-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org> (Miquel Raynal's message of "Fri, 22 Sep 2017 15:08:34 +0200")
Hi Miquel,
On ven., sept. 22 2017, Miquel Raynal <miquel.raynal-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org> wrote:
> From: Christine Gharzuzi <chrisg-eYqpPyKDWXRBDgjK7y7TUQ@public.gmane.org>
>
> Add the DT node enabling Armada-8040-DB CPS SPI controller driver.
>
> Add the SPI NAND flash device connected on the bus. Fill the MTD
> partitions layout.
>
> Signed-off-by: Christine Gharzuzi <chrisg-eYqpPyKDWXRBDgjK7y7TUQ@public.gmane.org>
> Signed-off-by: Miquel Raynal <miquel.raynal-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
Applied on mvebu/dt64
Thanks,
Gregory
> ---
>
> Hello,
>
> Made a mistake resending the v1 prefixed by v2.
> This is the real v2.
>
> It fixes the third partition address from 0xd00000 to 0xf00000.
>
> Thanks,
> Miquèl
>
> arch/arm64/boot/dts/marvell/armada-8040-db.dts | 31 ++++++++++++++++++++++++++
> 1 file changed, 31 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/marvell/armada-8040-db.dts b/arch/arm64/boot/dts/marvell/armada-8040-db.dts
> index 0d7b2ae46610..85c72f835184 100644
> --- a/arch/arm64/boot/dts/marvell/armada-8040-db.dts
> +++ b/arch/arm64/boot/dts/marvell/armada-8040-db.dts
> @@ -216,6 +216,37 @@
> clock-frequency = <100000>;
> };
>
> +&cps_spi1 {
> + status = "okay";
> +
> + spi-flash@0 {
> + #address-cells = <0x1>;
> + #size-cells = <0x1>;
> + compatible = "jedec,spi-nor";
> + reg = <0x0>;
> + spi-max-frequency = <20000000>;
> +
> + partitions {
> + compatible = "fixed-partitions";
> + #address-cells = <1>;
> + #size-cells = <1>;
> +
> + partition@0 {
> + label = "Boot";
> + reg = <0x0 0x200000>;
> + };
> + partition@200000 {
> + label = "Filesystem";
> + reg = <0x200000 0xd00000>;
> + };
> + partition@f00000 {
> + label = "Boot_2nd";
> + reg = <0xf00000 0x100000>;
> + };
> + };
> + };
> +};
> +
> /* CON4 on CP1 expansion */
> &cps_sata0 {
> status = "okay";
> --
> 2.11.0
>
--
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2017-09-25 16:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-22 13:08 [PATCH RESEND v2] arm64: dts: marvell: Enable Armada-8040-DB CPS SPI1 Miquel Raynal
2017-09-22 13:08 ` Miquel Raynal
2017-09-25 16:04 ` Gregory CLEMENT [this message]
2017-09-25 16:04 ` Gregory CLEMENT
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=87vak6ix3b.fsf@free-electrons.com \
--to=gregory.clement@free-electrons.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.