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: 13081637 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 663A6C4332F for ; Mon, 26 Dec 2022 05:49:18 +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:References:In-Reply-To: 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: List-Owner; bh=U5fKXYEWxbcIQvOTT83oPgZwFNRze5fMUBDxkSJu708=; b=Pu51AnHtR10GpS 8fnQn+iquFxA3GwCNYvouTtWIKnGpVH7WIyypNhCMn2I4+ImOsdBj8ga8xoe7sqTtOxzH4Dpfioec ExVRblSBx1xO1wlq2+/28AZqRUdMqOrf7P7vc2W5sK7CRBwdrv3AKuLSC7Blyr39wyHzargphV4Jp FL/gsdALcjU1KNCoAtdmv5ksoWJWcoGWmVZJCpJs9qt4iLEmDX/FxiCkG9b8hMaEJBHaNd1o/WQ0K 7Dptr64msI6oGIqsy13Jd7LLqZaVgCVuDxTyAQLTQ3Xn1aD6oXWMUaALeTO3qmlYJ/JrFfpopRHCl SJxgfSyQxuDhZz0/c8fQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1p9gLN-00225r-D8; Mon, 26 Dec 2022 05:48:13 +0000 Received: from mail-pl1-x632.google.com ([2607:f8b0:4864:20::632]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1p9gL3-0021zw-9B for linux-arm-kernel@lists.infradead.org; Mon, 26 Dec 2022 05:47:54 +0000 Received: by mail-pl1-x632.google.com with SMTP id jn22so9931702plb.13 for ; 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=WsaX3g9mXEbvGouLb6cRcPnVJK9c4QMnzbnu/Cxt18rmQ0KdKnJCk/3BgZItu2BpbQ 5IrlEsFlR0c8cM9bfGE6IskG+XsXHAzV7C4HQ9Dwu3G1TV5DOmm6SYyQ44EB/qiicguO nIjIYC4BNhOkEf2DTa0kN9UBoS2sgbbtabyPEyvqnEqazvb4+In+/DsWEnuKoSK9t/p7 X+C2ct2E+AkIEViwm65Nktih3ytU6hY2Tba63V8L7erMYQAg3OHTBwkAW+J3bzGI/lmF +DiIkyNwEhZqRsODIQ6fVt7oVNHxxvKKHBnoaEt2M+wUeJh+NsvB8o0Onq49bxL8fbvR 87Fg== X-Gm-Message-State: AFqh2kqsQKUFiES87l7wUp7stHW7QXIMZvhg2REzoEDjP/Rbg0N9E5mK PNEX86ewNfPTC+9nZmO3kXU= 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221225_214753_379395_BBCC7626 X-CRM114-Status: UNSURE ( 9.28 ) 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 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>; +};