From patchwork Fri Dec 15 06:24:37 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 848991 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 3yygT656Gfz9t2Z for ; Fri, 15 Dec 2017 17:27:22 +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="pcazoiPL"; 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 3yygT62xTgzDrnB for ; Fri, 15 Dec 2017 17:27:22 +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="pcazoiPL"; 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:c05::243; helo=mail-pg0-x243.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="pcazoiPL"; dkim-atps=neutral Received: from mail-pg0-x243.google.com (mail-pg0-x243.google.com [IPv6:2607:f8b0:400e:c05::243]) (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 3yygT20yB0zDrhL for ; Fri, 15 Dec 2017 17:27:18 +1100 (AEDT) Received: by mail-pg0-x243.google.com with SMTP id k134so5171758pga.3 for ; Thu, 14 Dec 2017 22:27:18 -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; bh=V2xKeTbA7vMM9cLogMteGhhUVwqNkCCemikiOy7t1uk=; b=pcazoiPLeHi/lSIl9ItVYiKLrlg/JkWe/j8ij+OdOjhADlBPeD+SdK/az8GLsxSwej 38qAK0CcopKjknbgL5KQVA0fpwdzJtRFVvkgS0dQrYoTxjx/vngP1djp7+HWyCCqWe3y i8TTUNWS0AOUQuPT5WFYQKrjG+hhh4nymnkfos68J6bH/kgV4AsqJ737lGuxP+mEWv+g 6E2UGECgBBA2FgghohE9keJ+ZBg23ecVYaH5FygFFWBC14hAsiRw0SRK58yQd6xybDgw +RSlXxuwGaCp9G5Si+b7J+Zli5Ps28bxXw4nK36m3wyvFZ9mKxOSjhPTpn62H4uq2EG6 Nb9w== 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; bh=V2xKeTbA7vMM9cLogMteGhhUVwqNkCCemikiOy7t1uk=; b=n3ve2FNz6GiOmfYeRLZCtkMCkPlAlztwnqv7Y4lIJpF+gNKF3yBy77+4kUUbwUM1bO EWXH70hDOqIAakuPa0g6tJ5aIO3S/NJVstHCUeJ2CjwIxsFZkpDMsVtKETblgIDNOOOD myKPXX5QhrX1TLXWtjLeMrPQaYlQiBHP7d3vBbBcsIbFS5/c/7TtJVmh42kq16QyMYOt +DONEtXFlVnlAcW++2EqP0JXq7BAvL+4Ve/vA907+POg/iXfx52jAQsaOvCv37BdoePU Sb/tqaYi/OCYB4iWo6SUM55+DkV8eixFSqMqjDzWyeuQIt38zBIDGlm9PYRcbY6o0yVr NcIQ== X-Gm-Message-State: AKGB3mK60RwrgIU3eYHeRfc22JY0/ed2M4TsBKSangDVHAwn6eBcahwc k6Sr3Tr9qvNWRTSouCzOQWQ= X-Google-Smtp-Source: ACJfBotiv8wIsjIPEEmWaEINvkirMOd7aWGDxMK/X5dSZNtKP8uoTJkEZPOE4BzVamXBjoyuMP2fog== X-Received: by 10.84.215.198 with SMTP id g6mr5153393plj.151.1513319236014; Thu, 14 Dec 2017 22:27:16 -0800 (PST) Received: from aurora.jms.id.au ([203.0.153.9]) by smtp.gmail.com with ESMTPSA id m11sm9773234pfh.35.2017.12.14.22.27.09 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 14 Dec 2017 22:27:14 -0800 (PST) Received: by aurora.jms.id.au (sSMTP sendmail emulation); Fri, 15 Dec 2017 16:57:06 +1030 From: Joel Stanley To: Rob Herring , Mark Rutland , Arnd Bergmann , Andrew Jeffery , Patrick Venture , Xo Wang , Lei YU Subject: [PATCH v2 13/19] ARM: dts: Add OpenBMC flash layout Date: Fri, 15 Dec 2017 16:54:37 +1030 Message-Id: <20171215062443.23059-14-joel@jms.id.au> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20171215062443.23059-1-joel@jms.id.au> References: <20171215062443.23059-1-joel@jms.id.au> 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. Signed-off-by: Joel Stanley Reviewed-by: Cédric Le Goater --- 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..63ad8db7a431 --- /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@0c0000 { + reg = <0x4c0000 0x1740000>; + label = "rofs"; + }; + + rwfs@1c00000 { + reg = <0x1c00000 0x400000>; + label = "rwfs"; + }; +};