From patchwork Sun Jan 26 14:09:12 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 11351857 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 7F861139A for ; Sun, 26 Jan 2020 14:09:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5DB0820720 for ; Sun, 26 Jan 2020 14:09:45 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Y/whYoNP" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387470AbgAZOJk (ORCPT ); Sun, 26 Jan 2020 09:09:40 -0500 Received: from mail-yb1-f196.google.com ([209.85.219.196]:34608 "EHLO mail-yb1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387465AbgAZOJj (ORCPT ); Sun, 26 Jan 2020 09:09:39 -0500 Received: by mail-yb1-f196.google.com with SMTP id w17so3652548ybm.1; Sun, 26 Jan 2020 06:09:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=0waTrM+p0MNxst8w9Z5JQMayoehG4IUq+pQpCkmEaO8=; b=Y/whYoNP5vb88jRBSS1HcGmlCT6z7yURB0WKKZu9ViIR1Ye/BPkoagOfjw6OfNzaL3 KhDtMjA0we0C62kLbl1CANuDAOtxC0LVFs2YF3I7W37x6F9kH8nID3XO6uy3MyBKepyS cuXXX4qPn9UXTvCW5NoalPXUv+8DMHnDaH8Gg8/WyEnaLJJYbVf7yfqZEiJXsR1J+Np5 d0Vht7U4UMe5Sku2R58lebhMMFygcxKzke537fW7C3GrfWnhgxGpk1tARgl9vty8d/gn SGbEwJ8jx1lodEuq07i//FH9+0vdgpLG6s/Cc3CNs2TQr7nIS5edeOo8FIVf0QZz6o6D Pqwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=0waTrM+p0MNxst8w9Z5JQMayoehG4IUq+pQpCkmEaO8=; b=NbugRJ9o5YODt2ZAxIPCYd7u5uypkg+C6ZdChtFVdGF6/WrbdfocSu8u+3y1D+ssXW 1CIgn/IiKRK2DczRsxVu3A1t9BgnxIZ1lq2hgZHz/QR/QaJ8jd9iMKJZ290uTLkdGVqj KtgmwY8HHPhilwvrLln4zzSzYyjPMPBOqSYJCMAXlBD93vbzXHWREtjeocmwsVH2WGoe cqn0W0goTnUnB4gt4Dj0Zh2TFmAygcOGMuWMpqR9paZBjWeRaCYO5l0MPmC9HK2+kShP ZGeyUYQsm3tLNTVWpVHoeH5KzhdA7r6pnNAQ2ghP1544MuSY4nLmJV/NWaWDPQ7WX2ng YcQg== X-Gm-Message-State: APjAAAVvV/7pgouBayDxoFgItxkR1EmQxprzLZlJGlzgn04NksHS5JPV IGCx2bE0j5Vv1eG4gn13CDKzOmHB90A= X-Google-Smtp-Source: APXvYqzlMdUSQYdwJJeaz15msbfWK+Z3P5aEgzbxzTYJ+IDLEk+5tn/w/276UKI8pyR+W6+/cki/aQ== X-Received: by 2002:a25:d1c9:: with SMTP id i192mr9426559ybg.493.1580047778366; Sun, 26 Jan 2020 06:09:38 -0800 (PST) Received: from localhost.localdomain (c-73-37-219-234.hsd1.mn.comcast.net. [73.37.219.234]) by smtp.gmail.com with ESMTPSA id a12sm5237214ywa.95.2020.01.26.06.09.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Jan 2020 06:09:37 -0800 (PST) From: Adam Ford To: linux-spi@vger.kernel.org Cc: han.xu@nxp.com, Adam Ford , Yogesh Gaur , Ashish Kumar , Mark Brown , Rob Herring , Mark Rutland , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 5/5] arm64: dts: enable fspi in imx8mm dts Date: Sun, 26 Jan 2020 08:09:12 -0600 Message-Id: <20200126140913.2139260-5-aford173@gmail.com> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20200126140913.2139260-1-aford173@gmail.com> References: <20200126140913.2139260-1-aford173@gmail.com> MIME-Version: 1.0 Sender: linux-spi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org Pull in upstream patch from NXP repo to: enable fspi in imx8mm DT file Signed-off-by: Adam Ford Signed-off-by: Han Xu diff --git a/arch/arm64/boot/dts/freescale/imx8mm.dtsi b/arch/arm64/boot/dts/freescale/imx8mm.dtsi index 1e5e11592f7b..679769fe6cab 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm.dtsi @@ -558,7 +558,21 @@ aips3: bus@30800000 { compatible = "simple-bus"; #address-cells = <1>; #size-cells = <1>; - ranges = <0x30800000 0x30800000 0x400000>; + ranges = <0x30800000 0x30800000 0x400000>, + <0x8000000 0x8000000 0x10000000>; + + flexspi: spi@30bb0000 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "nxp,imx8mm-fspi"; + reg = <0x30bb0000 0x10000>, <0x8000000 0x10000000>; + reg-names = "fspi_base", "fspi_mmap"; + interrupts = ; + clocks = <&clk IMX8MM_CLK_QSPI_ROOT>, + <&clk IMX8MM_CLK_QSPI_ROOT>; + clock-names = "fspi", "fspi_en"; + status = "disabled"; + }; ecspi1: spi@30820000 { compatible = "fsl,imx8mm-ecspi", "fsl,imx51-ecspi";