Subject: [PATCH] ARM: mvebu: clk: remove cpuclk resources overlapping coredivclk registers on Armada XP

From: [email-masked] (Gregory CLEMENT)
Date: Wed, 18 Mar 2015 16:57:33 +0100

Hi,

On 17/03/2015 13:53, Gregory CLEMENT wrote:
> From: Nadav Haklai <[email-masked]>
> 
> The resources of the cpuclk node are overlapping the one from
> coredivclk node. It was not noticed until now because the driver did a
> simple of_iomap and not a request_mem_region. This patch fixes it.

unless someone is against it, I will apply it on mvebu/dt tomorrow.

Thanks,

Gregory

> 
> [gregory.clement at free-electrons.com: add commit log and port to 4.0-rc]
> Signed-off-by: Gregory CLEMENT <[email-masked]>
> Signed-off-by: Nadav Haklai <[email-masked]>
> Signed-off-by: Nadav Haklai <[email-masked]>
> ---
>  arch/arm/boot/dts/armada-xp.dtsi | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/boot/dts/armada-xp.dtsi b/arch/arm/boot/dts/armada-xp.dtsi
> index 82917236a2fb..fdc2e5bdf459 100644
> --- a/arch/arm/boot/dts/armada-xp.dtsi
> +++ b/arch/arm/boot/dts/armada-xp.dtsi
> @@ -149,7 +149,7 @@
>  			cpuclk: clock-complex at 18700 {
>  				#clock-cells = <1>;
>  				compatible = "marvell,armada-xp-cpu-clock";
> -				reg = <0x18700 0xA0>, <0x1c054 0x10>;
> +				reg = <0x18700 0x24>, <0x1c054 0x10>;
>  				clocks = <&coreclk 1>;
>  			};
>  
> 

-- 
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com