From patchwork Sun Feb 5 09:53:02 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hans Ulli Kroll X-Patchwork-Id: 9556033 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 1C5E2602B5 for ; Sun, 5 Feb 2017 09:54:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0AEBA2684F for ; Sun, 5 Feb 2017 09:54:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EFE5B26E69; Sun, 5 Feb 2017 09:54:37 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=no version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5FAFC2684F for ; Sun, 5 Feb 2017 09:54:37 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1caJWj-0006D8-9i; Sun, 05 Feb 2017 09:54:33 +0000 Received: from mail-wm0-f67.google.com ([74.125.82.67]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1caJWf-0006CV-CP for linux-arm-kernel@lists.infradead.org; Sun, 05 Feb 2017 09:54:31 +0000 Received: by mail-wm0-f67.google.com with SMTP id u63so14939695wmu.2 for ; Sun, 05 Feb 2017 01:54:07 -0800 (PST) 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=kGJ0Pn+bbL9z8O5AY/eREsenkGKkCXlcbyvTUmHSl3JlX5H4IFYgc020KGaM3P7bCV XH+aVRtagtntHEFYBEaMhm98GQTxqwMq0H80KcbnBDdHJ0qREBP74HUpycSoIzIHG6jN Oj/SM4EOE6vw2/+fpyQtgrPIzpOfU+ozkvO3dLbOQKPTy9M7aQQFkQ7KJkIbcO1/Wvaa YcPm+fpMUwru05BXgo/CgAKeZJnCCpo7/aAZRbwJ32znqHVo+dfc4YRoxgLphk68fzSI F2FdHjQBRk6RW6OlDUUhRyd9EhOoOkpyti2B0gIrieed5Xrxu0Q1qWeVo9vvIJj0MVy/ sZEA== X-Gm-Message-State: AMke39lYTmLaxy53mLIUdqvAlVJKRiu+Njsu5gFciCUlHo22MMar5+pNVBSQXTdXrxbXvA== X-Received: by 10.28.99.69 with SMTP id x66mr4268673wmb.91.1486288386302; Sun, 05 Feb 2017 01:53:06 -0800 (PST) Received: from localhost (cable-78-34-25-212.netcologne.de. [78.34.25.212]) by smtp.gmail.com with ESMTPSA id 61sm54027126wrs.29.2017.02.05.01.53.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 05 Feb 2017 01:53:05 -0800 (PST) Date: Sun, 5 Feb 2017 10:53:02 +0100 (CET) From: Hans Ulli Kroll X-X-Sender: elektroman@T420s To: Linus Walleij Subject: Re: [PATCH 14/22] ARM: dts: add a devicetree for Raidsonic NAS IB-4220-B In-Reply-To: <20170122122254.10764-1-linus.walleij@linaro.org> Message-ID: References: <20170122122254.10764-1-linus.walleij@linaro.org> User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170205_015429_582537_F245BD27 X-CRM114-Status: GOOD ( 12.34 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: openwrt-devel@openwrt.org, Florian Fainelli , Arnd Bergmann , Paulius Zaleckas , Hans Ulli Kroll , linux-kernel@vger.kernel.org, Janos Laube , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Hi Linus, please add right baudrate and partition scheme for NAS 4220 Signed-off-by: Hans Ulli Kroll --- 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; + }; }; }; };