[PATCH] arm64: dts: ls1046a: add a dummy memory 'reg' property

Li Yang leoyang.li at nxp.com
Wed Feb 28 00:43:55 PST 2018


On Mon, Feb 26, 2018 at 2:33 PM, Shawn Guo <shawnguo at kernel.org> wrote:
> The memory node in fsl-ls1046a.dtsi has no 'reg' property, and causes
> the dtc warning below.
>
> Warning (unit_address_vs_reg): Node /memory at 80000000 has a unit name, but no reg property
>
> Let's add a 'reg' property with dummy memory size, since bootloader will
> need to fill the correct one per board memory configuration anyway.
>
> Cc: Mingkai Hu <Mingkai.Hu at nxp.com>
> Cc: Li Yang <leoyang.li at nxp.com>
> Signed-off-by: Shawn Guo <shawnguo at kernel.org>

Acked-by: Li Yang <leoyang.li at nxp.com>

> ---
>  arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
> index 606ea496f24e..136ebfa9b333 100644
> --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
> +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
> @@ -131,6 +131,8 @@
>
>         memory at 80000000 {
>                 device_type = "memory";
> +               /* Real size will be filled by bootloader */
> +               reg = <0x0 0x80000000 0x0 0x0>;
>         };
>
>         sysclk: sysclk {
> --
> 1.9.1
>
> --
> To unsubscribe from this list: send the line "unsubscribe devicetree" in
> the body of a message to majordomo at vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the linux-arm-kernel mailing list