[PATCH linux dev-4.7 3/3] ARM: dts: aspeed: witherspoon: Add example sbefifo and occfifo devices

Eddie James eajames at linux.vnet.ibm.com
Wed Apr 19 07:07:14 AEST 2017


From: "Edward A. James" <eajames at us.ibm.com>

A possible implementation of the bindings for SBEFIFO device and OCC
"FIFO" device. Use a phandle to reference the appropriate SBE device
from the OCC entry.

Signed-off-by: Edward A. James <eajames at us.ibm.com>
---
 arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts b/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
index e3a7b77..57ed260 100644
--- a/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
@@ -57,6 +57,22 @@
 		mux-gpios = <&gpio ASPEED_GPIO(A, 6) GPIO_ACTIVE_HIGH>;
 		enable-gpios = <&gpio ASPEED_GPIO(D, 0) GPIO_ACTIVE_HIGH>;
 		trans-gpios = <&gpio ASPEED_GPIO(R, 2) GPIO_ACTIVE_HIGH>;
+
+		sbefifo1: sbefifo at 2400 {
+			compatible = "ibm,power9-sbefifo";
+
+			status = "okay";
+
+			reg = <0x2400>;
+		};
+	};
+
+	occfifo at 1 {
+		compatible = "ibm,occfifo";
+
+		status = "okay";
+
+		bus = <&sbefifo1>;
 	};
 
 	iio-hwmon {
-- 
1.8.3.1



More information about the openbmc mailing list