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: 122438 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp5024930qgn; Tue, 19 Dec 2017 19:26:17 -0800 (PST) X-Google-Smtp-Source: ACJfBoundIi8SMijfycXJOi6aQvYUeyv5pirPrRqEUNFxs3ui2l1OBZdMCy15EXXVkFptoVtolDz X-Received: by 10.99.108.66 with SMTP id h63mr4993402pgc.362.1513740377665; Tue, 19 Dec 2017 19:26:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513740377; cv=none; d=google.com; s=arc-20160816; b=MuCFEZTLZsz17beyNdVFRZ1ra1x8Q3/6cj9NeGEoRG5coRrD9wqCbXie5Q2ySQVgow W9ptI5yOgEaiL/VcTZTU7KsNovyXAFaBRgydrriSqalB1luydeiJSKutRTyJ2GtzYAHX 4Qhse6Q01IHey6MX4g+vxJuPuBFTnHPgWHWx0R1q2LHj83dpKXuTw5MHEFVOG5OAf4wP VWFF/fOJHDQVM9Q0vDtVOZNDA18rJVHetwVYSGpGQk7WsMnaQqMeNnZUps3Tr+sjlugv FMbPX4sODNIBzLNwDGKuQG8pAXM4aOtoHv2wR/Ez4lxaUop0Vj3LYkHdcbCrtmIPw/36 eyeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=3Csls6gVT1AthJx/dJ4iMAFvsBps+6tOZGXf5bUPr1s=; b=NODWItjyqAZjuhbA7Bsw6SR9KsGMU4SuOY9lv1Dm4R0tu/36rr+47nCLsmdDT+eOby pWj9rdBRjpDapgqcFFKxECYesBUfPZjDUKOfE0sxPgWDQGFYuVevvhBDa2ny5eBZOEn3 ihDt4MFrzInKvZrMYMTRSEP/Wb0TtlhkytIxUX+X/TmsI4R0c/edVJL28T1qNybtzSVX YWmLRMiHOxPj4oQkjepaJIYfHEB/9JRVIrdyUlUPdlEdXmI6HJmkJLWAFWr5+Hxe+U38 HC3qFFGp1oojvMbfaIIxz9bV/3ne9aYozLP2FRsYTXodbywYLys4fypHQWTjvPFALSxG DIdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=JRiYcsF5; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l7si11145405pgq.631.2017.12.19.19.26.17; Tue, 19 Dec 2017 19:26:17 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=JRiYcsF5; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754499AbdLTD0N (ORCPT + 28 others); Tue, 19 Dec 2017 22:26:13 -0500 Received: from mail-pl0-f68.google.com ([209.85.160.68]:39140 "EHLO mail-pl0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754139AbdLTD0J (ORCPT ); Tue, 19 Dec 2017 22:26:09 -0500 Received: by mail-pl0-f68.google.com with SMTP id bi12so8250863plb.6; Tue, 19 Dec 2017 19:26:09 -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=rhQ3iOL4clQ+jLPFwvYFEbAkt0MCI8qsHjodPk3THJ15obpnpCrGBEr0nqDvReKK3r Y+myQAvuFVf4SQPxsQo9jjYhQwvB//qMjK0dNkxMoYahgC8dZM3cvjgHqBe1IggplaOz Y88tzpSyaZVwwjmA+gdWtcUzsSLGRO05KYW2rZ4lz3NUJ20I7UliOx5SDZvMM9ezFnmF HjIPEUUdDUudhGvlOdnaCYTHAbr1Im5byPqb2zJTpS+6rddTjmJMOiEqjCpt70nJ+ojw dh1NmiyO8F7ZCafkICiFmzS9EEZb+FN+vxFjHPJXIPiknNMJ6N74YtIfyu8bP3l2V+2L uB7Q== X-Gm-Message-State: AKGB3mLe7f2e+xmnVYhcLppw4vd1EBPCPQPloyF0apOLaZ3OYppIf87X nvRcxcyDsZlCvPLPzDrNZqc= 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 Cc: =?utf-8?q?C=C3=A9dric_Le_Goater?= , Benjamin Herrenschmidt , Jeremy Kerr , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-aspeed@lists.ozlabs.org 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 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 -- 2.15.1 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"; + }; +};