Received: by 2002:a17:90a:88:0:0:0:0 with SMTP id a8csp4558685pja; Thu, 21 Nov 2019 21:50:49 -0800 (PST) X-Google-Smtp-Source: APXvYqwx4felXuHz+EKZNyLQx2fmkj/nwzS3sfUAjFsokKX34TNFUWLc0FrArJnjwSfqy5tOZ1Be X-Received: by 2002:a17:906:69d7:: with SMTP id g23mr19560377ejs.20.1574401849270; Thu, 21 Nov 2019 21:50:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574401849; cv=none; d=google.com; s=arc-20160816; b=LQNS2y+vqBhVgBv9v0Hu+IPQ2rnG0l9HqCCfafGs+TDj7UokrtaWAA7oTReN3zWgU5 5PTXT1E1f9Xki3kuvVyqNJdM6OCska+sBrt2hDGRbU64soDxegoMvckdQZLTpN23oknm YFBOJ7yOuzM7lEGmSPY7WxYGnQ/gXtTg9xw2KECXYvKbK4+BHCDJ05nzurbcKg9wy4no a9pMFF+3gay8zcEdw1OxgdB6yOH4CYvvQWfqxBI5oJoxkkX2/+vv10g+ZMDlR+WF5YWM /opR8AuFU+X3b+eSR3mEtQiwstFkxK+Ja3/eBftygI0PrOf43HNttYO18ZTXGCk+iqZ1 9/vQ== 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=L31SdCkYOspWc09Q99Tjf2+AbRsvbMv2S2/a+5g0BMY=; b=nkCGFLtnxIZXspmCLlvDX04LCjZC84sfJC32wFbTKo9K5TDGXmq01M4SSFc76bMJ8E Ov0yHtDWz97IXJWg73NoTa4Rv0pqgFdA/Mh9lfU5Dtzc1Vsd2yLP+y7TsbN10gOrBFmZ UcqAjl4MrSYG0SUNQE6snCJyhr+Y/UIgFZEDBnmc2xFpyYdfMvOPRskSFfE+x5MYrgvu wQDjkD9Q0dBtwKMaB713txLBhkdXSbgWEOiI1p1xVkm9XWc9skb4E5iHFVv4H5t4M1JT IT/BqJ6bhpSMGmYarpg8V1R8EGZ+Dq8E0bWYTk5dy6Z+dlxSnThGsB/QxxakFd1i27sW tReg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=S6VKzuh9; 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 t19si3334374ejr.411.2019.11.21.21.50.25; Thu, 21 Nov 2019 21:50:49 -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=S6VKzuh9; 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 S1726865AbfKVFtV (ORCPT + 99 others); Fri, 22 Nov 2019 00:49:21 -0500 Received: from mail.kernel.org ([198.145.29.99]:53222 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726760AbfKVFtS (ORCPT ); Fri, 22 Nov 2019 00:49:18 -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 A96552068F; Fri, 22 Nov 2019 05:49:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1574401757; bh=J41T5dDACX6mMdDwcHJ66tJM39TIQDMBCyI3Q1j6VLM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=S6VKzuh92DaiKDQtcRkJu2X2FbGEkX6pjGyjfcmTCB6QtkG1W60JkRhbvEclNGPF+ B1uvZmtRML+Lu6V2Xirv2POMkhx6Wt45s69DTh116+13AFvdU8IfcWLpbzvEs5C5yL S+TSoHAWVHpv9x5iqHsMKmrdGUB5ChPlbq3uCM1Y= 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 011/219] ARM: dts: imx35: Fix memory node duplication Date: Fri, 22 Nov 2019 00:45:43 -0500 Message-Id: <20191122054911.1750-4-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 8721610a6c2b8c42fc57819d8c3bfbb9166f95a3 ] Boards based on imx35 have duplicate memory nodes: - One coming from the board dts file: memory@ - One coming from the imx35.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/imx35-eukrea-cpuimx35.dtsi | 1 + arch/arm/boot/dts/imx35-pdk.dts | 1 + arch/arm/boot/dts/imx35.dtsi | 2 -- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/imx35-eukrea-cpuimx35.dtsi b/arch/arm/boot/dts/imx35-eukrea-cpuimx35.dtsi index ba39d938f2891..5f8a47a9fcd40 100644 --- a/arch/arm/boot/dts/imx35-eukrea-cpuimx35.dtsi +++ b/arch/arm/boot/dts/imx35-eukrea-cpuimx35.dtsi @@ -18,6 +18,7 @@ compatible = "eukrea,cpuimx35", "fsl,imx35"; memory@80000000 { + device_type = "memory"; reg = <0x80000000 0x8000000>; /* 128M */ }; }; diff --git a/arch/arm/boot/dts/imx35-pdk.dts b/arch/arm/boot/dts/imx35-pdk.dts index df613e88fd2c1..ddce0a844758b 100644 --- a/arch/arm/boot/dts/imx35-pdk.dts +++ b/arch/arm/boot/dts/imx35-pdk.dts @@ -11,6 +11,7 @@ compatible = "fsl,imx35-pdk", "fsl,imx35"; memory@80000000 { + device_type = "memory"; reg = <0x80000000 0x8000000>, <0x90000000 0x8000000>; }; diff --git a/arch/arm/boot/dts/imx35.dtsi b/arch/arm/boot/dts/imx35.dtsi index 1c50b785cad47..b36b97b655dda 100644 --- a/arch/arm/boot/dts/imx35.dtsi +++ b/arch/arm/boot/dts/imx35.dtsi @@ -13,10 +13,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