From patchwork Sat Nov 7 11:58:06 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 11888879 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=-12.5 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable 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 0C66AC388F9 for ; Sat, 7 Nov 2020 12:00:09 +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 A5D29206F4 for ; Sat, 7 Nov 2020 12:00:08 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="iHddinYJ"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="GdeEIth7" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A5D29206F4 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: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=mxUo28Jx/ZPtg/px8jmpdDjKKy8yyHjNw0+x3GJhDlQ=; b=iHddinYJmaIHm9HGS9iOiZCnx /QNEHqKF8f4cW0Nak+Am+DByNXqkTFfS9FusPFwg2EL37NDFQIhRx75LK5Qqpm0mlPBeHq4DQnlWe qfHC1vctt5Ag7ISGNB2pQhW+C952f7HxTMd37oegmaJ2VT9M0j7BXlwu1p5bdJ7ij9KIrlArQ2ma8 Jtq5UCjfUP1Dz2E9RjvUkQS+CYr8IL9VT3rMOmulcJFEwmarPdyPPptr4lFU+NpDYs2aeINIfRu8w s86ZqouC38mPFTOIS4etGl7UHK6vNUNsPMTDuieYU3KvfFiPQxnEsEu0ydgIA5HXC8tS4ytdVngH4 Qz3NrSluQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kbMre-0004Wt-BM; Sat, 07 Nov 2020 11:58:38 +0000 Received: from mail-il1-x143.google.com ([2607:f8b0:4864:20::143]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kbMrW-0004U1-1N for linux-arm-kernel@lists.infradead.org; Sat, 07 Nov 2020 11:58:30 +0000 Received: by mail-il1-x143.google.com with SMTP id p10so3627650ile.3 for ; Sat, 07 Nov 2020 03:58:29 -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=6q/+UA3/ES9qIvz2cc7bn+hbgGh/XaEahG2SGfUaAWM=; b=GdeEIth70T5fI3u2L468tYJdQLlNcPvHCRb2iUpenleuX0wep5L0mub0gNDIEVpvSN Ht420w5/QDSdG45xEnxLvKZZpJ5WOGsu/841gFVlKtgNPvVRJsrasJffZGQw0hgdjL2L oCALigvaMyO2zwiQULiepqOBO5de1uOUX4GoPYAyV7ldtriIws9K57AcjttfSajlHjbs gxJpYsSzf9M60lRTH9NOonODHXWQJ0eXprnLmSbPQByQmG38fvK5M/LbTnwwOzKUby8A 6M02CoU4yH6Rdg/9F0f9ALh1mOm33ros8zdrqcOd6CATZ0essTyLM8HhwWa2PSxmzX0I jyUA== 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=6q/+UA3/ES9qIvz2cc7bn+hbgGh/XaEahG2SGfUaAWM=; b=Ev6u448SyGjiE2qWlTXeBvzbTZOOAMFh9FDcfYMdAY7/pe8K1mxzdafCuc+xeH/ryi JUevEqTxUB+AdN5YaH+JYdp50ioWNT8LDpw2b+dP8fB6e+U7q6ktUug86N3NezAIRks+ 6ME8Chq9Z1UiAfgFVis6Ps90LGz0ZIRc4qv+LKsl+f8tyruNir+rWlB8oHpGVEsG+Njm ZbwuJYjPFLmt/3ujxwerdJtcO20lBI0NBo6g7jcZPu1Yj8ArwD6Pju+UeNbsoqxTAFfi 49g9CmdsTnGRwPm4KmT+JhaGUOo4AUR6VbAh/T+EOAoo5rahc5hn/u5n3A4LQ1ixe2f/ Vv2g== X-Gm-Message-State: AOAM533crG+vbL1a/Zz4ShL2JMToKCFyEPVJwXAUGXOhrgHb7Vptbk2C DhVJ25GRM8BUtAQZW8rKW26f2kDhYRSLdA== X-Google-Smtp-Source: ABdhPJyie9W74bpOjsiqPY9J/9iin31rvRjQY73cQi4EHo8S7wM+GoYU2bG3jEkuRr4zjE/Qdnor2w== X-Received: by 2002:a92:ba14:: with SMTP id o20mr4488896ili.76.1604750307609; Sat, 07 Nov 2020 03:58:27 -0800 (PST) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:5d9e:32b:1062:f8cd]) by smtp.gmail.com with ESMTPSA id n1sm2920671ile.86.2020.11.07.03.58.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Nov 2020 03:58:26 -0800 (PST) From: Adam Ford To: linux-arm-kernel@lists.infradead.org Subject: [PATCH V4 3/5] arm64: dts: imx8mn: Add SAI nodes Date: Sat, 7 Nov 2020 05:58:06 -0600 Message-Id: <20201107115809.1866131-3-aford173@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201107115809.1866131-1-aford173@gmail.com> References: <20201107115809.1866131-1-aford173@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201107_065830_120591_EA2DD9A0 X-CRM114-Status: GOOD ( 12.02 ) 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 several SAI nodes available to it. Enable them. Signed-off-by: Adam Ford --- V4: No Change V3: No Change V2: No Change arch/arm64/boot/dts/freescale/imx8mn.dtsi | 72 +++++++++++++++++++++++ 1 file changed, 72 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mn.dtsi b/arch/arm64/boot/dts/freescale/imx8mn.dtsi index 61560c083300..6ea0d43a78a3 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mn.dtsi @@ -260,6 +260,78 @@ spba: bus@30000000 { reg = <0x30000000 0x100000>; ranges; + sai2: sai@30020000 { + compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai"; + reg = <0x30020000 0x10000>; + interrupts = ; + clocks = <&clk IMX8MN_CLK_SAI2_IPG>, + <&clk IMX8MN_CLK_DUMMY>, + <&clk IMX8MN_CLK_SAI2_ROOT>, + <&clk IMX8MN_CLK_DUMMY>, <&clk IMX8MN_CLK_DUMMY>; + clock-names = "bus", "mclk0", "mclk1", "mclk2", "mclk3"; + dmas = <&sdma2 2 2 0>, <&sdma2 3 2 0>; + dma-names = "rx", "tx"; + status = "disabled"; + }; + + sai3: sai@30030000 { + compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai"; + reg = <0x30030000 0x10000>; + interrupts = ; + clocks = <&clk IMX8MN_CLK_SAI3_IPG>, + <&clk IMX8MN_CLK_DUMMY>, + <&clk IMX8MN_CLK_SAI3_ROOT>, + <&clk IMX8MN_CLK_DUMMY>, <&clk IMX8MN_CLK_DUMMY>; + clock-names = "bus", "mclk0", "mclk1", "mclk2", "mclk3"; + dmas = <&sdma2 4 2 0>, <&sdma2 5 2 0>; + dma-names = "rx", "tx"; + status = "disabled"; + }; + + sai5: sai@30050000 { + compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai"; + reg = <0x30050000 0x10000>; + interrupts = ; + clocks = <&clk IMX8MN_CLK_SAI5_IPG>, + <&clk IMX8MN_CLK_DUMMY>, + <&clk IMX8MN_CLK_SAI5_ROOT>, + <&clk IMX8MN_CLK_DUMMY>, <&clk IMX8MN_CLK_DUMMY>; + clock-names = "bus", "mclk0", "mclk1", "mclk2", "mclk3"; + dmas = <&sdma2 8 2 0>, <&sdma2 9 2 0>; + dma-names = "rx", "tx"; + fsl,shared-interrupt; + fsl,dataline = <0 0xf 0xf>; + status = "disabled"; + }; + + sai6: sai@30060000 { + compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai"; + reg = <0x30060000 0x10000>; + interrupts = ; + clocks = <&clk IMX8MN_CLK_SAI6_IPG>, + <&clk IMX8MN_CLK_DUMMY>, + <&clk IMX8MN_CLK_SAI6_ROOT>, + <&clk IMX8MN_CLK_DUMMY>, <&clk IMX8MN_CLK_DUMMY>; + clock-names = "bus", "mclk0", "mclk1", "mclk2", "mclk3"; + dmas = <&sdma2 10 2 0>, <&sdma2 11 2 0>; + dma-names = "rx", "tx"; + status = "disabled"; + }; + + sai7: sai@300b0000 { + compatible = "fsl,imx8mm-sai", "fsl,imx8mq-sai"; + reg = <0x300b0000 0x10000>; + interrupts = ; + clocks = <&clk IMX8MN_CLK_SAI7_IPG>, + <&clk IMX8MN_CLK_DUMMY>, + <&clk IMX8MN_CLK_SAI7_ROOT>, + <&clk IMX8MN_CLK_DUMMY>, <&clk IMX8MN_CLK_DUMMY>; + clock-names = "bus", "mclk0", "mclk1", "mclk2", "mclk3"; + dmas = <&sdma2 12 2 0>, <&sdma2 13 2 0>; + dma-names = "rx", "tx"; + status = "disabled"; + }; + easrc: easrc@300c0000 { compatible = "fsl,imx8mn-easrc"; reg = <0x300c0000 0x10000>;