Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: fcooper@ti.com (Franklin S Cooper Jr)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 1/4] ARM: dts: keystone-k2g: Remove skeleton.dtsi
Date: Mon, 24 Apr 2017 15:22:01 -0500	[thread overview]
Message-ID: <20170424202204.24170-2-fcooper@ti.com> (raw)
In-Reply-To: <20170424202204.24170-1-fcooper@ti.com>

Adding the unit address to the memory node was causing the below error:
Warning (reg_format): "reg" property in /memory has invalid length
(8 bytes) (#address-cells == 2, #size-cells == 2)

Further debugging showed that this was due to the memory node added by
default to skeleton.dtsi which was being included in keystone-k2g.dtsi.
Adding a missing node was all that was needed to remove this deprecated
dtsi file from the SoC dtsi. With skeleton.dtsi removed the dtc compiler
no longer complained about including the unit address for the memory node.

Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com>
---
 arch/arm/boot/dts/keystone-k2g.dtsi | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/keystone-k2g.dtsi b/arch/arm/boot/dts/keystone-k2g.dtsi
index f59567f..a789f75 100644
--- a/arch/arm/boot/dts/keystone-k2g.dtsi
+++ b/arch/arm/boot/dts/keystone-k2g.dtsi
@@ -15,7 +15,6 @@
 
 #include <dt-bindings/interrupt-controller/arm-gic.h>
 #include <dt-bindings/pinctrl/keystone.h>
-#include "skeleton.dtsi"
 
 / {
 	compatible = "ti,k2g","ti,keystone";
@@ -24,6 +23,8 @@
 	#size-cells = <2>;
 	interrupt-parent = <&gic>;
 
+	chosen { };
+
 	aliases {
 		serial0 = &uart0;
 	};
-- 
2.10.0

  reply	other threads:[~2017-04-24 20:22 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-24 20:22 [PATCH v2 0/4] ARM: dts: keystone: Add support for new K2G evm Franklin S Cooper Jr
2017-04-24 20:22 ` Franklin S Cooper Jr [this message]
2017-04-24 20:22 ` [PATCH v2 2/4] ARM: dts: k2g-evm: Add unit address to memory node Franklin S Cooper Jr
2017-04-24 20:22 ` [PATCH v2 3/4] ARM: keystone: Create new binding for K2G ICE evm Franklin S Cooper Jr
2017-04-24 20:22 ` [PATCH v2 4/4] ARM: dts: keystone: Add minimum support " Franklin S Cooper Jr
2017-05-05 19:07 ` [PATCH v2 0/4] ARM: dts: keystone: Add support for new K2G evm Franklin S Cooper Jr
2017-05-10 16:08 ` Santosh Shilimkar
2017-05-22  5:51   ` santosh.shilimkar at oracle.com

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=20170424202204.24170-2-fcooper@ti.com \
    --to=fcooper@ti.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