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

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Wed Feb 25 22:33:38 PST 2015


ack
> On Feb 25, 2015, at 4:35 PM, Alexander Stein <alexanders83 at web.de> 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>
> ---
> 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
> 




More information about the linux-arm-kernel mailing list