Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp7575166ybi; Tue, 9 Jul 2019 00:37:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqz0I5fTsWSE1L+lN7lEnJJfEKGpETYqvHyYuXw0HK9LGyqaDGI3JtU+U5YZHmvaNTiDQhC/ X-Received: by 2002:a63:f50d:: with SMTP id w13mr28761827pgh.411.1562657876178; Tue, 09 Jul 2019 00:37:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562657876; cv=none; d=google.com; s=arc-20160816; b=beD+x2TQvMzjeEDjxfuI2FwrnewBb3rsmizJZZnX8cOryVJMgIA4jsoCAOxBptxaRB aEGPsFSVlTmGGCt0RBn4JqBA31Z0oYGCUeXlAzUljdbKknAwUMZ/Wq9g4wI+RkRlMmVe 0HHyzwLvssJi/nN9qc53hbKDARuuV0EsGlBoGojmNg+U3wAxmRyK3usfkejFaneKT3YO cBo8uTEp67q/yqikVrt91tjyBi5lL+pkv6XBFtLbqZmBMtp4tF9yIje1AEbc+GcHMIk9 ZdkFkeLCQcqnv2VY4MmTUUgsyk/4XpL1pZiT9XAk1yD9ot0twX3a8Y0fIItuOArvwqIJ 3ekg== 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:dkim-signature; bh=YXYspV3UvBheccQxqbFoj9Kr5ziI4oE04qRYVLXDs/0=; b=OHaNGmQwjrAuUy0aAIe23GBH46iw8OjsJMpRvnWuJvaxbFWoptDhVrrZy/4jaK1+a1 SFdkVVkHcYuOUsJRn3H6VteDiUFxIWDDIOHoLp5bvPv/b1yBkis/sJJkW5kA4lJLfLqu D09YkB0FH5iD01uRZJ9zC/uApXhreNDqw6yWw5IUJAzJjoP3ogIbWNVT+TGqctGfVQoF BJwK17tBMNqF4R7T9HYgGDDVWEbUieukIQryGWp6SjRCylWj0bZXkplHwOsYcDEqD7hJ /6hoNcFSh8UIG98NPJ518aj2muVVgXHIXESud4pnoLoKIYMxZKc9WkkmyoxiXFjhKlxP i/Jg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@phytec.de header.s=a1 header.b=Bk59+xg0; 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 d2si21069146pgo.463.2019.07.09.00.37.41; Tue, 09 Jul 2019 00:37:56 -0700 (PDT) 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=fail header.i=@phytec.de header.s=a1 header.b=Bk59+xg0; 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 S1727004AbfGIHfR (ORCPT + 99 others); Tue, 9 Jul 2019 03:35:17 -0400 Received: from mickerik.phytec.de ([195.145.39.210]:61846 "EHLO mickerik.phytec.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726251AbfGIHeq (ORCPT ); Tue, 9 Jul 2019 03:34:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; d=phytec.de; s=a1; c=relaxed/simple; q=dns/txt; i=@phytec.de; t=1562656769; x=1565248769; h=From:Sender:Reply-To:Subject:Date:Message-Id:To:Cc:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=z/Ce/mLF65vxqmXovjOXbBz9hT5T4pHaAptHuYI5I90=; b=Bk59+xg0GUKvuP9xK1qEx1MPp1VeUT6dI/VlX+NYBGGM0x0Y9L2RF5S76F4xQecB 4V/I256BmfEZt7QKDfbNqVT7QkS8GCMn8kMKy7nCwU1gRfllgdlE39MGHvYg30Ir DAVyvQbj10T93RBSGb3RZ70VSjqjoHS5pZ3Wh4EhjLY=; X-AuditID: c39127d2-17dff70000001aee-05-5d244001f440 Received: from idefix.phytec.de (idefix.phytec.de [172.16.0.10]) by mickerik.phytec.de (PHYTEC Mail Gateway) with SMTP id 9B.B0.06894.100442D5; Tue, 9 Jul 2019 09:19:29 +0200 (CEST) Received: from augenblix2.phytec.de ([172.16.21.122]) by idefix.phytec.de (IBM Domino Release 9.0.1FP7) with ESMTP id 2019070909192876-309709 ; Tue, 9 Jul 2019 09:19:28 +0200 From: Stefan Riedmueller To: shawnguo@kernel.org, s.hauer@pengutronix.de, robh+dt@kernel.org, mark.rutland@arm.com Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, martyn.welch@collabora.com, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com Subject: [PATCH 06/10] ARM: dts: imx6ul: segin: Only enable NAND if it is populated Date: Tue, 9 Jul 2019 09:19:23 +0200 Message-Id: <1562656767-273566-7-git-send-email-s.riedmueller@phytec.de> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1562656767-273566-1-git-send-email-s.riedmueller@phytec.de> References: <1562656767-273566-1-git-send-email-s.riedmueller@phytec.de> X-MIMETrack: Itemize by SMTP Server on Idefix/Phytec(Release 9.0.1FP7|August 17, 2016) at 09.07.2019 09:19:28, Serialize by Router on Idefix/Phytec(Release 9.0.1FP7|August 17, 2016) at 09.07.2019 09:19:29, Serialize complete at 09.07.2019 09:19:29 X-TNEFEvaluated: 1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrPLMWRmVeSWpSXmKPExsWyRoCBS5fRQSXW4PJBTov5R86xWjy86m+x aupOFotNj6+xWnT9WslscXnXHDaLpdcvMlk8uNjFYtG69wi7xd/tm1gsXmwRd+D2WDNvDaPH jrtLGD12zrrL7rFpVSebx+Yl9R4b3+1g8uj/a+DxeZNcAEcUl01Kak5mWWqRvl0CV8bEmauY C9ZxVRzZvZW5gfElRxcjB4eEgInEth1cXYxcHEICOxglXl2ZwAzhXGCUuNO7EMjh5GATMJJY MK2RCcQWEYiUeLf9NztIEbPAHkaJadevM4IkhAWCJU4dmc0CYrMIqEi8u/yODcTmFfCQeHJx PzuILSEgJ3HzXCfYUE4BT4mjF3+B2UJANZcXTGMBGSoh0Mgk8frUNiaIBiGJ04vPMk9g5FvA yLCKUSg3Mzk7tSgzW68go7IkNVkvJXUTIzBQD09Uv7SDsW+OxyFGJg7GQ4wSHMxKIrz73JVj hXhTEiurUovy44tKc1KLDzFKc7AoifNu4C0JExJITyxJzU5NLUgtgskycXBKNTB2BKi17e5e IVYefYdD6GJ/5au9b62+XFZddyFtsdyl2C+XRBObejuu9Gusu93canWiqMRj0W0J96oK9b1c /Ambf23ysS+8sav8XOHGz6KzQnKDui/zXGF/KHdr7++pvBcOKb454ug6/Xj4uWvlBjkmC0td p02Z7nDL/Yj504V/nF9JPxCUmXlCiaU4I9FQi7moOBEAuVJR6EICAAA= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The phyCORE-i.MX 6UL/ULL now comes either with NAND flash or eMMC. We have to configure the populated memory type in the device tree files. So the GPMI node gets disabled by default and only enabled if populated. Signed-off-by: Stefan Riedmueller --- arch/arm/boot/dts/imx6ul-phytec-phycore-som.dtsi | 2 +- arch/arm/boot/dts/imx6ul-phytec-segin-ff-rdk-nand.dts | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/imx6ul-phytec-phycore-som.dtsi b/arch/arm/boot/dts/imx6ul-phytec-phycore-som.dtsi index fee7a7e938ee..de6ffbb0183c 100644 --- a/arch/arm/boot/dts/imx6ul-phytec-phycore-som.dtsi +++ b/arch/arm/boot/dts/imx6ul-phytec-phycore-som.dtsi @@ -65,7 +65,7 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_gpmi_nand>; nand-on-flash-bbt; - status = "okay"; + status = "disabled"; }; &i2c1 { diff --git a/arch/arm/boot/dts/imx6ul-phytec-segin-ff-rdk-nand.dts b/arch/arm/boot/dts/imx6ul-phytec-segin-ff-rdk-nand.dts index 81a82dd65019..c6ef13685a7c 100644 --- a/arch/arm/boot/dts/imx6ul-phytec-segin-ff-rdk-nand.dts +++ b/arch/arm/boot/dts/imx6ul-phytec-segin-ff-rdk-nand.dts @@ -50,6 +50,10 @@ status = "okay"; }; +&gpmi { + status = "okay"; +}; + &i2c_rtc { status = "okay"; }; -- 2.7.4