[PATCH 12/17] Fix Turismo I2C OCC mapping on Firestone

Timothy Pearson tpearson at raptorengineering.com
Sat Sep 17 06:35:28 AEST 2016


The existing mapping was looking for only one CPU, and on
the wrong I2C bus.

Signed-off-by: Timothy Pearson <tpearson at raptorengineering.com>
---
 arch/arm/boot/dts/aspeed-bmc-opp-firestone.dts |   19 ++++++++++++++++++-
 1 file changed, 18 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-firestone.dts b/arch/arm/boot/dts/aspeed-bmc-opp-firestone.dts
index c6e81f4..9a56510 100644
--- a/arch/arm/boot/dts/aspeed-bmc-opp-firestone.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-opp-firestone.dts
@@ -106,12 +106,29 @@
 };
 
 &i2c4 {
+	status = "okay";
+
 	// turismo
+	occ at 50 {
+		compatible = "ibm,occ-i2c";
+		reg = <0x50>;
+	};
+
+	tmp423 at 98 {
+		compatible = "ti,tmp423";
+		reg = <0x80000098>;
+	};
 };
 
 &i2c5 {
 	status = "okay";
 
+	// turismo
+	occ at 50 {
+		compatible = "ibm,occ-i2c";
+		reg = <0x50>;
+	};
+
 	tmp423 at 98 {
 		compatible = "ti,tmp423";
 		reg = <0x80000098>;
@@ -129,7 +146,7 @@
 };
 
 &i2c8 {
-	// FSI
+	// FSI (bit-banged interface via GPIO)
 	status = "disabled";
 };
 
-- 
1.7.9.5



More information about the openbmc mailing list