From patchwork Fri Dec 10 09:36:23 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lei Yu X-Patchwork-Id: 12695580 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 4E07EC433EF for ; Fri, 10 Dec 2021 09:37:59 +0000 (UTC) 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:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=H+Cj+ZnORnuEy+noPobb8GZMlSI2SOVtgFWye5XiYdI=; b=ecU64Vr8E3LaL/ hp2onJdST9KPM2WvwK3yVN2ULp16Z0kKEZ83X1njl3v+CGW7k4RbtrajhaBV0Rrn0z/PkcVe6eIl2 E4ThK5aw02tzm4K6LnwVlFJLdJiBH5Eh3YJNaBvPODbch6S8iaB2MHDU9AUGnI5KOrhA9d8h0ljHA IycmbTl9feSEAtcm7HTPS0Oyerl745+SvoTkrr7vdMuOuBmBHt3hqpC6ev1JxKgxeCWU8P8XDcYSm co1ryIFGuLyXtfm3snhuCp/qDy7kzBmKglqZLhWwSYnxPT4/wP9/EqPliMFzktpb3MvYSYx4xoRfp MpwqtK19OENK73GS9NzA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mvcKW-001NOB-Vn; Fri, 10 Dec 2021 09:36:41 +0000 Received: from mail-pf1-x42d.google.com ([2607:f8b0:4864:20::42d]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mvcKS-001NKp-Ny for linux-arm-kernel@lists.infradead.org; Fri, 10 Dec 2021 09:36:38 +0000 Received: by mail-pf1-x42d.google.com with SMTP id r130so8011786pfc.1 for ; Fri, 10 Dec 2021 01:36:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bytedance-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=FFsQwjzhgSyKAUENvfBIFY+4uCH9mkGIaj8EHI/MgtM=; b=2HZ8pFJ96JZLj13duu4Zv3yCHVfq4Zvb5DObtluxYN8pRA1VHPgMn5e/SuxAL7/6gs 8PP7cNkLq+G0iKZxU+8Nhy8efBi1gVoxsJ8GCrVdrqtlL8oF2tBhAW0PCxrKoV9eGh4K 9gNDtwRri8Q8OvRKv/gG/jQ/8HvZiIw4kpMv+DIicaEAfG5RM16QsLKePuKPDQS84AY+ lsJbF11WJCzp+Ny9jl1qFWpabfTll6zWZngYHtujZ5WtMYKJMxuHvvU76e3/+gWjYXxy hwKASuGz+uKCPSmOY5DUTGipvxCHMUu5X0gOs98LNqECU1qDq0k0/f3ls+z36jTtmIeA a2LA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=FFsQwjzhgSyKAUENvfBIFY+4uCH9mkGIaj8EHI/MgtM=; b=XKuLWzc/sPXD/2fmWKmNjLmS6lR6A/6Xe2exHafJ5NP7MlJVMEh1BzDxlO+ce6Eyrq sDrsF7QzpDL16SGWsjQDR8ReiPIAHyCND3GsoyYEVb1cTtQJQs/l3/jW+iZ6d6HrXErO 0as27KiGfsYUux2ng0oG4B48Rn5ZTtWTV4WJvbbKfQK6sVQkdRMsrWJ9Rbcqb5Vl+JCH YA9q2aGYPiF/Rq3ZHv0mcareu41P+2CCxH91ZlrCSv5ks5gTCojMpVc+sUe/a0feZ9Jg pm89uZGxyrgvR8vhenbWOeuEsEmcfs4WVwbTuInb6vUv70nwRhC8Ev4rirtMr9wBS2jp 3+Lw== X-Gm-Message-State: AOAM533E8XFLL6sqKIhLPffjn9q4qjH5HomHbyAOxAXdF3F1itfDy/oP L1k/R6m9M5Q/HPbjYYJ3V+Hzrw== X-Google-Smtp-Source: ABdhPJxfgd7xqWpUed8nHPtc7th4BGQX/oU3cVlecMdpTmljzsHJb1raImLHfPrW51SVtK7EXikrhA== X-Received: by 2002:a05:6a00:1783:b0:49f:c134:c6e2 with SMTP id s3-20020a056a00178300b0049fc134c6e2mr17192053pfg.0.1639128994705; Fri, 10 Dec 2021 01:36:34 -0800 (PST) Received: from localhost ([49.7.45.40]) by smtp.gmail.com with ESMTPSA id mn15sm2263884pjb.35.2021.12.10.01.36.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Dec 2021 01:36:34 -0800 (PST) From: Lei YU 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 Cc: Lei YU Subject: [PATCH] ARM: dts: aspeed: g220a: Enable secondary flash Date: Fri, 10 Dec 2021 17:36:23 +0800 Message-Id: <20211210093623.2140640-1-yulei.sh@bytedance.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211210_013636_815202_01FBC8F6 X-CRM114-Status: UNSURE ( 9.62 ) X-CRM114-Notice: Please train this message. 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Enable the secondary flash of the g220a's BMC and the wdt2. Signed-off-by: Lei YU --- arch/arm/boot/dts/aspeed-bmc-bytedance-g220a.dts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-bmc-bytedance-g220a.dts b/arch/arm/boot/dts/aspeed-bmc-bytedance-g220a.dts index 01dace8f5e5f..05f392f42960 100644 --- a/arch/arm/boot/dts/aspeed-bmc-bytedance-g220a.dts +++ b/arch/arm/boot/dts/aspeed-bmc-bytedance-g220a.dts @@ -260,6 +260,13 @@ flash@0 { spi-max-frequency = <50000000>; #include "openbmc-flash-layout-64.dtsi" }; + flash@1 { + status = "okay"; + label = "alt-bmc"; + m25p,fast-read; + spi-max-frequency = <50000000>; +#include "openbmc-flash-layout-64-alt.dtsi" + }; }; &spi1 { @@ -278,6 +285,10 @@ &adc { status = "okay"; }; +&wdt2 { + aspeed,alt-boot; +}; + &gpio { status = "okay"; gpio-line-names =