Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1927821ybl; Tue, 3 Dec 2019 15:09:23 -0800 (PST) X-Google-Smtp-Source: APXvYqzvBjxbK8UgEQefrFejA7svWVfwDIOOCMtMqnt+p6glveM7TaEsRCQLSRoCZZz8b2aYvjBs X-Received: by 2002:a05:6830:18e6:: with SMTP id d6mr309559otf.170.1575414563545; Tue, 03 Dec 2019 15:09:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575414563; cv=none; d=google.com; s=arc-20160816; b=sTCImdcKsEbZVAgfTN9piLy5SQQsJSq1hHERg0ZZrHG4Wpe6kDTh1bKlGtN0t2vT8W QgjGWhg1arIhFg8sh/cvkKVZjYxW0dXDEQKsq7RTJNPGjZwVjDVkVWd065PEtkxAxu/K bOoIQYIJrKAxQHzHhQYT9/ZxTgEyaeAU/1B2ZIkQ+9Cmtpm4yjeZl/LupIrTULisbujx HrOtTeJiNCnQgvCXL9dEtDCZp9cKwMT6dD6h4H/DV7BeBpFG8nAbbro00+p1n9V9twKb Hk7XLCNZWoXqbogmAphDdis5DZ84CgokpHoRaA4JJL6uHz6XJbV02iiCkmrxORZAUUo0 wMjQ== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=L31SdCkYOspWc09Q99Tjf2+AbRsvbMv2S2/a+5g0BMY=; b=lp0B6ynpUlWrXfeuIWXNJHYz5+VHQjgdgfwqp/V2fn5NHe7CvpfQdZhEox9pa/4yOa g7u10+yAGPGxyNzvZE51lbV3Nff4NWroZW6sOqqCSVK9z4HyIFMwhG+yI93J0AS0n713 +U2NfTxeX02D6j+9rIHSTCGQK1CodgFuoQzL9hSDtg0s4Ud9iACWuX6grXHJpXm0skh7 v5zEob1z22zJsTdnG2HIl38Yp9MV0N+N0ZtIbnDtXqiQyMqFV5nAG1zJJxUEe1yE/HJf GBDMsyfOFla/NO9liLZTsJHGE+o/Xp7dmUPfiU1+ZendcQJDpJxuWHmzYzUJzV5mnENv VckQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=xQZ+Ar8Y; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z67si2217280oiz.155.2019.12.03.15.09.10; Tue, 03 Dec 2019 15:09:23 -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=xQZ+Ar8Y; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729370AbfLCXHR (ORCPT + 99 others); Tue, 3 Dec 2019 18:07:17 -0500 Received: from mail.kernel.org ([198.145.29.99]:37732 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727912AbfLCWra (ORCPT ); Tue, 3 Dec 2019 17:47:30 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 93E9D2084B; Tue, 3 Dec 2019 22:47:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1575413250; bh=J41T5dDACX6mMdDwcHJ66tJM39TIQDMBCyI3Q1j6VLM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=xQZ+Ar8Y2tJQrZ6c6UITF6PJScOgRpUfqkf903DYkxGtcxM/Ay18GaFzyopAYV2/O 6rvH0zaAwNWC61mT6OB3ybAvIOcVqvctXUQKZd1/KQDscuifshh1EE7n2+TEApkH0e mLZ8i0GxDFbtBdCoE4316X+Z68qdXyBjcFYfvSCw= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Rob Herring , Fabio Estevam , Shawn Guo , Sasha Levin Subject: [PATCH 4.19 057/321] ARM: dts: imx35: Fix memory node duplication Date: Tue, 3 Dec 2019 23:32:03 +0100 Message-Id: <20191203223430.137957855@linuxfoundation.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191203223427.103571230@linuxfoundation.org> References: <20191203223427.103571230@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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