From patchwork Tue Apr 17 10:01:26 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sekhar Nori X-Patchwork-Id: 10344655 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 187FB60542 for ; Tue, 17 Apr 2018 10:03:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F1C2028A04 for ; Tue, 17 Apr 2018 10:03:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E65EC28A39; Tue, 17 Apr 2018 10:03:30 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C91B828A04 for ; Tue, 17 Apr 2018 10:03:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=7dKc+EGRbXcPzAgVHXqEDQxMGfftWlDhgrglIKbIvPk=; b=kNQaRnUiNOQnGi AJJ3jmD6qEvuusoK5B+6PVEmLObXScOtRyiDkovSNGKvWGP3+HNCRKIjysEsdmnXXzajJqijs2Etu yTJoCHYT7nyTexjUhZcnohZ2rmTSzSCIhyZ8Pka0z/SU08E5ZK4lRb5Kr4rbWSIRP1BSHV5fXZWY4 yCS9He4egXiZmkbw83RbAxc1TKX0BX635uSY30dUBvbXVtUDAqE2i1ZK8Nz2h4fa5QyfSEA2zrBbc PTNpT9aWSOug3rFoEc2V1EdU7qC5inK8D4N9ScSk9fCQd1ZMbK3YnyLkDCuu93n4RObffFr2z9S9s m64kGd26ejE/4HdVgwlQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1f8NSH-0001z8-2h; Tue, 17 Apr 2018 10:03:17 +0000 Received: from fllnx209.ext.ti.com ([198.47.19.16]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1f8NRl-0001gO-65 for linux-arm-kernel@lists.infradead.org; Tue, 17 Apr 2018 10:02:47 +0000 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by fllnx209.ext.ti.com (8.15.1/8.15.1) with ESMTP id w3HA1WK5026586; Tue, 17 Apr 2018 05:01:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1523959292; bh=dtQAPg3BRQGgVAbMe1Sh26qmBMo1bfkezHeQ/JpqR30=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=ntcp40eug1pJVQ6SK1WLlgEmuYsgfw/i1hI9PZYyJEESOmVHAtUc/L9itcbdw/9n2 2pE2r8QJqyDP70fQ6CORbgVgpimRXa/PzqBsEeV+LEgy12kZ30DsdGZDSe9WBAwYlk WS27w/mZychSp4+aj2zDL0VMBuMx9th50tdIDBUI= Received: from DFLE104.ent.ti.com (dfle104.ent.ti.com [10.64.6.25]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w3HA1W8k000425; Tue, 17 Apr 2018 05:01:32 -0500 Received: from DFLE112.ent.ti.com (10.64.6.33) by DFLE104.ent.ti.com (10.64.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.35; Tue, 17 Apr 2018 05:01:32 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DFLE112.ent.ti.com (10.64.6.33) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1261.35 via Frontend Transport; Tue, 17 Apr 2018 05:01:32 -0500 Received: from psplinux063.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id w3HA1SJP023175; Tue, 17 Apr 2018 05:01:30 -0500 From: Sekhar Nori To: Linux ARM Mailing List Subject: [PATCH 1/2] ARM: dts: da850: get rid of skeleton.dtsi Date: Tue, 17 Apr 2018 15:31:26 +0530 Message-ID: <20180417100128.23011-2-nsekhar@ti.com> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180417100128.23011-1-nsekhar@ti.com> References: <20180417100128.23011-1-nsekhar@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180417_030245_308580_36D69CED X-CRM114-Status: GOOD ( 18.93 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Bartosz Golaszewski , David Lechner , Kevin Hilman Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP skeleton.dtsi is deprecated. Drop its usage in da850.dtsi and move the nodes and properties included by it directly to keep the dtb same. The memory node has been changed to get rid of warnings (see below). It contains the memory base address as that is fixed for DA850 SoCs. But the size needs to be added by bootloader or a board specific dts. This gets rid of the following W=1 warnings: arch/arm/boot/dts/da850-enbw-cmc.dtb: Warning (unit_address_vs_reg): /memory: node has a reg or ranges property, but no unit name arch/arm/boot/dts/da850-evm.dtb: Warning (unit_address_vs_reg): /memory: node has a reg or ranges property, but no unit name arch/arm/boot/dts/da850-lego-ev3.dtb: Warning (unit_address_vs_reg): /memory: node has a reg or ranges property, but no unit name Signed-off-by: Sekhar Nori Reviewed-by: David Lechner --- arch/arm/boot/dts/da850.dtsi | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi index 73bf7cd3d229..cba3afd00763 100644 --- a/arch/arm/boot/dts/da850.dtsi +++ b/arch/arm/boot/dts/da850.dtsi @@ -7,10 +7,19 @@ * Free Software Foundation; either version 2 of the License, or (at your * option) any later version. */ -#include "skeleton.dtsi" #include / { + #address-cells = <1>; + #size-cells = <1>; + chosen { }; + aliases { }; + + memory@c0000000 { + device_type = "memory"; + reg = <0xc0000000 0x0>; + }; + arm { #address-cells = <1>; #size-cells = <1>;