From: Potin Lai <potin.lai.pt@gmail.com>
To: Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Joel Stanley <joel@jms.id.au>, Andrew Jeffery <andrew@aj.id.au>
Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org,
Patrick Williams <patrick@stwcx.xyz>,
Potin Lai <potin.lai.pt@gmail.com>
Subject: [PATCH 2/2] ARM: dts: aspeed: bletchley: enable wdtrst1
Date: Mon, 26 Dec 2022 13:45:35 +0800 [thread overview]
Message-ID: <20221226054535.2836110-3-potin.lai.pt@gmail.com> (raw)
In-Reply-To: <20221226054535.2836110-1-potin.lai.pt@gmail.com>
Enable WDTRST1 external signal to send a reset pluse to peripherals while
BMC reset.
Signed-off-by: Potin Lai <potin.lai.pt@gmail.com>
---
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>;
+};
--
2.31.1
next prev parent reply other threads:[~2022-12-26 5:48 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-26 5:45 [PATCH 0/2] ARM: dts: aspeed: bletchley: Update Bletchley devicetree Potin Lai
2022-12-26 5:45 ` [PATCH 1/2] ARM: dts: aspeed: bletchley: rename flash1 label Potin Lai
2022-12-26 5:45 ` Potin Lai [this message]
2023-01-03 21:02 ` [PATCH 2/2] ARM: dts: aspeed: bletchley: enable wdtrst1 Patrick Williams
2023-01-03 21:02 ` [PATCH 0/2] ARM: dts: aspeed: bletchley: Update Bletchley devicetree Patrick Williams
2023-01-18 3:19 ` Joel Stanley
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221226054535.2836110-3-potin.lai.pt@gmail.com \
--to=potin.lai.pt@gmail.com \
--cc=andrew@aj.id.au \
--cc=devicetree@vger.kernel.org \
--cc=joel@jms.id.au \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-aspeed@lists.ozlabs.org \
--cc=linux-kernel@vger.kernel.org \
--cc=patrick@stwcx.xyz \
--cc=robh+dt@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®