ARM: sun7i: Fix i2c4 base address
Subsystems (2)
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.
Reported-by Marcus Cooper <[email protected]>
Signed-off-by Maxime Ripard <[email protected]>
--- arch/arm/boot/dts/sun7i-a20.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/sun7i-a20.dtsi +2 -2
@@ -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
Maxime Ripard
AppliedPATCH 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.
Reported-by Marcus Cooper <[email protected]>Signed-off-by Maxime Ripard <[email protected]>
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>
PATCH 1/1 ARM: sun7i: Fix i2c4 base address
In reply to Maxime RipardHi,
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.
Reported-by Marcus Cooper <[email protected]>Signed-off-by Maxime Ripard <[email protected]>
The datasheet agrees with this change:
Acked-by Hans de Goede <[email protected]>
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@@ -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>;