All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bin Meng <bmeng.cn@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 4/5] riscv: dts: hifive-unleashed-a00: Add -u-boot.dtsi
Date: Mon, 30 Sep 2019 18:05:03 +0800	[thread overview]
Message-ID: <CAEUhbmWXEdjSZhuJCYBCuZZPhNt2qmc64m_YmSRNM3OKFnizYw@mail.gmail.com> (raw)
In-Reply-To: <20190929074239.11575-5-jagan@amarulasolutions.com>

Hi Jagan,

On Sun, Sep 29, 2019 at 3:43 PM Jagan Teki <jagan@amarulasolutions.com> wrote:
>
> Add u-boot specific dts file for hifive-unleashed-a00, this
> would help to add u-boot specific properties and other node
> changes without touching the base dts(i) files which are easy
> to sync from Linux.
>
> Added spi2 alias for qspi2 as an initial u-boot specific
> property change.
>
> spi probing in current dm model is very much rely on aliases
> numbering. even though the qspi2 can't comes under any associated
> spi nor flash it would require to specify the same to make proper
> binding happen for other spi slaves.
>
> Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
> ---
>  arch/riscv/dts/hifive-unleashed-a00-u-boot.dtsi | 10 ++++++++++
>  1 file changed, 10 insertions(+)
>  create mode 100644 arch/riscv/dts/hifive-unleashed-a00-u-boot.dtsi
>
> diff --git a/arch/riscv/dts/hifive-unleashed-a00-u-boot.dtsi b/arch/riscv/dts/hifive-unleashed-a00-u-boot.dtsi
> new file mode 100644
> index 0000000000..25ec8265a5
> --- /dev/null
> +++ b/arch/riscv/dts/hifive-unleashed-a00-u-boot.dtsi
> @@ -0,0 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0+
> +/*
> + * Copyright (C) 2019 Jagan Teki <jagan@amarulasolutions.com>
> + */
> +
> +/ {
> +       aliases {
> +               spi2 = &qspi2;

With the following 2 patches, this is no longer needed for SPI.

http://patchwork.ozlabs.org/patch/1158960/
http://patchwork.ozlabs.org/patch/1158961/

> +       };
> +};
> --

Regards,
Bin

  reply	other threads:[~2019-09-30 10:05 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-29  7:42 [U-Boot] [PATCH 0/5] riscv: sifive/fu540: Enable SPI-NOR support Jagan Teki
2019-09-29  7:42 ` [U-Boot] [PATCH 1/5] riscv: dts: Add hifive-unleashed-a00 dts from Linux Jagan Teki
2019-09-30 10:04   ` Bin Meng
2019-10-01 11:10     ` Jagan Teki
2019-10-02 10:27     ` Jagan Teki
2019-10-06 17:58       ` Auer, Lukas
2019-10-06 17:55   ` Auer, Lukas
2019-09-29  7:42 ` [U-Boot] [PATCH 2/5] sifive: fu540: Enable OF_SEPARATE Jagan Teki
2019-09-30 10:04   ` Bin Meng
2019-09-29  7:42 ` [U-Boot] [PATCH 3/5] mtd: spi-nor: ids: Add is25wp256 chip Jagan Teki
2019-09-30 10:05   ` Bin Meng
2019-09-29  7:42 ` [U-Boot] [PATCH 4/5] riscv: dts: hifive-unleashed-a00: Add -u-boot.dtsi Jagan Teki
2019-09-30 10:05   ` Bin Meng [this message]
2019-10-01 11:13     ` Jagan Teki
2019-10-02 10:36     ` Jagan Teki
2019-09-29  7:42 ` [U-Boot] [PATCH 5/5] sifive: fu540: Enable spi-nor flash support Jagan Teki
2019-09-30 10:05   ` Bin Meng
2019-10-01 11:12     ` Jagan Teki
2019-09-29  7:59 ` [U-Boot] [PATCH 0/5] riscv: sifive/fu540: Enable SPI-NOR support Bin Meng
2019-10-01 11:09   ` Jagan Teki
2019-10-01 11:32     ` Bin Meng

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=CAEUhbmWXEdjSZhuJCYBCuZZPhNt2qmc64m_YmSRNM3OKFnizYw@mail.gmail.com \
    --to=bmeng.cn@gmail.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.