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: 10113991 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 B32C560327 for ; Fri, 15 Dec 2017 06:29:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A4A1F291BB for ; Fri, 15 Dec 2017 06:29:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 98CA829E7E; Fri, 15 Dec 2017 06:29:12 +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=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham 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 7368C291BB for ; Fri, 15 Dec 2017 06:29:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=AGdXS9YqNlj5gDVWDnFGDHznZOaeb6BaVUOR3k5HERs=; b=o3TKHe6EuZZeSM7DUuAe6Rtcyk 0G2J+dvKDEWgSozY8azWfUYwjqW9huUZT+WLy/dFGSdLIDUL8LeZ1Bk7vvRE7TV2qlR8P/M8FLaeN JK2ID8B+xOtRZi5R6hx+TWtsxp5poedAyowJU6FxW9p6en/O2tq0s1rHLnhTdngGnkFFvE0MdG46O rZEFPq/vUYkP5RxMCHVpU1Mxywm8NgyVcJ5Y7C4LXoWPIHwnfn8arHshQwNFtBshqfw/MHaQ6n0RZ Xc3Z+oWH1RSO1+bIp1c/z1rnE2F4o1CtgDt7GQ/oQAW0w9DAjz29eNgmaEY43hbTNzti6EzlSwUNG mh3OlZ4w==; 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 1ePjUb-00015u-Kk; Fri, 15 Dec 2017 06:29:09 +0000 Received: from mail-pg0-x243.google.com ([2607:f8b0:400e:c05::243]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1ePjT7-000838-30 for linux-arm-kernel@lists.infradead.org; Fri, 15 Dec 2017 06:28:16 +0000 Received: by mail-pg0-x243.google.com with SMTP id k15so5168074pgr.7 for ; Thu, 14 Dec 2017 22:27:16 -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=q+PWtI9yyTNqc6dlsOfs52mnE6Z7IsbWPjTnI2n2LgPx92MzKPAQPNC7TFlrAfQU7S F95nqJqPtnqbAhTNmSeA+xcwgYTihBhjoTWKVuFPOfQ0fSUvgrIUzDSkcJLH6rLnNbxc X0seJIhmv++V97dqb+gKTc2aO0bDCvNt8m7BxXsU0QSkkaO7MknbdYxjaM8KLEqQadMs U3egO7L6mv84YEaa2yK3HshAKfuq9qBir/TiCROzRFk161XSnXwc71TzHloYUBWuSvOs 21+AOFxxWdMlOn0wn22nFzp8QL2/2q5AS6WM8UVuyMUewj9/DGOrgk2bNt7UQt5t+y8v 4Hdw== X-Gm-Message-State: AKGB3mKCZDSRdIitTrXT46qn3g1/ZndCVpOth5J1lKj9bdrJOhswPTw/ tibrg4Nmde4jTAq2kLEzQXY= 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171214_222737_693477_188356B2 X-CRM114-Status: GOOD ( 12.49 ) 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: devicetree@vger.kernel.org, linux-aspeed@lists.ozlabs.org, Benjamin Herrenschmidt , linux-kernel@vger.kernel.org, =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= , linux-arm-kernel@lists.infradead.org, Jeremy Kerr MIME-Version: 1.0 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 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"; + }; +};