From patchwork Fri Dec 15 13:20:57 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 122087 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp464471qgn; Fri, 15 Dec 2017 05:22:05 -0800 (PST) X-Google-Smtp-Source: ACJfBovZgjGjaAY5SwoA31eay0y5vb0zqCJ745UfmpvhzzdpGbZoTlfp2WwTJvvPhkfCXdtt34VH X-Received: by 10.159.231.20 with SMTP id w20mr13760855plq.398.1513344125333; Fri, 15 Dec 2017 05:22:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513344125; cv=none; d=google.com; s=arc-20160816; b=0/7dxV8Cw3NCbjVEolzgYwjcp4rBj7D8p7MBX68cU4pQuO/Sqc2TpfmiClQ0gHNdS0 QytU+sE2SzqHr/Q3SZ99wL1kGLYwD58geCv27eyo0K4JD/ayYIjPaeMdgmxTOcFdI97F K+3uh1gW/LQvD28atkk106sIp1paARdlT7hCjei9hjHnmtiI7obpwSSct9Zr8pgUuP1Y /NgNbmmG672NOx0EHVdImmq7FGUVokBKZ4oCj4WjvYl5t5aFSeMRrfT1YS8hToeD36+T Qw9wUjXTHbohHuS1Ud+3U7cbitXI1SfouHn+P4S9nGll+kN/naB62Z6pOPRHNSFE9TlN wE5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=43OCwz+bmnogffTq1e8/eKlP5iNwy3N4wUSCtMJldaU=; b=SBl+VhkZciZHdaKZoGsz4UZFJf5fOTW8ZgvPfvC+WVz5fvo9YqS+GHlVBUPqSvVqqq RWI7kOEaLwYqmTvkuq4B744/yOoGYSWBlINDGhl5k0c1rWpW2NPYyepetUKUPL0hygBC 5oRKBJFQcDC7EENwStUZpD8+Ij48cNutJoaqfM2YSYZxEFeXdIyjUvEkgTbf3OiGypCl CSNRpVr7DK62lTXhlNNT+K3Tr0/s+4E9NrgUHSef7MtcbTSgpDqpRNiOWcu5+lNukKuI SiIzIyly8F5HM3kBkvAcr+kZpET9Z5vLtF+uM42Nbm5Y9IZzf+4Uz5eAYcJw4D/eg9pv hjSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@ti.com header.s=ti-com-17Q1 header.b=xB7+KPef; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n17si4643752pgc.162.2017.12.15.05.22.05; Fri, 15 Dec 2017 05:22:05 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@ti.com header.s=ti-com-17Q1 header.b=xB7+KPef; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755931AbdLONWE (ORCPT + 6 others); Fri, 15 Dec 2017 08:22:04 -0500 Received: from fllnx210.ext.ti.com ([198.47.19.17]:44575 "EHLO fllnx210.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755913AbdLONWD (ORCPT ); Fri, 15 Dec 2017 08:22:03 -0500 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by fllnx210.ext.ti.com (8.15.1/8.15.1) with ESMTP id vBFDL8pP009500; Fri, 15 Dec 2017 07:21:08 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1513344068; bh=lVTothhhL7REzni/j0/jwwZiyTmDE7qJI7WEB+2dw/I=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=xB7+KPefptwi2+HIbllqSxg878Z64u3saAkc2PJ7fEseZsblXd/+N0h8WWHSJnivT dd0Mwwki3q6O04o68cRjT7g3H99IoW/D9KFjWI464/M9364Vl18mSKuv5Ntu8xC+Am An41AdNJZJJ16X5whHYMeTgAsR0i5JQSW3XR0Zu0= Received: from DFLE101.ent.ti.com (dfle101.ent.ti.com [10.64.6.22]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id vBFDL8cQ009523; Fri, 15 Dec 2017 07:21:08 -0600 Received: from DFLE107.ent.ti.com (10.64.6.28) by DFLE101.ent.ti.com (10.64.6.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.35; Fri, 15 Dec 2017 07:21:08 -0600 Received: from dlep33.itg.ti.com (157.170.170.75) by DFLE107.ent.ti.com (10.64.6.28) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1261.35 via Frontend Transport; Fri, 15 Dec 2017 07:21:08 -0600 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep33.itg.ti.com (8.14.3/8.13.8) with ESMTP id vBFDL84S029768; Fri, 15 Dec 2017 07:21:08 -0600 From: Nishanth Menon To: Russell King , Mark Rutland , Rob Herring , Santosh Shilimkar CC: , , , Nishanth Menon Subject: [PATCH 3/8] ARM: dts: keystone: Get rid of usage of skeleton.dtsi Date: Fri, 15 Dec 2017 07:20:57 -0600 Message-ID: <20171215132102.435-4-nm@ti.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20171215132102.435-1-nm@ti.com> References: <20171215132102.435-1-nm@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org skeleton.dtsi does'nt offer us any real benefits with most of the parameters being overriden. So, just drop the same entirely and introduce appropriate changes for chosen node and memory back to our top level definition. This also squashes the following warnings with W=1: arch/arm/boot/dts/keystone-k2hk-evm.dtb: Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit name arch/arm/boot/dts/keystone-k2l-evm.dtb: Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit name arch/arm/boot/dts/keystone-k2e-evm.dtb: Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit name Reported-by: Rob Herring Signed-off-by: Nishanth Menon --- arch/arm/boot/dts/keystone.dtsi | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) -- 2.14.1 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm/boot/dts/keystone.dtsi b/arch/arm/boot/dts/keystone.dtsi index 0e8d094515cc..01496910587a 100644 --- a/arch/arm/boot/dts/keystone.dtsi +++ b/arch/arm/boot/dts/keystone.dtsi @@ -6,8 +6,6 @@ #include #include -#include "skeleton.dtsi" - / { compatible = "ti,keystone"; model = "Texas Instruments Keystone 2 SoC"; @@ -22,7 +20,10 @@ spi2 = &spi2; }; - memory { + chosen { }; + + memory: memory@80000000 { + device_type = "memory"; reg = <0x00000000 0x80000000 0x00000000 0x40000000>; };