[PATCH] ARM: dts: aspeed: Add FSI pins to Zaius device tree

Joel Stanley joel at jms.id.au
Tue Feb 7 13:37:37 AEDT 2017


Pin assignments for the EVT-2 board as described in pdbg. The status is disabled
so this does not enable the in-kernel FSI driver yet.

Signed-off-by: Joel Stanley <joel at jms.id.au>
---

Tested on zaius5 with the driver enabled and it worked.

 arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts b/arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts
index e2195a641414..e1c9b3f4fe44 100644
--- a/arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-opp-zaius.dts
@@ -74,6 +74,18 @@
 			gpios = <&gpio ASPEED_GPIO(AA, 2) GPIO_ACTIVE_LOW>;
 		};
 	};
+
+	fsi-master {
+		compatible = "ibm,fsi-master", "ibm,fsi-master-gpio";
+
+		status = "disabled";
+
+		clock-gpios = <&gpio ASPEED_GPIO(C, 3) GPIO_ACTIVE_HIGH>;
+		data-gpios = <&gpio ASPEED_GPIO(C, 2) GPIO_ACTIVE_HIGH>;
+		trans-gpios = <&gpio ASPEED_GPIO(O, 6) GPIO_ACTIVE_HIGH>;
+		enable-gpios = <&gpio ASPEED_GPIO(D, 0) GPIO_ACTIVE_HIGH>;
+		mux-gpios = <&gpio ASPEED_GPIO(P, 6) GPIO_ACTIVE_HIGH>;
+	};
 };
 
 &fmc {
-- 
2.11.0



More information about the openbmc mailing list