linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: manabian@gmail.com (Joachim Eastwood)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 3/3] ARM: dts: efm32: remove skeleton.dtsi include and fix unit address warnings
Date: Tue, 30 Aug 2016 22:52:50 +0200	[thread overview]
Message-ID: <20160830205250.15616-4-manabian@gmail.com> (raw)
In-Reply-To: <20160830205250.15616-1-manabian@gmail.com>

Removale of skeleton.dtsi allows us also to fix the following
warning from the dts compiler:
  Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit name

by adding proper unit addresses to the memory nodes. Also add missing
device_type to the memory node while at it.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
---
Hi Uwe,

If you want I can take this through the lpc18xx tree. There doesn't seem
too be many patches for efm32 lately (last one dates from 2014).

 arch/arm/boot/dts/efm32gg-dk3750.dts | 5 +++--
 arch/arm/boot/dts/efm32gg.dtsi       | 4 +++-
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/arch/arm/boot/dts/efm32gg-dk3750.dts b/arch/arm/boot/dts/efm32gg-dk3750.dts
index 504cf45..98fc667 100644
--- a/arch/arm/boot/dts/efm32gg-dk3750.dts
+++ b/arch/arm/boot/dts/efm32gg-dk3750.dts
@@ -16,7 +16,8 @@
 		bootargs = "console=ttyefm4,115200 init=/linuxrc ignore_loglevel ihash_entries=64 dhash_entries=64 earlyprintk uclinux.physaddr=0x8c400000 root=/dev/mtdblock0";
 	};
 
-	memory {
+	memory at 88000000 {
+		device_type = "memory";
 		reg = <0x88000000 0x400000>;
 	};
 
@@ -74,7 +75,7 @@
 			status = "ok";
 		};
 
-		boardfpga: boardfpga {
+		boardfpga: boardfpga at 80000000 {
 			compatible = "efm32board";
 			reg = <0x80000000 0x400>;
 			irq-gpios = <&gpio 64 1>;
diff --git a/arch/arm/boot/dts/efm32gg.dtsi b/arch/arm/boot/dts/efm32gg.dtsi
index d9dbf7f..b78c57e 100644
--- a/arch/arm/boot/dts/efm32gg.dtsi
+++ b/arch/arm/boot/dts/efm32gg.dtsi
@@ -5,11 +5,13 @@
  * http://www.silabs.com/Support%20Documents/TechnicalDocs/EFM32GG-RM.pdf
  */
 
-#include "skeleton.dtsi"
 #include "armv7-m.dtsi"
 #include "dt-bindings/clock/efm32-cmu.h"
 
 / {
+	#address-cells = <1>;
+	#size-cells = <1>;
+
 	aliases {
 		i2c0 = &i2c0;
 		i2c1 = &i2c1;
-- 
2.9.3

  parent reply	other threads:[~2016-08-30 20:52 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-30 20:52 [PATCH 0/3] remove skeleton.dtsi from armv7-m.dtsi Joachim Eastwood
2016-08-30 20:52 ` [PATCH 1/3] ARM: dts: armv7-m: remove skeleton.dtsi include Joachim Eastwood
2016-08-30 22:14   ` Stefan Agner
2016-09-06  7:29     ` Alexandre Torgue
2016-09-05 19:01   ` Fwd: " Joachim Eastwood
2016-09-06  5:31   ` Uwe Kleine-König
2016-08-30 20:52 ` [PATCH 2/3] ARM: dts: lpc18xx: remove skeleton.dtsi include and fix unit address warnings Joachim Eastwood
2016-08-30 20:52 ` Joachim Eastwood [this message]
2016-09-05  7:56   ` [PATCH 3/3] ARM: dts: efm32: " Uwe Kleine-König
2016-09-05 18:56     ` Joachim Eastwood
2016-08-30 22:14 ` [PATCH 0/3] remove skeleton.dtsi from armv7-m.dtsi Rob Herring
2016-08-31  8:19 ` Vladimir Murzin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160830205250.15616-4-manabian@gmail.com \
    --to=manabian@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).