Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1573850

Re: [PATCH 14/22] ARM: dts: add a devicetree for Raidsonic NAS IB-4220-B

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Hans Ulli Kroll <ulli.kroll@googlemail.com>
Newsgroups linux.kernel
Subject Re: [PATCH 14/22] ARM: dts: add a devicetree for Raidsonic NAS IB-4220-B
Date Sun, 05 Feb 2017 11:00:01 +0100
Message-ID <t7rLX-5CS-1@gated-at.bofh.it> (permalink)
References <t2prr-IA-5@gated-at.bofh.it>
X-Original-To Linus Walleij <linus.walleij@linaro.org>
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=reMZbnDe2thz1nQT3nITE7heted2tdX5dsGFYB5LBag=; b=rTJh1vJW3i3j9/gMj1IbRKpt18uufAquY+/AliCZwvDUurcUCi2+eeE6Jxiqwkwmvs ltJtt0KheK12Z7EEAA1cJ2N1s8B90Jq/6w+5GkRb/QxZBaI/mxccX5BlwAOfH09XiR/d lzZRK/QQK8KFkfAxCBvGWOaHzyraBgff7hm93YtsaneEoiX06K6ekJokYeTxXpkHTBti BioDkINOTTEPdkqvQjYstGmYuJO/AIsKP9a0pw8KCo4tYYVoLVpm8DW9rz4JfEaiFUMz ZEqPrRfWx/9tqwIf2aHliX9BeCzR3pVBM+TEiQyTqtsY2DuvH3u8RW/xdOXKd82FZXmk 497w==
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=reMZbnDe2thz1nQT3nITE7heted2tdX5dsGFYB5LBag=; b=dsXGVuaQB5z2bwYHfHLd2QJ4q73OkS/FWY+h/tOY+b5UJ8X2O/GNcim1B1VIxOhsDS 4vN7dPDCyGndtiSOn+Pq4hbrCpj5MG5WlF1vW8yDEZJBNY/lByvhSDVUfmaf2GN1a/Wz yOtYkg5IMRhme84v2rzdf4FLf0EpXERF+JUlJT19daDFIOKiDEw9kPgGuNNNx0K19CKH j4jrWqOiOXk8F2pemM256HH/JZFhHqBF6qymRblQsVlngvTlh170qo7zs5KZETYSvCKp Y3bH4uOfomKKEaCIIPTbMlfIf4+SiWMJJ9bmyLl6O9H9z/VD2cT9e2b/P5HpzncjAlV9 dJmw==
X-Gm-Message-State AMke39k6xu7FsfDaOZtik8xa8pXGiu6uZ98eghdWEx94XUyIaV97dozoXL8JT/4JjVBLfg==
X-Received by 10.28.99.69 with SMTP id x66mr4268673wmb.91.1486288386302; Sun, 05 Feb 2017 01:53:06 -0800 (PST)
X-X-Sender elektroman@T420s
User-Agent Alpine 2.00 (LNX 1167 2008-08-23)
MIME-Version 1.0
Content-Type TEXT/PLAIN; charset=US-ASCII
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 66
Organization linux.* mail to news gateway
X-Original-Cc linux-arm-kernel@lists.infradead.org, Hans Ulli Kroll <ulli.kroll@googlemail.com>, Florian Fainelli <f.fainelli@gmail.com>, Janos Laube <janos.dev@gmail.com>, Paulius Zaleckas <paulius.zaleckas@gmail.com>, openwrt-devel@openwrt.org, Arnd Bergmann <arnd@arndb.de>, linux-kernel@vger.kernel.org
X-Original-Date Sun, 5 Feb 2017 10:53:02 +0100 (CET)
X-Original-Message-ID <alpine.LNX.2.00.1702051051090.26313@T420s>
X-Original-References <20170122122254.10764-1-linus.walleij@linaro.org>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1573850

Show key headers only | View raw


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@0 {
+				label = "RedBoot";
+				reg = <0x00000000 0x00020000>;
+				read-only;
+			};
+			partition@20000 {
+				label = "Kernel";
+				reg = <0x00020000 0x00300000>;
+			};
+			partition@320000 {
+				label = "Ramdisk";
+				reg = <0x00320000 0x00600000>;
+			};
+			partition@920000 {
+				label = "Application";
+				reg = <0x00920000 0x00600000>;
+			};
+			partition@f20000 {
+				label = "VCTL";
+				reg = <0x00f20000 0x00020000>;
+				read-only;
+			};
+			partition@f40000 {
+				label = "CurConf";
+				reg = <0x00f40000 0x000a0000>;
+				read-only;
+			};
+			partition@fe0000 {
+				label = "FIS directory";
+				reg = <0x00fe0000 0x00020000>;
+				read-only;
+			};
 		};
 	};
 };
-- 
2.11.0

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: [PATCH 14/22] ARM: dts: add a devicetree for Raidsonic NAS  IB-4220-B Hans Ulli Kroll <ulli.kroll@googlemail.com> - 2017-02-05 11:00 +0100
  Re: [PATCH 14/22] ARM: dts: add a devicetree for Raidsonic NAS IB-4220-B Linus Walleij <linus.walleij@linaro.org> - 2017-02-07 23:10 +0100
    Re: [PATCH 14/22] ARM: dts: add a devicetree for Raidsonic NAS  IB-4220-B Hans Ulli Kroll <ulli.kroll@googlemail.com> - 2017-02-08 14:10 +0100
      Re: [PATCH 14/22] ARM: dts: add a devicetree for Raidsonic NAS IB-4220-B Linus Walleij <linus.walleij@linaro.org> - 2017-02-10 14:00 +0100

csiph-web