From patchwork Mon Dec 26 05:45:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Potin Lai X-Patchwork-Id: 637466 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0FC3BC4332F for ; Mon, 26 Dec 2022 05:47:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231371AbiLZFrx (ORCPT ); Mon, 26 Dec 2022 00:47:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34776 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229741AbiLZFrv (ORCPT ); Mon, 26 Dec 2022 00:47:51 -0500 Received: from mail-pj1-x1033.google.com (mail-pj1-x1033.google.com [IPv6:2607:f8b0:4864:20::1033]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AE725260A; Sun, 25 Dec 2022 21:47:50 -0800 (PST) Received: by mail-pj1-x1033.google.com with SMTP id m7-20020a17090a730700b00225ebb9cd01so2059683pjk.3; Sun, 25 Dec 2022 21:47:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=87f0TKfgjxiemevwHpQhVGmMoe8NuCN8KvjmmGoJcKg=; b=Un99RLgoUgD6VwGxVDiAWbe0ZBFbzdTF/PS3A/DVSjbwc9FYLekIr+QFeg923zh4Re 4mGJeCzpmHxuBho1xhQx6gjiOPVp9yWqOmj+K0ehgoufuCuRejM3yC5Hol9GNkenjeFk 0aWbXrX3/q51C6PMpQ7ZS1laJZZeH0At2w1hdsYBz7jh4Ty7sF7Y7jdywEaAyIUYtzVc 3dDJy46pRBwtaAVku9ulK6uli8QhpKEDw2saJVmvCc302hIoXpFZFvnPvy9IeNd2yU/t UgqwMj6jd0BCoZf5saDtgq9/A/g22o+NjTYSKxQW33sAZrCYN65L+YUfEsayWrWZgjZt G9cQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=87f0TKfgjxiemevwHpQhVGmMoe8NuCN8KvjmmGoJcKg=; b=6xXaXtG1jYXQwED/JNyftc+beBiXZQIB4h7/z1mh6+boPxz6j00EnFDyot/zMOuM5N ILkFnq1PYhoqswek7/O5HAQwozRLjn9gp5tt2kYd+6nC9GiHBRjoRQKhVPqnlEmVGfQK FGQyrKiu54/0I8kcQG53QmoUlz+8zgRDf0RkiGHmzEqZ7m3qlDLZbGk0D1L6Yog8W1Kz 7RC78jIdsHNHngFE4qFyVIXHKXLE5TztGpKCbZIBZRl2q7SjduSIcXoc6/JWH8wjeFwF cHUQWbxNfed5LHk1Sw3fHU0N61HUTvPlXhHyrIOsiPRiX6QUA7Fbbe0KBi3JhXg3n1lj /9fg== X-Gm-Message-State: AFqh2krYiqaqM4exqn3mP4nhF7zmX4QCbrGx2TnGewG6pYJXdVnfMEaO rjXICfH5e4UHgek1vlCKkL0= X-Google-Smtp-Source: AMrXdXvJ52ah+JhJWrYHL09E1VzFUCxLqP8oKoLx9D+Iyg46GZa5OCS49wuCUy4jevmOlvMgK1tqig== X-Received: by 2002:a05:6a20:2d1e:b0:af:6f24:b154 with SMTP id g30-20020a056a202d1e00b000af6f24b154mr23355221pzl.60.1672033670203; Sun, 25 Dec 2022 21:47:50 -0800 (PST) Received: from localhost.localdomain (1-34-79-176.hinet-ip.hinet.net. [1.34.79.176]) by smtp.gmail.com with ESMTPSA id h35-20020a632123000000b004785d99321asm5618242pgh.86.2022.12.25.21.47.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Dec 2022 21:47:50 -0800 (PST) From: Potin Lai To: Rob Herring , Krzysztof Kozlowski , Joel Stanley , Andrew Jeffery Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, Patrick Williams , Potin Lai Subject: [PATCH 1/2] ARM: dts: aspeed: bletchley: rename flash1 label Date: Mon, 26 Dec 2022 13:45:34 +0800 Message-Id: <20221226054535.2836110-2-potin.lai.pt@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20221226054535.2836110-1-potin.lai.pt@gmail.com> References: <20221226054535.2836110-1-potin.lai.pt@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org In OpenBMC, phosphor-software-manager use "alt-bmc" for secondary falsh label. Rename flash1 label to "alt-bmc" to support dual image feature inOpenBMC. Signed-off-by: Potin Lai --- arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts b/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts index a619eec70633..791f83aaac50 100644 --- a/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts +++ b/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts @@ -307,7 +307,7 @@ flash@0 { flash@1 { status = "okay"; m25p,fast-read; - label = "flash1"; + label = "alt-bmc"; spi-max-frequency = <50000000>; }; }; From patchwork Mon Dec 26 05:45:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Potin Lai X-Patchwork-Id: 636891 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D66E7C4708D for ; Mon, 26 Dec 2022 05:47:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229486AbiLZFry (ORCPT ); Mon, 26 Dec 2022 00:47:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34782 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230003AbiLZFrx (ORCPT ); Mon, 26 Dec 2022 00:47:53 -0500 Received: from mail-pl1-x630.google.com (mail-pl1-x630.google.com [IPv6:2607:f8b0:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A913F260E; Sun, 25 Dec 2022 21:47:52 -0800 (PST) Received: by mail-pl1-x630.google.com with SMTP id u7so9940281plq.11; Sun, 25 Dec 2022 21:47:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=7wEGGRHRkx/TYRoHQuQncfk8iOkoqIh2z64vF46qnf0=; b=mvnKo8Dht5BCyRbWOJ6vL4yn9X6VUG0JbqB3eNm8lm8pZuRyXvqPTdmHGWLb7j5yzB oLpOeYvyxk48FOQ4mbwf68Yvj57sUDZqE2FVmvyftvQsO7AeAyHcMigDWwm2zqLFCWeF /zmcTYHXXUopTq4fnuZBTTi4pt6PXjOAtWARo6FRbtykNX3a9YNZJriT9Hfbeiee8SsX heRXfpRv9rgMp2Lg5FtuyzvPoce3WVxILoi0VPVfISPPm+Nk5J58ldCo+bsV1O8LTEHm WKBzPon997+hnqDbNOXjY54l8/Bez+EF2k1Bb5sMAoZ5vPRBANnKu61nBzgMSzc1Dmrd XBjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7wEGGRHRkx/TYRoHQuQncfk8iOkoqIh2z64vF46qnf0=; b=tuxQMq5Pk5ZR7O1WjVJc9AF7bjv/LNI8Ybuqhqr1+bS7K6KvSQAYaJ0kUVb+QrPiAQ BLyyawHJGOPLx9GAk77Zq2H+cOvJu6dUIg3GIzQhzLwtzptmYjV1yESWyUy3f+5uVKlF 45O46rpL7DQjUexW9x0Ulv0N/XSBUvqWGNj63NzjjMg2tkpcsmWxPm/gvq65YpKW4/Ru ruTTnoDLQjCTlKIiH3mGSqsxXMECimJhxw+YEyUqYeQ1ZKfjIpc15RUr+l6z+qVfW1CH uhpOJgrCc5gZpaTbi1so1PCXB7sx5bw/YwcxIueDXyN9FQ3KmOHSLPtR9H0QmVwovGE+ Wnng== X-Gm-Message-State: AFqh2kp8fybvw4GPCxHvlm6Iw3cUbm7w/fYJ2+2+3dhM5KL/PNaQv2v6 aNs7yQawnXG2RLp8zAm5Cvg= X-Google-Smtp-Source: AMrXdXs7+NiJLm422uByXe9Fru36TSxkliQGdLRp8JIE/sc04ObaCwZkPx97G+RoodJZ3fwcZbCOmQ== X-Received: by 2002:a05:6a21:169b:b0:aa:7346:2d94 with SMTP id np27-20020a056a21169b00b000aa73462d94mr22372940pzb.25.1672033672186; Sun, 25 Dec 2022 21:47:52 -0800 (PST) Received: from localhost.localdomain (1-34-79-176.hinet-ip.hinet.net. [1.34.79.176]) by smtp.gmail.com with ESMTPSA id h35-20020a632123000000b004785d99321asm5618242pgh.86.2022.12.25.21.47.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Dec 2022 21:47:51 -0800 (PST) From: Potin Lai To: Rob Herring , Krzysztof Kozlowski , Joel Stanley , Andrew Jeffery Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, Patrick Williams , Potin Lai Subject: [PATCH 2/2] ARM: dts: aspeed: bletchley: enable wdtrst1 Date: Mon, 26 Dec 2022 13:45:35 +0800 Message-Id: <20221226054535.2836110-3-potin.lai.pt@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20221226054535.2836110-1-potin.lai.pt@gmail.com> References: <20221226054535.2836110-1-potin.lai.pt@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Enable WDTRST1 external signal to send a reset pluse to peripherals while BMC reset. Signed-off-by: Potin Lai --- arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts b/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts index 791f83aaac50..050ed7e810fa 100644 --- a/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts +++ b/arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts @@ -1064,3 +1064,14 @@ pinctrl_gpiov2_unbiased_default: gpiov2 { bias-disable; }; }; + +&wdt1 { + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_wdtrst1_default>; + aspeed,reset-type = "soc"; + aspeed,external-signal; + aspeed,ext-push-pull; + aspeed,ext-active-high; + aspeed,ext-pulse-duration = <256>; +};