From patchwork Thu Feb 1 20:22:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13541797 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 99C99C4828D for ; Thu, 1 Feb 2024 20:38:44 +0000 (UTC) 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:MIME-Version:Cc:To:In-Reply-To: References:Message-Id:Subject:Date:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=7P0MLo+CfcAVl43wtVmWZ0Pqx9RLbaiXWCJF5EyckiY=; b=I3WyrHrcB4EMYKqg1wpu9lOXr0 92DZ8DY3IYJ0UV3yfnIL1YW1Ktq0O0dJ4TiChbLIGCs5TYTgbaHCpl69Cj7PcR2krH9b/2WrUjw/K ik21aQJL3h7te6wbgAxLje+7koGL0cVqN6H6Av9vP/WFEcw6/kMEXUHfioHLFk0Ij7TadRrROLn0t YQSaU6rYHxesFK0awvjN/vXr/9LOEB5H3XKKfVmeC8ktTu2uLssPwvcpf+vj3CmtqJm4vovf4sOe3 UmSwmlEq+T9+JUCvUAw1M4pdF0NmnaHncQicTgD3Iq4ex5RpaUz4Qj9LN7QTjpbSht7w5jQcqTQU8 o1GyKmKg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVdpT-00000009Ier-0TZP; Thu, 01 Feb 2024 20:38:35 +0000 Received: from mail-he1eur04on20601.outbound.protection.outlook.com ([2a01:111:f403:260f::601] helo=EUR04-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVdpQ-00000009IeU-0L5r for linux-arm-kernel@lists.infradead.org; Thu, 01 Feb 2024 20:38:34 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Hd40Q446Zrx9fUZUqOrZ5GN2k3os4IUaPYw8UYaMDNoajQ3eZc6uEaraC/4jg9y2cvuwNEDLGIqDHq7d8RHIS95fMt0rMLCfUSObur+LTyZMEO4JFk1PXyLRaVGNo4UQyqaq/+p406g+inMgty0RtPZLCz+r/E37VRWc3NIsPR4Ab7XIw6wE5p7hyBYQwkXF3ArKK679OmzOe4EHJ5wm35t+17Piwu+TDanXUV6pLGe2Umcqg6ZovX1JVfKCR3dbfImiPCIvj1cdJjl16W3dIs89NDV5YKsIkn9mQ8mmfEhjkaXCHbCXra/6y3tuP5A9ottjIUL4lHZpO3r0HsdRfQ== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Qq19yytUA9OY7vL0NGDwYeRLY4AC+ya9bTwLOseoxGw=; b=lJmQIaeABoS47O8fZHcIy2KB6CBVHQMhbhLpcW3mXBPv7vxRS6ZXq+RMMRya52k4vu7oy2PDJn0QRGKEG0tJ6EtE43Ql40RYOKzQeWr9Atmt9CtN3cMO5nhad0WIuR3fr/poL2dXBpllqNLFYqNPr2+jK++MJkoWcwDWYxLJLHNumDsdp5mYkoHXfIAtK1eKX5EgUP9Crozd/HEtbemkL4Q9nMUwda8QPbHbc4gqn+mvUFJKZ0bn1bGH2/ixfIWBuY8Yct99eDfyRHTvfOOMT/BguO+Cu8Acl3EOv/mbnlPSkF5AY3RshL4X7WNPeO++VyzUG3DuG0qAbFRKgu0/9g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Qq19yytUA9OY7vL0NGDwYeRLY4AC+ya9bTwLOseoxGw=; b=P7oZIf9ycdA2Ge0vwwG0bsXsWbCXX736gDBMi5xm9Ll08CwPrf3k9H5JpANsjg4eKpFV4jWWGSJFaglSTkYV8wVYaiH1cRfHnM6rUilZgfKhfzn04cHBfen2VXE+L8vqznWykOfLB3QTOaCpjCVZwSCdwRX8CqNlL2bnAoqzO9A= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) by DU2PR04MB8741.eurprd04.prod.outlook.com (2603:10a6:10:2df::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.30; Thu, 1 Feb 2024 20:23:24 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::c8b4:5648:8948:e85c]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::c8b4:5648:8948:e85c%3]) with mapi id 15.20.7228.029; Thu, 1 Feb 2024 20:23:24 +0000 From: Frank Li Date: Thu, 01 Feb 2024 15:22:43 -0500 Subject: [PATCH v2 3/4] arm64: dts: imx8qm: add smmu node Message-Id: <20240201-8qm_smmu-v2-3-3d12a80201a3@nxp.com> References: <20240201-8qm_smmu-v2-0-3d12a80201a3@nxp.com> In-Reply-To: <20240201-8qm_smmu-v2-0-3d12a80201a3@nxp.com> To: Ulf Hansson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Wei Fang , Shenwei Wang , Clark Wang , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Cc: linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, imx@lists.linux.dev, Frank Li X-Mailer: b4 0.13-dev-c87ef X-Developer-Signature: v=1; a=ed25519-sha256; t=1706818983; l=2277; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=wr9vnZjPWhBJ8uuNvNagZ9WKFNRRzKZuytw2UDEDZ3s=; b=+atxvXuLznTM/geO+cwO2+xFA3Y+oVHY4kKch6Wfv1drqaQaLgX5V2FrE6uGEgMsD3CQAWy8L IPsti2RB3viCaQk9Li0lDk4EHytZ90xex5fDOT9ZwxShNqrLgjlTB1T X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BYAPR07CA0066.namprd07.prod.outlook.com (2603:10b6:a03:60::43) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|DU2PR04MB8741:EE_ X-MS-Office365-Filtering-Correlation-Id: cc243067-c877-445a-aee9-08dc2363a42b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 0HEoBabJAxeil8KEqlyJ6L8E/8Db43+m2IxH613Dm5gCiYwmnenkA4e/8PCzp3Cc6j1Io1mArDFcLa0QVZ+CfMYJFxZ/TkuWKIJr33846U5Q+CNxGSYDC3hGiqSUmTAoxuMYN+I7vV17CH2bfISOCYp4so50BQkZxFnjU0j1zsGWGxmkxv+vmZlOCS57IKAM1GsgzoDhyBoLSGV116lU3YVvqFLGwNW52YbpuMTB+PPr9Ys3WESzSfzRzWrtJ6iXxnHXl1HeKRNyTTshBEFKUgW6bfokB5CAaGz46I+Y7i8JqQAcuEdc5RlZ9RYmvG1JDbFKHBXgadPlZ1OMjW2frUDhzYk8Feo4CawSfLken+L+qSHb6G/4AS2G3iuZvG1wEQARJH1yjshbGfvVYvfFPObvy8JwWHdxC16YkO1qE4KU/T76VLjMzO2ecyVvKk9SiYeUoijTqLdmQObFLFcoBsAHRRPlULDLE2XDRirCc0O9iz430aKPjQEdw7LGxtlDOr4WaqGvxWI7l5YZeeaH2HkL7U71pMG5Y6zWD6R5fR39uL1G+o5ou6nKRMsgnJ6QQeyWLSbYKVtej2/q5LfzcC9b+8VpPVFvNxJS8VC3xWAES1HomiVz6wKhHQiIpwp5A8hNh7sGp1Tkj7Q1iW2N6N5YQFnL/2Y7Z0Or8QSLVUI= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9642.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(396003)(376002)(39860400002)(366004)(346002)(136003)(230922051799003)(1800799012)(451199024)(64100799003)(186009)(26005)(2616005)(921011)(41300700001)(478600001)(6666004)(6512007)(6486002)(6506007)(316002)(52116002)(7416002)(110136005)(66946007)(66556008)(66476007)(36756003)(8936002)(4326008)(8676002)(5660300002)(38100700002)(2906002)(86362001)(38350700005)(32563001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?f9foQcx1SjVw0md6KyHXC6xdXLPw?= =?utf-8?q?IkGT+NNyjjAupBy9ZC/xX0F3BRop2pwEZHff69MEXMF978P5k/uV/X9biOltjK8A9?= =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wq5EZobgKmBtcqSx2qxXZI7NZTVm35h6oPei/WOcUKrNjX67dQQck14p9?= =?utf-8?q?8wHVn2aZdyM5YVy0c+m/Sq1U8poxL4qtQnKYhYhB2gWpybz+UHiPG7cSWmRkVxL/c?= =?utf-8?q?RjlduEIPLXFMgktq/tiGNhdpOqCxeu6UOfEx1Vk9IwG6S/rg3610djXz2vEC9NHcC?= =?utf-8?q?xtjaVmzT3GCOzUk2KfThBKtut7QvVOLgmCPjmgaRJbf49sGhXQpZhj3yAzgte4/L9?= =?utf-8?q?dMR/WMVL6Xm+Li/iLEN1xUTliPl1Vi514CLAZMp+xyUrnFrkpUrGhql1KDt94ox+c?= =?utf-8?q?WDLBwCYp51YJhJbtrWXP9E80XCZznlLRv7WTRALmnO8dpIe5JGm1N2nEF0IX0eau3?= =?utf-8?q?K+KlhfXqZ5AVuuuBYiDxzKdPKfsT0kr/iYRaFi3Y+GpTydO1T9DyBfR7fWRZYTOmn?= =?utf-8?q?BzKhb5lFmhHBkIxi7d5sejuAdkghm/Pu+rwDPbJejjaelH86bNp7JmLl5+heGDi9E?= =?utf-8?q?HK8+h3upsfGRY4BFRVamOmMU/LngSjYEcis4ccifC/2JDBhsqyl7Jd+iJmTar30Jr?= =?utf-8?q?k5MFiz4GaO9R?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: cc243067-c877-445a-aee9-08dc2363a42b X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Feb 2024 20:23:24.3954 (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: ccEFlK/1BYQKEimizYGk/Ed7nGnJZoOMKikw6Nc8qNuLy1m/wuNanWnhGUAYtqHwZcuMIEVLs8qXmw+iSoK69g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB8741 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240201_123832_165692_F54749E1 X-CRM114-Status: GOOD ( 10.83 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add smmu node for imx8qm. Signed-off-by: Frank Li --- arch/arm64/boot/dts/freescale/imx8qm.dtsi | 41 +++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8qm.dtsi b/arch/arm64/boot/dts/freescale/imx8qm.dtsi index 31744fc1ab085..b3d01677b70c4 100644 --- a/arch/arm64/boot/dts/freescale/imx8qm.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8qm.dtsi @@ -265,6 +265,47 @@ timer { ; /* Hypervisor */ }; + smmu: iommu@51400000 { + compatible = "arm,mmu-500"; + interrupt-parent = <&gic>; + reg = <0 0x51400000 0 0x40000>; + #global-interrupts = <1>; + #iommu-cells = <2>; + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + }; + system-controller { compatible = "fsl,imx-scu"; mbox-names = "tx0",