From patchwork Mon Dec 11 05:06:58 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 846785 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 3yw9yK33pVz9s7F for ; Mon, 11 Dec 2017 16:10:33 +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="OS7KOL3Z"; 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 3yw9yK1R9RzDqn6 for ; Mon, 11 Dec 2017 16:10:33 +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="OS7KOL3Z"; 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="OS7KOL3Z"; 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 3yw9y82rndzDqlb for ; Mon, 11 Dec 2017 16:10:24 +1100 (AEDT) Received: by mail-pg0-x243.google.com with SMTP id k15so10151592pgr.7 for ; 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=ubmTGYbVYQMgSnLZqDfCTVhQrQXAObEPb182rSQUP/h9/GMosy+p1+WlGdDZQBbGav 2ycMSd6jLj9sCIKeDS7xa0bxz0XeX/6sOYdPgIkmM4EVi6j76m5ohaelKqoUK+Rv8lCl o8IGcusHS3mDdrLeD1mOp2uM2ncdmRmkOsocM5z+eip9kyYP9rXDA4uiEcg/SF01W0P5 H26AJUIyF5xzF5zmCCm40nZAaaI6rrR2UNOgzMoP/Xt6I/PPB7k7QyUjyJ6w3a7qjoND cr7P8/UYk/OruQGPhwHnvYBIqE0CWyZBDk2F7dUNIcBC6XYbiCRU6hdtCdWYGuhPpOWZ vNRw== X-Gm-Message-State: AJaThX422oGH/1WbhejOh419rl2gneFHnUPP5jP/K/m+vILUqEc5bgCB CoM/3P3IWYA1Nm7/uKjyeBc= 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 To: Rob Herring , Mark Rutland , Arnd Bergmann , Andrew Jeffery , Patrick Venture , Xo Wang , Lei YU 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-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 --- 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"; + }; +};