[PATCH linux dev-5.4 2/3] ARM: dts: aspeed: rainier: Add CFAM reset GPIO

Joel Stanley joel at jms.id.au
Fri Jul 24 12:30:35 AEST 2020


The GPIO on Q0 is used for resetting the CFAM of the processor that the
ASPEED master is connected to.

The signal is wired as active high on the first pass systems.

Signed-off-by: Joel Stanley <joel at jms.id.au>
---
v2: Fix polarity
---
 arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
index 0b5c6cc1c66a..18e0b22d5e48 100644
--- a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts
@@ -126,6 +126,12 @@
 	#address-cells = <2>;
 	#size-cells = <0>;
 
+	/*
+	 * CFAM Reset is supposed to be active low but pass1 hardware is wired
+	 * active high.
+	 */
+	cfam-reset-gpios = <&gpio0 ASPEED_GPIO(Q, 0) GPIO_ACTIVE_HIGH>;
+
 	cfam at 0,0 {
 		reg = <0 0>;
 		#address-cells = <1>;
-- 
2.27.0



More information about the openbmc mailing list