devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] ARM: dts: aspeed: bletchley: Update Bletchley devicetree
@ 2022-12-26  5:45 Potin Lai
  2022-12-26  5:45 ` [PATCH 1/2] ARM: dts: aspeed: bletchley: rename flash1 label Potin Lai
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Potin Lai @ 2022-12-26  5:45 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Joel Stanley, Andrew Jeffery
  Cc: devicetree, linux-arm-kernel, linux-aspeed, linux-kernel,
	Patrick Williams, Potin Lai

Update Bletchley BMC devicetree.

Potin Lai (2):
  ARM: dts: aspeed: bletchley: rename flash1 label
  ARM: dts: aspeed: bletchley: enable wdtrst1

 arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

-- 
2.31.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH 1/2] ARM: dts: aspeed: bletchley: rename flash1 label
  2022-12-26  5:45 [PATCH 0/2] ARM: dts: aspeed: bletchley: Update Bletchley devicetree Potin Lai
@ 2022-12-26  5:45 ` Potin Lai
  2022-12-26  5:45 ` [PATCH 2/2] ARM: dts: aspeed: bletchley: enable wdtrst1 Potin Lai
  2023-01-03 21:02 ` [PATCH 0/2] ARM: dts: aspeed: bletchley: Update Bletchley devicetree Patrick Williams
  2 siblings, 0 replies; 6+ messages in thread
From: Potin Lai @ 2022-12-26  5:45 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Joel Stanley, Andrew Jeffery
  Cc: devicetree, linux-arm-kernel, linux-aspeed, linux-kernel,
	Patrick Williams, Potin Lai

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 <potin.lai.pt@gmail.com>
---
 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>;
 	};
 };
-- 
2.31.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH 2/2] ARM: dts: aspeed: bletchley: enable wdtrst1
  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
  2023-01-03 21:02   ` Patrick Williams
  2023-01-03 21:02 ` [PATCH 0/2] ARM: dts: aspeed: bletchley: Update Bletchley devicetree Patrick Williams
  2 siblings, 1 reply; 6+ messages in thread
From: Potin Lai @ 2022-12-26  5:45 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Joel Stanley, Andrew Jeffery
  Cc: devicetree, linux-arm-kernel, linux-aspeed, linux-kernel,
	Patrick Williams, Potin Lai

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


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH 2/2] ARM: dts: aspeed: bletchley: enable wdtrst1
  2022-12-26  5:45 ` [PATCH 2/2] ARM: dts: aspeed: bletchley: enable wdtrst1 Potin Lai
@ 2023-01-03 21:02   ` Patrick Williams
  0 siblings, 0 replies; 6+ messages in thread
From: Patrick Williams @ 2023-01-03 21:02 UTC (permalink / raw)
  To: Potin Lai
  Cc: Rob Herring, Krzysztof Kozlowski, Joel Stanley, Andrew Jeffery,
	devicetree, linux-arm-kernel, linux-aspeed, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1069 bytes --]

On Mon, Dec 26, 2022 at 01:45:35PM +0800, Potin Lai wrote:
> Enable WDTRST1 external signal to send a reset pluse to peripherals while
> BMC reset.

nit: s/pluse/pulse

> 
> 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
> 

-- 
Patrick Williams

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 0/2] ARM: dts: aspeed: bletchley: Update Bletchley devicetree
  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 ` [PATCH 2/2] ARM: dts: aspeed: bletchley: enable wdtrst1 Potin Lai
@ 2023-01-03 21:02 ` Patrick Williams
  2023-01-18  3:19   ` Joel Stanley
  2 siblings, 1 reply; 6+ messages in thread
From: Patrick Williams @ 2023-01-03 21:02 UTC (permalink / raw)
  To: Potin Lai
  Cc: Rob Herring, Krzysztof Kozlowski, Joel Stanley, Andrew Jeffery,
	devicetree, linux-arm-kernel, linux-aspeed, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 470 bytes --]

On Mon, Dec 26, 2022 at 01:45:33PM +0800, Potin Lai wrote:
> Update Bletchley BMC devicetree.
> 
> Potin Lai (2):
>   ARM: dts: aspeed: bletchley: rename flash1 label
>   ARM: dts: aspeed: bletchley: enable wdtrst1

Series is

Reviewed-by: Patrick Williams <patrick@stwcx.xyz>

> 
>  arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts | 13 ++++++++++++-
>  1 file changed, 12 insertions(+), 1 deletion(-)
> 
> -- 
> 2.31.1
> 

-- 
Patrick Williams

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 0/2] ARM: dts: aspeed: bletchley: Update Bletchley devicetree
  2023-01-03 21:02 ` [PATCH 0/2] ARM: dts: aspeed: bletchley: Update Bletchley devicetree Patrick Williams
@ 2023-01-18  3:19   ` Joel Stanley
  0 siblings, 0 replies; 6+ messages in thread
From: Joel Stanley @ 2023-01-18  3:19 UTC (permalink / raw)
  To: Patrick Williams
  Cc: Potin Lai, Rob Herring, Krzysztof Kozlowski, Andrew Jeffery,
	devicetree, linux-arm-kernel, linux-aspeed, linux-kernel

On Tue, 3 Jan 2023 at 21:10, Patrick Williams <patrick@stwcx.xyz> wrote:
>
> On Mon, Dec 26, 2022 at 01:45:33PM +0800, Potin Lai wrote:
> > Update Bletchley BMC devicetree.
> >
> > Potin Lai (2):
> >   ARM: dts: aspeed: bletchley: rename flash1 label
> >   ARM: dts: aspeed: bletchley: enable wdtrst1
>
> Series is
>
> Reviewed-by: Patrick Williams <patrick@stwcx.xyz>

Merged for submission in v6.3.

Cheers,

Joel

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-01-18  3:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [PATCH 2/2] ARM: dts: aspeed: bletchley: enable wdtrst1 Potin Lai
2023-01-03 21:02   ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).