From patchwork Thu Feb 1 20:22:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 768971 Received: from EUR03-DBA-obe.outbound.protection.outlook.com (mail-dbaeur03on2086.outbound.protection.outlook.com [40.107.104.86]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D5FAB127B5A; Thu, 1 Feb 2024 20:23:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.104.86 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706818998; cv=fail; b=TmWnyNkMCJFXrJWg+qpTD8NU2S2xfnuHGmcihMUkA7TPPl5lHmTCb9tG4Brbav6thYqP8SygocTCPrRpEgAb4p5OdYSk0LhoMBAjEsmaqGjnafHJg0ZcP+i9wjAa4b5LBYhKEhD6MS4n8LYmWbv/qAmWpA3DaHx5d6BMW8olACs= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706818998; c=relaxed/simple; bh=UQfzJNubfOdP8iFCuypP8/Va/j7L7oqf/pMInW5ooYk=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=dy0FOlZpw/51Wevzr+WLz0XXmxSqYJXPI476rVQPe7wu2ilTitqezf8Bo/p1EbR/zd23RDbAFr02h/XbYEC4v/LNduZcca48fIh2mDUrK1yq+jt+cRIzh+8UuobY/A42H1KfIlasUh46r0tVlVAfT8+SBfgr+p6YXGaT/n3QU4I= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=KnXPDo0O; arc=fail smtp.client-ip=40.107.104.86 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="KnXPDo0O" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nGOsmSZQw3XMO8eNd2OjYNFeP/v0KXOvyUkkJtqFZa+AraANfQueLDN4Ts6zs6jlAUKHv1zjeSm5Zie/pVbmMU8ithObg8bIT0KpLKgcWuk8hrSt7SDM8ZwepW+4Mbq6hgrICyfE+knqvNWu1SKMN4CJkNfOU6bpUp2PiJSEuABwiZgbi5kgv4wCrcwVRPkz2mc7+4F7Y2WENBjrQoavxnjNi/dWiOR2UC9/CaFeOY+nFqLgGf3kyc97NpcYcIlqGYxUmAClLTEz4tAJFtcpolor9J317sam27NcL4CqPVT1uuLbFUt42o0y/sl/iYlYud68j8nYKXQw0hN0hr5NUA== 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=y6qDKsJbxXjl8uHpX+tiAtEy0kJUHgClMUhYnhBkLBw=; b=FOlsOGNboXsR4qNXBNt4KVfrC8CGz8NzeciUQsdOqM5/YMLNYDrP+dm3iI0/u9LMQfXjySVblyvxczfcMc3q6jMrAvpG7PStOK5q+pIZZKxG3lgOs+Y3F1eyFLGIsuKPTlyvpMQq4dSmJpo6rDz0EVwmGJAfC2nCVt5nNyWEcRIJHE8ZL3pv+1vSKEtprHPqMJ2AyPN5UoIfqdhAjeQ1bb2XWlbLxN3IfbSNfdBNw3+WsPkwP7IrW3YoSYZR6I8QfxiQEiMKOt3UXXC8McQMi+6vQgwEakqUq6TZA93uNAnUkpRQcs+/ef9lo180Shsgtq+sG+58222AOeiTfw0JTg== 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=y6qDKsJbxXjl8uHpX+tiAtEy0kJUHgClMUhYnhBkLBw=; b=KnXPDo0OEkfbNL8UmIZ3YewM/xxP8hpnlMZ5wg+LHv2KgUBb1GKWkbBREuUJRi00h66T4N+BeqeG00H609OppenfvegfnpTugwBDEkjZC0UEw7jvMIB9OGJ/9P//PW10QLbddRrefhgdPqq9mk+oDcIIumvE0/ELNM/BYgZ7908= 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:14 +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:14 +0000 From: Frank Li Date: Thu, 01 Feb 2024 15:22:41 -0500 Subject: [PATCH v2 1/4] dt-bindings: mmc: fsl-imx-esdhc: add iommus property Message-Id: <20240201-8qm_smmu-v2-1-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=673; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=UQfzJNubfOdP8iFCuypP8/Va/j7L7oqf/pMInW5ooYk=; b=hgD6HyiHUfyPKMn+4AxGgyjrAwtXmMr1vVJ6z/FW8zAmVQKbAFEJyc85FcbcQyCffqU9OdXWR mYpt57Gx+lxAx7DWTRDwolY74H7Xl+zXYsuY8tFyaIPvKt1gceaFN2N 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) Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|DU2PR04MB8741:EE_ X-MS-Office365-Filtering-Correlation-Id: 35ad6ccb-b3af-40fa-c469-08dc23639e08 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: M9zKK8LOiS8h2wFXYsBbgzxYDwTbSgoh0SchGEDI/HrSqNKiz7MFmfWCw7DRCX+rutuNUCsxohhkWoYAMhaZaPxuTBCjUfYm0d3/QK8ZD6HJp4PNaZH+cWGtYSJqaOhXXOXmXJ2LdpE4cVROJ8KkozpYV+fSvjV/JOoB3d9zGdDNRJHhDA8dRShEPlp9sIWFjxKey8oE7Pz9pCL0rTTINOr+MQ6tjRxxe/yniQmR2QsG1Mg/zYZHKzettXOLuRRTIorf2tSWt3BUxuZvG+Lt9G44S3PXaKG+aS2KNyMImOQH/FlU8h3YX7Mb37xSNBAvbm5qkKsB0lFE/Yng/SQsKkpf19q4rnYEli4WNOW+llSxNteZZHwntFCZZByLJOHNd4a7NLVi+6+MkFZyKpqddgHiiee/Wr5xEOkRjojNSmXqbAgZGsyH4Y8VtW9cYpHJVZ7T4QOu0oMGD4cRzE1bAukNCMHjMzIX9wKrVWQujW64rVf9fZOPtZAtRd2wf8r8Z5mLNT+n+5H2ShGj84INhvev8/RNr88Qh/M7OsPjLsMRRLXPRBTvikz6b+uFDFtGpsGf5D0oRzpRAXjqZ+k8Ned10qGh7YvnvoR7YX6v9n30evA/3Prwmom7+i8n5rYjZmZyOYDL6rxoZ/7Al3oJFA== 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)(4744005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?g+C1x38UHr+eGQNdZTskOOilfCwi?= =?utf-8?q?BokB7TmsylUn/glvyt6M5UxWf6VRaPMhRG5hgjA09pJpkTV/kCKPGKrboSFhTpc+b?= =?utf-8?q?Q+S5Fu/EgytP0BR0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nIFSHCf89pku21rG6o05epcCMHmAOcangDdBXtpjD8DSC?= =?utf-8?q?48GW+zj8g0+8Y2PTVPl4U8GZYtdzDV45sR4K5yluiTNWRqsn+4zLfD10EMKLbNVtZ?= =?utf-8?q?rku9xRvUU0X433uaWS2Z5pEPzIj7LWYzmAAP+R/aNj+A/e6YvONMsQ5TOfmvDFCmq?= =?utf-8?q?LGWtPzB5lFSW9wL9Sc4zyYXbcY7hjNKGeiVbRZIQfG2EXFNbSPsE/vJupNSH/NLTr?= =?utf-8?q?ksFIskqMCU4LZtcpwJcqrMjahbk7UK+d/plpWmLbhBEyAZCudWwm5Sq8gnX1jm3+h?= =?utf-8?q?53snpdW76pdjaOU8Zeq+njSPbj+kOfNRuDo9yCHIANRtQFUgw9xMO1buFBVx+OyYk?= =?utf-8?q?zZ9G/6OsvEHTjSZHi+FAX6lbLSOEjtZL0PNL8wVDqGMnJ+dAh2tp60ITxXdJ6o3uH?= =?utf-8?q?aU7C8vcazqfClivAZQ9ZkiJMlHT9y/+/4sXIxuq8V1hHL0B7NOj32Iet+G0t9p/Yc?= =?utf-8?q?UA0/9BuBQADJTMlzmwu7Lehj2Q75FhTrhF9A24DBhc3qb7SsK1AGMIcfkJcsX5Qk4?= =?utf-8?q?bH3Bu2nOkZ4Q?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 35ad6ccb-b3af-40fa-c469-08dc23639e08 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:14.0810 (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: PvohHrhBImRN4ahUX5U82VowWnjCZoei2Jl3+zMCGsmXotKZRyeaVWTpOZV8EcH1KQqWORZb1ofKLGkI51XckA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB8741 iMX95 and iMX8QM have smmu. Add property "iommus". Signed-off-by: Frank Li --- Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml b/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml index 82eb7a24c8578..0d8ed9d055ffe 100644 --- a/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml +++ b/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml @@ -162,6 +162,9 @@ properties: - const: ahb - const: per + iommus: + maxItems: 1 + power-domains: maxItems: 1 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: 768970 Received: from EUR03-DBA-obe.outbound.protection.outlook.com (mail-dbaeur03on2070.outbound.protection.outlook.com [40.107.104.70]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DCD0A12880A; Thu, 1 Feb 2024 20:23:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.104.70 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706819008; cv=fail; b=YyDZmk7jsSGHB1KWDG6yT5RrnJZM655ORH6QmMYnyFZSFelL66X05lYabXb8/HotB48BLp1KGNee2aAPZ1Ao6/QwQrPy9qGCQrGwYy6pDwxzVycSxohGpFLxgIMhLqjpVXaMu5uCxSI/+m+PI/WTMC4Iyx7tyGC1NbO6gqNrLNQ= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706819008; c=relaxed/simple; bh=wr9vnZjPWhBJ8uuNvNagZ9WKFNRRzKZuytw2UDEDZ3s=; h=From:Date:Subject:Content-Type:Message-Id:References:In-Reply-To: To:Cc:MIME-Version; b=dAxyUHRdECANiME1oqUzN4J6TXZOT8zR66uBVNZFZi3dkk1vuBWfeRw2aTCVQXt6GN8B9oIoNAArgwKtPo705yDOlw/Euu9QPSFmelLR0PayJTFymC4HJPZkbjYOfPOKTD74XfN485EclqgFZ00EqehX2WygHFUqYeWY4Xiw6k4= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=P7oZIf9y; arc=fail smtp.client-ip=40.107.104.70 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="P7oZIf9y" 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) Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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?= =?utf-8?q?8oYMyogOPXz6sGm8ko2CfLFUuJ8i7kH+AACdgF0BQ8W3S443+T8i57bN1mnIObmYj?= =?utf-8?q?IiN0j6dIvGxXO9mcCJT+WGnXyGp0bp24SyrQCW7e42HW5KnOe581+woCwIaqf57Xw?= =?utf-8?q?akrS/n/1X5KyjVGVY7pj+ABB5KufpjXLft71MeZbjrFlEJtupOvGOELdwum5uJDKx?= =?utf-8?q?OstyFg1wfM7xYeHzbuCSzl1LWS96PXduHDznGMm/7zhxs34c6avU/5oNrCV5g0OHX?= =?utf-8?q?3k7rqKT1miM5kQXlaBf7N+CpkPnsWgZertdwLLgXW1/IRZA/q7v9Bnol4bcU/k+Sc?= =?utf-8?q?WROrcSEOl6DO9eBG57RxaVYSoNxDxeMH5xbSFmcVR+zCwziajXHt3Om5NWgeWFWVd?= =?utf-8?q?c6pZ4apeqfi4blbj+irsadt6/tZb9RMYQ3dLWsHwC5q9OLaEkic0x9jZVSmPM7C9p?= =?utf-8?q?NrhqPw0wIDEWr9vaL8isrC88SS49YYvrD+jtuuWUNX4OeMQ/lvyQFw+y7HBaMA0yq?= =?utf-8?q?Ip+XX9qKcSXmXzTgj3EdD/vthlnAXQZO3805ioPCvUWX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JmTar30Jr?= =?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 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",