[PATCH 1/1] ARM: at91sam9263/dt: Fixup sram1 device tree node

Alexandre Belloni alexandre.belloni at free-electrons.com
Wed Feb 25 13:28:56 PST 2015


On 25/02/2015 at 09:35:04 +0100, Alexander Stein wrote :
> Commit ff04660e48b20 ("ARM: at91/dt: add SRAM nodes") used the same base
> address for sram0 and sram1 leading to the following warning:
> WARNING: CPU: 0 PID: 1 at fs/sysfs/dir.c:31 sysfs_warn_dup+0x50/0x70()
> sysfs: cannot create duplicate filename '/devices/platform/300000.sram'
> Fix the base address for sram1.
> 
> Signed-off-by: Alexander Stein <alexanders83 at web.de>
Acked-by: Alexandre Belloni <alexandre.belloni at free-electrons.com>

> ---
>  arch/arm/boot/dts/at91sam9263.dtsi | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm/boot/dts/at91sam9263.dtsi b/arch/arm/boot/dts/at91sam9263.dtsi
> index cdb7d03..76bb849 100644
> --- a/arch/arm/boot/dts/at91sam9263.dtsi
> +++ b/arch/arm/boot/dts/at91sam9263.dtsi
> @@ -69,7 +69,7 @@
>  
>  	sram1: sram at 00500000 {
>  		compatible = "mmio-sram";
> -		reg = <0x00300000 0x4000>;
> +		reg = <0x00500000 0x4000>;
>  	};
>  
>  	ahb {
> -- 
> 2.3.0
> 

-- 
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the linux-arm-kernel mailing list