From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752037AbdBEJxJ (ORCPT ); Sun, 5 Feb 2017 04:53:09 -0500 Received: from mail-wm0-f68.google.com ([74.125.82.68]:34425 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751774AbdBEJxH (ORCPT ); Sun, 5 Feb 2017 04:53:07 -0500 Date: Sun, 5 Feb 2017 10:53:02 +0100 (CET) From: Hans Ulli Kroll X-X-Sender: elektroman@T420s To: Linus Walleij cc: linux-arm-kernel@lists.infradead.org, Hans Ulli Kroll , Florian Fainelli , Janos Laube , Paulius Zaleckas , openwrt-devel@openwrt.org, Arnd Bergmann , linux-kernel@vger.kernel.org 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 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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; + }; }; }; }; -- 2.11.0