From patchwork Fri Nov 6 11:15:41 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adam Ford X-Patchwork-Id: 319462 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=-9.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,UNWANTED_LANGUAGE_BODY,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 76083C55179 for ; Fri, 6 Nov 2020 11:16:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 17D2A20825 for ; Fri, 6 Nov 2020 11:16:11 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="oABVe0ZM" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727185AbgKFLP5 (ORCPT ); Fri, 6 Nov 2020 06:15:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41592 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727166AbgKFLP4 (ORCPT ); Fri, 6 Nov 2020 06:15:56 -0500 Received: from mail-il1-x142.google.com (mail-il1-x142.google.com [IPv6:2607:f8b0:4864:20::142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C4A7AC0613CF; Fri, 6 Nov 2020 03:15:56 -0800 (PST) Received: by mail-il1-x142.google.com with SMTP id k1so732946ilc.10; Fri, 06 Nov 2020 03:15:56 -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=mhrU9RKUgX24BW2mqkqfdwagyZmf21XwzpvIKVgHKYU=; b=oABVe0ZMvnRz8dUd+sf3UpsEaLrUur8LrOO5Jpnb4UkEWrXugVCTz0moMTqp94cBED URjspvBCYnbRaUVIO3E25T9eJ6N+7xrEQRuQG9Yr2TcDeUnrwRWx94ed+Mfy3OWOF/+s 7CGivj+0vSW12LsXm7Vv/JUvEOo1wrTN2BOKcBuhffkc9GlBxQ6kkJX3cyU/f5EhRjOS hzrJ3G1lSsPJy59eo+inYASRMCCcLSXQKztc9/qEl1cwpeunacF4x7yAhb7BxAul9HjI WQCYrcf+ZmE49/k0rYrz6kz0X++5MuzFPB9AVPrfhd3HvqnEBX8sEC2viZt+eDXN/pEE i9AQ== 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=mhrU9RKUgX24BW2mqkqfdwagyZmf21XwzpvIKVgHKYU=; b=OaSUQBWFAffA8MDccp+0ziupQAkKtLce464/xU5h20LDIPtKQbGbLwA3QyExpi8Gw6 REltmUs5gam6isQY/sbaJBUCvdzD8ufdexbD4eAQdQqw+DsFmXjRlLv64brCcQysttJ4 tfq4gq2UKV/hp916QB4ngZqkxwQZ57gSFtbyJL25sf1qr9k7NGjXnJXpYHSkCt35n1Ev 7Tj1Rssqu7x8cFl1RAJrN3FLdqtC+JIQYOPc+qBG+/8IpvO/kT3neb3SViY/nqzbQDMB fQW4IQkyHuSOaKdJ57VWcx36R6uR7vLwFCEVjjFBhEaFNTWMyxi5bG4prbVL5FPcbGG1 kQFg== X-Gm-Message-State: AOAM533up3Bbo+WMI8DwDf+aXW/ctZ+73EYL94WoIzW+BI8nFRX6RMzz wOj20UB3zzduJllnRkpESJY= X-Google-Smtp-Source: ABdhPJxQZm/PFxbV94DyQz1OlLP2Fg+fT+MQxiujWGV2H1J5/bIAdIeNm/rKr2Bg7wl4O5dGQx5mig== X-Received: by 2002:a92:a80f:: with SMTP id o15mr914043ilh.127.1604661356046; Fri, 06 Nov 2020 03:15:56 -0800 (PST) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:8492:7d60:7e29:2784]) by smtp.gmail.com with ESMTPSA id x5sm854597ilc.15.2020.11.06.03.15.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2020 03:15:55 -0800 (PST) From: Adam Ford To: linux-arm-kernel@lists.infradead.org Cc: aford@beaconembedded.com, Adam Ford , Rob Herring , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH V3 3/5] arm64: dts: imx8mn: Add SAI nodes Date: Fri, 6 Nov 2020 05:15:41 -0600 Message-Id: <20201106111543.1806809-3-aford173@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201106111543.1806809-1-aford173@gmail.com> References: <20201106111543.1806809-1-aford173@gmail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The i.MX8M Nano has several SAI nodes available to it. Enable them. Signed-off-by: Adam Ford --- V3: No Change V2: No Change 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>;