All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kostya Porotchkin <kostap@marvell.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/6] arm64: mvebu: Modify the A8K SPI and I2C config in DTS
Date: Thu, 24 Nov 2016 09:22:22 +0000	[thread overview]
Message-ID: <1479979443579.83429@marvell.com> (raw)
In-Reply-To: <6a276113-9399-5c8e-45da-57c117e31ae0@denx.de>

Hi, Stefan,

The A0 SoC is not for production, it is engineering samples only.
Marvell has no plans for supporting this SoC in the future.
I believe that once you get a replacement for your board there will be no other customers using A0 SoC.

Regard
Kosta

________________________________________
From: Stefan Roese <sr@denx.de>
Sent: Thursday, November 24, 2016 11:02
To: Kostya Porotchkin; u-boot at lists.denx.de
Cc: Nadav Haklai; Neta Zur Hershkovits; Omri Itach; Igal Liberman; Haim Boot; Hanna Hawa
Subject: Re: [PATCH 1/6] arm64: mvebu: Modify the A8K SPI and I2C config in DTS

Hi Kosta,

On 20.11.2016 16:38, kostap at marvell.com wrote:
> From: Konstantin Porotchkin <kostap@marvell.com>
>
> Align the Armada-8040-db SPI and I2C DTS settings with latest
> A8040 DB settings:
> - disable i2c0 and spi0 on AP (pins are reserved for eMMC)
> - disable cps_i2c0 on CP1
> - enable spi1 on CP1 (the new location of the boot flash)

Thanks. I understand that the current SPI / I2C settings are
still valid for boards with earlier SoC revisions. Is this
correct? Would it make sense to move the old version into
a new file then, perhaps:

arch/arm/dts/armada-8040-db-revA.dts

?

This would be handy for users of this version at least for a
short period of time. This new file can be removed once its
not needed any more in a few months.

If you think this is a good idea, could you please add this
new file in a new patch to this patchset in v2?

> Change-Id: I54698ce4dc8dbe6a2af14099f5bcc3ca3b21d7e1
> Signed-off-by: Konstantin Porotchkin <kostap@marvell.com>
> Cc: Stefan Roese <sr@denx.de>
> Cc: Nadav Haklai <nadavh@marvell.com>
> Cc: Neta Zur Hershkovits <neta@marvell.com>
> Cc: Omri Itach <omrii@marvell.com>
> Cc: Igal Liberman <igall@marvell.com>
> Cc: Haim Boot <hayim@marvell.com>
> Cc: Hanna Hawa <hannah@marvell.com>
> ---
>  arch/arm/dts/armada-8040-db.dts | 60 +++++++++++++++++------------------------
>  1 file changed, 25 insertions(+), 35 deletions(-)
>
> diff --git a/arch/arm/dts/armada-8040-db.dts b/arch/arm/dts/armada-8040-db.dts
> index 7fb674b..86666a1 100644
> --- a/arch/arm/dts/armada-8040-db.dts
> +++ b/arch/arm/dts/armada-8040-db.dts
> @@ -57,7 +57,7 @@
>
>       aliases {
>               i2c0 = &cpm_i2c0;
> -             spi0 = &spi0;
> +             spi0 = &cps_spi1;
>       };
>
>       memory at 00000000 {
> @@ -66,38 +66,6 @@
>       };
>  };
>
> -&i2c0 {
> -     status = "okay";
> -     clock-frequency = <100000>;
> -};
> -
> -&spi0 {
> -     status = "okay";
> -
> -     spi-flash at 0 {
> -             #address-cells = <1>;
> -             #size-cells = <1>;
> -             compatible = "jedec,spi-nor";
> -             reg = <0>;
> -             spi-max-frequency = <10000000>;
> -
> -             partitions {
> -                     compatible = "fixed-partitions";
> -                     #address-cells = <1>;
> -                     #size-cells = <1>;
> -
> -                     partition at 0 {
> -                             label = "U-Boot";
> -                             reg = <0 0x200000>;
> -                     };
> -                     partition at 400000 {
> -                             label = "Filesystem";
> -                             reg = <0x200000 0xce0000>;
> -                     };
> -             };
> -     };
> -};
> -
>  /* Accessible over the mini-USB CON9 connector on the main board */
>  &uart0 {
>       status = "okay";
> @@ -134,9 +102,31 @@
>       status = "okay";
>  };
>
> -&cps_i2c0 {
> +&cps_spi1 {
>       status = "okay";
> -     clock-frequency = <100000>;
> +
> +     spi-flash at 0 {
> +             #address-cells = <1>;
> +             #size-cells = <1>;
> +             compatible = "jedec,spi-nor";
> +             reg = <0>;
> +             spi-max-frequency = <10000000>;
> +
> +             partitions {
> +                     compatible = "fixed-partitions";
> +                     #address-cells = <1>;
> +                     #size-cells = <1>;
> +
> +                     partition at 0 {
> +                             label = "U-Boot";
> +                             reg = <0 0x200000>;
> +                     };
> +                     partition at 400000 {
> +                             label = "Filesystem";
> +                             reg = <0x200000 0xce0000>;
> +                     };
> +             };
> +     };
>  };
>
>  /* CON4 on CP1 expansion */
>

Thanks,
Stefan

  reply	other threads:[~2016-11-24  9:22 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-20 15:38 [U-Boot] [PATCH 0/6] arm64: mvebu: Armada-8K family patches kostap at marvell.com
2016-11-20 15:38 ` [U-Boot] [PATCH 1/6] arm64: mvebu: Modify the A8K SPI and I2C config in DTS kostap at marvell.com
2016-11-24  9:02   ` Stefan Roese
2016-11-24  9:22     ` Kostya Porotchkin [this message]
2016-11-24 12:05       ` Stefan Roese
2016-11-20 15:38 ` [U-Boot] [PATCH 2/6] arm64: mvebu: Add bubt command for flash image burn kostap at marvell.com
2016-11-24  8:58   ` Stefan Roese
2016-11-20 15:38 ` [U-Boot] [PATCH 3/6] arm64: mvebu: pinctrl: Add pin control driver for A8K family kostap at marvell.com
2016-11-24  2:20   ` Simon Glass
2016-11-24  8:28     ` Kostya Porotchkin
2016-11-20 15:38 ` [U-Boot] [PATCH 4/6] arm64: mvebu: Add pin control nodes to A8K family DTS files kostap at marvell.com
2016-11-24  9:13   ` Stefan Roese
2016-11-24 14:09     ` Kostya Porotchkin
2016-11-24 16:00       ` Stefan Roese
2016-11-20 15:38 ` [U-Boot] [PATCH 5/6] arm64: mvebu: Enable BUBT command support in A8K default config kostap at marvell.com
2016-11-20 15:38 ` [U-Boot] [PATCH 6/6] arm64: mvebu: Enable pin control " kostap at marvell.com

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=1479979443579.83429@marvell.com \
    --to=kostap@marvell.com \
    --cc=u-boot@lists.denx.de \
    /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.