From: manabian@gmail.com (Joachim Eastwood)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/3] ARM: dts: lpc18xx: remove skeleton.dtsi include and fix unit address warnings
Date: Tue, 30 Aug 2016 22:52:49 +0200 [thread overview]
Message-ID: <20160830205250.15616-3-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.
Signed-off-by: Joachim Eastwood <manabian@gmail.com>
---
arch/arm/boot/dts/lpc18xx.dtsi | 4 +++-
arch/arm/boot/dts/lpc4337-ciaa.dts | 2 +-
arch/arm/boot/dts/lpc4350-hitex-eval.dts | 2 +-
arch/arm/boot/dts/lpc4357-ea4357-devkit.dts | 2 +-
4 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/arch/arm/boot/dts/lpc18xx.dtsi b/arch/arm/boot/dts/lpc18xx.dtsi
index a1ecfe3..860ffa8 100644
--- a/arch/arm/boot/dts/lpc18xx.dtsi
+++ b/arch/arm/boot/dts/lpc18xx.dtsi
@@ -11,7 +11,6 @@
*
*/
-#include "skeleton.dtsi"
#include "armv7-m.dtsi"
#include "dt-bindings/clock/lpc18xx-cgu.h"
@@ -21,6 +20,9 @@
#define LPC_GPIO(port, pin) (port * 32 + pin)
/ {
+ #address-cells = <1>;
+ #size-cells = <1>;
+
cpus {
#address-cells = <1>;
#size-cells = <0>;
diff --git a/arch/arm/boot/dts/lpc4337-ciaa.dts b/arch/arm/boot/dts/lpc4337-ciaa.dts
index 5cfadb0..7c16d63 100644
--- a/arch/arm/boot/dts/lpc4337-ciaa.dts
+++ b/arch/arm/boot/dts/lpc4337-ciaa.dts
@@ -30,7 +30,7 @@
stdout-path = &uart2;
};
- memory {
+ memory at 28000000 {
device_type = "memory";
reg = <0x28000000 0x0800000>; /* 8 MB */
};
diff --git a/arch/arm/boot/dts/lpc4350-hitex-eval.dts b/arch/arm/boot/dts/lpc4350-hitex-eval.dts
index d37779e..bc89702 100644
--- a/arch/arm/boot/dts/lpc4350-hitex-eval.dts
+++ b/arch/arm/boot/dts/lpc4350-hitex-eval.dts
@@ -34,7 +34,7 @@
stdout-path = &uart0;
};
- memory {
+ memory at 28000000 {
device_type = "memory";
reg = <0x28000000 0x800000>; /* 8 MB */
};
diff --git a/arch/arm/boot/dts/lpc4357-ea4357-devkit.dts b/arch/arm/boot/dts/lpc4357-ea4357-devkit.dts
index 37bbcb6..5ca5eb5 100644
--- a/arch/arm/boot/dts/lpc4357-ea4357-devkit.dts
+++ b/arch/arm/boot/dts/lpc4357-ea4357-devkit.dts
@@ -35,7 +35,7 @@
stdout-path = &uart0;
};
- memory {
+ memory at 28000000 {
device_type = "memory";
reg = <0x28000000 0x2000000>; /* 32 MB */
};
--
2.9.3
next prev 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 ` Joachim Eastwood [this message]
2016-08-30 20:52 ` [PATCH 3/3] ARM: dts: efm32: remove skeleton.dtsi include and fix unit address warnings Joachim Eastwood
2016-09-05 7:56 ` 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-3-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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.