Message ID | 20171211050704.20621-15-joel@jms.id.au (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> 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 0B9A1602D8 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 11 Dec 2017 05:34:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F0D3726E69 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 11 Dec 2017 05:34:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E48C428E45; Mon, 11 Dec 2017 05:34:46 +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 6BD7A26E69 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 11 Dec 2017 05:34:46 +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=IRH5JFm0BYDkKbQCVfyo4dP9WV RVOjjNZ+S1Uv+2AOHJWxQG49nOp504jgHbKsDayccO5kQ7orkhXGNcHUznFUJqZqqY3iElt4k0QjM k1hG2UvJR8oqUrw2R2lvSapz/RbKb+Rg5CNBxDXt6p7hXMqELMs0CsaAsQAOaCu1kcVtJBxGkVaMn 4NxD5h4YGrQX/mamRmrqOPDb7JQShXReLOGMRJdyhIZPylViAxHE+Q56ZXXBs1d3WsnI2AU+/OVKn XE3DqpryApKa+jD3o3kNzgu3dUA664A3wEik5qNipPjoeRupAkSG4iZFUMKtnJnFctNYTWbOB2Lbr HyvjUgRQ==; 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 1eOGjl-0005op-MV; Mon, 11 Dec 2017 05:34:45 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eOGjU-0005TD-KN for linux-arm-kernel@bombadil.infradead.org; Mon, 11 Dec 2017 05:34:28 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=V2xKeTbA7vMM9cLogMteGhhUVwqNkCCemikiOy7t1uk=; b=ypurHOLAPlJHZwES9OwdG748m hXuFdUGXr4lHvqUo7ehcSRhWStiw7mPooeQR4BNv/i5FkNRlBWMhQ3/a87eTouLW6qviDfG/8j6sv oLzRMtI1MJSzhaOvpT6LV8njI/rdaKJQiKwEjJR2WUZgBP+N/PzVxCDZe3XYDzceKvOGxUBBy0BUJ 34F20JHF3lDEW11Pc4HMIj19JQFnkmM/MrZbXq2GXlM2pmPiTSL2u5XNPKpu0/VTfw2bcQJf8Ic6f IcWnTm9ZEwlkh40E0Y596n0/0wG9VUaYFL/EWjt1v3ICVapqAo2BuI8YvcSaynR/OhH+C9dHPOfVG S71HRiwIQ==; Received: from mail-pg0-x244.google.com ([2607:f8b0:400e:c05::244]) by merlin.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eOGMV-0006HU-TB for linux-arm-kernel@lists.infradead.org; Mon, 11 Dec 2017 05:10:44 +0000 Received: by mail-pg0-x244.google.com with SMTP id j4so10160319pgp.1 for <linux-arm-kernel@lists.infradead.org>; Sun, 10 Dec 2017 21:10:24 -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=OS7KOL3ZUJgEVtGKO7EForiF0sdt7xsqFHxnWLMS4X1qT+NEEvAC6AzgqM3riSFn2C eW/hASQtls71h2X9+sDFkIrv7lUZjObDjAhhGNtYBF3Gb0+bbb0D9rXoI4uqWRGEanj5 D9MclSFNVazpx0W490FDe+kK8cdUkXyBxl1Gvfi4hm9xvIuU7cnsop3z0D5hHYBIEEYj rJC8Kem83zjtG/Wke5dS5r+nOgT7PdRoitRA7d47QlJjMID4POomlTr9HxNpdBlW5gEK eVTE75bY5VKklWEMzrmrMI5xOU2djrHDXnJPRv5wHMjdtmOwmKoQW0lNvDpNgKTqdZ/5 tAvw== 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=Sz9k8/X4qdYhVvtQ9djyl3B/f2KsSyDVTIl3GtMLA586VDheHhArxRRE/jk3BDvycB dKc4mTKr9/CZyPngDni3+0dnY7v7Oj1uy0VxHdAlywOgH+QVZkj2kcd7ZbIaHNl9iK9K aRRdgL+bnDxkXUe++cjsbK6pO1xDmjZcrWIKDQDfmNvxSfhGibDnLURlqfFeO7hxWv5h rG/bSFy41zjB+Rhw7MAMZgErqMh2GUgJlFJysLozKhTDj33uR8parb5re2IWkLxZurBn pP8CgBPKHNxqq/iJhtq0XnJT96CncdM/fzQ3yFZd+Xtnj45cObzZGKDbyHhqLLnHRkVS vbbw== X-Gm-Message-State: AJaThX7QcXThpnY7QhpgxJ4rgpW69MRA1oPV58RwlWBUfpUYImfBgwjj h8rSjTyB3LWverDkJGT3A9Q= X-Google-Smtp-Source: AGs4zMb1Gtcz2YqNepyS4WguFJYjMV/93cWEBpjdRPzf+EWvEnWvRpEAgUWECGGxQrdW3SyqyJj6ZA== X-Received: by 10.84.229.5 with SMTP id b5mr38372686plk.405.1512969022509; Sun, 10 Dec 2017 21:10:22 -0800 (PST) Received: from aurora.jms.id.au ([203.0.153.9]) by smtp.gmail.com with ESMTPSA id q69sm23452550pfa.161.2017.12.10.21.10.15 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 10 Dec 2017 21:10:21 -0800 (PST) Received: by aurora.jms.id.au (sSMTP sendmail emulation); Mon, 11 Dec 2017 15:40:13 +1030 From: Joel Stanley <joel@jms.id.au> To: Rob Herring <robh+dt@kernel.org>, Mark Rutland <mark.rutland@arm.com>, Arnd Bergmann <arnd@arndb.de>, Andrew Jeffery <andrew@aj.id.au>, Patrick Venture <venture@google.com>, Xo Wang <xow@google.com>, Lei YU <mine260309@gmail.com> Subject: [PATCH 14/20] ARM: dts: Add OpenBMC flash layout Date: Mon, 11 Dec 2017 15:36:58 +1030 Message-Id: <20171211050704.20621-15-joel@jms.id.au> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20171211050704.20621-1-joel@jms.id.au> References: <20171211050704.20621-1-joel@jms.id.au> X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: devicetree@vger.kernel.org, linux-aspeed@lists.ozlabs.org, Benjamin Herrenschmidt <benh@kernel.crashing.org>, linux-kernel@vger.kernel.org, =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= <clg@kaod.org>, linux-arm-kernel@lists.infradead.org, Jeremy Kerr <jk@ozlabs.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
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"; + }; +};
This is a layout used by OpenBMC systems. It describes the fixed flash layout of a 32MB mtd device. Signed-off-by: Joel Stanley <joel@jms.id.au> --- 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