Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2296955pxb; Mon, 8 Mar 2021 21:34:54 -0800 (PST) X-Google-Smtp-Source: ABdhPJwkZVYDecwYeJr+dAAPqfnX8JHznpmelH86YpWklSfl24ezAudj9sk3D8ee+jYoVE2mDHAG X-Received: by 2002:aa7:ccd7:: with SMTP id y23mr2137024edt.190.1615268094003; Mon, 08 Mar 2021 21:34:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615268093; cv=none; d=google.com; s=arc-20160816; b=DgETRkEdi+h/zX2GCZtZcx2s18IHlqcin1o4frTTxO1g/Y+fNzxLfssQGvCYmFwz13 IT5939ZOenGx+YLxXbqXhGFSsqFQPs+Qx5jErX2MOtEkMxPeBGAZyGDPuVHvRpi42xr2 vHyxmcSjwTcOXUKe5aYZWFMnehaka1LEPFkcbd32EjANkW9LgJaqwxuzUUh+VkBK10Sh wveJHvH0AG4O81EJQyr02qFI8ZhTkET05ZwQ2vS2xMM92myn738lehapTwSfJRiJ+NT9 EG8QEA9pZWRx8fMSRd4n3MfmcAnYsVTNC2trZPH/EZVp7jA5DCFgRz/DWPQ4lHity6OM Rj1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=vKjiN5+0b/VGXCcFWu5Ei3WAAOx2Z+zxt9NVH6b1DJM=; b=wy21nMOrrPWmhTeL/gM8HcyfgUwi9OgCD9B15NSBcZx7UkHVV5Q9BQoNu/cRwppC1U +SsVzWYZ28FFILXSdHUWsIRRpyH8K98VQEmhYWhH6CCLlKg7YTeRgzh4zJMJ6zEz+s5w WAHbCSuj+58i/O7qybxlQaarq7/goT4zssvns1xU0EU9Qd2z3Xmo9SMwo1+I0ooDHd8K mfeG4gNI1BizHIB96zaqKOq2/x8rR+yvCE5pOrbK57vU31+yNSsPk8cOleG0DuOq9fCm QPdOQKHtwcqAae/RtddhqUseq8xlDXLW09oCli1SBBv3blmATlF/Un3jQk0s3kjSzcqb 0bIg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hp6si810768ejc.115.2021.03.08.21.34.31; Mon, 08 Mar 2021 21:34:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229641AbhCIFdX (ORCPT + 99 others); Tue, 9 Mar 2021 00:33:23 -0500 Received: from mail-out.m-online.net ([212.18.0.9]:40715 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229951AbhCIFc4 (ORCPT ); Tue, 9 Mar 2021 00:32:56 -0500 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4DvkPg2Csyz1qs39 for ; Tue, 9 Mar 2021 06:32:55 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4DvkPg26kdz1qqkj for ; Tue, 9 Mar 2021 06:32:55 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id i97DrtNd4O9K for ; Tue, 9 Mar 2021 06:32:54 +0100 (CET) X-Auth-Info: urbHJ4omG+7tYCJr267vZmr1sff2SQObeJs4TLoiD2M= Received: from mail-internal.denx.de (p578adb1c.dip0.t-ipconnect.de [87.138.219.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA for ; Tue, 9 Mar 2021 06:32:54 +0100 (CET) Received: from pollux.denx.de (pollux [192.168.1.1]) by mail-internal.denx.de (Postfix) with ESMTP id 145591837F8; Tue, 9 Mar 2021 06:31:21 +0100 (CET) Received: by pollux.denx.de (Postfix, from userid 515) id 0908E1A0092; Tue, 9 Mar 2021 06:31:21 +0100 (CET) From: Heiko Schocher To: linux-arm-kernel@lists.infradead.org Cc: Heiko Schocher , Alice Guo , Anson Huang , Dong Aisheng , Fabio Estevam , =?UTF-8?q?Horia=20Geant=C4=83?= , Jacky Bai , Joakim Zhang , Krzysztof Kozlowski , Li Jun , NXP Linux Team , Peng Fan , Pengutronix Kernel Team , Rob Herring , Sascha Hauer , Shawn Guo , Teresa Remmet , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 3/4] arm64: dts: imx8mp: add flexspi node Date: Tue, 9 Mar 2021 06:31:15 +0100 Message-Id: <20210309053116.1486347-4-hs@denx.de> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210309053116.1486347-1-hs@denx.de> References: <20210309053116.1486347-1-hs@denx.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org add node for the flexspi modul on imx8mp. Signed-off-by: Heiko Schocher --- Changes in v2: - work in comments from Marco - add own compatible entry "nxp,imx8mp-fspi" - reworked order of properties as Marco mentioned arch/arm64/boot/dts/freescale/imx8mp.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi index c7523fd4eae9b..18023d97235ed 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi @@ -36,6 +36,7 @@ aliases { serial1 = &uart2; serial2 = &uart3; serial3 = &uart4; + spi0 = &flexspi; }; cpus { @@ -744,6 +745,21 @@ usdhc3: mmc@30b60000 { status = "disabled"; }; + flexspi: spi@30bb0000 { + compatible = "nxp,imx8mp-fspi"; + reg = <0x30bb0000 0x10000>, <0x8000000 0x10000000>; + reg-names = "fspi_base", "fspi_mmap"; + interrupts = ; + clocks = <&clk IMX8MP_CLK_QSPI_ROOT>, + <&clk IMX8MP_CLK_QSPI_ROOT>; + clock-names = "fspi", "fspi_en"; + assigned-clock-rates = <80000000>; + assigned-clocks = <&clk IMX8MP_CLK_QSPI>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + sdma1: dma-controller@30bd0000 { compatible = "fsl,imx8mp-sdma", "fsl,imx8mq-sdma"; reg = <0x30bd0000 0x10000>; -- 2.29.2