Skip to contentSkip to conversation

ARM: aspeed: palmetto: Fix FSI gpios

PATCH In review Lei YU 2 participants 2 messages Jul 18, 2017 – Jul 19, 2017

Subsystems (2)
lore
Share & tools
lore

Lei YU

author
#0 lore raw

PATCH 1/1 ARM: aspeed: palmetto: Fix FSI gpios

Palmetto as P8 system still uses GPIO bit banging for FSI operations. So the gpio-fsi driver shall be disabled and GPIOH6 hog shall be added. Otherwise Palmetto fails to boot host.

---
 arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts | 8 ++++++++
 1 file changed, 8 insertions(+)
arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts +8 -0
index a282de0..4690e53 100644
@@ -49,6 +49,7 @@
         };
 
 	gpio-fsi {
+		status = "disabled";
 		compatible = "fsi-master-gpio", "fsi-master";
 
 		clock-gpios = <&gpio ASPEED_GPIO(A, 4) GPIO_ACTIVE_HIGH>;
@@ -291,6 +292,13 @@
 		line-name = "SYS_PWROK_BMC";
 	};
 
+	pin_gpio_h6 {
+		gpio-hog;
+		gpios = <ASPEED_GPIO(H, 6) GPIO_ACTIVE_HIGH>;
+		output-high;
+		line-name = "SCM1_FSI0_DATA_EN";
+	};
+
 	pin_gpio_h7 {
 		gpio-hog;
 		gpios = <ASPEED_GPIO(H, 7) GPIO_ACTIVE_HIGH>;
Signature · 1 line
1.9.1
maintainer
#1 lore raw
Quoted 5 lines · Lei YU

Palmetto as P8 system still uses GPIO bit banging for FSI operations. So the gpio-fsi driver shall be disabled and GPIOH6 hog shall be added. Otherwise Palmetto fails to boot host.

Thanks for hunting this down Lei. Applied to dev-4.10.

Cheers,

Joel