From patchwork Tue Jan 19 13:42:57 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 12029819 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.8 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CF480C433E0 for ; Tue, 19 Jan 2021 13:44:31 +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 6646C2250E for ; Tue, 19 Jan 2021 13:44:31 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6646C2250E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.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:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version: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:In-Reply-To:References:List-Owner; bh=yotG6cWwosQb29wrDyAO4ByOmZ1XzbkdHEy6JlUhI+k=; b=PcNpd1N0bRoZXfnS4GUlXqWHFF TQDEblJ6r1n9w4r8ChwRZXA6H1z2wQDZ9HNT07E6vRKw0JcgBa4/4QRj9UCC7dHmJZPujra57GTjm LBiK7wQ5LR7Ssa/qvhgkamSNR8x7JTRZIivdfOIaPhbpODsdh/Ak3lwsow9slQ51VIkMrEer6RIMf Im6dXb516M728CMmUhe96XYjMaqF828JZYXyQ7xvz6wv3jXXAieuNQYqvOGtr17Q3KjccMX0W+wbm gZakKW22xueNqIxkfLBpFAccf/gCY9w7ON+EQ0HpYa+ZDikiKN+ynHkbWOdF9dhzSWnL/qnT2iXgx rZJw7ueg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l1rHt-0000ft-3t; Tue, 19 Jan 2021 13:43:13 +0000 Received: from mail-io1-xd2c.google.com ([2607:f8b0:4864:20::d2c]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l1rHq-0000f5-Fd for linux-arm-kernel@lists.infradead.org; Tue, 19 Jan 2021 13:43:11 +0000 Received: by mail-io1-xd2c.google.com with SMTP id w18so39600483iot.0 for ; Tue, 19 Jan 2021 05:43:09 -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=XvhxARzPFutdg81T930cbyQKfkMbVSUeQ1+BndRwFnQ=; b=aEkdXNXA7u+6R0tmTB5TEzHGH/YPncnqWAADUYnAzEkOgAiRFQ5dsYKdY31pRYPeZG 5Q2KYd9W2nH+k1TEW2PbbBUO25RqFzfqE2ti3pm5DKdDwL0xwb7f/7jsK4ueGn8LR7MQ Z/9umkcqB+nNGpZ4BMKKRi2nHMVhCd+vTE2Yye0+iMTT4wlyWW/ePXueDZRGxWs2CYbI p6cm3ExSAF4X7Cw0I2nxlWThv0UkhN1dd2G2uU/cKFw/k2kJ5qspOsuaULL34nBYNcp0 yOj/34tYw1ym0Fk+NVdv6DgLoKhU/XB5RERhUfzTdr2VongHOfv21axuMSaV9eVbLgEf 2Byw== 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=XvhxARzPFutdg81T930cbyQKfkMbVSUeQ1+BndRwFnQ=; b=L4OJ8zEjG2OuIkizmG+V4CdQf8spBF23jhi+uaVUcdoLgNTQ7aNHd9345dXoRVzIhT HlOfGDsHDTn+JdomCje8q1XiMvu3g7bI+KSZTHrkYtFqE4A0TIxf1u+dg7SWZSBD6lfQ P0QEFm5CuJq1HFtFlUqNql6ZQca/WkQYRsxuBUu3OuBVQ7I5PvRRk1t1FdGGWfFfHtRH rLjVC/QXg3s1HdADJXWRfTTiyjTLFzSE5SudLRBrwC6sAQp0l2ObUryW6teyzhzkApf7 OIWFU1T3vg1/pFAQl0EJeU98hd8+RQlKdDXUY/USsJDD760PDHPxv0CwwJlB5HMOUX5Q BPrQ== X-Gm-Message-State: AOAM530446B0ASGe5cN2K18HmhBU4D7ujOLiaYzxyNmiqOU6gf14qdQC mBY1NenWTEKiqMFqQ0q8DacHvA+nKyQhFw== X-Google-Smtp-Source: ABdhPJy4pjcts2A1oVS2TaVpQShOhvaywh1DfDHODNyq18hD1bAkwk0YEK4Wuh4EFbRGeEY6teQBrg== X-Received: by 2002:a02:969a:: with SMTP id w26mr3480063jai.96.1611063787372; Tue, 19 Jan 2021 05:43:07 -0800 (PST) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:2386:3a11:421c:65a9]) by smtp.gmail.com with ESMTPSA id h14sm1795829ilh.63.2021.01.19.05.43.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Jan 2021 05:43:06 -0800 (PST) From: Adam Ford To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/2] arm64: dts: imx8mn: Add fspi node Date: Tue, 19 Jan 2021 07:42:57 -0600 Message-Id: <20210119134258.774480-1-aford173@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210119_084310_556868_32472810 X-CRM114-Status: GOOD ( 10.40 ) 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, Fabio Estevam , Adam Ford , Sascha Hauer , aford@beaconembedded.com, linux-kernel@vger.kernel.org, Rob Herring , NXP Linux Team , Pengutronix Kernel Team , Shawn Guo Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The i.MX8M Nano has the same Flexspi controller used in the i.MX8M Mini. Add the node and disable it by default. Signed-off-by: Adam Ford diff --git a/arch/arm64/boot/dts/freescale/imx8mn.dtsi b/arch/arm64/boot/dts/freescale/imx8mn.dtsi index 3fac73779fdd..16ea50089567 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mn.dtsi @@ -889,6 +889,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 IMX8MN_CLK_QSPI_ROOT>, + <&clk IMX8MN_CLK_QSPI_ROOT>; + clock-names = "fspi", "fspi_en"; + status = "disabled"; + }; + sdma1: dma-controller@30bd0000 { compatible = "fsl,imx8mn-sdma", "fsl,imx8mq-sdma"; reg = <0x30bd0000 0x10000>;