Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp6675543ybf; Fri, 6 Mar 2020 02:20:57 -0800 (PST) X-Google-Smtp-Source: ADFU+vtl7nYcoJx3pIiQEyLKjf3zHcmSYKvvl2P1Wi87m23Arb8l2gzri/J2vLjoXNzLvPmIjw/E X-Received: by 2002:a9d:75c9:: with SMTP id c9mr1986766otl.155.1583490057213; Fri, 06 Mar 2020 02:20:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583490057; cv=none; d=google.com; s=arc-20160816; b=BUlOoS99Gfg3SbTp1mev3u1jecTWkH5pQe3rcNrM+yRp6xGgsKGsFOCo0PXq3Wm9g8 7KCi74G8glEfW49WtAKaXTj3v8/ISTxzQj2ai4TwhhRt8pe5csfTukVPbHpAF0g/2eoC /tWKWjD3Os8/IZMkqqZh6wzdjjWzRLJ5YFjFYjdn6D39QdgfbgO1y83dI915I26cPtP8 JMRf6SQXiO9kONLM6NC8dMbAvWWpUGjTq3y1OkNXcD5IIMmy7/9EFeLjVRu6VMbJfACd k9rNIyk8FPFmbGaA+3bmkiu4Xg07cxoLWSiUdLTilFnXSUc0OX1Ko67SHZHyVW+3PqRa 5V7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=JZtPV4lyilADfqy1eD7YIQ/XfyrDcGPt4PIlFlX/erI=; b=uV6m6A8DdpgL6YpjIndB5P2syR/VkiOMqr3U13pgmfzq5IPBmfEtTue95/IuXbpMnd JPIA6ne7ofiFNFwZhi9cWDVqE+hz+Ya3c4Cygrqd7hTYszkz7o2SuWunHCdeqLz6mX2L gYWZlueaxH5F8DdUDJj6fFw59V/3rUe3cvU8WpvZ0K83H74qjKpcTxm+xw5Gfiq/Ojy6 a/g9KnZ4J3PmPcYY6T9/zESBO7LdUKN8lSIfwiLGRnexLgGiiuz+2dS+5s0yqq8boFpU UupXaPcC/pEJQT8fl/YhC5FdWNKWI4+Az0XdG5Xq2tiPxWRRBfJplGfOzZZPfe0ZjCsh SRIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=bQyzRFDo; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m7si1150886oie.138.2020.03.06.02.20.45; Fri, 06 Mar 2020 02:20:57 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=bQyzRFDo; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726702AbgCFKUR (ORCPT + 99 others); Fri, 6 Mar 2020 05:20:17 -0500 Received: from mail-yw1-f68.google.com ([209.85.161.68]:37453 "EHLO mail-yw1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726090AbgCFKUQ (ORCPT ); Fri, 6 Mar 2020 05:20:16 -0500 Received: by mail-yw1-f68.google.com with SMTP id g206so1729977ywb.4; Fri, 06 Mar 2020 02:20:15 -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:mime-version :content-transfer-encoding; bh=JZtPV4lyilADfqy1eD7YIQ/XfyrDcGPt4PIlFlX/erI=; b=bQyzRFDo+Vb/MswGw+eHElqyqGb3zJ0MWFv0WK6p0ACeczEHSnMryHED7qFSgioL1u ZrXaPm0ePM6GoyFxEkW+IRFcu18hwLzdLW4X3oME9tiS72gbt9P5EBimS/62i8QBQjTY IyL0P29Zjat1c2UWDQcdCMS2LCdflmaEc+LzAdD3ATQOtCmX2lu1Hn+m1QS8uK5L+sJ9 9Fks3eEusAer9qGOilctBHANj11MWxnB6W3eIXNjrf3So6IDXOeY+Rs992jHykbD8Pcs U5fajFIk5S/WaQre6PSWpN21cJSE0D2dkxfBZlZ8ax55G67e23jIkvFZIMgwx5WhkFuq gznQ== 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:mime-version :content-transfer-encoding; bh=JZtPV4lyilADfqy1eD7YIQ/XfyrDcGPt4PIlFlX/erI=; b=CEFn6wpHr1mza7WLj8HwsElrCLSDbV7FaeD2KXMnK9Rkp+vAl9NrBtw3jBp04RWrwy U97bknHSXy12dwlWjR7C/19GY3CeeZwAxWiXG06tXcmWXQ0ZwPquuSKc7RwbOECKfksk FSA0Fl/m6HWzarVl/6G/A7IGD/IgMCjQltSvpJ560UG1IBjJItzO9kBpnhtI0KtXJ/oM PCjdpGg/yFhJpGA+GgP5kU2Hmm3o7wqC/+5Z1S0Et4hamh54FucVfJWrad6SlO0Ce1xl uo/BhqCgejz6GO4bD+h1LYBUUlgbe/t1483G2oiGNaeQhPBi/KBjYI7fqM/T9+jHJVuB FDfQ== X-Gm-Message-State: ANhLgQ2wM62ZFpFN0IWu8Ss65K8pH3hvbj7sQfxIrZicOywXHbgyV/oq LVgqktCTCq5J5z8X7A9580k= X-Received: by 2002:a81:5e09:: with SMTP id s9mr3248359ywb.348.1583490014862; Fri, 06 Mar 2020 02:20:14 -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 p2sm13978658ywd.58.2020.03.06.02.20.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Mar 2020 02:20:14 -0800 (PST) From: Adam Ford To: linux-arm-kernel@lists.infradead.org Cc: aford@beaconembedded.com, Adam Ford , Han Xu , 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 Subject: [PATCH V3] arm64: dts: enable fspi in imx8mm dts Date: Fri, 6 Mar 2020 04:19:57 -0600 Message-Id: <20200306101957.1229406-1-aford173@gmail.com> X-Mailer: git-send-email 2.25.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Pull in upstream patch from NXP repo to: enable fspi in imx8mm DT file Signed-off-by: Han Xu Signed-off-by: Adam Ford --- V3: Move flexspi to order the unit address. V2: Reorder s-o-b lines to give credit in proper order. diff --git a/arch/arm64/boot/dts/freescale/imx8mm.dtsi b/arch/arm64/boot/dts/freescale/imx8mm.dtsi index 1e5e11592f7b..7e6c0722afa6 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm.dtsi @@ -558,7 +558,8 @@ aips3: bus@30800000 { compatible = "simple-bus"; #address-cells = <1>; #size-cells = <1>; - ranges = <0x30800000 0x30800000 0x400000>; + ranges = <0x30800000 0x30800000 0x400000>, + <0x8000000 0x8000000 0x10000000>; ecspi1: spi@30820000 { compatible = "fsl,imx8mm-ecspi", "fsl,imx51-ecspi"; @@ -760,6 +761,19 @@ usdhc3: mmc@30b60000 { status = "disabled"; }; + 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"; + }; + sdma1: dma-controller@30bd0000 { compatible = "fsl,imx8mm-sdma", "fsl,imx8mq-sdma"; reg = <0x30bd0000 0x10000>; -- 2.25.0