Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2439598pxa; Mon, 24 Aug 2020 14:23:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzXh142XvK6c3JDmtSX3Sc+kIvH2b0s4XFQ71+T//9uKLhWsyVBPG9osQKI8Uz30f/VQ17I X-Received: by 2002:a17:907:2092:: with SMTP id pv18mr7327817ejb.534.1598304196392; Mon, 24 Aug 2020 14:23:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598304196; cv=none; d=google.com; s=arc-20160816; b=DNjEykPwEm7TcA7DrPwv18vPf1iSnTfVDdWvk6ilg3UPTB1MJRKRmfbR2sB8fUgIrk tgy0/1eOziKBtVrhUGyIcVfImytFFMbpeerI3W44NckBufp9+VJLtGTrnMHQEOv4HLEY 05tHk0A/O7sxkxTeN4MgOY6n9+eDNPzIEHpYr/YeUgp2JIa5t+84eyQCFV487vIsH4F8 U68NBSqUTUWvoRzBMjn7bD1seExbt7VQH7evFrA1zy9wBMIaaVdOXSyP0LxBGCt4Maxg rUbYS+9gEZauTvIXVXGnAaeqAyCVbPnoJ++oJXv/D8EwimzWKfwm57gY+ZoVXPQFS7Uq nRsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=SHgVSjx2yqDsWyd1CehQGWoYGWtbaX9g6kRsRLnmAA0=; b=cVv//V8Omg9fiudPagFiAFBuV+iObQY8ISzDJKE1kHQ5Mb69BKD/F1goRD8zmrRC8Y 5VnFMc3hHtJNg5A7CdGDahYnFUtNV8dZ9gLjD1WiK57dxDMnmlP12yzsWynzWr6YX3SU x92UWQLYMlJRHJN1l2YUwuIuK44Fg0IPf3QSJF8frsC9qRrCwHaZHJ9ZYxxUiFvrlQEa OmpVqpBxMmmicL0ogjsArJK6kKIvHSZZDPGcRJEAF89MxfIPGdOoOeDAmRexpOBJoxg8 R4CJR02QWkzPg0Nltqa/9Y6OUp2JdlopSJxuLAfQ1J7YW/KWp75933Ntp9HUVnYOWG/G WqpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ufAGhVXR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d13si7605049ejd.721.2020.08.24.14.22.53; Mon, 24 Aug 2020 14:23:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ufAGhVXR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728002AbgHXVUH (ORCPT + 99 others); Mon, 24 Aug 2020 17:20:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41568 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727828AbgHXVT6 (ORCPT ); Mon, 24 Aug 2020 17:19:58 -0400 Received: from mail-pj1-x1043.google.com (mail-pj1-x1043.google.com [IPv6:2607:f8b0:4864:20::1043]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9E853C0613ED; Mon, 24 Aug 2020 14:19:58 -0700 (PDT) Received: by mail-pj1-x1043.google.com with SMTP id q93so241203pjq.0; Mon, 24 Aug 2020 14:19:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=SHgVSjx2yqDsWyd1CehQGWoYGWtbaX9g6kRsRLnmAA0=; b=ufAGhVXRwbazRrjv7wmQP6zZfKBhVZ/beiIhEkc13v34Pt0yqZ/2CnBkHguihWs/I4 YVrA86gIIEtYVI3RLiE7IMNmrM15lnPVEUP8o/YJVNw7IBZrpaxWgzfYom6WOu93MCYY nf8TSgt+JtkARl0PWkihCHzlivtDlEkBSpv76T/gVetbWpf8iPkMg2tWNL0Dg3b9PryQ pIyzQIVCjJVbblAmPOjevmlaielNQR6dsPZxZ3s2dYJ29chBvYbtlzqJj4C4UECvOrVs hZm6+LC5HmSfIHySDueERLRPOLGmt+7qy612erQL69iRL989e8R56E7KfA319IuVGj3x jMbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=SHgVSjx2yqDsWyd1CehQGWoYGWtbaX9g6kRsRLnmAA0=; b=nEfcQCoq/XKaZK09Lkv8EezS/RAEotnRPc+1G6U9Ud3PS7wqAfj2cqKlQWthMzNjd3 1VROZziYWxIdbjvmr3xMDvUOyXJDrKl6ULm9fruvJb1rGXuZttVHl+5pUJkN3jdFhKQG dEhfTyoWC9E/Lfx1P6T8O1sd5FS9qohNXleynsWlhpKBaC5g9Yf+SUR0o6aU9rxmqA8e U1ZYVN605zPc8zWOiTvjGr+DMk2wbearEWJj7kssHzUBTmth8echViEWbrBymodKh1j2 JQOAwDUKCi53QwaoCXf6SB0TIGdWVuRAKPI/o819oLHck0ph33/xJlUXmzgfEO82nKtX 6iaw== X-Gm-Message-State: AOAM5302DdXukz/Ft/4RkC39yOBUJWjR6um+cPWF7pTWoLHSSpg/LU2b EsIXTpnEZTbY+jV6qZpCJYE= X-Received: by 2002:a17:90b:1004:: with SMTP id gm4mr912858pjb.26.1598303998089; Mon, 24 Aug 2020 14:19:58 -0700 (PDT) Received: from taoren-ubuntu-R90MNF91.thefacebook.com (c-73-252-146-110.hsd1.ca.comcast.net. [73.252.146.110]) by smtp.gmail.com with ESMTPSA id t10sm97788pfq.77.2020.08.24.14.19.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Aug 2020 14:19:57 -0700 (PDT) From: rentao.bupt@gmail.com To: Rob Herring , Joel Stanley , Andrew Jeffery , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, openbmc@lists.ozlabs.org, taoren@fb.com Cc: Tao Ren Subject: [PATCH 2/5] ARM: dts: aspeed: cmm: Set 32MB FMC flash layout Date: Mon, 24 Aug 2020 14:19:45 -0700 Message-Id: <20200824211948.12852-3-rentao.bupt@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200824211948.12852-1-rentao.bupt@gmail.com> References: <20200824211948.12852-1-rentao.bupt@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Tao Ren Set 32MB FMC flash layout in CMM device tree explicitly because the flash layout settings were removed from "ast2500-facebook-netbmc-common.dtsi". Signed-off-by: Tao Ren --- arch/arm/boot/dts/aspeed-bmc-facebook-cmm.dts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-bmc-facebook-cmm.dts b/arch/arm/boot/dts/aspeed-bmc-facebook-cmm.dts index 7bc7df7ed428..2fb8b147f489 100644 --- a/arch/arm/boot/dts/aspeed-bmc-facebook-cmm.dts +++ b/arch/arm/boot/dts/aspeed-bmc-facebook-cmm.dts @@ -1571,3 +1571,20 @@ &sdhci1 { status = "disabled"; }; + +&fmc_flash0 { +#include "facebook-bmc-flash-layout.dtsi" +}; + +&fmc_flash1 { + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + flash1@0 { + reg = <0x0 0x2000000>; + label = "flash1"; + }; + }; +}; -- 2.17.1