From patchwork Sat Dec 16 20:40:35 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 122164 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp1062310qgn; Sat, 16 Dec 2017 12:41:42 -0800 (PST) X-Google-Smtp-Source: ACJfBovycSei6yRTcJ9HwXQjh4yK0CtACMV0+I2gPA0MZ5PtbY3a3KiR1TTCPSkxH2PSAzudW/ry X-Received: by 10.84.129.7 with SMTP id 7mr2025591plb.104.1513456902665; Sat, 16 Dec 2017 12:41:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513456902; cv=none; d=google.com; s=arc-20160816; b=hH1Ard3qd2nALb6LwHu0YEKUSHuIOmUhUz5TGwxRQZhli4mXToqkCUSuBs1eSYx+GS D746AMRk0DtpuHUeNAyqZtUh2z2Qpf3S1irmy0yKY0nOQ0UXwA+/Toy2hIOFo9fJQoT0 NfyS8CymArC5R+zmSBUfOfH1PiQ5Erh4jp3QM3O4gt9FOa23OW7FoYuNGas9HNG9SNrk UC/AXl1+RmQW3dEJGz+VF0Q2hCZ/CBDHG6EC2YMt6GEn70cRzBryolUt/RlMxVTwMww1 pW+ZiBNOBRQh3TuDuje8xnrXRNisZ3UVhbmQeijLJDGPuidJjMCYYhEJhsNNVGIZ13DU QJ7w== 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=ttfu0xkusvlkja5zw+CrUyB8sBjjHAZPJ8+SXysbkQ0=; b=0JGYPMCmU8FdysELpqs3jqR/UWNvgQhLiOEa3MLyN3QeO8oj2AuHPA3+VSFbnjeVx/ PWZ1QRGQood09SrxLMJ5cMBNgA0MYonMwXkopD035zdt5YK3H/4jra30+ss1aMhvPjWF fHCgIR0aLM/K/VqSirSh254lTOc7P1kRd7kv2e7V4bY6aaRqv95OA7WKWXwz5ZDXlP6x lEuBo3/J97Fw5Pogw0QYRqdJs6M/Ws9w/FD3GgXk8e8YrH1OFu7gPxxYlgv2n0h0ZiOW 0e84rq5e59GDWwXUmNeozXva4LNWDo8Mc64PDALQCa35k2P4n7g4PHVhmj9eOQVEemIf 14cw== 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=TqMN63wW; 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 d3si6834780pll.329.2017.12.16.12.41.42; Sat, 16 Dec 2017 12:41:42 -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=TqMN63wW; 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 S1757142AbdLPUll (ORCPT + 6 others); Sat, 16 Dec 2017 15:41:41 -0500 Received: from lelnx194.ext.ti.com ([198.47.27.80]:44002 "EHLO lelnx194.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756882AbdLPUlk (ORCPT ); Sat, 16 Dec 2017 15:41:40 -0500 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by lelnx194.ext.ti.com (8.15.1/8.15.1) with ESMTP id vBGKegfM024192; Sat, 16 Dec 2017 14:40:42 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1513456842; bh=DojjZHL/VlWW9sH9wT1Nax5BXmKEBu5OT7zgKLw+5LI=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=TqMN63wWMYBsSg3kkCnTieBJ8vkJ2LzaSfX87YjH5szcjKJ0rzko2zN4VG5sGLXrY G7pnyW1xv+xthcbb/IX2PCnZvIn/Cwr+cb41zRSGYrCdgfKxGiLdumWi2e22SGCQHF DwcQ95VIQHlj0WJOBjfnNRD6DSxtuuUuMHkzbM1M= Received: from DFLE109.ent.ti.com (dfle109.ent.ti.com [10.64.6.30]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id vBGKegGI016191; Sat, 16 Dec 2017 14:40:42 -0600 Received: from DFLE103.ent.ti.com (10.64.6.24) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1261.35; Sat, 16 Dec 2017 14:40:42 -0600 Received: from dlep33.itg.ti.com (157.170.170.75) by DFLE103.ent.ti.com (10.64.6.24) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1261.35 via Frontend Transport; Sat, 16 Dec 2017 14:40:42 -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 vBGKeguT013340; Sat, 16 Dec 2017 14:40:42 -0600 From: Nishanth Menon To: Russell King , Mark Rutland , Rob Herring , Santosh Shilimkar CC: , , , , Nishanth Menon Subject: [PATCH V2 3/8] ARM: dts: keystone: Get rid of usage of skeleton.dtsi Date: Sat, 16 Dec 2017 14:40:35 -0600 Message-ID: <20171216204040.18017-4-nm@ti.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20171216204040.18017-1-nm@ti.com> References: <20171215132102.435-1-nm@ti.com> <20171216204040.18017-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 doesn't offer us any real benefits with most of the parameters being overridden. 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 --- Changes since v1: Typo fixes in commit message v1: https://patchwork.kernel.org/patch/10115097/ 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>; };