From mboxrd@z Thu Jan 1 00:00:00 1970 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=-16.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 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 8A56BC4338F for ; Mon, 9 Aug 2021 08:18:49 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 300086108B for ; Mon, 9 Aug 2021 08:18:49 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 300086108B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=jErtcZpPpoE1YZxFKCpnxvWrwKAly4dFRn8F1hS9MpM=; b=RfK2PvSP916iOn qaMovPRcNaFwpfCgJY3gRdSxUB4dvwiNb4RAcW7ALm9iTBIIunjVA0vfn5uAB+fUrWc6S4ii4f1fJ 1oHUpcOadqjpe+Fv/77fd6iXxjzz6JA1M5raeS01R3VbZLBOemEIRx9ltnrDgKG6sVzvOp9NhUvt8 Tn/ZnUwfa834oRbqK8dqZGmNmTU5jrxdwM07ItkxsahZqYJuYuNTmSYWm3BtmQqpNPSdL8tGCK5RQ 6FpQNAXu2mDtitLCytchrXHvmFTuUrjkt2rbG7bt+a2/BD4iplanTRHjnudVCJY/apEh7VpqfZzx8 IpIP0vRYrLyMdcUPka7A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mD0Si-00HTYb-JA; Mon, 09 Aug 2021 08:16:44 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mD0SZ-00HTWu-W9 for linux-arm-kernel@lists.infradead.org; Mon, 09 Aug 2021 08:16:37 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 9D16E61056; Mon, 9 Aug 2021 08:16:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1628496995; bh=Uc410ukGR38DA8yxPgvyY/khZPNN121wh2ES85u3arY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=B5Eg4duG5OszBVXZa1zxa1ps4nf52e8utmvHT1Genz0R8CJbcwbN5i/EBeRUAJU67 s4vt95iOzyxiJkbrgXkp0YkOFrQuhT0q6OxnCZ1/p48pp/YFBpjzPN8Ixi0Cl/OctU k9YoNuILeILl1Go1kgxKatwmu9y9oFc/UcE8LbxipfYijFgu4Lb5/RmUdV/unqvKaA pPiiWow0yrge4CmO8Ke2Bw7iaGwyisAHsXRCIybjS+hXGkJyLH156YaU05cqYkaa4n ohbA5kG3SfmYGDNZgbafbyU1zlgLDO7y0j536auwDNsz3f55MjyFtW2dZz3iVi7jzU IaJ1idaeqaUvw== Date: Mon, 9 Aug 2021 16:16:29 +0800 From: Shawn Guo To: "Peng Fan (OSS)" Cc: robh+dt@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, p.zabel@pengutronix.de, l.stach@pengutronix.de, krzk@kernel.org, agx@sigxcpu.org, marex@denx.de, andrew.smirnov@gmail.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, aisheng.dong@nxp.com, Peng Fan Subject: Re: [PATCH] arm64: dts: imx8qm: add smmu node Message-ID: <20210809081628.GT30984@dragon> References: <20210807104517.24066-1-peng.fan@oss.nxp.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210807104517.24066-1-peng.fan@oss.nxp.com> User-Agent: Mutt/1.9.4 (2018-02-28) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210809_011636_110802_E859D564 X-CRM114-Status: GOOD ( 15.41 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Sat, Aug 07, 2021 at 06:45:17PM +0800, Peng Fan (OSS) wrote: > From: Peng Fan > > i.MX8QM has an iommu unit: SMMU-V2(mmu-500), add it. > > Signed-off-by: Peng Fan > --- > arch/arm64/boot/dts/freescale/imx8qm.dtsi | 16 ++++++++++++++++ > 1 file changed, 16 insertions(+) > > diff --git a/arch/arm64/boot/dts/freescale/imx8qm.dtsi b/arch/arm64/boot/dts/freescale/imx8qm.dtsi > index aebbe2b84aa1..b8ffd5be6a3e 100644 > --- a/arch/arm64/boot/dts/freescale/imx8qm.dtsi > +++ b/arch/arm64/boot/dts/freescale/imx8qm.dtsi > @@ -165,6 +165,22 @@ iomuxc: pinctrl { > > }; > > + smmu: iommu@51400000 { > + compatible = "arm,mmu-500"; > + reg = <0 0x51400000 0 0x40000>; > + #iommu-cells = <2>; > + #global-interrupts = <1>; > + interrupts = <0 32 4>, <0 32 4>, <0 32 4>, <0 32 4>, > + <0 32 4>, <0 32 4>, <0 32 4>, <0 32 4>, > + <0 32 4>, <0 32 4>, <0 32 4>, <0 32 4>, > + <0 32 4>, <0 32 4>, <0 32 4>, <0 32 4>, > + <0 32 4>, <0 32 4>, <0 32 4>, <0 32 4>, > + <0 32 4>, <0 32 4>, <0 32 4>, <0 32 4>, > + <0 32 4>, <0 32 4>, <0 32 4>, <0 32 4>, > + <0 32 4>, <0 32 4>, <0 32 4>, <0 32 4>, > + <0 32 4>; Use macro to make it more readable. Shawn > + }; > + > /* sorted in register address */ > #include "imx8-ss-img.dtsi" > #include "imx8-ss-dma.dtsi" > -- > 2.30.0 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel