From patchwork Wed Dec 20 03:23:21 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 851208 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3z1gCp28Rjz9ryr for ; Wed, 20 Dec 2017 14:26:14 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="JRiYcsF5"; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 3z1gCp0cSqzF07b for ; Wed, 20 Dec 2017 14:26:14 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="JRiYcsF5"; dkim-atps=neutral X-Original-To: linux-aspeed@lists.ozlabs.org Delivered-To: linux-aspeed@lists.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:400e:c01::244; helo=mail-pl0-x244.google.com; envelope-from=joel.stan@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="JRiYcsF5"; dkim-atps=neutral Received: from mail-pl0-x244.google.com (mail-pl0-x244.google.com [IPv6:2607:f8b0:400e:c01::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3z1gCk5Q1KzF07Q for ; Wed, 20 Dec 2017 14:26:10 +1100 (AEDT) Received: by mail-pl0-x244.google.com with SMTP id n13so8246866plp.11 for ; Tue, 19 Dec 2017 19:26:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=3Csls6gVT1AthJx/dJ4iMAFvsBps+6tOZGXf5bUPr1s=; b=JRiYcsF5TpWVtbbAQ5lJy3yb1JdzOGfY/qQyMr4rljyBhggLEKSnXlhY4CQXfiDDJL lcieUenQQ7G7BI5bVlVlwm7bvbD7tYO4uKhpK0xVhusqoY+EPfpR9p+LfnXKjRM39oLx cKKqevqn7CNTkuH8ZgN2A5jSVnWhckPZ/GXmcpGIoBihnsXRFHkYqOSpLpshrHX6KxBJ KyBObYS2C3xJlOQ1N9+cB9HblR5xrZCqwMjA56+jPBl7Q0bFK2dL5dd+IE3OEAWS+8mT cEsnw8Bq60F1B521gDcHJbWUI5bONp8GTqFXgEr3M3bINlJsfQYoQZU4vwscZJvGjSOm gv8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=3Csls6gVT1AthJx/dJ4iMAFvsBps+6tOZGXf5bUPr1s=; b=lFjc1KbySu9racin1nz4QqE0zbemO8IUjPQDsurLBjvsRGsEBLFy6x1nSh88LC1Xl3 OGzwOZomSQw63sM4fZR/wTxTleJMiDrF7OmXh+lvonHGLBSUyad0k7uVev8OiNEbmTAA Eny0Fk4PnCV3i6aFJ5nz1ZPIkg/U01Vf+pGAJcm7cpdaTiZ7RWPW6L93yWvI/MVhGWv6 d1/TcgGkB9FkzGSGQja3REYrZMzgNB6jeeUt4RBlvLNT4N6nLav/s4MFthIfZvCEgt5+ 8ogxoW/S3APZXpS6ODgbvwbREnraS772ranSk+uzqlse/PWeodQwHZgvpZv+1MfBQQsw NZcw== X-Gm-Message-State: AKGB3mJQ/NkHZM2eHUs2G1MlBoFGzSUnND1SNcq/rnEEtCHbEt08jALv Lrp2k7jBsPGn5/El7d43Ixg= X-Google-Smtp-Source: ACJfBotKtGh9egbvRIuZKNCrSBwwH5onax9HAAOfvh71Ne52j8wqz6ofnVLr57IzL3dOww1ymgJ/bg== X-Received: by 10.159.207.138 with SMTP id z10mr5420515plo.35.1513740369059; Tue, 19 Dec 2017 19:26:09 -0800 (PST) Received: from aurora.jms.id.au ([45.124.203.15]) by smtp.gmail.com with ESMTPSA id l80sm32999332pfb.124.2017.12.19.19.26.01 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 19 Dec 2017 19:26:07 -0800 (PST) Received: by aurora.jms.id.au (sSMTP sendmail emulation); Wed, 20 Dec 2017 13:55:58 +1030 From: Joel Stanley To: Rob Herring , Mark Rutland , Arnd Bergmann , Andrew Jeffery , Patrick Venture , Xo Wang , Lei YU Subject: [PATCH v3 13/20] ARM: dts: Add OpenBMC flash layout Date: Wed, 20 Dec 2017 13:53:21 +1030 Message-Id: <20171220032328.30584-14-joel@jms.id.au> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20171220032328.30584-1-joel@jms.id.au> References: <20171220032328.30584-1-joel@jms.id.au> MIME-Version: 1.0 X-BeenThere: linux-aspeed@lists.ozlabs.org X-Mailman-Version: 2.1.24 Precedence: list List-Id: Linux ASPEED SoC development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-aspeed@lists.ozlabs.org, Benjamin Herrenschmidt , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Jeremy Kerr Errors-To: linux-aspeed-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Linux-aspeed" This is a layout used by OpenBMC systems. It describes the fixed flash layout of a 32MB mtd device. Reviewed-by: Cédric Le Goater Signed-off-by: Joel Stanley --- v3: - Remove leading zeros to fix warning --- arch/arm/boot/dts/openbmc-flash-layout.dtsi | 32 +++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 arch/arm/boot/dts/openbmc-flash-layout.dtsi diff --git a/arch/arm/boot/dts/openbmc-flash-layout.dtsi b/arch/arm/boot/dts/openbmc-flash-layout.dtsi new file mode 100644 index 000000000000..6c26524e93e1 --- /dev/null +++ b/arch/arm/boot/dts/openbmc-flash-layout.dtsi @@ -0,0 +1,32 @@ +// SPDX-License-Identifier: GPL-2.0+ + +partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + u-boot@0 { + reg = <0x0 0x60000>; + label = "u-boot"; + }; + + u-boot-env@60000 { + reg = <0x60000 0x20000>; + label = "u-boot-env"; + }; + + kernel@80000 { + reg = <0x80000 0x440000>; + label = "kernel"; + }; + + rofs@c0000 { + reg = <0x4c0000 0x1740000>; + label = "rofs"; + }; + + rwfs@1c00000 { + reg = <0x1c00000 0x400000>; + label = "rwfs"; + }; +};