From patchwork Thu Aug 5 22:28:12 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tao Ren X-Patchwork-Id: 12422211 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=-8.7 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham 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 BFE88C4338F for ; Thu, 5 Aug 2021 22:30:16 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 50C1861131 for ; Thu, 5 Aug 2021 22:30:16 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 50C1861131 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date:Subject:Cc: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=vpFt8+QIi2QMmlKBn7WFwBbwoTlsmnD3VLiAd6qzdeY=; b=sbWRCasIwBU0IS h7RIJiRPSwbzas+JD0sBu4HB/nxdhU7WoCYNOjWC8PVj7OtXlw373kX8SO5y0lhnPVMQAwclPIU0Z WEwfnybp28T9nxSOFvsVnojgNzVXODdD8AKtEXlKFyDj6lS3uItwXyd8wUGjFymab8UbgxA0PDAVh HM3j0BLbvEkFyoIWPKDQYW+05Lxj2dLWnIrHkJZy9Yv9WsD3wXsx0/9fjvBT4xEhrbtYqJj8Ak8wP w4Lt4ouO2/R3DYVqSdHIl+2YPd/iyPPb5+UfZtyq/q3s2/Q7/yVdaBTWoFeDW9HbU00R+WOgVRtOx HdLEqzzrL79N10EnliRQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mBlqs-00Awx9-9I; Thu, 05 Aug 2021 22:28:34 +0000 Received: from mail-pj1-x102d.google.com ([2607:f8b0:4864:20::102d]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mBlqn-00Awvl-3t for linux-arm-kernel@lists.infradead.org; Thu, 05 Aug 2021 22:28:30 +0000 Received: by mail-pj1-x102d.google.com with SMTP id m10-20020a17090a34cab0290176b52c60ddso13110388pjf.4 for ; Thu, 05 Aug 2021 15:28:28 -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; bh=G7AJcm8fOQqUhjFWYk2UN/7Uz0dfNNvyDbmqqe3ttDA=; b=SxRdkHyQPBwwyirpGyIXezUPbdDoEsp4VVrXlFG5lSKNH/YLU+ZkIJMfVOQSDasuah joqgB8BhwcdiWHUJRLuGBJEZew232GG2nx9rEmocOQlTeXf/4bvullaixRrO2qTNl8tQ WUhfN+KAOmAWZo9Nkf+XuOobM4Bvhr/47slFBOEto01Dg4slGxsQecQ/WM3X71Um/PFC 5MofTL34uiebaz8MJqOSV001bTASaUixGi5dTSSXbt2XIkjAMruv8uAhNLKZMc9r0oDk u8BZqtxN1BImL4PskLd0VfOGx7aWS5ihdsQZXSCZ2qsq77I+lOjUKTizUmiZgZVGjpN4 krrQ== 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; bh=G7AJcm8fOQqUhjFWYk2UN/7Uz0dfNNvyDbmqqe3ttDA=; b=YjT3iwVKvSBGQDPwANkuOz8T05y8cnu+7uTizyYeTH7krRtrH+euViAQFxbL57RpC7 3IGw0PJRpZT73xHpaZ1EfLCNHiJalsTsEBouUtm+HUZX4WFvl6ts0scXEPwuXRGMtbn9 67IPwpBOmTYkwVJVZq7z7VK549kjFY2IlcMYW94YZ0uHJI/35Y21/ZGvMvCKO1UAfJuj k1GxHcpmSykCSDYx+iLv3GoBRPXRwS7Mqi+RGHQi+WCv3iYtqxk98kylddM6hbdm7EVe wJLTj9jvWmqVc4NtfPptQowjc6DYWZr/K8UngSiFpLUw+ss3vXg21djAuNVsyvKzkDqA WO+A== X-Gm-Message-State: AOAM530wG90SH1Wso/ydfYMs3Fr6guSu3B9KFaJzTJFpCkgaH14xQJPi uZROVw6D6KpCMwAi1Twy4WY= X-Google-Smtp-Source: ABdhPJw5VVE+dy/T9QASyoUM4UYts9qEOKA/h08HTH7cLwzt441x0wobT26tUg+hM/bCyiu/JUOTDg== X-Received: by 2002:a17:902:c20c:b029:12c:ef04:faa3 with SMTP id 12-20020a170902c20cb029012cef04faa3mr263057pll.44.1628202508308; Thu, 05 Aug 2021 15:28:28 -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 b26sm8082292pfo.47.2021.08.05.15.28.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Aug 2021 15:28:27 -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 v2 0/6] ARM: dts: Add Facebook AST2600 BMCs Date: Thu, 5 Aug 2021 15:28:12 -0700 Message-Id: <20210805222818.8391-1-rentao.bupt@gmail.com> X-Mailer: git-send-email 2.17.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210805_152829_218213_EE16F576 X-CRM114-Status: GOOD ( 12.66 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Tao Ren The patch series introuces 3 new BMC platforms for the Facebook's next generation switch platforms: Cloudripper, Elbert and Fuji. Patch #1 adds dtsi file to describe the fixed flash layout of 128MB mtd device. The flash layout is used by all the 3 AST2600 BMC as well as Wedge400 (AST2500). Patch #2 simplies Wedge400 dts by including the flash layout dtsi. Patch #3 adds common dtsi which is included by all the new Facebook AST2600 Network BMC platforms. Patch #4 adds the device tree for Facebook Cloudripper (AST2600) BMC. Patch #5 adds the device tree for Facebook Elbert (AST2600) BMC. Patch #6 adds the device tree for Facebook Fuji (AST2600) BMC. Tao Ren (6): ARM: dts: Add Facebook BMC 128MB flash layout ARM: dts: aspeed: wedge400: Use common flash layout ARM: dts: aspeed: Common dtsi for Facebook AST2600 Network BMCs ARM: dts: aspeed: Add Facebook Cloudripper (AST2600) BMC ARM: dts: aspeed: Add Facebook Elbert (AST2600) BMC ARM: dts: aspeed: Add Facebook Fuji (AST2600) BMC arch/arm/boot/dts/Makefile | 3 + .../dts/aspeed-bmc-facebook-cloudripper.dts | 539 +++++++ .../boot/dts/aspeed-bmc-facebook-elbert.dts | 185 +++ .../arm/boot/dts/aspeed-bmc-facebook-fuji.dts | 1251 +++++++++++++++++ .../boot/dts/aspeed-bmc-facebook-wedge400.dts | 48 +- .../dts/ast2600-facebook-netbmc-common.dtsi | 169 +++ .../dts/facebook-bmc-flash-layout-128.dtsi | 60 + 7 files changed, 2208 insertions(+), 47 deletions(-) create mode 100644 arch/arm/boot/dts/aspeed-bmc-facebook-cloudripper.dts create mode 100644 arch/arm/boot/dts/aspeed-bmc-facebook-elbert.dts create mode 100644 arch/arm/boot/dts/aspeed-bmc-facebook-fuji.dts create mode 100644 arch/arm/boot/dts/ast2600-facebook-netbmc-common.dtsi create mode 100644 arch/arm/boot/dts/facebook-bmc-flash-layout-128.dtsi