All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Milton Miller II" <miltonm@us.ibm.com>
To: Joel Stanley <joel@jms.id.au>
Cc: Ben Pai <Ben_Pai@wistron.com>, Andrew Jeffery <andrew@aj.id.au>,
	OpenBMC Maillist <openbmc@lists.ozlabs.org>,
	"Alvin Wang" <wangat@tw.ibm.com>
Subject: RE: [PATCH v4 4/4] ARM: dts: aspeed: Add Mihawk BMC platform
Date: Fri, 9 Aug 2019 16:28:18 +0000	[thread overview]
Message-ID: <OF496DCF2B.B3BDA10B-ON00258451.00593E4B-00258451.005A7BAB@notes.na.collabserv.com> (raw)
In-Reply-To: <CACPK8XeTwyp_yt0fLL6DP=7nsHLjGXcT5N8tr5RJg1QYyx5Sfw@mail.gmail.com>

Hi Joel, and Ben.

On 08/09/2019 around 01:59AM in some timezone, Joel Stanley wrote:>Hi Ben,
>
>On Wed, 7 Aug 2019 at 14:47, Ben Pai <Ben_Pai@wistron.com> wrote:


>>> +&fmc {
>> +       status = "okay";
>> +       flash@0 {
>
>There is no reg property so I think the @0 is incorrect.

The reg property is in the aspeed-g5.dtsi and the @0 is correct.

The layout is shared with witherspoon and the capacity matches.
Perhaps we should create a openbmc-ubi-32m.dtsi
similar to openbmc-flash-layout.dtsi.

>>> +               status = "okay";
>> +               label = "bmc";
>> +               m25p,fast-read;
>> +               spi-max-frequency = <50000000>;
>> +               partitions {
>> +                       #address-cells = < 1 >;
>> +                       #size-cells = < 1 >;
>> +                       compatible = "fixed-partitions";
>> +                       u-boot@0 {
>> +                               reg = < 0 0x60000 >;
>> +                               label = "u-boot";
>> +                       };
>> +                       u-boot-env@60000 {
>> +                               reg = < 0x60000 0x20000 >;
>> +                               label = "u-boot-env";
>> +                       };
>> +                       obmc-ubi@80000 {
>> +                               reg = < 0x80000 0x1F80000 >;
>> +                               label = "obmc-ubi";
>> +                       };
>> +               };
>> +       };
>> +       flash@1 {
>
>as above.

as above.

>
>> +               status = "okay";
>> +               label = "alt-bmc";
>> +               m25p,fast-read;
>> +               spi-max-frequency = <50000000>;

This would need a second include for the alt- labels.

>> +               partitions {
>> +                       #address-cells = < 1 >;
>> +                       #size-cells = < 1 >;
>> +                       compatible = "fixed-partitions";
>> +                       u-boot@0 {
>> +                               reg = < 0 0x60000 >;
>> +                               label = "alt-u-boot";
>> +                       };
>> +                       u-boot-env@60000 {
>> +                               reg = < 0x60000 0x20000 >;
>> +                               label = "alt-u-boot-env";
>> +                       };
>> +                       obmc-ubi@80000 {
>> +                               reg = < 0x80000 0x1F80000 >;
>> +                               label = "alt-obmc-ubi";
>> +                       };
>> +               };
>> +       };
>> +};
>> +
>> +&spi1 {
>> +       status = "okay";
>> +       pinctrl-names = "default";
>> +       pinctrl-0 = <&pinctrl_spi1_default>;
>> +
>> +       flash@0 {
>
>as above.

here too, reg is in dtsi along with compatible.

>>> +               status = "okay";
>> +               label = "pnor";
>> +               m25p,fast-read;
>> +               spi-max-frequency = <100000000>;
>> +       };
>> +};
>

milton

  parent reply	other threads:[~2019-08-09 16:28 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-07 14:46 [PATCH v4 4/4] ARM: dts: aspeed: Add Mihawk BMC platform Ben Pai
2019-08-09  6:58 ` Joel Stanley
2019-08-09 16:28 ` Milton Miller II [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-08-02  8:37 Ben Pai
2019-08-02  8:37 ` Ben Pai
2019-08-02  8:37 ` Ben Pai
2019-08-05  0:32 ` Andrew Jeffery
2019-08-05  0:32   ` Andrew Jeffery

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=OF496DCF2B.B3BDA10B-ON00258451.00593E4B-00258451.005A7BAB@notes.na.collabserv.com \
    --to=miltonm@us.ibm.com \
    --cc=Ben_Pai@wistron.com \
    --cc=andrew@aj.id.au \
    --cc=joel@jms.id.au \
    --cc=openbmc@lists.ozlabs.org \
    --cc=wangat@tw.ibm.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 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.