summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLei YU <mine260309@gmail.com>2017-10-27 08:26:02 +0300
committerAndrew Jeffery <andrew@aj.id.au>2017-10-30 06:29:26 +0300
commit75c4ae7975170e298115ad9f0f7ca291cf46e50c (patch)
treea21420a1f8c4893341a3e32ba1c7ae8bc22e0f56
parent1b10a88dfa59ea1609c21acd50681a62decdabac (diff)
downloadlinux-75c4ae7975170e298115ad9f0f7ca291cf46e50c.tar.xz
ARM: dts: aspeed: Use new occ-hwmon driver for P8 systems
Use the new occ-hwmon driver and compatible name for Barreleye and Garrison. OpenBMC-Staging-Count: 1 Signed-off-by: Lei YU <mine260309@gmail.com> Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
-rw-r--r--arch/arm/boot/dts/aspeed-bmc-opp-barreleye.dts8
-rw-r--r--arch/arm/boot/dts/aspeed-bmc-opp-garrison.dts10
2 files changed, 9 insertions, 9 deletions
diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-barreleye.dts b/arch/arm/boot/dts/aspeed-bmc-opp-barreleye.dts
index d37d0ea99ffe..6e70ca52548c 100644
--- a/arch/arm/boot/dts/aspeed-bmc-opp-barreleye.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-opp-barreleye.dts
@@ -124,13 +124,13 @@
&i2c3 {
status = "okay";
- occ@50 {
- compatible = "ibm,occ-i2c";
+ occ-hwmon@50 {
+ compatible = "ibm,p8-occ-hwmon";
reg = <0x50>;
};
- occ@51 {
- compatible = "ibm,occ-i2c";
+ occ-hwmon@51 {
+ compatible = "ibm,p8-occ-hwmon";
reg = <0x51>;
};
};
diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-garrison.dts b/arch/arm/boot/dts/aspeed-bmc-opp-garrison.dts
index 6b96e3628b93..95552c8bcd60 100644
--- a/arch/arm/boot/dts/aspeed-bmc-opp-garrison.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-opp-garrison.dts
@@ -156,8 +156,8 @@
&i2c4 {
status = "okay";
- occ@50 {
- compatible = "ibm,occ-i2c";
+ occ-hwmon@50 {
+ compatible = "ibm,p8-occ-hwmon";
reg = <0x50>;
};
};
@@ -165,9 +165,9 @@
&i2c5 {
status = "okay";
- occ@50 {
- compatible = "ibm,occ-i2c";
- reg = <0x50>;
+ occ-hwmon@51 {
+ compatible = "ibm,p8-occ-hwmon";
+ reg = <0x51>;
};
};