From patchwork Tue Aug 30 20:52:49 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joachim Eastwood X-Patchwork-Id: 9306023 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 D091D607F0 for ; Tue, 30 Aug 2016 20:55:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C17F628D23 for ; Tue, 30 Aug 2016 20:55:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B4A7928D2D; Tue, 30 Aug 2016 20:55:29 +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=-4.1 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 23A0B28D23 for ; Tue, 30 Aug 2016 20:55:28 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1beq2S-0001Zt-BM; Tue, 30 Aug 2016 20:53:44 +0000 Received: from mail-lf0-x241.google.com ([2a00:1450:4010:c07::241]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1beq2N-0001YA-H6 for linux-arm-kernel@lists.infradead.org; Tue, 30 Aug 2016 20:53:40 +0000 Received: by mail-lf0-x241.google.com with SMTP id e7so230389lfe.2 for ; Tue, 30 Aug 2016 13:53:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=9rAkdpa233GLpzLvJ3zb3j3c/O+ibjF7KE5Z82KHcw4=; b=RjMV6puWzclwCsxFaazEzwgtlDyf6sjccHQVhYT6SJlCzTSAEqtx49EAvAI0L/O6j7 Q6CMrkup2GPIh9bv2tdaAC7513fuoHrQbCxW1U5IaQu+snjazqV1l7mHqB3TQnGFW/rP mOumlRo6H6WnJ6sB/uaMOvD6Q9Db2VFoKMA86yJT0aqsoNYEewRCK2VHGktuK+DfcNe/ N29wJykoKusfr2/zFU64tW0VYWTWCbh2fqsf2QrQkKbddwTMXiTu55PsnX6vYYGrHkOL TL49ZHjhSF5mJcP8YUiPzGIs4EC3tnqb2yRB4cWSPv6LpHWF++xG01bjfsVvf38/LE2k nSrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=9rAkdpa233GLpzLvJ3zb3j3c/O+ibjF7KE5Z82KHcw4=; b=nDLw1fdXkuIRTUvJDyNU/Yku/IOuIk0exzTSM5591YTbmx8Ln0lUXMNkssj/nGmUzD 0EkMJRwsaBibe6L1uKxXvR6O6BGCnJi5cmnLvvhJO4x7eRQ/xPce814k7MHYZrmBHnoa O8xzPWouw/5xw3fcI5/TX7UjKVG5mGEJnN80gyKFliU1JFRbH98XKLHbcYNxNEO/HgGY enhVzZ5pxC+GVpYJXwza5Ton993fJeAVXYJcL1P3nfwb7nK0ogIAesFKBRlRas2rQ9pr H20KvIJG9t3kVIBP+344zZB0G/xvNM38cTeTW4dM/ayaOaiTItE3Qy0/vaAYgq+iuAbf DWmg== X-Gm-Message-State: AE9vXwNi4biC6VfZyEdj7pDYzgqIdj3VuFtkiK7RfwfnDclgvUfMMbqaiqkJfzcxbz3JAQ== X-Received: by 10.25.125.4 with SMTP id y4mr1721304lfc.75.1472590397735; Tue, 30 Aug 2016 13:53:17 -0700 (PDT) Received: from archthink.lan ([89.11.254.244]) by smtp.gmail.com with ESMTPSA id 83sm7842926ljj.14.2016.08.30.13.53.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 30 Aug 2016 13:53:17 -0700 (PDT) From: Joachim Eastwood To: manabian@gmail.com Subject: [PATCH 2/3] ARM: dts: lpc18xx: remove skeleton.dtsi include and fix unit address warnings Date: Tue, 30 Aug 2016 22:52:49 +0200 Message-Id: <20160830205250.15616-3-manabian@gmail.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20160830205250.15616-1-manabian@gmail.com> References: <20160830205250.15616-1-manabian@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160830_135339_839412_2A085369 X-CRM114-Status: GOOD ( 11.93 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: robh+dt@kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 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 Removale of skeleton.dtsi allows us also to fix the following warning from the dts compiler: Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit name by adding proper unit addresses to the memory nodes. Signed-off-by: Joachim Eastwood --- arch/arm/boot/dts/lpc18xx.dtsi | 4 +++- arch/arm/boot/dts/lpc4337-ciaa.dts | 2 +- arch/arm/boot/dts/lpc4350-hitex-eval.dts | 2 +- arch/arm/boot/dts/lpc4357-ea4357-devkit.dts | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/lpc18xx.dtsi b/arch/arm/boot/dts/lpc18xx.dtsi index a1ecfe3..860ffa8 100644 --- a/arch/arm/boot/dts/lpc18xx.dtsi +++ b/arch/arm/boot/dts/lpc18xx.dtsi @@ -11,7 +11,6 @@ * */ -#include "skeleton.dtsi" #include "armv7-m.dtsi" #include "dt-bindings/clock/lpc18xx-cgu.h" @@ -21,6 +20,9 @@ #define LPC_GPIO(port, pin) (port * 32 + pin) / { + #address-cells = <1>; + #size-cells = <1>; + cpus { #address-cells = <1>; #size-cells = <0>; diff --git a/arch/arm/boot/dts/lpc4337-ciaa.dts b/arch/arm/boot/dts/lpc4337-ciaa.dts index 5cfadb0..7c16d63 100644 --- a/arch/arm/boot/dts/lpc4337-ciaa.dts +++ b/arch/arm/boot/dts/lpc4337-ciaa.dts @@ -30,7 +30,7 @@ stdout-path = &uart2; }; - memory { + memory@28000000 { device_type = "memory"; reg = <0x28000000 0x0800000>; /* 8 MB */ }; diff --git a/arch/arm/boot/dts/lpc4350-hitex-eval.dts b/arch/arm/boot/dts/lpc4350-hitex-eval.dts index d37779e..bc89702 100644 --- a/arch/arm/boot/dts/lpc4350-hitex-eval.dts +++ b/arch/arm/boot/dts/lpc4350-hitex-eval.dts @@ -34,7 +34,7 @@ stdout-path = &uart0; }; - memory { + memory@28000000 { device_type = "memory"; reg = <0x28000000 0x800000>; /* 8 MB */ }; diff --git a/arch/arm/boot/dts/lpc4357-ea4357-devkit.dts b/arch/arm/boot/dts/lpc4357-ea4357-devkit.dts index 37bbcb6..5ca5eb5 100644 --- a/arch/arm/boot/dts/lpc4357-ea4357-devkit.dts +++ b/arch/arm/boot/dts/lpc4357-ea4357-devkit.dts @@ -35,7 +35,7 @@ stdout-path = &uart0; }; - memory { + memory@28000000 { device_type = "memory"; reg = <0x28000000 0x2000000>; /* 32 MB */ };