From patchwork Mon Aug 24 21:19:45 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tao Ren X-Patchwork-Id: 253417 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.6 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 01086C433E1 for ; Mon, 24 Aug 2020 21:20:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CEB0320656 for ; Mon, 24 Aug 2020 21:20:23 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="ufAGhVXR" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727994AbgHXVUG (ORCPT ); Mon, 24 Aug 2020 17:20:06 -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-Google-Smtp-Source: ABdhPJxGThJ/l6QPVeLfdVw08wwd8JKo0aw6C6gkL9SSwjYxVH1u8R9NldM27eXVXWTW1M08FyOhfQ== 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: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@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"; + }; + }; +}; From patchwork Mon Aug 24 21:19:46 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tao Ren X-Patchwork-Id: 253418 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.6 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7D499C433E4 for ; Mon, 24 Aug 2020 21:20:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 596F920656 for ; Mon, 24 Aug 2020 21:20:22 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="QXxLh7Vt" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727999AbgHXVUH (ORCPT ); Mon, 24 Aug 2020 17:20:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41576 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727885AbgHXVT7 (ORCPT ); Mon, 24 Aug 2020 17:19:59 -0400 Received: from mail-pg1-x544.google.com (mail-pg1-x544.google.com [IPv6:2607:f8b0:4864:20::544]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AA09BC061574; Mon, 24 Aug 2020 14:19:59 -0700 (PDT) Received: by mail-pg1-x544.google.com with SMTP id w186so3160095pgb.8; Mon, 24 Aug 2020 14:19:59 -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=rXBG77uZ+juZ55nF2nk//sAT0YipNn7g2EO+5+pDj1E=; b=QXxLh7Vt6vSOsYqAnE3CpFos70Yk4e3pu5/M0Pix5/hJ909bsaOIymUxSaW11DFDvT tXlYnpaWTyEHjGILHAq4GOuXRuKrWA0uafYsecqWN3lkZN9llUGOOyzyZNXvFJOO6VuI nXG1TIkS23PQpmbJ3vgmXjvBnwq4GNY37tHuHCv899iSG4tQ00pqYjct4OZS8OA9leHc paD2aMk0PgA5a7CZKbqlxsZraUp33AzRU97OI2UtyMF64gplUtNoCp16latnABJqVuxQ ZADC9RVxrryGuOiN3TvSAxIaKstLOldkMYwbDk8pxBYNMyMGp/4dTCS3e1v7UjjPmQVr THQQ== 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=rXBG77uZ+juZ55nF2nk//sAT0YipNn7g2EO+5+pDj1E=; b=TbJZ5+UnbiQDuuF6L6yWzD76kpCbO4zj04bHuvVniquPSE10rnQ3nVkCLwGVLUxBlH 0Zhh0Zr0oCRmt+0LRgpWYaKY6PUWGzv0FNx9pneaaoiRE7C9TNBJl3YXGFwTBa/bF9ou ag+23uOygCGPE2cn5PnUNHxR+AKX44YlqYlNHnlXG93vqhQ75BoW8C3FZxY8Ra0x/g6g B7UIjepeEsEN/LOlHKBLcy82iviv+K/6z8MY7o4FfvPTRy9CX/qhNRhn4fEuBmNsG5L8 ctCobJku27iyHCLvzGEVT9Sztr5bGFh0jsBsV/aozXYsIi7Ix7Wk+sl10yBuI+GkmAGT nh+w== X-Gm-Message-State: AOAM531KAMkrdRq5RN32220EHDAZJYiWfz9nLdticcx1KSl/XcOPKZIG k+Z5LuTiX/gohI6K6Os3wnA= X-Google-Smtp-Source: ABdhPJz04w77u6/hGINaTXWQWFtFKH3m7WKP9npNSL5MEyNDMXnSp3StFRYm+WPchS3GBDJQxccaTA== X-Received: by 2002:aa7:8285:: with SMTP id s5mr5365120pfm.226.1598303999175; Mon, 24 Aug 2020 14:19:59 -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.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Aug 2020 14:19:58 -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 3/5] ARM: dts: aspeed: yamp: Set 32MB FMC flash layout Date: Mon, 24 Aug 2020 14:19:46 -0700 Message-Id: <20200824211948.12852-4-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: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Tao Ren Set 32MB FMC flash layout in Yamp device tree explicitly because flash layout settings were removed from "ast2500-facebook-netbmc-common.dtsi". Signed-off-by: Tao Ren --- arch/arm/boot/dts/aspeed-bmc-facebook-yamp.dts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-bmc-facebook-yamp.dts b/arch/arm/boot/dts/aspeed-bmc-facebook-yamp.dts index fe2e11c2da15..5e6105874217 100644 --- a/arch/arm/boot/dts/aspeed-bmc-facebook-yamp.dts +++ b/arch/arm/boot/dts/aspeed-bmc-facebook-yamp.dts @@ -108,3 +108,20 @@ &i2c13 { status = "okay"; }; + +&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"; + }; + }; +};