Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp448135ybl; Tue, 7 Jan 2020 23:30:38 -0800 (PST) X-Google-Smtp-Source: APXvYqynMadoZT4QiLSUclL1pRvA6vyGgS7qoA0EgrcIRL1+hI5LM8XpgfebGhqswqMY29w2mc0T X-Received: by 2002:a54:4e96:: with SMTP id c22mr2092335oiy.110.1578468638351; Tue, 07 Jan 2020 23:30:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578468638; cv=none; d=google.com; s=arc-20160816; b=Dp1zvwbtbCx0s/MvD4CZp5SyT0AwISt+EHXjWm653J0tRL30NKHpNKm7f8Gw81EbAR 94daedqyQ18qaZ0+m84kmM/GpFBf0Kh4bUXJJcvSRjg8RivOQVKV/FpnaRA8xupzI1aS 2VToMWhTmN46IAnIsrxF/kU5V1plavqEq63bOC+FWPagmIlJoL/kB+hs+tpCiZa8mqrR 1rSl1QgW/wSlsdg27hAu33k1+A9mVXmyKFOP63QEo4EfH4zYM3NgggFVxIktkn8KLMuY 0NH4EG8YiaR3qvMxR3svqU6xOOJsvdfP4dLGksPfNi7Z9S8YHFUacJwv4MFZBZervwkg oFwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=A3Che4PoTkFiXrtdDioi8EArelyaXL12sc6Dd62l76s=; b=JvGQMz958VXxrAWaPAQbe1z4azPotipA87VRengP2xJ/G8FvyG1MOp4vYsnaF8ZM9R GdpeLXgv/A4BJqbPaOkWXsHPcoqYsSVLBfgMOmb/O5nyRRvv39ixGtbfWGldHbJQMJmc YbAR5p/N8NXF84U0sbEmWmoiBFALY3FoyszFkzEXBturpFbVjLkN3ojCyW0oHTmKy3Ew Idml64vDDWp6/Rtp9RDpoA/+6UUET2JKsR7rmVGYzAoFiPf54xhBe8Hun37donSqDDE9 GKmtpzlbhTVBABwLklPglM+LaPa7Q9vG/rMLm5iu6+dOlyLSlwtFMJ4nhz0MnvZWts2F v+eA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s13si1388495otr.233.2020.01.07.23.30.26; Tue, 07 Jan 2020 23:30:38 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726803AbgAHH3e (ORCPT + 99 others); Wed, 8 Jan 2020 02:29:34 -0500 Received: from inva020.nxp.com ([92.121.34.13]:44368 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725944AbgAHH3d (ORCPT ); Wed, 8 Jan 2020 02:29:33 -0500 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id F2F7F1A03DB; Wed, 8 Jan 2020 08:29:31 +0100 (CET) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 705181A0109; Wed, 8 Jan 2020 08:29:23 +0100 (CET) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id E6568402C1; Wed, 8 Jan 2020 15:29:12 +0800 (SGT) From: Anson Huang To: robh+dt@kernel.org, mark.rutland@arm.com, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, daniel.baluta@nxp.com, leonard.crestez@nxp.com, shengjiu.wang@nxp.com, ping.bai@nxp.com, jun.li@nxp.com, aford173@gmail.com, peng.fan@nxp.com, abel.vesa@nxp.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Linux-imx@nxp.com Subject: [PATCH 2/2] arm64: dts: imx8mn: Memory node should be in board DT Date: Wed, 8 Jan 2020 15:25:29 +0800 Message-Id: <1578468329-9983-2-git-send-email-Anson.Huang@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1578468329-9983-1-git-send-email-Anson.Huang@nxp.com> References: <1578468329-9983-1-git-send-email-Anson.Huang@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Memory address/size depends on board design, so memory node should be in board DT. Signed-off-by: Anson Huang --- arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi | 5 +++++ arch/arm64/boot/dts/freescale/imx8mn.dtsi | 5 ----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi b/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi index 7a92952..0d2ec4a 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi @@ -23,6 +23,11 @@ }; }; + memory@40000000 { + device_type = "memory"; + reg = <0x0 0x40000000 0 0x80000000>; + }; + reg_usdhc2_vmmc: regulator-usdhc2 { compatible = "regulator-fixed"; pinctrl-names = "default"; diff --git a/arch/arm64/boot/dts/freescale/imx8mn.dtsi b/arch/arm64/boot/dts/freescale/imx8mn.dtsi index cce65b9..4014029 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mn.dtsi @@ -139,11 +139,6 @@ }; }; - memory@40000000 { - device_type = "memory"; - reg = <0x0 0x40000000 0 0x80000000>; - }; - osc_32k: clock-osc-32k { compatible = "fixed-clock"; #clock-cells = <0>; -- 2.7.4