[PATCH 2/7] ARM: dts: skeleton: add unit name to memory node
Mark Rutland
mark.rutland at arm.com
Wed Mar 30 04:06:12 PDT 2016
On Wed, Mar 30, 2016 at 12:30:41AM +0200, Joachim Eastwood wrote:
> Add unit name to memory to remove the following warning:
> Warning (unit_address_vs_reg): Node /memory has a reg or ranges
> property, but no unit name
If anything, it would be better to get rid of the memory node from the
skeleton DTs.
For DTs which have a memory node there's no problem, and DTs which
expect a bootlaoder to fill things in have a logical place to document
that fact.
Thanks,
Mark.
>
> Signed-off-by: Joachim Eastwood <manabian at gmail.com>
> ---
> arch/arm/boot/dts/skeleton.dtsi | 2 +-
> arch/arm/boot/dts/skeleton64.dtsi | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/boot/dts/skeleton.dtsi b/arch/arm/boot/dts/skeleton.dtsi
> index b41d241..a20da0a 100644
> --- a/arch/arm/boot/dts/skeleton.dtsi
> +++ b/arch/arm/boot/dts/skeleton.dtsi
> @@ -9,5 +9,5 @@
> #size-cells = <1>;
> chosen { };
> aliases { };
> - memory { device_type = "memory"; reg = <0 0>; };
> + memory at 0 { device_type = "memory"; reg = <0 0>; };
> };
> diff --git a/arch/arm/boot/dts/skeleton64.dtsi b/arch/arm/boot/dts/skeleton64.dtsi
> index b5d7f36..6dbe9f9 100644
> --- a/arch/arm/boot/dts/skeleton64.dtsi
> +++ b/arch/arm/boot/dts/skeleton64.dtsi
> @@ -9,5 +9,5 @@
> #size-cells = <2>;
> chosen { };
> aliases { };
> - memory { device_type = "memory"; reg = <0 0 0 0>; };
> + memory at 0 { device_type = "memory"; reg = <0 0 0 0>; };
> };
> --
> 2.7.4
>
> --
> 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