From patchwork Wed Apr 18 09:24:07 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sekhar Nori X-Patchwork-Id: 133605 Delivered-To: patch@linaro.org Received: by 10.46.84.18 with SMTP id i18csp5664287ljb; Wed, 18 Apr 2018 02:25:14 -0700 (PDT) X-Google-Smtp-Source: AIpwx49aE69dCWs9HzCH0ILKLkZzDlulGc/EeGoYnbSVurVK0FKguZZEJnQwZga8dEVrAjdKS0sY X-Received: by 2002:a17:902:9042:: with SMTP id w2-v6mr1372614plz.34.1524043514863; Wed, 18 Apr 2018 02:25:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524043514; cv=none; d=google.com; s=arc-20160816; b=HiyPiq40O46LZE/yXcIQPEeUrJxUjXo1giSSyjqsZiutlrO3A3FLYOZ40TvQWtkAZo j1XWw5qbVqbremjUgJH4wThI68snW1nV4aP1LxVZRoEGaUHSf0IqjSeBXYVTKI4xSW0W GsEolsdl6I5MvxCr5Dk331iAvh7uGJ+TK16oymzABPl/xwaFSh2xBhUotrKJ4gmZeRpN n5NgWImcXf/l1DBOa1zFVpZ9ApZtGnIOlMJAH4lHKtCnGnE3ntDQE98tcswVANIIL3+P lt972xMlTi+EGe5JIZLEhejT5Mnfe5U+GUoI2BhqV1w6BTyXhANh4cXXgKb3jPi4LepF rcgw== 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=XUyzoHTXChhTsqNauQjUx6hdT0L5DRMfTamZnmizVto=; b=V8/7A9i3VRilnPYI79VjvuAcvjW/uv1dL1kbS6m0UPTKSUnIZRuyQQXmAgvzrKK3OW wK787cR+itfRTS7XXT13jzPBcjDWHNKwI1cknpd1NyJuwGxh1Bb6QS2CPEdAMazwAV5f RNWqdo5qVEKD5OPmpo8rOraLDiNDRtnVG29xiVpC1GXuDoRn3SvqTsuHbL5SjpzbGJgI PL1jyWaMrzLK9+ZXTC0b6Lv/WV0z5ePYlN1lLzRRhrbG6QCviIXE89Jzluxwj3ibRt5C ru18D684jV9l5/BY62+Uapk9k6MnncYRUTesEiR7aJLIM+fTI5B5W3MTpqRtxfN0xhtE seRw== 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=KVdyfubL; 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 q12-v6si855270plk.559.2018.04.18.02.25.14; Wed, 18 Apr 2018 02:25:14 -0700 (PDT) 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=KVdyfubL; 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 S1752776AbeDRJZN (ORCPT + 6 others); Wed, 18 Apr 2018 05:25:13 -0400 Received: from lelnx194.ext.ti.com ([198.47.27.80]:60078 "EHLO lelnx194.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752308AbeDRJZN (ORCPT ); Wed, 18 Apr 2018 05:25:13 -0400 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by lelnx194.ext.ti.com (8.15.1/8.15.1) with ESMTP id w3I9OD4x008699; Wed, 18 Apr 2018 04:24:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1524043453; bh=+DRRZz7c1jzd1446DFGiqtRJtVRrMWeQXDSE8NP1bio=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=KVdyfubLX9THmyJmn/Qe7LsSafYbELghYtuQelqo8PS1+fcrOEucK0vVLIqJj8ZVi IxkREI1h06fwUqFODnNwRYlr47KlHSt2ISDOonLk1MG2EBRK8fmri1AAUpUUHRa2Z6 AvZvsAQadXeemXbBn2sE7Err9/S2aDSUmQ9vtkiQ= Received: from DLEE109.ent.ti.com (dlee109.ent.ti.com [157.170.170.41]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id w3I9OD7B022120; Wed, 18 Apr 2018 04:24:13 -0500 Received: from DLEE112.ent.ti.com (157.170.170.23) by DLEE109.ent.ti.com (157.170.170.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.35; Wed, 18 Apr 2018 04:24:13 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DLEE112.ent.ti.com (157.170.170.23) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1261.35 via Frontend Transport; Wed, 18 Apr 2018 04:24:13 -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 w3I9O8VP023048; Wed, 18 Apr 2018 04:24:11 -0500 From: Sekhar Nori To: Linux ARM Mailing List CC: David Lechner , Kevin Hilman , Bartosz Golaszewski , Device Tree Mailing List , Sekhar Nori Subject: [PATCH v2 1/2] ARM: dts: da850: get rid of skeleton.dtsi Date: Wed, 18 Apr 2018 14:54:07 +0530 Message-ID: <20180418092408.2077-2-nsekhar@ti.com> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180418092408.2077-1-nsekhar@ti.com> References: <20180418092408.2077-1-nsekhar@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 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 Reviewed-by: David Lechner Signed-off-by: Sekhar Nori --- v2: No change, add David's Reviewed-by. arch/arm/boot/dts/da850.dtsi | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) -- 2.16.2 -- 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/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>;