Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1174468AbdDXUXH (ORCPT ); Mon, 24 Apr 2017 16:23:07 -0400 Received: from fllnx210.ext.ti.com ([198.47.19.17]:59713 "EHLO fllnx210.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1174445AbdDXUW4 (ORCPT ); Mon, 24 Apr 2017 16:22:56 -0400 From: Franklin S Cooper Jr To: , , , , , CC: Franklin S Cooper Jr Subject: [PATCH v2 1/4] ARM: dts: keystone-k2g: Remove skeleton.dtsi Date: Mon, 24 Apr 2017 15:22:01 -0500 Message-ID: <20170424202204.24170-2-fcooper@ti.com> X-Mailer: git-send-email 2.10.0 In-Reply-To: <20170424202204.24170-1-fcooper@ti.com> References: <20170424202204.24170-1-fcooper@ti.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1231 Lines: 38 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 --- 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 #include -#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