Received: by 2002:a17:90a:88:0:0:0:0 with SMTP id a8csp4597475pja; Thu, 21 Nov 2019 22:33:36 -0800 (PST) X-Google-Smtp-Source: APXvYqw//4lGuzZ1yafHz9ldjNYYjBQr2MIimH5uQA3XSUOVQtSP70p5yKyJFiP8qRC0d+noOKXT X-Received: by 2002:a17:906:524f:: with SMTP id y15mr12240338ejm.3.1574404416535; Thu, 21 Nov 2019 22:33:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574404416; cv=none; d=google.com; s=arc-20160816; b=KsyyLc89TRFwLFj47oVZlfQoiEwA9mxM7pLvwpPet6Hw8pyAXX6QzBjdAnLCcoJHon 3tX2JgaCv8DGlsYruMBTUB69owMyzdJ4u+WeWHob2/dH/rjjgCXZXKGeotseBqrCM+Wz tqdkLoTSIqmg4i68h6yXhQG45ccq3rm3xulS1pj46byqa1TrA6VkUXqwAI8tbxUlH9pu dzLBbnRAkpDlf+aMgjbVMpUstTXMngCi/yKw33z9MCfNPQLX0XqzKOKN9cvsliWK/oJ5 cMlQbqXS2l9GlsunQdGCDIcHmntwJdE43r+gt+XtxByDG9yytomGxXpaxjS3Yzk/TbO2 eE/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=WmBi+6M5px7E893vjcMDy4zLUgSU/9fyhNMiQ1HdCNU=; b=ettm4SjaeeC9l8iO081XPhyjISqFd2PnRkt+E3d/krP+Pp68TsoTkATeRazBAQt42/ bYOoGpEa5GaExCyXSWrPVEWxFJlrPZxgvak0/UDKYZ+CDil0HVQUdFQR9LSyvcBK6f+4 CYMuS1WcZBbCFSgbHnlJtcQfVirZazkOhWXgu6o/0RjssOcVbclXzMNRM0ivUnrBQ0s0 uuIyVbUEzqe8+5judaEPLm0KgcaP+3grRldgZc17MxWo5S0zbx79BBpAWL0kIU/Cutfe gTGXEqG8SI8W7B9JXwy5CEVkPTdzSEMdnvSGwBD+nW5NBi18lZydDtNfrtCiTiCVA1CI EvHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=AAC2D9Kw; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id me16si3471940ejb.158.2019.11.21.22.33.12; Thu, 21 Nov 2019 22:33:36 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=AAC2D9Kw; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729276AbfKVGao (ORCPT + 99 others); Fri, 22 Nov 2019 01:30:44 -0500 Received: from mail.kernel.org ([198.145.29.99]:53638 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727040AbfKVFta (ORCPT ); Fri, 22 Nov 2019 00:49:30 -0500 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 687A520708; Fri, 22 Nov 2019 05:49:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1574401770; bh=qQ7ADBan6Cki+gjs7P4HZzdhbGN9+BaZSrq2OioHsOM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=AAC2D9KwWCUTGj1dyd9bAjUSGwj5FPq7o5XeZxMCdogUJBsVfKXnpuHyO850RMexI 9e10g1sCRTiMzwZmeMxvm8t5wsYaBG9/TBtCycVmM+lut1z78Xq0569ptBST9sc6Gk uyFJ+kFWJLylDm2ztTlO6CY5lImsk0amJMWt+JnA= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Fabio Estevam , Rob Herring , Shawn Guo , Sasha Levin , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH AUTOSEL 4.19 020/219] ARM: dts: imx25: Fix memory node duplication Date: Fri, 22 Nov 2019 00:45:52 -0500 Message-Id: <20191122054911.1750-13-sashal@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191122054911.1750-1-sashal@kernel.org> References: <20191122054911.1750-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Fabio Estevam [ Upstream commit 59d8bb363f563e4a147a291037bf979cb8ff9a59 ] Boards based on imx25 have duplicate memory nodes: - One coming from the board dts file: memory@ - One coming from the imx25.dtsi file. Fix the duplication by removing the memory node from the dtsi file and by adding 'device_type = "memory";' in the board dts. Reported-by: Rob Herring Signed-off-by: Fabio Estevam Signed-off-by: Shawn Guo Signed-off-by: Sasha Levin --- arch/arm/boot/dts/imx25-eukrea-cpuimx25.dtsi | 1 + arch/arm/boot/dts/imx25-karo-tx25.dts | 1 + arch/arm/boot/dts/imx25-pdk.dts | 1 + arch/arm/boot/dts/imx25.dtsi | 2 -- 4 files changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/imx25-eukrea-cpuimx25.dtsi b/arch/arm/boot/dts/imx25-eukrea-cpuimx25.dtsi index e316fe08837a3..e4d7da267532d 100644 --- a/arch/arm/boot/dts/imx25-eukrea-cpuimx25.dtsi +++ b/arch/arm/boot/dts/imx25-eukrea-cpuimx25.dtsi @@ -18,6 +18,7 @@ compatible = "eukrea,cpuimx25", "fsl,imx25"; memory@80000000 { + device_type = "memory"; reg = <0x80000000 0x4000000>; /* 64M */ }; }; diff --git a/arch/arm/boot/dts/imx25-karo-tx25.dts b/arch/arm/boot/dts/imx25-karo-tx25.dts index 5cb6967866c0a..f37e9a75a3ca7 100644 --- a/arch/arm/boot/dts/imx25-karo-tx25.dts +++ b/arch/arm/boot/dts/imx25-karo-tx25.dts @@ -37,6 +37,7 @@ }; memory@80000000 { + device_type = "memory"; reg = <0x80000000 0x02000000 0x90000000 0x02000000>; }; }; diff --git a/arch/arm/boot/dts/imx25-pdk.dts b/arch/arm/boot/dts/imx25-pdk.dts index a5626b46ac4e1..f8544a9e46330 100644 --- a/arch/arm/boot/dts/imx25-pdk.dts +++ b/arch/arm/boot/dts/imx25-pdk.dts @@ -12,6 +12,7 @@ compatible = "fsl,imx25-pdk", "fsl,imx25"; memory@80000000 { + device_type = "memory"; reg = <0x80000000 0x4000000>; }; diff --git a/arch/arm/boot/dts/imx25.dtsi b/arch/arm/boot/dts/imx25.dtsi index 85c15ee632727..8c8ad80de4614 100644 --- a/arch/arm/boot/dts/imx25.dtsi +++ b/arch/arm/boot/dts/imx25.dtsi @@ -12,10 +12,8 @@ * The decompressor and also some bootloaders rely on a * pre-existing /chosen node to be available to insert the * command line and merge other ATAGS info. - * Also for U-Boot there must be a pre-existing /memory node. */ chosen {}; - memory { device_type = "memory"; }; aliases { ethernet0 = &fec; -- 2.20.1