From: andrew@lunn.ch (Andrew Lunn)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 2/2] ARM: mvebu: add NAND description to Armada 370 DB and Armada XP DB
Date: Wed, 27 Jan 2016 18:16:48 +0100 [thread overview]
Message-ID: <20160127171648.GG20194@lunn.ch> (raw)
In-Reply-To: <1453908287-29557-3-git-send-email-thomas.petazzoni@free-electrons.com>
On Wed, Jan 27, 2016 at 04:24:47PM +0100, Thomas Petazzoni wrote:
> This commit adds the Device Tree description for the 1GB NAND flash
> present in the Armada 370 DB and Armada XP DB evaluation boards from
> Marvell.
>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> ---
> arch/arm/boot/dts/armada-370-db.dts | 21 +++++++++++++++++++++
> arch/arm/boot/dts/armada-xp-db.dts | 21 +++++++++++++++++++++
> 2 files changed, 42 insertions(+)
>
> diff --git a/arch/arm/boot/dts/armada-370-db.dts b/arch/arm/boot/dts/armada-370-db.dts
> index bb280de..e7763b6 100644
> --- a/arch/arm/boot/dts/armada-370-db.dts
> +++ b/arch/arm/boot/dts/armada-370-db.dts
> @@ -168,6 +168,27 @@
> spi-max-frequency = <50000000>;
> };
> };
> +
> + nand at d0000 {
> + status = "okay";
> + num-cs = <1>;
> + marvell,nand-keep-config;
> + marvell,nand-enable-arbiter;
> + nand-on-flash-bbt;
> +
> + partition at 0 {
> + label = "U-Boot";
> + reg = <0 0x800000>;
> + };
Hi Thomas
Documentation/devicetree/bindings/mtd/partition.txt:
The partition table should be a subnode of the mtd node and should be named
'partitions'. This node should have the following property:
- compatible : (required) must be "fixed-partitions"
Partitions are then defined in subnodes of the partitions node.
For backwards compatibility partitions as direct subnodes of the mtd device are
supported. This use is discouraged.
We should try to get this right when adding new DT nodes.
Andrew
next prev parent reply other threads:[~2016-01-27 17:16 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-27 15:24 [PATCH 0/2] ARM: mvebu: misc DT improvements Thomas Petazzoni
2016-01-27 15:24 ` [PATCH v2 1/2] ARM: mvebu: use armada-370-sata for SATA on Armada 375 Thomas Petazzoni
2016-01-27 17:13 ` Andrew Lunn
2016-01-27 15:24 ` [PATCH v2 2/2] ARM: mvebu: add NAND description to Armada 370 DB and Armada XP DB Thomas Petazzoni
2016-01-27 17:16 ` Andrew Lunn [this message]
2016-02-08 15:49 ` [PATCH 0/2] ARM: mvebu: misc DT improvements Gregory CLEMENT
-- strict thread matches above, loose matches on Subject: below --
2016-02-10 16:29 [PATCH v2 1/2] ARM: mvebu: use armada-370-sata for SATA on Armada 375 Thomas Petazzoni
2016-02-10 16:29 ` [PATCH v2 2/2] ARM: mvebu: add NAND description to Armada 370 DB and Armada XP DB Thomas Petazzoni
2016-02-10 17:18 ` Andrew Lunn
2016-02-12 16:50 ` 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=20160127171648.GG20194@lunn.ch \
--to=andrew@lunn.ch \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).