devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ivan Khoronzhuk <ivan.khoronzhuk-l0cyMroinI0@public.gmane.org>
To: santosh.shilimkar-l0cyMroinI0@public.gmane.org
Cc: grygorii.strashko-l0cyMroinI0@public.gmane.org,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Ivan Khoronzhuk <ivan.khoronzhuk-l0cyMroinI0@public.gmane.org>
Subject: [PATCH v2] ARM: dts: k2l-evm: add AEMIF/NAND device entry
Date: Fri, 9 May 2014 00:29:03 +0300	[thread overview]
Message-ID: <1399584543-3256-1-git-send-email-ivan.khoronzhuk@ti.com> (raw)
In-Reply-To: <1399581089-2505-1-git-send-email-ivan.khoronzhuk-l0cyMroinI0@public.gmane.org>

Add AEMIF/NAND device entry.

Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk-l0cyMroinI0@public.gmane.org>
---
 arch/arm/boot/dts/k2l-evm.dts | 52 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 52 insertions(+)

diff --git a/arch/arm/boot/dts/k2l-evm.dts b/arch/arm/boot/dts/k2l-evm.dts
index bdc94a0..8ff2d33 100644
--- a/arch/arm/boot/dts/k2l-evm.dts
+++ b/arch/arm/boot/dts/k2l-evm.dts
@@ -42,3 +42,55 @@
 		reg = <0x50>;
 	};
 };
+
+&aemif {
+	cs0 {
+		#address-cells = <2>;
+		#size-cells = <1>;
+		clock-ranges;
+		ranges;
+
+		ti,cs-chipselect = <0>;
+		/* all timings in nanoseconds */
+		ti,cs-min-turnaround-ns = <12>;
+		ti,cs-read-hold-ns = <6>;
+		ti,cs-read-strobe-ns = <23>;
+		ti,cs-read-setup-ns = <9>;
+		ti,cs-write-hold-ns = <8>;
+		ti,cs-write-strobe-ns = <23>;
+		ti,cs-write-setup-ns = <8>;
+
+		nand@0,0 {
+			compatible = "ti,keystone-nand","ti,davinci-nand";
+			#address-cells = <1>;
+			#size-cells = <1>;
+			reg = <0 0 0x4000000
+			       1 0 0x0000100>;
+
+			ti,davinci-chipselect = <0>;
+			ti,davinci-mask-ale = <0x2000>;
+			ti,davinci-mask-cle = <0x4000>;
+			ti,davinci-mask-chipsel = <0>;
+			nand-ecc-mode = "hw";
+			ti,davinci-ecc-bits = <4>;
+			nand-on-flash-bbt;
+
+			partition@0 {
+				label = "u-boot";
+				reg = <0x0 0x100000>;
+				read-only;
+			};
+
+			partition@100000 {
+				label = "params";
+				reg = <0x100000 0x80000>;
+				read-only;
+			};
+
+			partition@180000 {
+				label = "ubifs";
+				reg = <0x180000 0x7FE80000>;
+			};
+		};
+	};
+};
-- 
1.8.3.2

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2014-05-08 21:29 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-08 18:59 [PATCH] ARM: dts: k2e-evm: add AEMIF/NAND device entry Ivan Khoronzhuk
     [not found] ` <1399575560-31090-1-git-send-email-ivan.khoronzhuk-l0cyMroinI0@public.gmane.org>
2014-05-08 19:17   ` Santosh Shilimkar
     [not found]     ` <536BD85E.8090505-l0cyMroinI0@public.gmane.org>
2014-05-08 20:26       ` Ivan Khoronzhuk
     [not found]         ` <536BE875.2070005-l0cyMroinI0@public.gmane.org>
2014-05-08 21:21           ` Santosh Shilimkar
     [not found]             ` <536BF55A.6030406-l0cyMroinI0@public.gmane.org>
2014-05-08 21:25               ` Ivan Khoronzhuk
2014-05-08 20:31   ` Ivan Khoronzhuk
     [not found]     ` <1399581089-2505-1-git-send-email-ivan.khoronzhuk-l0cyMroinI0@public.gmane.org>
2014-05-08 20:33       ` Ivan Khoronzhuk
2014-05-08 21:29       ` Ivan Khoronzhuk [this message]
     [not found]         ` <1399584543-3256-1-git-send-email-ivan.khoronzhuk-l0cyMroinI0@public.gmane.org>
2014-05-08 21:34           ` [PATCH v2] ARM: dts: k2l-evm: " Santosh Shilimkar
2014-05-08 20:32   ` [PATCH v2] ARM: dts: k2e-evm: " Ivan Khoronzhuk

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=1399584543-3256-1-git-send-email-ivan.khoronzhuk@ti.com \
    --to=ivan.khoronzhuk-l0cymroini0@public.gmane.org \
    --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=grygorii.strashko-l0cyMroinI0@public.gmane.org \
    --cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
    --cc=santosh.shilimkar-l0cyMroinI0@public.gmane.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).