From patchwork Tue Nov 6 04:28:29 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tao Ren X-Patchwork-Id: 10669603 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 F3B8813AD for ; Tue, 6 Nov 2018 04:29:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D2E5229FCC for ; Tue, 6 Nov 2018 04:29:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C3F842A03A; Tue, 6 Nov 2018 04:29:41 +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=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW 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 4397A29FCC for ; Tue, 6 Nov 2018 04:29:41 +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=k3gPMbH9Jyl2poZgDvkoV6CDT/U0zl97SBIOkLBWcb0=; b=vDrkC5D92njt7w cLTRVy6tbCPzhs+saHUqHjgqKtPbpT/wibacjpiK3hMUYq2imuavlIA/WWsCMIlc3kl/vIEUbet0J dODB7DNG2vyUQ54kxeW8/zWrZzS+PwwyQRxiGzc78xf2+rsA/HcsCgrjcQRHgeDw5b7TZcij3JGnu OTi3eFWQitVM2ebgvlO+9Ed6FYslyYGrwW9U/+cTetpRVv6Cy1rsiICoXkxzxhtIQOHCK6dmQC9RN +0eOKwJqxexvzIxZGCszea5Y93d+++c4bWBM/YtJE0tHLim1bRzxfQnJ1fjPCUZbVJ2j6dYkcvZ9O IuJMOoumEdQxCgtlgGmQ==; 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 1gJszh-0003Yt-M5; Tue, 06 Nov 2018 04:29:37 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gJszf-0003Yn-AT for linux-arm-kernel@bombadil.infradead.org; Tue, 06 Nov 2018 04:29:35 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Type:MIME-Version:Message-ID: Date:Subject:CC:To:From:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=wF0B3AXpYzmcb1gWZSn31mYmLSc/IPNM1MgPQEXIcS8=; b=AGvqFiMDi/cn3955HfggubtsFz dqwn3h+0bg40dJ/z64xtCRLfpnUgvY7pVQMHeM4pwbo1XmgxgLnqDvx5z3B+DwdIzLacKYhr1yXfB M1uZk6fWU1Q7tSKQLTZUxXVOY9GKETjcg+nPtuMOajpdx2/uhghHb+l0FOrf7xdp23q57ydv3iwfc 4b0FjZHm6SCcdDuCUm8CueT854hMngXr9xRlsFsyfMqs7cqoxAHcv1+d5VIOzWJGEbhxYJlxA7lAq c0eLEgL5i2PctCARXtRNU2lwwE3oGaSm1sy7+vKw4Fh0ZnXsh5BOJbzSWtA7DhEvc5i//AfPSheKa Xuo1fsRw==; Received: from mx0a-00082601.pphosted.com ([67.231.145.42]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gJsza-0003BK-Nc for linux-arm-kernel@lists.infradead.org; Tue, 06 Nov 2018 04:29:32 +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 wA64PVcO017070 for ; Mon, 5 Nov 2018 20:29:07 -0800 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=wF0B3AXpYzmcb1gWZSn31mYmLSc/IPNM1MgPQEXIcS8=; b=Jt+Wzdbwh/Fe0kr14KJzXfrdRFyOYICkgGp2P1weBsDAdHFlZ3Pp0A+ubhLQv9ydodnE BQpsxh7Ac6YYtxei3px1+lc9DoOdL8MNBsS4JLdwL8L/MygFPXe73+cuaJhLO1LDO4Sx 2v+Ir5HbLeHy2CGW76X0kDvf4sNHNPmsHiQ= Received: from maileast.thefacebook.com ([199.201.65.23]) by mx0a-00082601.pphosted.com with ESMTP id 2nk3cwg29g-6 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Mon, 05 Nov 2018 20:29:07 -0800 Received: from mx-out.facebook.com (2620:10d:c0a1:3::13) by mail.thefacebook.com (2620:10d:c021:18::174) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA) id 15.1.1531.3; Mon, 5 Nov 2018 20:28:39 -0800 Received: by devvm24792.prn1.facebook.com (Postfix, from userid 150176) id 4C5C67AB1627; Mon, 5 Nov 2018 20:28:31 -0800 (PST) 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 v2 1/2] ARM: dts: Add Facebook BMC flash layout Date: Mon, 5 Nov 2018 20:28:29 -0800 Message-ID: <20181106042829.2771226-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-11-06_02:, , 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-20181105_232930_934414_8FFADA24 X-CRM114-Status: GOOD ( 16.11 ) 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 --- Changes since v1: - adding facebook copyright. .../boot/dts/facebook-bmc-flash-layout.dtsi | 33 +++++++++++++++++++ 1 file changed, 33 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..94039d7b7de5 --- /dev/null +++ b/arch/arm/boot/dts/facebook-bmc-flash-layout.dtsi @@ -0,0 +1,33 @@ +// SPDX-License-Identifier: GPL-2.0+ +// Copyright (c) 2018 Facebook Inc. + +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"; + }; +};