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>; From patchwork Wed Apr 18 09:24:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sekhar Nori X-Patchwork-Id: 133606 Delivered-To: patch@linaro.org Received: by 10.46.84.18 with SMTP id i18csp5664310ljb; Wed, 18 Apr 2018 02:25:17 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+Sw5JcMWUUGVR1K5hamSzftXSVz7u9hjJ+kbUScj7lKw4+BARsNEae8eGurUdaxXYP53f9 X-Received: by 2002:a17:902:30a3:: with SMTP id v32-v6mr1374668plb.123.1524043517570; Wed, 18 Apr 2018 02:25:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524043517; cv=none; d=google.com; s=arc-20160816; b=RqnSV4odqOtAMTT7CvtraUI2aa2AD9q4L9fXAqkUdEzpHMCIG6nolxhy/1n0XrRZSw wfBACquLi56cUSYS1SwIAjd4wX6Lth6dW2cdZHWfIr0nEVdIY2Dt0xVegS+c84m2cXsx IDh4rQMbWtTC/V25XyDdFkvEuMvizNYWVhBgY85LlB1mIhenabWenj8YATC7OIGuC+7N xNKqP8DnHQy8teKS0JUbOwjZvVc/thG76Nzn4ScogkoZ9204r2kvwEkiIQwuvytPnqFm tTww/U0ZZffdJlTxGEQtQBxvu4/4KyY213APQYxIrP5PbACJEvhtQYnm3tL+VeDTgZTt DP8A== 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=nNJMCnRdyMLnBNGeLJgFEyzbTiWbmn8sDIl+EHOXJ5I=; b=0OW9lVNBDpVBJXb5suYEWjhuG4yXSFBybIJMv3ydc9vPjuwMRUpkKnPt9dw0Jy2XZh bxI8vmES/7xhn58Cp6VUTd35lQR1UzOAxpfSIOVH2E7Om6YZPBjeCOobJq5H/eHViBhV CKVRu9r1omR8rsh/bs5EagMTVaZVo0PPe0tG/dDTgsw5TX4ktjuGth85Zf87cnnI+cFl vKucSI7xXg7VaT8NQdu4T06SzYnz+QP0ILBHInyGkBv+WZlzcugoRQytTQO9eTtRz39D ZPOqnzWn0HxCoHt/gqsgWta+TCsXTJ6ctFnCa7WxVMdSi911nU2lBCivjrGFLfBtvhO5 4FRA== 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=PItL+6sf; 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.17; Wed, 18 Apr 2018 02:25:17 -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=PItL+6sf; 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 S1752849AbeDRJZQ (ORCPT + 6 others); Wed, 18 Apr 2018 05:25:16 -0400 Received: from fllnx209.ext.ti.com ([198.47.19.16]:11135 "EHLO fllnx209.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751870AbeDRJZQ (ORCPT ); Wed, 18 Apr 2018 05:25:16 -0400 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by fllnx209.ext.ti.com (8.15.1/8.15.1) with ESMTP id w3I9OH19000936; Wed, 18 Apr 2018 04:24:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1524043457; bh=xJRwZCPqTCCWX+p3Ez4i/FWqLugk/L2zGHyIb7Vwg0w=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=PItL+6sfZKiqO5iOnOMv8PySBOcNfrJNJQSbia+kGszqv6rhokcXbT619XJFtCjUA 44eCy2jP6w7YrdyUgFmdq1Bkj+YJw9z6ObubbPnEHbiIq5r8WwCiPsSEaduV8UnGjV ilXnfm+oC54iB5OWUKjGru8v5ccfbf0IPFTt9Apw= Received: from DLEE109.ent.ti.com (dlee109.ent.ti.com [157.170.170.41]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id w3I9OHix006905; Wed, 18 Apr 2018 04:24:17 -0500 Received: from DLEE109.ent.ti.com (157.170.170.41) 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:15 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DLEE109.ent.ti.com (157.170.170.41) 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:15 -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 w3I9O8VQ023048; Wed, 18 Apr 2018 04:24:13 -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 2/2] ARM: dts: da850-lcdk: add unit name for memory node Date: Wed, 18 Apr 2018 14:54:08 +0530 Message-ID: <20180418092408.2077-3-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 Add unit name for memory node to squash the W=1 warning: arch/arm/boot/dts/da850-lcdk.dtb: Warning (unit_address_vs_reg): /memory: node has a reg or ranges property, but no unit name While at it, drop the device_type property from memory node since its provided by da850.dtsi already. Signed-off-by: Sekhar Nori --- v2: drop device_type property. Add a comment on size of SDRAM. arch/arm/boot/dts/da850-lcdk.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 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 Reviewed-by: David Lechner diff --git a/arch/arm/boot/dts/da850-lcdk.dts b/arch/arm/boot/dts/da850-lcdk.dts index a1f4d6d5a569..0edf769ea95c 100644 --- a/arch/arm/boot/dts/da850-lcdk.dts +++ b/arch/arm/boot/dts/da850-lcdk.dts @@ -21,8 +21,8 @@ stdout-path = "serial2:115200n8"; }; - memory { - device_type = "memory"; + memory@c0000000 { + /* 128 MB DDR2 SDRAM @ 0xc0000000 */ reg = <0xc0000000 0x08000000>; };