[PATCH linux v2] Fix a couple incorrect register bases for ast2400

OpenBMC Patches openbmc-patches at stwcx.xyz
Sat Apr 23 13:22:56 AEST 2016


From: Brad Bishop <bradleyb at us.ibm.com>

There were a couple copy paste errors in the i2c section of the
ast2400 device tree.
---
 arch/arm/boot/dts/ast2400.dtsi | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/ast2400.dtsi b/arch/arm/boot/dts/ast2400.dtsi
index 49516fd..02032b1 100644
--- a/arch/arm/boot/dts/ast2400.dtsi
+++ b/arch/arm/boot/dts/ast2400.dtsi
@@ -215,7 +215,9 @@
 				};
 
 				i2c10: i2c-bus at 3c0 {
-					reg = <0x380 0x40>;
+					#address-cells = <1>;
+					#size-cells = <0>;
+					reg = <0x3C0 0x40>;
 					compatible = "aspeed,ast2400-i2c-bus";
 					bus = <10>;
 					clock-frequency = <100000>;
@@ -224,6 +226,8 @@
 				};
 
 				i2c11: i2c-bus at 400 {
+					#address-cells = <1>;
+					#size-cells = <0>;
 					reg = <0x400 0x40>;
 					compatible = "aspeed,ast2400-i2c-bus";
 					bus = <11>;
@@ -235,7 +239,7 @@
 				i2c12: i2c-bus at 440 {
 					#address-cells = <1>;
 					#size-cells = <0>;
-					reg = <0x400 0x40>;
+					reg = <0x440 0x40>;
 					compatible = "aspeed,ast2400-i2c-bus";
 					bus = <12>;
 					clock-frequency = <100000>;
-- 
2.8.1




More information about the openbmc mailing list