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: 10124943 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 33BBF603B5 for ; Wed, 20 Dec 2017 04:13:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2242229621 for ; Wed, 20 Dec 2017 04:13:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1425F296C8; Wed, 20 Dec 2017 04:13:24 +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 A58B329621 for ; Wed, 20 Dec 2017 04:13:23 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=omv44/E134btTgx+kt0d75yutPmfgC2OZ1mW0jIaEM4=; b=MxgRoc5MLXoUW0 ubkjl4fNgYgcjs+Vncqn80h0k6tUeIh4AlJeFWsTWcFNFkw42bZSWpOY3nuQCo53DALCap6XR815c QIxzW+ZL08mAcnu43eVAm0lorIMoX70rPo6urLKaX4HeAfIkedGxeN/cJ+QWCH5r8lpnSrJUrFI9Y EeMOHhfcwr8z3pRe75AQEmKjFpk9BVUzX7piX/sxYjNVAmVqfnUWE6WHI8dVhTD8ZcoTzgdKvn61B eFWOGesDYf6eZnDoyMZJvj6H5BmKQqCjkPNEdtAPEOHsnM6bKM+QXm6z8C54PdsX2D3jWXMl2TPHN Ffunzo5Z1SxM7IVUTijQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1eRVkv-0005zN-Gj; Wed, 20 Dec 2017 04:13:21 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eRVkt-0005yP-9X for linux-arm-kernel@bombadil.infradead.org; Wed, 20 Dec 2017 04:13:19 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To: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=3Csls6gVT1AthJx/dJ4iMAFvsBps+6tOZGXf5bUPr1s=; b=g6liof/RoHU+/3+5h/CrO4zEyX UC98OXvnHz9dB0zzuVTGoFi8c4G0QgC4g83H3u7CM9DMs3oPReEFplpxfuvyWJj5QFACBTakD0+RQ vK10fkPruoHlEMuD6GnExjmjJSpDqkL3qf8UIB5D4gEYinhFkROlM2G0wdUHYXDCiL6jlxl44epRX r3JDcz+/a8ydogb+yDcpvXjbntmazz8pTp/so0UylaW+3rWXx2Ui80kWeiY8kyen5roRHb0ROisqC sD9z/ah+3kdjFZb0PmyGlP2T8TGlaoe/aI2xQ8s5WN2k2NVB/xXxLrnYKRn/n+2XxYNDVHSjibysq u81lilbA==; Received: from mail-pl0-x244.google.com ([2607:f8b0:400e:c01::244]) by merlin.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eRV1R-0004Tz-CA for linux-arm-kernel@lists.infradead.org; Wed, 20 Dec 2017 03:26:21 +0000 Received: by mail-pl0-x244.google.com with SMTP id b96so8255598pli.2 for ; Tue, 19 Dec 2017 19:26:11 -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=tdo5pUuQYq//zeT/VqgCsg859j8xOYHilfzMPB4i5oRcCVFvBPoQZIZizE8mAQAw+H Ld78E2tPDK7Ub98MX3+Oq3ZwxIZ5FrjpL843uCki5YgL3DYKXjAhqVtCPsyrAYN3Yg1j yet/l73jXtD2Kf78EdjRFVNVuMJqWVcE+AJ5P9mkIhOAX3PZGRBR2Bmuq69wBNU1/uW1 6h5jJXK/1TbfjyaCGzH+GGF+cf5cXNDTe6aYU40TfQn0hN8/fuw8K+fZJVviEw5V2vtg c3Yj5QTa028//vHEzmrVUIlfCyrtefxH8kkPPRs/Shu2qY3ylXSyMbkMb79yPXilLSgw An+w== X-Gm-Message-State: AKGB3mKYrfxIsXdJo17wSCdjDkIWq6v4sFbLn4IZWFEjn0pdTqWk5D0B UyxrCbmDLbvLiHbwWeq4yqw= X-Google-Smtp-Source: ACJfBotKtGh9egbvRIuZKNCrSBwwH5onax9HAAOfvh71Ne52j8wqz6ofnVLr57IzL3dOww1ymgJ/bg== 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 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 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 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. 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 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"; + }; +};