Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1473444

Re: [PATCH 01/23] ARM: am335x: Add missing memory node in sl50 board

From Enric Balletbo Serra <eballetbo@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH 01/23] ARM: am335x: Add missing memory node in sl50 board
Date 2016-08-31 15:10 +0200
Message-ID <scdrb-2O7-11@gated-at.bofh.it> (permalink)
References <scb61-1h3-3@gated-at.bofh.it> <scb62-1h3-67@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


2016-08-31 12:35 GMT+02:00 Javier Martinez Canillas <javier@osg.samsung.com>:
> The skeleton.dtsi file was removed in ARM64 for different reasons as
> explained in commit ("3ebee5a2e141 arm64: dts: kill skeleton.dtsi").
>
> These also applies to ARM and it will also allow to get rid of the
> following DTC warnings in the future:
>
> "Node /memory has a reg or ranges property, but no unit name"
>
> But the sl50 board doesn't have a, so removing the  skeleton.dtsi
> inclusion from am33xx.dtsi will cause a change in the compiled DTB.
>
> The board has 512 MiB of RAM and its starting address is 0x80000000,
> so add a proper memory device node in the DTS.
>
> Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
>
> ---
>
>  arch/arm/boot/dts/am335x-sl50.dts | 5 +++++
>  1 file changed, 5 insertions(+)
>
> diff --git a/arch/arm/boot/dts/am335x-sl50.dts b/arch/arm/boot/dts/am335x-sl50.dts
> index f802adb23ff9..e3be7a6bf8f1 100644
> --- a/arch/arm/boot/dts/am335x-sl50.dts
> +++ b/arch/arm/boot/dts/am335x-sl50.dts
> @@ -19,6 +19,11 @@
>                 };
>         };
>
> +       memory {
> +               device_type = "memory";
> +               reg = <0x80000000 0x20000000>; /* 512 MB */
> +       };
> +
>         chosen {
>                 stdout-path = &uart0;
>         };
> --
> 2.7.4
>

Acked-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>

Thanks,
 Enric

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 00/23] ARM: dts: omap: Remove skeleton.dtsi usage and fix memory node DTC warning" Javier Martinez Canillas <javier@osg.samsung.com> - 2016-08-31 12:40 +0200
  [PATCH 06/23] ARM: dts: omap5: Remove skeleton.dtsi usage Javier Martinez Canillas <javier@osg.samsung.com> - 2016-08-31 12:40 +0200
  [PATCH 14/23] ARM: dts: omap4: Add missing unit name to memory nodes Javier Martinez Canillas <javier@osg.samsung.com> - 2016-08-31 12:40 +0200
  [PATCH 13/23] ARM: dts: omap3: Add missing unit name to memory nodes Javier Martinez Canillas <javier@osg.samsung.com> - 2016-08-31 12:40 +0200
  [PATCH 01/23] ARM: am335x: Add missing memory node in sl50 board Javier Martinez Canillas <javier@osg.samsung.com> - 2016-08-31 12:40 +0200
    Re: [PATCH 01/23] ARM: am335x: Add missing memory node in sl50 board Enric Balletbo Serra <eballetbo@gmail.com> - 2016-08-31 15:10 +0200
  [PATCH 02/23] ARM: omap3: Add missing memory node in overo and torpedo boards Javier Martinez Canillas <javier@osg.samsung.com> - 2016-08-31 12:50 +0200
  [PATCH 03/23] ARM: dts: omap2: Remove skeleton.dtsi usage Javier Martinez Canillas <javier@osg.samsung.com> - 2016-08-31 12:50 +0200
  [PATCH 04/23] ARM: dts: omap3: Remove skeleton.dtsi usage Javier Martinez Canillas <javier@osg.samsung.com> - 2016-08-31 12:50 +0200
  Re: [PATCH 00/23] ARM: dts: omap: Remove skeleton.dtsi usage and fix  memory node DTC warning" Tony Lindgren <tony@atomide.com> - 2016-08-31 16:30 +0200
    Re: [PATCH 00/23] ARM: dts: omap: Remove skeleton.dtsi usage and fix  memory node DTC warning" Tony Lindgren <tony@atomide.com> - 2016-08-31 20:00 +0200
      Re: [PATCH 00/23] ARM: dts: omap: Remove skeleton.dtsi usage and fix  memory node DTC warning" Javier Martinez Canillas <javier@osg.samsung.com> - 2016-09-01 10:50 +0200

csiph-web