Skip to contentSkip to conversation

ARM: dts: aspeed: bletchley: Update Bletchley devicetree

PATCH In review Potin Lai 2 participants 4 messages Jan 5, 2023 – Feb 22, 2023

Subsystems (2)
lore
Share & tools
lore

Potin Lai

author
#0 lore raw

cover ARM: dts: aspeed: bletchley: Update Bletchley devicetree

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(-)
Signature · 1 line
2.31.1
author
#1 lore raw

PATCH 1/2 ARM: dts: aspeed: bletchley: rename flash1 label

In OpenBMC, phosphor-software-manager use "alt-bmc" for secondary falsh label.
Rename flash1 label to "alt-bmc" to support dual image feature inOpenBMC.

---
 arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts +1 -1
index a619eec70633..791f83aaac50 100644
@@ -307,7 +307,7 @@ flash@0 {
 	flash@1 {
 		status = "okay";
 		m25p,fast-read;
-		label = "flash1";
+		label = "alt-bmc";
 		spi-max-frequency = <50000000>;
 	};
 };
Signature · 1 line
2.31.1
maintainer
#2 lore raw

Re: [PATCH linux dev-6.0 1/2] ARM: dts: aspeed: bletchley: rename flash1 label

Quoted 6 lines · 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.

These two are in 6.1 so you're good to go.

Cheers,

Joel

Quoted 20 lines
---
 arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts +1 -2
index a619eec70633..791f83aaac50 100644
@@ -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

author
#3 lore raw

PATCH 2/2 ARM: dts: aspeed: bletchley: enable wdtrst1

In reply to Potin Lai

Enable WDTRST1 external signal to send a reset pluse to peripherals while BMC reset.

---
 arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts | 11 +++++++++++
 1 file changed, 11 insertions(+)
arch/arm/boot/dts/aspeed-bmc-facebook-bletchley.dts +11 -0
index 791f83aaac50..050ed7e810fa 100644
@@ -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>;
+};
Signature · 1 line
2.31.1