[PATCH linux dev-4.10] ARM: dts: aspeed: firstone: Fix occ and i2c

Lei YU mine260309 at gmail.com
Thu Oct 12 13:17:17 AEDT 2017


1. Use updated p8 occ driver;
2. Enable i2c buses that are used.

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

diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-firestone.dts b/arch/arm/boot/dts/aspeed-bmc-opp-firestone.dts
index d52b528..93ad3ea 100644
--- a/arch/arm/boot/dts/aspeed-bmc-opp-firestone.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-opp-firestone.dts
@@ -117,6 +117,7 @@
 
 &i2c2 {
 	// i2c mux
+	status = "okay";
 };
 
 &i2c3 {
@@ -217,8 +218,8 @@
 	status = "okay";
 
 	// turismo
-	occ at 50 {
-		compatible = "ibm,occ-i2c";
+	occ-hwmon at 50 {
+		compatible = "ibm,p8-occ-hwmon";
 		reg = <0x50>;
 	};
 
@@ -232,9 +233,9 @@
 	status = "okay";
 
 	// turismo
-	occ at 50 {
-		compatible = "ibm,occ-i2c";
-		reg = <0x50>;
+	occ-hwmon at 51 {
+		compatible = "ibm,p8-occ-hwmon";
+		reg = <0x51>;
 	};
 
 	tmp423 at 4c {
@@ -260,10 +261,12 @@
 
 &i2c9 {
 	// 4 way mux
+	status = "okay";
 };
 
 &i2c10 {
 	// 4 way mux
+	status = "okay";
 };
 
 &i2c11 {
@@ -304,10 +307,12 @@
 
 &i2c12 {
 	// i2c hub PCA9516A
+	status = "okay";
 };
 
 &i2c13 {
 	// i2c hub PCA9516A
+	status = "okay";
 };
 
 &gpio {
-- 
1.9.1



More information about the openbmc mailing list