From patchwork Fri Sep 28 20:55:20 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tao Ren X-Patchwork-Id: 10620321 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A89E415E8 for ; Fri, 28 Sep 2018 20:55:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 975C22C211 for ; Fri, 28 Sep 2018 20:55:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 899672C214; Fri, 28 Sep 2018 20:55:51 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 7D1DB2C211 for ; Fri, 28 Sep 2018 20:55:49 +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: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:In-Reply-To:References: List-Owner; bh=oQB+IxnCfPHOVuBGz3chAM+2zBssZId/Bg4AJMrw4dQ=; b=qjcMCi8mWa6QYB uK+zbZ/l8VxjivWyJFCr9oz1tViuBb4wozQHGi4ZAVaScqjvAkg1APF6poPQDvk3Rob5A4JYKIfVO sNEOMEOwCyiiqYiJM3TKFc2rBuThmgKENkMFKF3QITe5UmA5yhADVDF1y/h4QzpKp5lSA4X4SvWVd abv9CpoyWTRROKHdq5P+d0SmbGmDuPvcnQ+80i/qQyAl++1tPNkruffUmwlEpW74DSfn2B0g9IMki AaAn2uqea/FkSeVqX2T4EPrErSVDVPjGE95tEFXAUmXGlbQG57FAC/Hg/FsiHPt3Nz507kAYiUZQQ jJuWp+57QQSxKDyVB3yg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1g5zne-0006CZ-FP; Fri, 28 Sep 2018 20:55:46 +0000 Received: from mx0a-00082601.pphosted.com ([67.231.145.42]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g5znb-0006C3-9b for linux-arm-kernel@lists.infradead.org; Fri, 28 Sep 2018 20:55:44 +0000 Received: from pps.filterd (m0044010.ppops.net [127.0.0.1]) by mx0a-00082601.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w8SKsVs3007337 for ; Fri, 28 Sep 2018 13:55:29 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=facebook; bh=sAtSpXOYBB9at6V4YHzRff4UzbJDKGwjij+npABHEQw=; b=WW95jik5NsCDDGTyi9LAzqbI0U15mnfKdSf+97D/GCAOTWhELcLOQDrUkCQKbbkQqsw7 jZZVfDfBpakCEPH3eHMChdAMG697EUw1uLsjbk5Je6p4E/CcOr16RucJpxfdX6Cy7C2p krrRyfU/Ouo0y8XSbYRFajjFHI+RBtMQJZk= Received: from mail.thefacebook.com ([199.201.64.23]) by mx0a-00082601.pphosted.com with ESMTP id 2mssdn0hy5-4 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Fri, 28 Sep 2018 13:55:29 -0700 Received: from mx-out.facebook.com (192.168.52.123) by mail.thefacebook.com (192.168.16.13) with Microsoft SMTP Server (TLS) id 14.3.361.1; Fri, 28 Sep 2018 13:55:28 -0700 Received: by devvm24792.prn1.facebook.com (Postfix, from userid 150176) id CB43E63358B2; Fri, 28 Sep 2018 13:55:20 -0700 (PDT) Smtp-Origin-Hostprefix: devvm From: Tao Ren Smtp-Origin-Hostname: devvm24792.prn1.facebook.com To: Joel Stanley , Andrew Jeffery , , Smtp-Origin-Cluster: prn1c35 Subject: [PATCH 1/2] ARM: dts: Add Facebook BMC flash layout Date: Fri, 28 Sep 2018 13:55:20 -0700 Message-ID: <20180928205520.368740-1-taoren@fb.com> X-Mailer: git-send-email 2.17.1 X-FB-Internal: Safe MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2018-09-28_09:, , signatures=0 X-Proofpoint-Spam-Reason: safe X-FB-Internal: Safe X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180928_135543_470581_898792B1 X-CRM114-Status: GOOD ( 15.36 ) 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: Tao Ren 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 the layout used by Facebook BMC systems. It describes the fixed flash layout of a 32MB mtd device. Signed-off-by: Tao Ren --- .../boot/dts/facebook-bmc-flash-layout.dtsi | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 arch/arm/boot/dts/facebook-bmc-flash-layout.dtsi diff --git a/arch/arm/boot/dts/facebook-bmc-flash-layout.dtsi b/arch/arm/boot/dts/facebook-bmc-flash-layout.dtsi new file mode 100644 index 000000000000..cc78614e9790 --- /dev/null +++ b/arch/arm/boot/dts/facebook-bmc-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 = "env"; + }; + + fit@80000 { + reg = <0x80000 0x1b80000>; + label = "fit"; + }; + + data0@1c00000 { + reg = <0x1c00000 0x400000>; + label = "data0"; + }; + + flash0@0 { + reg = <0x0 0x2000000>; + label = "flash0"; + }; +};