Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp2547426pxt; Mon, 9 Aug 2021 03:17:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwSdhXhIQr9KUBIAMRW1zjzYsLPOPxqdk4nzZgb4MZU63x0i/xc3MEZHyZRAawVSt/0cw2t X-Received: by 2002:a05:6402:898:: with SMTP id e24mr28758856edy.197.1628504277175; Mon, 09 Aug 2021 03:17:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628504277; cv=none; d=google.com; s=arc-20160816; b=wUbbyDErq+iLHIq/pg4wkKuDqzJpj9B/kFZgzbJPQ74upH27C4QHC6mDqTQ1jvsaC6 uyvj+V+BxYLxDLlM5wMdQsRMgu4qjTY69CNdqH1XOAWE8xG5baE1g8HvzxLNn0JqnUUe jqJsWCO9ypBDyIDB15NbljQE6Jjb/17ZDjYbBgm351LvYE2ZFaBHC/4fCNCyPeOzbQvF RE1kQgZCUSuxrUqFUP+6NhUPLoIB2+vLfpiHDiwNIPS4ciBTxQmbDLwZL2W8LHTwowfy fDKcYDT4xgsNUkJuyFq26B7ca53HSaQ/L0Pm6VAAD0aux5XYPcvCOXWDV7NScqTUKzXw Cyng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=EWv7vSGxqqQQfQF0piUJYyKPOPd2fo3a4SGKgQ8EbBU=; b=T/bbtx8VmC4vbJRHwyczDQ9aghH6RhqOHE0rak7u4zi9W63JTI+IDTbyjl9y5Vfnmn xHlrjYtq6VsrRvEiGdByLoMDdc918j4S3x7voccZoBkoeomage6fG0oI0qYPfwki5ONG fu1GWh+jzG/44HdxMtuJjZjNRJ0afF2i3FftWE1OiKRpvqILdETczbCF6YHGJHrCrNYm asLjyZcae+mIcoZVH8F3MuiE7/XW5RQ8MmeJ9Bejvttb7QcJNbDORWDLG6QcgDg2KRTZ iJdzPvv+Iou7whQTFCeUWjFRObkqxrNkxa2KjWCPc3/bWw4jWSYP19jYEa2aLCEmLSb6 aCNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=B5Eg4duG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i11si20413970edb.418.2021.08.09.03.17.31; Mon, 09 Aug 2021 03:17:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=B5Eg4duG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233647AbhHIIQ4 (ORCPT + 99 others); Mon, 9 Aug 2021 04:16:56 -0400 Received: from mail.kernel.org ([198.145.29.99]:58290 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233853AbhHIIQz (ORCPT ); Mon, 9 Aug 2021 04:16:55 -0400 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-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210807104517.24066-1-peng.fan@oss.nxp.com> User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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 >