Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp554339imm; Wed, 23 May 2018 01:24:32 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpE72hwjW4bG3bdBAMlIqCKGcQiXnutLCFAnXYVXC5y4Lq3RKm/t8YTMtZh7ZS0zTgW+dWy X-Received: by 2002:a17:902:bd46:: with SMTP id b6-v6mr1995240plx.170.1527063872487; Wed, 23 May 2018 01:24:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527063872; cv=none; d=google.com; s=arc-20160816; b=uAzf7GCioTXs16xBMkd8dXjXXdqi8yCOC+EjVeeAGWyX1aJ4MDAEb/X7BMbMX6RzGP SKiEAeuvmaOyMqy4iefFoSVE5oO/AwT+w0Be948aGOiCzOpx+r9ab1Rm/GiUSjv9V4Xb h92lG/Rc+JLFU9dlhlzdcMnhoUZd56GEqW5m1aVH3wFqpjzn0UHWh6HoaNBMlhUw1M71 dv2IHOStWAnW9ij50f2I/bfy16sxbshtjMcOxT00Y5TaZR/bku9hulvK+X9b0t+MsWJ6 1jbA3CB1Pfytg2DeMGr5mE/0Iebh0X0WhU+cBQqnALduWkTzRD/eLsvZ1GWRVvBdPTGY fQ7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:references :in-reply-to:subject:cc:to:from:date:content-transfer-encoding :mime-version:dkim-signature:arc-authentication-results; bh=lz7LPz3qqCantThI1GXtloz7XkEoivST8MmJZPq6pOs=; b=0mDcmPcuH2DJwgdTm1r6LZjngTO76NnjmbQ08SJmCiffpPYiNr1r74ub1XKuPLNjNC rJCODLjD5MimHpUn5ziNbSK4F49YQ5NzOViaGlARv/bLbdSibZdnN534QuqrrlKuiffP QlLiRBf26+o5qFfJEIEggHj8evNNtitawn18O1rzsbSPYb6dOvEPm8e/iWk4/FN/VVRM qkpvDG10nGMsx2XJQtJrtAmrCYkDXU7N89lYZU+sXKFcBnTrFF/A/ZAVJ/VfzKdjG+YT Y+A+emdWaQxOssxRT1AVabQwoHyewnZde3/9FYbkNH2ir7l9+abCSefnWiEvEdG7SfUV j1Qw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@agner.ch header.s=dkim header.b=nIp05Jo0; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i21-v6si555548pgn.638.2018.05.23.01.24.17; Wed, 23 May 2018 01:24:32 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@agner.ch header.s=dkim header.b=nIp05Jo0; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754269AbeEWIWa (ORCPT + 99 others); Wed, 23 May 2018 04:22:30 -0400 Received: from mail.kmu-office.ch ([178.209.48.109]:50944 "EHLO mail.kmu-office.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754153AbeEWIW0 (ORCPT ); Wed, 23 May 2018 04:22:26 -0400 Received: from webmail.kmu-office.ch (unknown [IPv6:2a02:418:6a02::a3]) by mail.kmu-office.ch (Postfix) with ESMTPSA id D342D5C1224; Wed, 23 May 2018 10:22:24 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=agner.ch; s=dkim; t=1527063744; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=lz7LPz3qqCantThI1GXtloz7XkEoivST8MmJZPq6pOs=; b=nIp05Jo0dWr76D0XT6c5LQXlEtU18j5NBUGjEOlHvR6CLfZ/ktZX1wHbEYB+41YT3GdvV1 aReI9gKBDsXxogclj9oDXxOhubLx6AXn+GcSbUdjHL+edVvwn09Pb1iOdYb7pLFaH3QKP+ paIdXgSdeAdK10+1HbCfuUXSZO8C23s= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Date: Wed, 23 May 2018 10:22:24 +0200 From: Stefan Agner To: Krzysztof Kozlowski Cc: Rob Herring , Mark Rutland , Thierry Reding , Jonathan Hunter , devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org, Marcel Ziswiler , Lucas Stach Subject: Re: [PATCH v5 1/3] ARM: dts: tegra: Remove skeleton.dtsi and fix DTC warnings for /memory In-Reply-To: References: <1526543103-21668-1-git-send-email-krzk@kernel.org> Message-ID: X-Sender: stefan@agner.ch User-Agent: Roundcube Webmail/1.3.4 X-Spamd-Result: default: False [-3.10 / 15.00]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; TAGGED_RCPT(0.00)[dt]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_SEVEN(0.00)[10]; FROM_EQ_ENVFROM(0.00)[]; DKIM_SIGNED(0.00)[]; TO_DN_SOME(0.00)[]; RCVD_COUNT_ZERO(0.00)[0]; ASN(0.00)[asn:29691, ipnet:2a02:418::/29, country:CH]; RCVD_TLS_ALL(0.00)[]; BAYES_HAM(-3.00)[100.00%]; ARC_NA(0.00)[] Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 23.05.2018 09:05, Krzysztof Kozlowski wrote: > On Thu, May 17, 2018 at 1:39 PM, Stefan Agner wrote: >> On 17.05.2018 09:45, Krzysztof Kozlowski wrote: >>> Remove the usage of skeleton.dtsi and add necessary properties to /memory >>> node to fix the DTC warnings: >>> >>> arch/arm/boot/dts/tegra20-harmony.dtb: Warning (unit_address_vs_reg): >>> /memory: node has a reg or ranges property, but no unit name >>> >>> The DTB after the change is the same as before except adding >>> unit-address to /memory node. >>> >>> Signed-off-by: Krzysztof Kozlowski >>> >>> --- >>> >>> Changes since v4: >>> 1. None >>> --- >>> arch/arm/boot/dts/tegra114-dalmore.dts | 3 ++- >>> arch/arm/boot/dts/tegra114-roth.dts | 3 ++- >>> arch/arm/boot/dts/tegra114-tn7.dts | 3 ++- >>> arch/arm/boot/dts/tegra114.dtsi | 4 ++-- >>> arch/arm/boot/dts/tegra124-apalis-v1.2.dtsi | 3 ++- >>> arch/arm/boot/dts/tegra124-apalis.dtsi | 3 ++- >>> arch/arm/boot/dts/tegra124-jetson-tk1.dts | 3 ++- >>> arch/arm/boot/dts/tegra124-nyan.dtsi | 3 ++- >>> arch/arm/boot/dts/tegra124-venice2.dts | 3 ++- >>> arch/arm/boot/dts/tegra124.dtsi | 2 -- >>> arch/arm/boot/dts/tegra20-colibri-512.dtsi | 3 ++- >>> arch/arm/boot/dts/tegra20-harmony.dts | 3 ++- >>> arch/arm/boot/dts/tegra20-paz00.dts | 3 ++- >>> arch/arm/boot/dts/tegra20-seaboard.dts | 3 ++- >>> arch/arm/boot/dts/tegra20-tamonten.dtsi | 3 ++- >>> arch/arm/boot/dts/tegra20-trimslice.dts | 3 ++- >>> arch/arm/boot/dts/tegra20-ventana.dts | 3 ++- >>> arch/arm/boot/dts/tegra20.dtsi | 7 +++++-- >>> arch/arm/boot/dts/tegra30-apalis.dtsi | 5 +++++ >>> arch/arm/boot/dts/tegra30-beaver.dts | 3 ++- >>> arch/arm/boot/dts/tegra30-cardhu.dtsi | 3 ++- >>> arch/arm/boot/dts/tegra30-colibri.dtsi | 3 ++- >>> arch/arm/boot/dts/tegra30.dtsi | 7 +++++-- >>> 23 files changed, 53 insertions(+), 26 deletions(-) >>> >>> diff --git a/arch/arm/boot/dts/tegra114-dalmore.dts >>> b/arch/arm/boot/dts/tegra114-dalmore.dts >>> index eafff16765b4..5cdcedfc19cb 100644 >>> --- a/arch/arm/boot/dts/tegra114-dalmore.dts >>> +++ b/arch/arm/boot/dts/tegra114-dalmore.dts >>> @@ -23,7 +23,8 @@ >>> stdout-path = "serial0:115200n8"; >>> }; >>> >>> - memory { >>> + memory@80000000 { >>> + device_type = "memory"; >>> reg = <0x80000000 0x40000000>; >>> }; >>> >>> diff --git a/arch/arm/boot/dts/tegra114-roth.dts >>> b/arch/arm/boot/dts/tegra114-roth.dts >>> index 7ed7370ee67a..b4f329a07c60 100644 >>> --- a/arch/arm/boot/dts/tegra114-roth.dts >>> +++ b/arch/arm/boot/dts/tegra114-roth.dts >>> @@ -28,7 +28,8 @@ >>> }; >>> }; >>> >>> - memory { >>> + memory@80000000 { >>> + device_type = "memory"; >>> /* memory >= 0x79600000 is reserved for firmware usage */ >>> reg = <0x80000000 0x79600000>; >>> }; >>> diff --git a/arch/arm/boot/dts/tegra114-tn7.dts >>> b/arch/arm/boot/dts/tegra114-tn7.dts >>> index 7fc4a8b31e45..12092d344ce8 100644 >>> --- a/arch/arm/boot/dts/tegra114-tn7.dts >>> +++ b/arch/arm/boot/dts/tegra114-tn7.dts >>> @@ -28,7 +28,8 @@ >>> }; >>> }; >>> >>> - memory { >>> + memory@80000000 { >>> + device_type = "memory"; >>> /* memory >= 0x37e00000 is reserved for firmware usage */ >>> reg = <0x80000000 0x37e00000>; >>> }; >>> diff --git a/arch/arm/boot/dts/tegra114.dtsi b/arch/arm/boot/dts/tegra114.dtsi >>> index 0e4a13295d8a..b917784d3f97 100644 >>> --- a/arch/arm/boot/dts/tegra114.dtsi >>> +++ b/arch/arm/boot/dts/tegra114.dtsi >>> @@ -5,11 +5,11 @@ >>> #include >>> #include >>> >>> -#include "skeleton.dtsi" >>> - >>> / { >>> compatible = "nvidia,tegra114"; >>> interrupt-parent = <&lic>; >>> + #address-cells = <1>; >>> + #size-cells = <1>; >>> >>> host1x@50000000 { >>> compatible = "nvidia,tegra114-host1x", "simple-bus"; >>> diff --git a/arch/arm/boot/dts/tegra124-apalis-v1.2.dtsi >>> b/arch/arm/boot/dts/tegra124-apalis-v1.2.dtsi >>> index bb67edb016c5..80b52c612891 100644 >>> --- a/arch/arm/boot/dts/tegra124-apalis-v1.2.dtsi >>> +++ b/arch/arm/boot/dts/tegra124-apalis-v1.2.dtsi >>> @@ -15,7 +15,8 @@ >>> compatible = "toradex,apalis-tk1-v1.2", "toradex,apalis-tk1", >>> "nvidia,tegra124"; >>> >>> - memory { >>> + memory@0 { >>> + device_type = "memory"; >>> reg = <0x0 0x80000000 0x0 0x80000000>; >>> }; >>> >>> diff --git a/arch/arm/boot/dts/tegra124-apalis.dtsi >>> b/arch/arm/boot/dts/tegra124-apalis.dtsi >>> index 65a2161b9b8e..3ca7601cafe9 100644 >>> --- a/arch/arm/boot/dts/tegra124-apalis.dtsi >>> +++ b/arch/arm/boot/dts/tegra124-apalis.dtsi >>> @@ -50,7 +50,8 @@ >>> model = "Toradex Apalis TK1"; >>> compatible = "toradex,apalis-tk1", "nvidia,tegra124"; >>> >>> - memory { >>> + memory@0 { >>> + device_type = "memory"; >>> reg = <0x0 0x80000000 0x0 0x80000000>; >>> }; >>> >>> diff --git a/arch/arm/boot/dts/tegra124-jetson-tk1.dts >>> b/arch/arm/boot/dts/tegra124-jetson-tk1.dts >>> index 6dbcf84dafbc..8d9e6ee6c6a7 100644 >>> --- a/arch/arm/boot/dts/tegra124-jetson-tk1.dts >>> +++ b/arch/arm/boot/dts/tegra124-jetson-tk1.dts >>> @@ -24,7 +24,8 @@ >>> stdout-path = "serial0:115200n8"; >>> }; >>> >>> - memory { >>> + memory@0 { >>> + device_type = "memory"; >>> reg = <0x0 0x80000000 0x0 0x80000000>; >>> }; >>> >>> diff --git a/arch/arm/boot/dts/tegra124-nyan.dtsi >>> b/arch/arm/boot/dts/tegra124-nyan.dtsi >>> index 3609367037a6..15a2b0e3237e 100644 >>> --- a/arch/arm/boot/dts/tegra124-nyan.dtsi >>> +++ b/arch/arm/boot/dts/tegra124-nyan.dtsi >>> @@ -13,7 +13,8 @@ >>> stdout-path = "serial0:115200n8"; >>> }; >>> >>> - memory { >>> + memory@0 { >>> + device_type = "memory"; >>> reg = <0x0 0x80000000 0x0 0x80000000>; >>> }; >>> >>> diff --git a/arch/arm/boot/dts/tegra124-venice2.dts >>> b/arch/arm/boot/dts/tegra124-venice2.dts >>> index 89bcc178994d..241cdc4b6600 100644 >>> --- a/arch/arm/boot/dts/tegra124-venice2.dts >>> +++ b/arch/arm/boot/dts/tegra124-venice2.dts >>> @@ -18,7 +18,8 @@ >>> stdout-path = "serial0:115200n8"; >>> }; >>> >>> - memory { >>> + memory@0 { >>> + device_type = "memory"; >>> reg = <0x0 0x80000000 0x0 0x80000000>; >>> }; >>> >>> diff --git a/arch/arm/boot/dts/tegra124.dtsi b/arch/arm/boot/dts/tegra124.dtsi >>> index 174092bfac90..df1642876a4c 100644 >>> --- a/arch/arm/boot/dts/tegra124.dtsi >>> +++ b/arch/arm/boot/dts/tegra124.dtsi >>> @@ -7,8 +7,6 @@ >>> #include >>> #include >>> >>> -#include "skeleton.dtsi" >>> - >>> / { >>> compatible = "nvidia,tegra124"; >>> interrupt-parent = <&lic>; >>> diff --git a/arch/arm/boot/dts/tegra20-colibri-512.dtsi >>> b/arch/arm/boot/dts/tegra20-colibri-512.dtsi >>> index 5c202b3e3bb1..305efb275b48 100644 >>> --- a/arch/arm/boot/dts/tegra20-colibri-512.dtsi >>> +++ b/arch/arm/boot/dts/tegra20-colibri-512.dtsi >>> @@ -10,7 +10,8 @@ >>> rtc1 = "/rtc@7000e000"; >>> }; >>> >>> - memory { >>> + memory@0 { >>> + device_type = "memory"; >>> reg = <0x00000000 0x20000000>; >>> }; >>> >>> diff --git a/arch/arm/boot/dts/tegra20-harmony.dts >>> b/arch/arm/boot/dts/tegra20-harmony.dts >>> index 628a55a9318b..5009a55ae15c 100644 >>> --- a/arch/arm/boot/dts/tegra20-harmony.dts >>> +++ b/arch/arm/boot/dts/tegra20-harmony.dts >>> @@ -18,7 +18,8 @@ >>> stdout-path = "serial0:115200n8"; >>> }; >>> >>> - memory { >>> + memory@0 { >>> + device_type = "memory"; >>> reg = <0x00000000 0x40000000>; >>> }; >>> >>> diff --git a/arch/arm/boot/dts/tegra20-paz00.dts >>> b/arch/arm/boot/dts/tegra20-paz00.dts >>> index 30436969adc0..e794ac5442ef 100644 >>> --- a/arch/arm/boot/dts/tegra20-paz00.dts >>> +++ b/arch/arm/boot/dts/tegra20-paz00.dts >>> @@ -19,7 +19,8 @@ >>> stdout-path = "serial0:115200n8"; >>> }; >>> >>> - memory { >>> + memory@0 { >>> + device_type = "memory"; >>> reg = <0x00000000 0x20000000>; >>> }; >>> >>> diff --git a/arch/arm/boot/dts/tegra20-seaboard.dts >>> b/arch/arm/boot/dts/tegra20-seaboard.dts >>> index 284aae351ff2..6cb832cfa4f3 100644 >>> --- a/arch/arm/boot/dts/tegra20-seaboard.dts >>> +++ b/arch/arm/boot/dts/tegra20-seaboard.dts >>> @@ -18,7 +18,8 @@ >>> stdout-path = "serial0:115200n8"; >>> }; >>> >>> - memory { >>> + memory@0 { >>> + device_type = "memory"; >>> reg = <0x00000000 0x40000000>; >>> }; >>> >>> diff --git a/arch/arm/boot/dts/tegra20-tamonten.dtsi >>> b/arch/arm/boot/dts/tegra20-tamonten.dtsi >>> index 872046d48709..6ceb1228fed3 100644 >>> --- a/arch/arm/boot/dts/tegra20-tamonten.dtsi >>> +++ b/arch/arm/boot/dts/tegra20-tamonten.dtsi >>> @@ -15,7 +15,8 @@ >>> stdout-path = "serial0:115200n8"; >>> }; >>> >>> - memory { >>> + memory@0 { >>> + device_type = "memory"; >>> reg = <0x00000000 0x20000000>; >>> }; >>> >>> diff --git a/arch/arm/boot/dts/tegra20-trimslice.dts >>> b/arch/arm/boot/dts/tegra20-trimslice.dts >>> index d55c6b240a30..3f94be3da9e5 100644 >>> --- a/arch/arm/boot/dts/tegra20-trimslice.dts >>> +++ b/arch/arm/boot/dts/tegra20-trimslice.dts >>> @@ -18,7 +18,8 @@ >>> stdout-path = "serial0:115200n8"; >>> }; >>> >>> - memory { >>> + memory@0 { >>> + device_type = "memory"; >>> reg = <0x00000000 0x40000000>; >>> }; >>> >>> diff --git a/arch/arm/boot/dts/tegra20-ventana.dts >>> b/arch/arm/boot/dts/tegra20-ventana.dts >>> index ee3fbf941e79..c897a90289bc 100644 >>> --- a/arch/arm/boot/dts/tegra20-ventana.dts >>> +++ b/arch/arm/boot/dts/tegra20-ventana.dts >>> @@ -18,7 +18,8 @@ >>> stdout-path = "serial0:115200n8"; >>> }; >>> >>> - memory { >>> + memory@0 { >>> + device_type = "memory"; >>> reg = <0x00000000 0x40000000>; >>> }; >>> >>> diff --git a/arch/arm/boot/dts/tegra20.dtsi b/arch/arm/boot/dts/tegra20.dtsi >>> index 0a7136462a1a..290ebbeb210f 100644 >>> --- a/arch/arm/boot/dts/tegra20.dtsi >>> +++ b/arch/arm/boot/dts/tegra20.dtsi >>> @@ -4,11 +4,14 @@ >>> #include >>> #include >>> >>> -#include "skeleton.dtsi" >>> - >>> / { >>> compatible = "nvidia,tegra20"; >>> interrupt-parent = <&lic>; >>> + #address-cells = <1>; >>> + #size-cells = <1>; >>> + >>> + chosen { }; >>> + aliases { }; >>> >>> iram@40000000 { >>> compatible = "mmio-sram"; >>> diff --git a/arch/arm/boot/dts/tegra30-apalis.dtsi >>> b/arch/arm/boot/dts/tegra30-apalis.dtsi >>> index d1d21ec2a844..184f60c720fa 100644 >>> --- a/arch/arm/boot/dts/tegra30-apalis.dtsi >>> +++ b/arch/arm/boot/dts/tegra30-apalis.dtsi >>> @@ -10,6 +10,11 @@ >>> model = "Toradex Apalis T30"; >>> compatible = "toradex,apalis_t30", "nvidia,tegra30"; >>> >>> + memory@0 { >>> + device_type = "memory"; >>> + reg = <0 0>; >>> + }; >>> + >>> pcie@3000 { >>> avdd-pexa-supply = <&vdd2_reg>; >>> vdd-pexa-supply = <&vdd2_reg>; >>> diff --git a/arch/arm/boot/dts/tegra30-beaver.dts >>> b/arch/arm/boot/dts/tegra30-beaver.dts >>> index ae52a5039506..72369877d284 100644 >>> --- a/arch/arm/boot/dts/tegra30-beaver.dts >>> +++ b/arch/arm/boot/dts/tegra30-beaver.dts >>> @@ -17,7 +17,8 @@ >>> stdout-path = "serial0:115200n8"; >>> }; >>> >>> - memory { >>> + memory@80000000 { >>> + device_type = "memory"; >>> reg = <0x80000000 0x7ff00000>; >>> }; >>> >>> diff --git a/arch/arm/boot/dts/tegra30-cardhu.dtsi >>> b/arch/arm/boot/dts/tegra30-cardhu.dtsi >>> index 92a9740c533f..24c04d4c335d 100644 >>> --- a/arch/arm/boot/dts/tegra30-cardhu.dtsi >>> +++ b/arch/arm/boot/dts/tegra30-cardhu.dtsi >>> @@ -40,7 +40,8 @@ >>> stdout-path = "serial0:115200n8"; >>> }; >>> >>> - memory { >>> + memory@80000000 { >>> + device_type = "memory"; >>> reg = <0x80000000 0x40000000>; >>> }; >>> >>> diff --git a/arch/arm/boot/dts/tegra30-colibri.dtsi >>> b/arch/arm/boot/dts/tegra30-colibri.dtsi >>> index c44d8c40c410..cc46cedf80b9 100644 >>> --- a/arch/arm/boot/dts/tegra30-colibri.dtsi >>> +++ b/arch/arm/boot/dts/tegra30-colibri.dtsi >>> @@ -10,7 +10,8 @@ >>> model = "Toradex Colibri T30"; >>> compatible = "toradex,colibri_t30", "nvidia,tegra30"; >>> >>> - memory { >>> + memory@80000000 { >>> + device_type = "memory"; >>> reg = <0x80000000 0x40000000>; >>> }; >>> >>> diff --git a/arch/arm/boot/dts/tegra30.dtsi b/arch/arm/boot/dts/tegra30.dtsi >>> index a110cf84d85f..4383f0fd789d 100644 >>> --- a/arch/arm/boot/dts/tegra30.dtsi >>> +++ b/arch/arm/boot/dts/tegra30.dtsi >>> @@ -5,11 +5,14 @@ >>> #include >>> #include >>> >>> -#include "skeleton.dtsi" >>> - >>> / { >>> compatible = "nvidia,tegra30"; >>> interrupt-parent = <&lic>; >>> + #address-cells = <1>; >>> + #size-cells = <1>; >>> + >>> + chosen { }; >>> + aliases { }; >> >> Could we not add >> >> memory { device_type = "memory"; }; >> >> in the SoC level device trees? >> >> This would save device_type in all other instances. >> >> That is also how it is done in other places, e.g. >> arch/arm/boot/dts/imx6qdl.dtsi > > Not really because the unit address will not match between different > boards. The imx6qdl, as I see, has the same issue: > - imx6qdl.dtsi defines "memory" node > - imx6dl-apf6dev.dts includes the previous and defines "memory@10000000" > > This is wrong - two memory nodes. > Hm I see. We could add memory@0 { device_type = "memory"; }; Since the reg property is specified in the board level device tree it would be still fine? Or probably better to provide a complete spec with length zero: memory@0 { device_type = "memory"; reg = <0x0 0x0>; }; Even some boards do that and assume that boot loader will fill it correctly, so that should be fine. -- Stefan >> Also, could we maybe split this in two? >> >> ARM: dts: tegra: Remove skeleton.dtsi >> ARM: dts: tegra: fix DTC warnings for /memory > > It is possible to split it but this really won't bring any benefit > because the removal of skeleton.dtsi is the way to fix the errors. Or > saying it differently - the warnings are the reason to remove the > skeleton.dtsi. If you split them, what is the reason to remove the > skeleton.dtsi? (Theoretically it was deprecated so this could be > explanation). > > If you wish, I can prepare something like: > 1. Remove skeleton.dtsi and add everywhere 'device_type = "memory"'. > All the warnings will stay but the end DTB should be equal between > changes. > 2. Fix warnings. > >> The first would only touch SoC level dts. > > No, because device_type has to be added everywhere. And because of > warnings (explained before) it cannot be added to SoC DTSI. > > Best regards, > Krzysztof > >> >> The second then would fix DTC warnings by adding the address to the >> memory nodes in all board files. >> >> -- >> Stefan >> >>> >>> pcie@3000 { >>> compatible = "nvidia,tegra30-pcie";