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: 36530 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp767290wrt; Sun, 25 Dec 2022 22:07:02 -0800 (PST) X-Google-Smtp-Source: AMrXdXsY+Ndc/sYT7clVlJQJhe0IfZipo+di4+VozSUTwOxDAtjgLzXEQjOzdBcN9ATnLwCge+QX X-Received: by 2002:a17:902:ab5a:b0:189:aedc:f6d6 with SMTP id ij26-20020a170902ab5a00b00189aedcf6d6mr18600201plb.28.1672034822564; Sun, 25 Dec 2022 22:07:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672034822; cv=none; d=google.com; s=arc-20160816; b=nmcDnRGl2aIvmNivu/8L5b8ga5jyH1iJZg/BTtd07u8PdfgEEpxQO9T93ygFm8ZkST YgmZvafy8fdW1PkjKki+QqwURYF04b/1jvDJG8vsC5xJun/4JaISX1J3igK6KkPWyJnS ilFQZUf1bxWde2Fcl/1zMBctONh4td0YP2oL7kolu2iUG1rflWMI4YLtWIzRbTYTfF/R wVMKvzYuOg/vJUHUT6CAQ/V4x7JbdB+EEew6lvkwcQ3lRhfWC9lpCtAZbJTkUl9GOql3 DH6fe5HJ28Qy/wRX3DAIdFryhgbgp7AbKbLR9HmvABM9VeeCJEvx6e2suYD1WqrEAQvy SX4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=7wEGGRHRkx/TYRoHQuQncfk8iOkoqIh2z64vF46qnf0=; b=FFLqQaiqVI5nfhOpGgyRYZ945HpdZXDZbiJI3wG4aSsSs3t70yveJCgWlGjr/hFKIC 6N/e4QBa99orhDDqsbAEtpRBVYQI8fB7y81J9NE6IwReR1BT4ItPiVW9ZduKNyrNVffL zGebPQtNvT+2LibjwMhbDAnhQE9eBgFjRwk30t88Azh7mPoIQvGE+cmCjnW+kVeW34Jl r5JOiWNGGNq/hgWnKgKNGy0bIj9bhSBHuwlaDY2SwUqDKTbEBy3NR7dV6+SPtKWPXZ0s bgMYqfFrqVNTgnXY+iHVsgUHr1mi9vPmRuyrPy+DhiGnzi9JTTu8CKeNKCIqhg3dtjRV xtaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=mvnKo8Dh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b4-20020a170903228400b001914a7519besi10244208plh.234.2022.12.25.22.06.45; Sun, 25 Dec 2022 22:07:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=mvnKo8Dh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231488AbiLZFr6 (ORCPT + 99 others); Mon, 26 Dec 2022 00:47:58 -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-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-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1753255585701683434?= X-GMAIL-MSGID: =?utf-8?q?1753255585701683434?= 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>; +};