[PATCH] ARM: sun7i: Fix i2c4 base address

Maxime Ripard maxime.ripard at free-electrons.com
Fri Apr 18 12:15:11 PDT 2014


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

Reported-by: Marcus Cooper <codekipper at gmail.com>
Signed-off-by: Maxime Ripard <maxime.ripard at free-electrons.com>
---
 arch/arm/boot/dts/sun7i-a20.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi
index 899fd0e2b749..9dd904d53bd3 100644
--- a/arch/arm/boot/dts/sun7i-a20.dtsi
+++ b/arch/arm/boot/dts/sun7i-a20.dtsi
@@ -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>;
-- 
1.9.1




More information about the linux-arm-kernel mailing list