Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp1180925pxt; Sat, 7 Aug 2021 03:13:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz3fK+S3t8R2cgXE9o/DPskCCnpCSBQqWtdWhb1D+s7hHAGcz0mXOFCZqmr579USb5rZk1y X-Received: by 2002:a17:906:b811:: with SMTP id dv17mr13696442ejb.444.1628331186267; Sat, 07 Aug 2021 03:13:06 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1628331186; cv=pass; d=google.com; s=arc-20160816; b=Yein+jB8TUWRSDwvxLrsHRdFbFmoR5f7nJ268aITS2ullvNX+P27IYYKLEY6E7Vrlu B33bqRNWZbFYKfHEsSR3i0a+wIhyKqZFz9aipRdRPSaPBRPPAMNSC3LhcV7VHWT28262 nko3Cud74sbcrzn/RqrNgHIeYfUEhSkuu+p+xnPlpPiV7I2/6aT2nSdUqZelry/7KJSk YhvRczg5bGcqOMbOpM+AyBPZpG7bZRiyGa33xWPpIk9WLTOlkrrc31Zj4myCZk/+L9SQ +/YIRVa/FZwEirCOElkOj3bCUOu5+Qh6c2n/aFYO3U4kxe54/TnNRROBsgEo3ujxJbI1 7M6Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :message-id:date:subject:cc:to:from:dkim-signature; bh=iOJtcwSAfhSUfpaKIw1B3ekhCD+HQS7mdnm1lzerNZ8=; b=d9BXGPVPO4v+6eseVh4WnpTJABdsZbipiNTLJie2/D+PSJ0Gf/TuEL2ZfuID7GvarX 9EsNmLsHWZQY0bR9Lz2BTl7flotlvYot9tXrZ/0+r29Uhkiv0FeoCRP56LmrOJbDJeIb 7xKmpIy3R2KnIjsgsUqnh2zKgY6qzNA+W78deOHYF2pDQcRxY2l+sX4jTDBmilo95/ld HFIKJsy9Foy9vrws7frMqisTVYt+v7RXEbTrV9mHFC1ZTPM/eniMcQUANBNPIs9N4XX1 9ciGJ39/FKwhCy1CLFym95tsaFjjaDUYGdIq0Pe3Bi58YtvWCwXiD9FzyzTMAn6Pr0sp ZB8w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=bOZMv087; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); 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=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e7si11841993edk.96.2021.08.07.03.12.42; Sat, 07 Aug 2021 03:13:06 -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=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=bOZMv087; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); 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=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231803AbhHGKLH (ORCPT + 99 others); Sat, 7 Aug 2021 06:11:07 -0400 Received: from mail-eopbgr70080.outbound.protection.outlook.com ([40.107.7.80]:43842 "EHLO EUR04-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S231738AbhHGKLG (ORCPT ); Sat, 7 Aug 2021 06:11:06 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ClsmaxStC8UW4gMNXD//Jf60qB6XG2Ss+XtEoKRgJimnZh4gXufAT1Su4PG1sJQ3fmaPSNgmJ7kjQZQIBoP7UxrYChgHMH22E/4BI4fX6g3dgZ/wBgvBDxJXVqUcri80NwrKUuWYsC3JvPcQQNzqMzdakogkYpM5OgVZTTUSdIInGM9nh4RAOuZmcljUTYGOSnp+/tXNcCr7y7ET9JtjVCAo40POX/I5GD/PDsnVCRl+KGQteYjm8a2RbQTaWTZhBi8F6ADpHs+4vmKNdYim9Oz6dDtBZdBjOP3zmuqme+Drp5trHKhPUG84RPjoDaLusB0wuYCWwyT25NuOg81qFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=iOJtcwSAfhSUfpaKIw1B3ekhCD+HQS7mdnm1lzerNZ8=; b=c62ETsQBpsVN+25wFLuvZM4SlbL+RWBbtAoOs9kwXwX+IxpQCt0WgALcpnYYO/TgPBuiQUP2J+u+FkNxFIfbq8buoe1FKmmrz/4UXYCdfuMexCVqAI3nOevWwv595x3b/v+PUCbbHqrsdnVtG4ZhTn6XbSBSnZayqRJqJS97YlSBD2y+oKbqTVMaFFnGAmRWP9LHJJzbWg5A+I6jGReHB/ou7E12YLyKxAjF2S2Zqhwnr3CfdWOkcZ7zUaca5mLPRxOARBJy+0rYrjaZmT0RFPlqbJ9Bb6/BTbHq/BiI7PYt6SM3KGubMTr7IQ9izwiOE6livtfcMIt0lvgI+rusJw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=iOJtcwSAfhSUfpaKIw1B3ekhCD+HQS7mdnm1lzerNZ8=; b=bOZMv087Kf9r7sVng/yqq6Kb6OsPVwy5bUVNIAGZIPXo7xW92SjY8B5pcq8PLSfD7g1lxA1dCKWJGTLwqRMA4ZeecVCYZMZxqGnTak438NVIPfWPlZAhYwQjY2we9wnwtRhJoIqfIMGjIksuUUW1PsFZEUVQeWjieyFbz3vd348= Authentication-Results: kernel.org; dkim=none (message not signed) header.d=none;kernel.org; dmarc=none action=none header.from=oss.nxp.com; Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) by DB7PR04MB5082.eurprd04.prod.outlook.com (2603:10a6:10:14::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4394.15; Sat, 7 Aug 2021 10:10:46 +0000 Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::c445:d742:eb76:86dd]) by DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::c445:d742:eb76:86dd%9]) with mapi id 15.20.4394.019; Sat, 7 Aug 2021 10:10:46 +0000 From: "Peng Fan (OSS)" To: robh+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: 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: [PATCH] arm64: dts: imx8qm: add smmu node Date: Sat, 7 Aug 2021 18:45:17 +0800 Message-Id: <20210807104517.24066-1-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.30.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SG2PR06CA0103.apcprd06.prod.outlook.com (2603:1096:3:14::29) To DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from linux-1xn6.ap.freescale.net (119.31.174.71) by SG2PR06CA0103.apcprd06.prod.outlook.com (2603:1096:3:14::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4394.15 via Frontend Transport; Sat, 7 Aug 2021 10:10:41 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: a58e9d81-726a-4bba-8109-08d9598b9f67 X-MS-TrafficTypeDiagnostic: DB7PR04MB5082: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1079; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: d2ityxE52pVkccq3Lv0AIw7z7t7SKfhRa1s+AiIwHei8c/Jv/Ks8atjwRZVUh2JagzxQgwxTVQVh+cRXt7Ic0YJ3xKZ7CbDOO40GYv+VvjJCM3zbFyjUnr+oiruoWAut/qcNxdFw0uEJmQ/3TEkobzl5VLlp0XmhCgJKlk4aAVcsrHrm0b0ZOicVJg10Q/h8+mYum8bGhamECO680LdFwqLBIancNlFMmHMG+qop4cI7SYxhS2ujDFnOhPmFirxBcaeJzHBKV2McTT5fmHNhoe2tipjkcGjwKndkyyIgtkB2HVX3UFoyp4opNJtYLf8x7QZzKP2puH8Cf01Oi7IsfOCM8rIoOF6j0UXDWXlo19QF56MLMMSNj//3Qc/NKc+3FC2NOeY4P9p/3iBpFWPExKH/DKdRp/3VIzH8Yu4P1RI824TL4yh5nDxePT0S6R36DqJambPpReKqx+CPS/xhzCB0cv4jMJkZF4FBNoiVAzgJqKW3SShc+cEjudOF2VgXo2GUurddMBXoHm8cUImEAxjfbiZ15eLm39jCLR6frLfSHIygP1HEmg9tVjWUc9A3OXepMKUP9fg6BJpijMsXAYBpRbKZJr/bo5cbFHN9UoBmc20h9YlXwZOqDeD7Taw57tYev6EY3YnmUoBQw4YNiUQ0b15J1tkZAU6R41OFoZuka4ZCyn6A7PxtBi6FuvsPLEAk6KIS5AtfjkOhPNRyparnVbVPzGtVBCywDIFcNxg= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DB6PR0402MB2760.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(346002)(366004)(136003)(376002)(39850400004)(396003)(52116002)(38350700002)(66946007)(66556008)(7416002)(8936002)(6486002)(86362001)(2906002)(38100700002)(8676002)(66476007)(6506007)(26005)(4326008)(6666004)(5660300002)(186003)(316002)(1076003)(478600001)(2616005)(956004)(6512007)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?NMTVHW92MEM73X2bNq4q0/1X6LqNWcR8c3rabC2kuW7qJsc3e9WX1YGm4c25?= =?us-ascii?Q?ZU8rsHAMaUSZxNdIO8kkfPGHzjkCbOCyVm+Z6sbafv7a6DmIQv1bcHtSWvp6?= =?us-ascii?Q?KQNPuNa8J6PXduLLnXiGuiE2UBxH6sqqKLlMcFYW/VqNcoS/QwcBopRYDheH?= =?us-ascii?Q?HsDntbhqRngNnqNjRqIx0UDnqGirlbvZ4wDoXxGhvEn7YvBpGD/2CSOwkN7I?= =?us-ascii?Q?2Mxm5odhy0oBwEXdb/16Pww5IyV2qz7Ul1zATlzMWSUv/NxykUUzwt7Oq2M8?= =?us-ascii?Q?lTeSZ/ixFE3zkJOtncOdnbfm0foyfsTQ9JYpAPo3i5k+SIK2cHl0zLB8uBPV?= =?us-ascii?Q?VgGU2yRT5tqEryhG1AYyrLvhWiY5AUbNcSafxB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Cl1PJKZObT0drPagGKIU38r30cYqGMCeWfhRS9?= =?us-ascii?Q?dPKuzUncRkxCAqtXYBxnP2VqTuZQ9LrPyJzgb94grPXPIA=3D=3D?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: a58e9d81-726a-4bba-8109-08d9598b9f67 X-MS-Exchange-CrossTenant-AuthSource: DB6PR0402MB2760.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Aug 2021 10:10:46.4160 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: wjygKEX8DTARk1rp/P888LZQayxVFc5wSAZGUFl2w1pr48MGy6xIxd4TkQdKbmkPG49+pNcgcWq1xd2YA/3SKQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR04MB5082 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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>; + }; + /* sorted in register address */ #include "imx8-ss-img.dtsi" #include "imx8-ss-dma.dtsi" -- 2.30.0