Skip to contentSkip to conversation

ARM: sun7i: Fix i2c4 base address

PATCH New Maxime Ripard 2 participants 3 messages Apr 18, 2014 – Apr 26, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: sun7i: Fix i2c4 base address

For some reason, the base address of the fifth I2C adapter in the A20 was incorrect. Change this to the actual base address.

---
 arch/arm/boot/dts/sun7i-a20.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/sun7i-a20.dtsi +2 -2
index 899fd0e2b749..9dd904d53bd3 100644
@@ -821,9 +821,9 @@
 			#size-cells = <0>;
 		};
 
-		i2c4: i2c at 01c2bc00 {
+		i2c4: i2c at 01c2c000 {
 			compatible = "allwinner,sun4i-i2c";
-			reg = <0x01c2bc00 0x400>;
+			reg = <0x01c2c000 0x400>;
 			interrupts = <0 89 4>;
 			clocks = <&apb1_gates 15>;
 			clock-frequency = <100000>;
Signature · 1 line
1.9.1
author Applied
#1 lore raw

PATCH 1/1 ARM: sun7i: Fix i2c4 base address

Quoted 5 lines · Maxime Ripard

For some reason, the base address of the fifth I2C adapter in the A20 was incorrect. Change this to the actual base address.

Applied to sunxi/fixes-for-3.15

Signature · 10 lines
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140426/6d65b836/attachment.sig>
#2 lore raw

PATCH 1/1 ARM: sun7i: Fix i2c4 base address

In reply to Maxime Ripard

Hi,

Quoted 5 lines · Maxime Ripard

For some reason, the base address of the fifth I2C adapter in the A20 was incorrect. Change this to the actual base address.

The datasheet agrees with this change:

Regards,

Hans

Quoted 21 lines
---
 arch/arm/boot/dts/sun7i-a20.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/sun7i-a20.dtsi +2 -2
index 899fd0e2b749..9dd904d53bd3 100644
@@ -821,9 +821,9 @@
 			#size-cells = <0>;
 		};
 
-		i2c4: i2c at 01c2bc00 {
+		i2c4: i2c at 01c2c000 {
 			compatible = "allwinner,sun4i-i2c";
-			reg = <0x01c2bc00 0x400>;
+			reg = <0x01c2c000 0x400>;
 			interrupts = <0 89 4>;
 			clocks = <&apb1_gates 15>;
 			clock-frequency = <100000>;