From patchwork Fri Sep 18 11:29:31 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Schiffer X-Patchwork-Id: 11784715 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 383FF14F6 for ; Fri, 18 Sep 2020 11:31:41 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E6BDB22208 for ; Fri, 18 Sep 2020 11:31:40 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="CmnWdU6G"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=tq-group.com header.i=@tq-group.com header.b="FRetSmtx" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E6BDB22208 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ew.tq-group.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:MIME-Version:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:References:In-Reply-To:Message-Id:Date:Subject:To: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=d9Q1r25WZZPddFFkPO4iqbcNNCPpuy9AsZAnNceOTDg=; b=CmnWdU6GE3AOjUZyv3WlinfodY LeMCXbl/oGHZA7raEQWdNKnp2LwAZnJFNwjVnx9WBXcq7/QHuF0s9h03s//i6s7l3D1VQybtABdH8 9FT598z0xTQMDy4STOA+ecXzG9Ol7tLgDGTJu2dv8+DUrTwajKY7puHNbORBZhAUY9aBauGIhiDF/ AOMJLOYOB2sNgvBJgne/zZQncfJ1zBZe2IOVWcHUxwLjTbDzfvjHT1JEYq1Wug0M8F5r6KgHvg+NA AyeW7Lk2dBIyzkLGbxPKb+0o/OHsC+Sj98WRXvMXj4WWyaJWdH9p/Li1b2+ioP1jsPBMwrz+eksuT qRfi5/wQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kJEbz-0002Tl-KL; Fri, 18 Sep 2020 11:31:31 +0000 Received: from mx1.tq-group.com ([62.157.118.193]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kJEbr-0002Pm-BH for linux-arm-kernel@lists.infradead.org; Fri, 18 Sep 2020 11:31:24 +0000 IronPort-SDR: d7nGDUSVHu5i9JOM1nkgSd1eZ69YT9ZHDUiOGJeQwa/isoCQ69eg1R7jvnx297YrybeGE4TdL/ 5Xhl1+vwLzwzrAszIzFulSFROj1Vss3T8/5g/2fVIIm8l/hZpBKO5JySBFbKqSskR7JJVHA2on GYjWPkEXzwkvH8HdJDY+wx6z6iyg7pl7tp8S6LZxFB6/W0Dz0FZKEgEKr5GY3O/aHMhXZohXwU BZckSBFpe1Ir+awdZbDLdL8Euztps6jLf7cQ95lFontyzoVt5O4HSDNV0e+T4aoSLVxb/TabYH oNs= X-IronPort-AV: E=Sophos;i="5.77,274,1596492000"; d="scan'208";a="13924476" Received: from unknown (HELO tq-pgp-pr1.tq-net.de) ([192.168.6.15]) by mx1-pgp.tq-group.com with ESMTP; 18 Sep 2020 13:31:12 +0200 Received: from mx1.tq-group.com ([192.168.6.7]) by tq-pgp-pr1.tq-net.de (PGP Universal service); Fri, 18 Sep 2020 13:31:12 +0200 X-PGP-Universal: processed; by tq-pgp-pr1.tq-net.de on Fri, 18 Sep 2020 13:31:12 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1600428672; x=1631964672; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=GX5wZ0+85IApg4dWTaSj2/Z312SBu1AW0j++N0jj5C4=; b=FRetSmtx78LdPe9GEAHmZvVnEyNFcpsQmY0NmuGjnou3+kijzcQVByll 0WE9GaLcaIhlPR6OxmLrsymey3puDTvUzAFK6+1BSguelXxveDmFhkaVW XN3zc5Isq/8LcZaxvp0yk8ZJ1cXYhkcpjlfyNzN8IW2IoKueWR/f7+0zP Zh/KMwwoYEvZDZFbAQi/BR0g2TexWwNPzmV+n47JCZaYBJ0iF2oly3kHH QGZm6AOxQjnsXyURbG8QrXgTSiSJLSy3ukeLBc/B2G1+gaCd0o7ZwcXWx KJNXh+KFSL82jPTs3T5vlrgmqD0p3RByk7ywAmSrvk7GKGTjtqPXlQXx5 w==; IronPort-SDR: wv9SZkGA3SujXPvxrD71j8g3dZO6YXyi6pvqp59hobc9H9sK1cygbEb3GYMyHGWvwPCO9A3YdQ J9J8EP6h6dlaxMFCIb+sHtGSKrJHfom1hECLcy0rMBzU91NaJrlA8IbMBybsyN9LT38K80K6qs XbWcqJl9CkFbUTWGnE1Mb2jBkODSGY0X6qTW+m/ZwDOzcDK6BaTG9YjhB687dyyYGzNrud8iMW LuFAjOeSCMqdOsU7C2BF1Jg5LCPxV7EXEtfXOpD7ylFD1MAkZg0OYbZs106wgLQJZK7/ojXDGf ff4= X-IronPort-AV: E=Sophos;i="5.77,274,1596492000"; d="scan'208";a="13924475" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 18 Sep 2020 13:31:12 +0200 Received: from schifferm-ubuntu4.tq-net.de (schifferm-ubuntu4.tq-net.de [10.117.48.12]) by vtuxmail01.tq-net.de (Postfix) with ESMTPA id 1FDE1280075; Fri, 18 Sep 2020 13:31:12 +0200 (CEST) From: Matthias Schiffer To: Rob Herring , Shawn Guo , Sascha Hauer Subject: [PATCH 02/13] ARM: dts: imx7-tqma7: add SPI-NOR flash Date: Fri, 18 Sep 2020 13:29:31 +0200 Message-Id: <20200918112942.1367-2-matthias.schiffer@ew.tq-group.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200918112942.1367-1-matthias.schiffer@ew.tq-group.com> References: <20200918112942.1367-1-matthias.schiffer@ew.tq-group.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200918_073123_648107_2CE263CD X-CRM114-Status: GOOD ( 12.41 ) X-Spam-Score: -0.1 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.1 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_NONE SPF: sender does not publish an SPF Record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Matthias Schiffer , linux-kernel@vger.kernel.org, NXP Linux Team , Pengutronix Kernel Team , Fabio Estevam , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org The SPI-NOR flash on the SoM was missing from the device tree. Signed-off-by: Matthias Schiffer --- arch/arm/boot/dts/imx7-tqma7.dtsi | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/arch/arm/boot/dts/imx7-tqma7.dtsi b/arch/arm/boot/dts/imx7-tqma7.dtsi index 8773344b54aa..fd23f764399a 100644 --- a/arch/arm/boot/dts/imx7-tqma7.dtsi +++ b/arch/arm/boot/dts/imx7-tqma7.dtsi @@ -160,6 +160,20 @@ >; }; + pinctrl_qspi: qspigrp { + fsl,pins = < + MX7D_PAD_EPDC_DATA00__QSPI_A_DATA0 0x5A + MX7D_PAD_EPDC_DATA01__QSPI_A_DATA1 0x5A + MX7D_PAD_EPDC_DATA02__QSPI_A_DATA2 0x5A + MX7D_PAD_EPDC_DATA03__QSPI_A_DATA3 0x5A + MX7D_PAD_EPDC_DATA05__QSPI_A_SCLK 0x11 + MX7D_PAD_EPDC_DATA06__QSPI_A_SS0_B 0x54 + MX7D_PAD_EPDC_DATA07__QSPI_A_SS1_B 0x54 + /* #QSPI_RESET */ + MX7D_PAD_EPDC_DATA04__GPIO2_IO4 0x40000052 + >; + }; + pinctrl_usdhc3: usdhc3grp { fsl,pins = < MX7D_PAD_SD3_CMD__SD3_CMD 0x59 @@ -217,6 +231,22 @@ }; }; +&qspi { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_qspi>; + status = "okay"; + + flash0: spinor@0 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "jedec,spi-nor"; + spi-max-frequency = <29000000>; + spi-rx-bus-width = <4>; + spi-tx-bus-width = <4>; + reg = <0>; + }; +}; + &sdma { status = "okay"; };