[PATCH linux dev-4.10] ARM: aspeed: palmetto: Fix FSI gpios

Lei YU mine260309 at gmail.com
Tue Jul 18 15:07:18 AEST 2017


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.

Signed-off-by: Lei YU <mine260309 at gmail.com>
---
 arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts b/arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts
index a282de0..4690e53 100644
--- a/arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts
@@ -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>;
-- 
1.9.1



More information about the openbmc mailing list