From: prakash.pm@ti.com (Manjunathappa, Prakash)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 4/4] ARM: davinci: da850-evm: add SPI flash support
Date: Mon, 25 Feb 2013 16:14:10 +0530 [thread overview]
Message-ID: <1361789050-637-5-git-send-email-prakash.pm@ti.com> (raw)
In-Reply-To: <1361789050-637-1-git-send-email-prakash.pm@ti.com>
Enable m25p80 SPI flash support on da850-EVM. Also
add partition information of SPI flash.
Signed-off-by: Manjunathappa, Prakash <prakash.pm@ti.com>
---
arch/arm/boot/dts/da850-evm.dts | 40 +++++++++++++++++++++++++++++++++++++++
1 files changed, 40 insertions(+), 0 deletions(-)
diff --git a/arch/arm/boot/dts/da850-evm.dts b/arch/arm/boot/dts/da850-evm.dts
index 78c8e54..1a28d43 100644
--- a/arch/arm/boot/dts/da850-evm.dts
+++ b/arch/arm/boot/dts/da850-evm.dts
@@ -46,6 +46,46 @@
pinctrl-names = "default";
pinctrl-0 = <&mmc0_pins>;
};
+ spi1: spi at 1f0e000 {
+ status = "okay";
+ pinctrl-names = "default";
+ pinctrl-0 = <&spi1_pins>;
+ flash: m25p80 at 0 {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ compatible = "m25p80";
+ spi-max-frequency = <30000000>;
+ reg = <0>;
+ partition at 0 {
+ label = "U-Boot-SPL";
+ reg = <0x00000000 0x00010000>;
+ read-only;
+ };
+ partition at 1 {
+ label = "U-Boot";
+ reg = <0x00010000 0x00080000>;
+ read-only;
+ };
+ partition at 2 {
+ label = "U-Boot-Env";
+ reg = <0x00090000 0x00010000>;
+ read-only;
+ };
+ partition at 3 {
+ label = "Kernel";
+ reg = <0x000a0000 0x00280000>;
+ };
+ partition at 4 {
+ label = "Filesystem";
+ reg = <0x00220000 0x00400000>;
+ };
+ partition at 5 {
+ label = "MAC-Address";
+ reg = <0x00620000 0x00010000>;
+ read-only;
+ };
+ };
+ };
};
nand_cs3 at 62000000 {
status = "okay";
--
1.7.4.1
next prev parent reply other threads:[~2013-02-25 10:44 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-25 10:44 [PATCH 0/4] Enable SPI flash support on da850-evm DT kernel Manjunathappa, Prakash
2013-02-25 10:44 ` [PATCH 1/4] spi/davinci: fix module build error Manjunathappa, Prakash
2013-02-27 8:27 ` Sekhar Nori
2013-03-02 23:11 ` Grant Likely
2013-02-25 10:44 ` [PATCH 2/4] ARM: davinci: da850: add SPI1 DT node Manjunathappa, Prakash
2013-02-25 10:44 ` [PATCH 3/4] ARM: davinci: da850: override SPI DT node device name Manjunathappa, Prakash
2013-02-25 10:44 ` Manjunathappa, Prakash [this message]
2013-02-27 8:25 ` [PATCH 4/4] ARM: davinci: da850-evm: add SPI flash support Sekhar Nori
2013-02-27 9:29 ` Manjunathappa, Prakash
2013-02-27 8:39 ` [PATCH 0/4] Enable SPI flash support on da850-evm DT kernel Sekhar Nori
2013-02-27 11:32 ` Manjunathappa, Prakash
2013-03-02 23:13 ` Grant Likely
2013-03-04 13:08 ` Manjunathappa, Prakash
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=1361789050-637-5-git-send-email-prakash.pm@ti.com \
--to=prakash.pm@ti.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 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).