Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: ulli.kroll@googlemail.com (Hans Ulli Kroll)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 14/22] ARM: dts: add a devicetree for Raidsonic NAS IB-4220-B
Date: Sun, 5 Feb 2017 10:53:02 +0100 (CET)	[thread overview]
Message-ID: <alpine.LNX.2.00.1702051051090.26313@T420s> (raw)
In-Reply-To: <20170122122254.10764-1-linus.walleij@linaro.org>

Hi Linus,

please add right baudrate and partition scheme for NAS 4220

Signed-off-by: Hans Ulli Kroll <ulli.kroll@googlemail.com>

---
 arch/arm/boot/dts/gemini-nas4220b.dts | 36 +++++++++++++++++++++++++++++++++--
 1 file changed, 34 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/gemini-nas4220b.dts b/arch/arm/boot/dts/gemini-nas4220b.dts
index 0b30cdeb2354..7668ba52158e 100644
--- a/arch/arm/boot/dts/gemini-nas4220b.dts
+++ b/arch/arm/boot/dts/gemini-nas4220b.dts
@@ -19,7 +19,7 @@
 	};
 
 	chosen {
-		bootargs = "console=ttyS0,115200n8";
+		bootargs = "console=ttyS0,19200n8";
 		stdout-path = &uart0;
 	};
 
@@ -64,7 +64,39 @@
 			status = "okay";
 			/* 16MB of flash */
 			reg = <0x30000000 0x01000000>;
-			/* TODO: add flash partitions here */
+
+			partition at 0 {
+				label = "RedBoot";
+				reg = <0x00000000 0x00020000>;
+				read-only;
+			};
+			partition at 20000 {
+				label = "Kernel";
+				reg = <0x00020000 0x00300000>;
+			};
+			partition at 320000 {
+				label = "Ramdisk";
+				reg = <0x00320000 0x00600000>;
+			};
+			partition at 920000 {
+				label = "Application";
+				reg = <0x00920000 0x00600000>;
+			};
+			partition at f20000 {
+				label = "VCTL";
+				reg = <0x00f20000 0x00020000>;
+				read-only;
+			};
+			partition at f40000 {
+				label = "CurConf";
+				reg = <0x00f40000 0x000a0000>;
+				read-only;
+			};
+			partition at fe0000 {
+				label = "FIS directory";
+				reg = <0x00fe0000 0x00020000>;
+				read-only;
+			};
 		};
 	};
 };
-- 
2.11.0

  reply	other threads:[~2017-02-05  9:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-22 12:22 [PATCH 14/22] ARM: dts: add a devicetree for Raidsonic NAS IB-4220-B Linus Walleij
2017-02-05  9:53 ` Hans Ulli Kroll [this message]
2017-02-07 21:52   ` Linus Walleij
2017-02-08 12:55     ` Hans Ulli Kroll
2017-02-10 12:55       ` Linus Walleij

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=alpine.LNX.2.00.1702051051090.26313@T420s \
    --to=ulli.kroll@googlemail.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