From patchwork Wed Sep 14 13:58:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shenwei Wang X-Patchwork-Id: 606761 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9C081C6FA82 for ; Wed, 14 Sep 2022 14:00:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229900AbiINOAH (ORCPT ); Wed, 14 Sep 2022 10:00:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48050 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229815AbiINN7o (ORCPT ); Wed, 14 Sep 2022 09:59:44 -0400 Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00074.outbound.protection.outlook.com [40.107.0.74]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 796F7BF42; Wed, 14 Sep 2022 06:59:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LM0kNYkfLlU1nYrobdDjLy4SoVAp7DOJvEvi1NihWOfKBWCZ+wtc31Eu28pYvvsCnHdfcYrN6wTa2PDCOhMLA32m0mKoEhB1TH0IqGOPLs0yTQawvQFhZ4CGUht2jV1lK/qQ6xMSgRA3ED2KY7PxIBXpL1UtcWGqC4O6j68Al1jTeTV7F/5cUzIZSKsKgovucDAf7dX0kYG3ksezMY6LfWsmuVdOdE7WJSX8eWp9IYa16XavXiCkbb+Q3pjVWjS1lDzhwc4IoF8p5WR5S0U43LtNPaFIcowOb87ucF9j1U7eBsX4NhKaeAH32Wynm4dBDPz0lMhOsXDueKbvtsenfg== 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=EHhiC5QsF+JzIhG6doRHhCQtHC9jdJD///6vKdKxEAs=; b=Hy+4aJcqBksNGCD+6/UtbfWxe+d5HU759yyWjH6YHp7bpuDibjCC6Y6pWOrdOesYEH8ZW5oBZD2SAeOWTKNqXTSarwwcd6s3wGbhRmq+VigmdprMpk1t4t9V+FOwfdWa7zsyQMoObQ+DqnPhVCjDWZEwsxj1TX3KWSC2D4vq70307ELveZfoaerOzY7aRIudLDiA1YpdN1m73g5LtAfKc0nfUitXiqXk+kjVdhj/tj12nJF2g1Z05mHfhtzDCtTe0QQG6K9cMOnrIg3Ya55AABDmc0ZI+xxhN+yWWbh+cAkYrqXOtKvyq6UpG7j5ojj3WNXZtDQOcH9ssWvzt1I35w== 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=EHhiC5QsF+JzIhG6doRHhCQtHC9jdJD///6vKdKxEAs=; b=mtbICgTK9nlhSevXMr1ihLR72PLRuGg6AGtDamH5djqQPYYhScHlWGE0wOPGQi7rYR6sPig/GcPWFWFU6iUaxj4YnvXgssbRut8egSv/b691Hy2OcXhiblbjurfMtVUDtKOcWHJVifY3LrvoFYl+M4QK+wzFkRr1fAcfknEgOss= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AS8PR04MB9176.eurprd04.prod.outlook.com (2603:10a6:20b:44b::7) by DB8PR04MB7129.eurprd04.prod.outlook.com (2603:10a6:10:127::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5612.22; Wed, 14 Sep 2022 13:59:35 +0000 Received: from AS8PR04MB9176.eurprd04.prod.outlook.com ([fe80::a552:97fd:60f4:edd6]) by AS8PR04MB9176.eurprd04.prod.outlook.com ([fe80::a552:97fd:60f4:edd6%7]) with mapi id 15.20.5612.022; Wed, 14 Sep 2022 13:59:35 +0000 From: Shenwei Wang To: Rob Herring , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer Cc: Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Marcel Ziswiler , Marek Vasut , Alexander Stein , Max Krummenacher , Matthias Schiffer , Denys Drozdov , Tim Harvey , Alex Marginean , Reinhold Mueller , Shenwei Wang , Viorel Suman , Abel Vesa , Zhou Peng , Shijie Qin , Ming Qian , Peng Fan , Li Yang , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, imx@lists.linux.dev, Rob Herring Subject: [PATCH v8 1/5] dt-bindings: firmware: add missing resource IDs for imx8dxl Date: Wed, 14 Sep 2022 08:58:44 -0500 Message-Id: <20220914135848.118616-2-shenwei.wang@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220914135848.118616-1-shenwei.wang@nxp.com> References: <20220914135848.118616-1-shenwei.wang@nxp.com> X-ClientProxiedBy: BYAPR03CA0003.namprd03.prod.outlook.com (2603:10b6:a02:a8::16) To AS8PR04MB9176.eurprd04.prod.outlook.com (2603:10a6:20b:44b::7) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8PR04MB9176:EE_|DB8PR04MB7129:EE_ X-MS-Office365-Filtering-Correlation-Id: 679b83dc-7560-4280-7efe-08da96595ad0 X-LD-Processed: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: jFlwPyZT4QDjrTjLOIWjiNN+Du/yij5BSFlf/R/rdcVPtdhvst5waEsXNAJDDQjx5TyW2pRjG1s3JyQDiltrp4hZwI9+NSXAdCWZt+D2E5YlbvSPF97y9zzduTgI+4Wa8QcwpSJXZBaJE3SltucvGgqM10umBbeNg+6pJ2+NI36DTROwEMzYGvIReJ+lhFd9vp7k5C2u4d8Jt19442VOOwYfTL1fGslpsqPak1vZYDBz1KI7rJpmf0SvH/8hc2IFyJndVYpjw7kH1nKt3tJSTr2lvtjLb3T8BHEEkkx+6HYKjSKS/aSI4IuhHQrFfYXBVEf1cmjsivcDaV8HUDWw5KD2u/dlG16Lpjy3+pehDljiN/QRcPUPsJsVKZBP2Bb+gC8jk2aWniYMbC15yizW8JBBWq2v77DNUNniJaCGQWpoABCf5fMUsqR0q6v1nnSe2aceK8hSdDuvJiv7fgVoRhP8NCxau2uZK5em/Zg3z05S1Gc32+kr0RZoX1WPy+ngYfO66tm2ztQ1udskydNyS1OG0qQAfS12R7M3LwC0kUTG6xpRb0ZzQr768jj8Ea/zXHiwJqIEkK8wb6qSxg8BFxEcZVO07JaOU5RPPIL9gdSi4hDNfdSGLtn0caM5bAV5SfqzM3j9Xo5VRWg1ZhPAhE8iOnCt1dcgVZYo0heRtkiQ2SXc1D3ujxbaSYBr+hDhJO84SdIWA5Rtbns2uSWDPk587+B9NqgjmrNDN4XX5LYQG1WFB5A4nCEtjkTAn1HpYFOyQqdylfT0cf5eLALXRsy4l30F/zW0WrumlNrGU1g= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AS8PR04MB9176.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(4636009)(136003)(396003)(39860400002)(376002)(366004)(346002)(451199015)(38350700002)(4326008)(5660300002)(7416002)(66946007)(6666004)(55236004)(1076003)(66556008)(38100700002)(8936002)(8676002)(6486002)(186003)(44832011)(41300700001)(66476007)(86362001)(26005)(316002)(110136005)(2906002)(478600001)(54906003)(2616005)(36756003)(52116002)(6506007)(6512007)(32563001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: q5zS65AKIe8nkfo3BDvQa6OIbNNsGxKBHHdPmJlmIgz4/Qccv2ASbmCRRyIxHVRb3e2q14Ec2IHFY3JwxPyQPbBukumCvCta4EbVQXRJUHep39a43GENVPXZYo0ZKw/8c+08Pg8u3DBYHoLRSnZeBOfpspqrM6nYEZ9C1YA/MMlBWj+QfZ9z5WT9MtKwCe6krQ26ZfEX3JAeK0nxGge/yU0xR8Rdo8DbIKwhsVyTY0RqruyeWlfqRRXSai+ruvJLhIUSLauu9ylZpwYB/YfDJNb6wQjRPn5eF7UtWFboZwyTrVkX2n3GHfXQqiCzFBGe8Q6kCQZkbs1jt7noY93/R+yy2Nj9IBBTDu4jOf/jLlNkAfdi3ZzNakefWz/gOb18UtDQz+iEF3B0fhcC2o2vGjNjTZHV+7LIZbPzt3sI02K/cydh8KFnPzuXDrUZZ+8K57w8vFW2oeUflVcH4+7y39l0wPy/3gNJQyeYobJHj70KCRtwtychdQLNc47YylfNX6YNK3pD0Bs0jG+oGaHEUAMMO8GJ0Maz00lyOkuCqg+PAt4Bm8EDnPru6beGw3Sby6skP/lefCqwEj4j2fz6wOQOeNGy1S17yz4k8QrGpJDTtQDDn4L+d5PjZmSX87llAbxq+UPyvZp65pQBfdmsHii2Jr/O+3EtGidl2OEDSJ9podI8jkqlQ2313Ua6LYTNSu5A5OUCufJm18+0Prdhu8GOPWGHG7hRKocKhQq/NOAhzXVf91+iqcVi8F867yn0pBJ4kFGxs07dBU0hOFZ8KcAZnIJZ/q5B5y3TJF4l/uNIpWG0/IKvK9Jtq4GEDxYUYRB1wyeXxVkYVxto1PYqUMtNGKOicyX9/Ie6ZhVg669+slzdojgRSszGzO7nij/uHAwbaUfMeYo8VymBJhfKiib5/uPql4fxbUKr9XcHeLbWRChxnB/HfPt4FyuIGv+BipEezBDrXwJucZbuoo9Ioyrde9Nrtns12IxCUVCBx3aQThKreHGx3hd87aZIgSdEw1SH+heVR1h/K3j4X9l4qI2zPfjTHZKCBYeD29hfvuzPMPnKkRPVKPJd9QFQh7dukskSjSfKZg5gHJlVlt1b6qdAPocXk8lbKeos4F8JmG0y0KU/+eyZ/Bcpz1c9o/9/7SnGvi2NSvVJw0LoXI2pYC7frhYIpgg6bIHtZ3DsUlkTV3fwlHsOff4tOgcUS0ppFBvGC7jvmeepowBC4YWT1fQxWr0SVn5QznapNLN67p3Vzs821GJuT6awfiz8cPqvfXbVcP3s81mjdS9C3S+DmmAaMo4nFTrD450qswW9HQAZ8eA+h1QsTgabpdgIMOnfdJYXmeJpKuI4w9OfnbjUu4+jX0nYpCDfruON6Wu6E9tdJ3HX1XcN3ErlsyrmA7KSC7o/nQzOuCxnomtWFoISTJEgHjMFvFKQMqvbhJivvWcf08DX1Or5TVhjFTn58VOYGKDGtIIGqGokBe7Na06ZIZ9DLdTYgfvvZcqSBp6n7ZymYeWPOj6PFJzMbY4awnxL0oZnGC5oklH1Rcr7MAaIJmmIgoYh0ILdt3HgKRKRxJbQfIS801ih2IKD5ZlCGYVu X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 679b83dc-7560-4280-7efe-08da96595ad0 X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB9176.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Sep 2022 13:59:35.0434 (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: g7V5k8wH1I8sThBCtXJy8zAC9T0sGZU1Cn/MkCvy3swW6/VmZLePMlinHlumt5nFLiZmLnQA6Li5kqExm1uh4w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB7129 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add the missing resource IDs for imx8dxl. Signed-off-by: Shenwei Wang Acked-by: Rob Herring --- include/dt-bindings/firmware/imx/rsrc.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/dt-bindings/firmware/imx/rsrc.h b/include/dt-bindings/firmware/imx/rsrc.h index 43885056557c..1675de05ad33 100644 --- a/include/dt-bindings/firmware/imx/rsrc.h +++ b/include/dt-bindings/firmware/imx/rsrc.h @@ -37,10 +37,14 @@ #define IMX_SC_R_DC_0_BLIT2 21 #define IMX_SC_R_DC_0_BLIT_OUT 22 #define IMX_SC_R_PERF 23 +#define IMX_SC_R_USB_1_PHY 24 #define IMX_SC_R_DC_0_WARP 25 +#define IMX_SC_R_V2X_MU_0 26 +#define IMX_SC_R_V2X_MU_1 27 #define IMX_SC_R_DC_0_VIDEO0 28 #define IMX_SC_R_DC_0_VIDEO1 29 #define IMX_SC_R_DC_0_FRAC0 30 +#define IMX_SC_R_V2X_MU_2 31 #define IMX_SC_R_DC_0 32 #define IMX_SC_R_GPU_2_PID0 33 #define IMX_SC_R_DC_0_PLL_0 34 @@ -49,7 +53,10 @@ #define IMX_SC_R_DC_1_BLIT1 37 #define IMX_SC_R_DC_1_BLIT2 38 #define IMX_SC_R_DC_1_BLIT_OUT 39 +#define IMX_SC_R_V2X_MU_3 40 +#define IMX_SC_R_V2X_MU_4 41 #define IMX_SC_R_DC_1_WARP 42 +#define IMX_SC_R_SECVIO 44 #define IMX_SC_R_DC_1_VIDEO0 45 #define IMX_SC_R_DC_1_VIDEO1 46 #define IMX_SC_R_DC_1_FRAC0 47 From patchwork Wed Sep 14 13:58:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shenwei Wang X-Patchwork-Id: 605946 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1DD33ECAAD3 for ; Wed, 14 Sep 2022 14:00:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229472AbiINOAU (ORCPT ); Wed, 14 Sep 2022 10:00:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49210 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229897AbiINN7u (ORCPT ); Wed, 14 Sep 2022 09:59:50 -0400 Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00074.outbound.protection.outlook.com [40.107.0.74]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 64A252637; Wed, 14 Sep 2022 06:59:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ict+dXwKJ00M7wYvVmKpdGR40jyetE/ubjDA73GjwAfdDkSXLJIvI2xX2zeU+emS1otcX/6sZlbwpIhYxhziZuzQGCGDM7JjL7XMEnFZUYPCG1SG8QTQjBEloU+r/NkQCz/OQEO0pzb1Ju03+7xL5rzUy/dYtpJPfogLuz2AGdiq5APisGaBLIQPUYG650UmFZffGz6Tkj3KgxaJxuhMJ44te2EhRJDOIYw06JaYTDH9CxmKoAwALpgYPTXJyfeMiaMyqdcMdwp/x4+B6agV9qy/GKe+Y/CFhfnMH43BdA4Y0K53iqVVC8III/3xNfz7NZyH3c1+hbM+/hOo6tamKw== 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=M8yNQEMDS57YPUNAPjCr6HikpMj0/J2qH5ayn9MzK2g=; b=Rqka9KUn1JkdLlXDtqQPPvPMQI67KHWAyymvjZspKuxRtUj0nUn8Mqt04fE/6nhxFeXft5UKfpqTEhImvwfFrauhTwLMr3sFdp51E/teD40xnao2kH+kSw6m4bgQsxnG3epm2PhW7hnuSC//2A8pWO5mcUu9k5hJfA+oxfVO0VX8h+ir37XwL5wKuR0QqeI2c18A1Ze1BzzvcqqhbQ1YOgAuWzbSWcHpkSxtvZ22rCptH3EVb0dXObY6JihzvLnnKX+BK++XdcrNQUWUCB59d1JUHJJVyrbcoAofmHeW7E3/Ulw99qoCE6z+fK1QKN6HzURkEh2UZY1yhEyMspV/RA== 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=M8yNQEMDS57YPUNAPjCr6HikpMj0/J2qH5ayn9MzK2g=; b=Xvar4DVzXXezftL/sNI9MyvS8DXqhtWJCkfjnqpN0vacj8MUxKNZ/JjetmK5EcRI+zZ0jaHMt8pMeQlxtJp6mB+ftbfeoi5tafRMqPReN3/FuLDzzHXrGkQs9gvLPbtfWmVLYpRkEBMoWsfTQPni0LsiS0K0/wgT9o0Ps/xEU8w= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AS8PR04MB9176.eurprd04.prod.outlook.com (2603:10a6:20b:44b::7) by DB8PR04MB7129.eurprd04.prod.outlook.com (2603:10a6:10:127::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5612.22; Wed, 14 Sep 2022 13:59:41 +0000 Received: from AS8PR04MB9176.eurprd04.prod.outlook.com ([fe80::a552:97fd:60f4:edd6]) by AS8PR04MB9176.eurprd04.prod.outlook.com ([fe80::a552:97fd:60f4:edd6%7]) with mapi id 15.20.5612.022; Wed, 14 Sep 2022 13:59:41 +0000 From: Shenwei Wang To: Rob Herring , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer Cc: Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Marcel Ziswiler , Marek Vasut , Alexander Stein , Max Krummenacher , Matthias Schiffer , Denys Drozdov , Tim Harvey , Alex Marginean , Reinhold Mueller , Shenwei Wang , Viorel Suman , Abel Vesa , Zhou Peng , Shijie Qin , Ming Qian , Peng Fan , Li Yang , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, imx@lists.linux.dev, Krzysztof Kozlowski Subject: [PATCH v8 2/5] dt-bindings: arm: imx: update fsl.yaml for imx8dxl Date: Wed, 14 Sep 2022 08:58:45 -0500 Message-Id: <20220914135848.118616-3-shenwei.wang@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220914135848.118616-1-shenwei.wang@nxp.com> References: <20220914135848.118616-1-shenwei.wang@nxp.com> X-ClientProxiedBy: SJ0PR05CA0015.namprd05.prod.outlook.com (2603:10b6:a03:33b::20) To AS8PR04MB9176.eurprd04.prod.outlook.com (2603:10a6:20b:44b::7) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8PR04MB9176:EE_|DB8PR04MB7129:EE_ X-MS-Office365-Filtering-Correlation-Id: 1f4bd945-a4cb-40cc-ffa8-08da96595e97 X-LD-Processed: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: cs2u9f9QKeyZrGz5QqPzRPh1qbJRMIC8ua8PMROwOVi315mwdqEsdTc4uWqa29S/MlKAlYeEXNMJj6hy6CjwvITUyZiT4BnqU73uyNTPx5yacws9G0mcFarMfXHmtx+6IPyhUcg6f1Wt92XwZHPj4ATezOHhR3NTpSywtDhr+K2aNQe0s34a0rzB76xvD1jzRiD518dXhPFGhHFU29fd72nUlEPlH9LBs2TK9xajErlK8nIQcg3dE0ZLbBxYfiYSjR4MxwtZF0+4II4lsrZe2jA40NSJRK3nM5MoOTMy6SXNIPegMq6gaOv8/FxbTMkd9VGnsKL3vsJ9MoUlVAWf43RV0WJk/Ra2xWb6u7biOgNwz0eZp+m/vv3u4SouxFBkD67k5rO826QbZ1OpSZenwuPnRFl9fIoh27UDJJbPFBNsgySTpBobe9IZfme9jLFiCAn4PTC4nTmI6Twex+A8lvWzUfdp026tsDZWMCxsFAtx9T8JjINeePjHGO6N8k5SmZQRJ6/H0+Av8UihFIgFKCKGdA7LrSFvua1oUjvg0OVQKXtQJAa1VTC36szM2hBSQvPht3YtWQpvOt5sJXDdrgiBRlrDKr10Znn4EbZe2fYjGpAkPR9KmO1s4c4WJkDq0lHs4BI5kzG4chqv/o6qvGTo6SrhI9Zz/SY2c0osfR9vpdyjf/lsqvY8GqylD+rm0GwEi/7DnmwEfZYRlVx5L9+Kx9iYYvF/L97wBcqJuJbjyxkdrx2Zla7TA9DeuXpW94jtFpeVKustFl5NvxU4xamhSPhhUzxjWJTI01DR8+Q= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AS8PR04MB9176.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(4636009)(136003)(396003)(39860400002)(376002)(366004)(346002)(451199015)(38350700002)(4326008)(5660300002)(7416002)(66946007)(55236004)(1076003)(66556008)(38100700002)(8936002)(8676002)(6486002)(186003)(4744005)(44832011)(41300700001)(66476007)(86362001)(26005)(316002)(110136005)(2906002)(478600001)(54906003)(2616005)(36756003)(52116002)(6506007)(6512007)(32563001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: UL9767mZ0UWxC7cNPgvvhH+ekfsYA1nG65UCyWXz2oNJVPJX935ltG8uiZ69Au3kGwaA3djWcTLN8gZE9TMMaLeQhKfKC0I+NfrPFdYG4x4IcLKgXdzMT4yIzh7r40XomOWV68KLdD0w2r/Re6evV3nt5ywwRLz3xLhNIWG5piluoBYXQgTzxp2q6/52i9UAAQoavtBvibTw9v29RWt+kw1AHzfdQl/qszlZGKVolFw7u0MhOd6+Ok6atSLvW1mmIWkk2NPj2/ja/0s9xKAXGGpy+qKfobjKEg1T6s4tnXGICOWNYeKWMZ/6NXIAUmbxiiOXK1In3T+J/kC7sFkZdAH8QNpRQ6FxlTRSmul6CmVil+GRe1XkqImRkTKGno7P5Trxl0iUnEieOPi8jwE4TFYt3/aAp+tpg/qm0gz1G9jcIdVJW81B4Kp55WT3uQNnzd3g0EmSwGUHYMEetkrcNtcE2KvZeGtZzR2eRHiPSx4TY3ZVdJZEZ6cNFbSoEZm5ZfGXusOGkUo0QC9WWwfKCDO2Ql1epb6FdDVpbhWEKjOpJCYYwEC1W4pz0Szl/nK3EuQ5ze8miC9e20AG8O7qC7MOn17xiG/mFNicAzBeG3WUrbdwOelKhUSyeQvNdC/Iw3IunR1jqUNUs2TCuM61eDwiBRJi0N3ilNJ8rBasNmLTo0nTIp8PcnERy/fY1jFArFAz9NgPpBXHdCdusrbSndI76Mib2HL02tO1HGPdoJdHRGJCe5sqc3neuD2buEW83+WBD3FcS4e/lsT17Y4wSuZ6asopfFCV34XmCjTaXTvBI8lY50HFtGYtLIe2MKnb1RcufUEipHRSIkXaCbZIUE2AYrchj4L7ua+QatMTrPcYpEZl5XESHfW6JAzHQIf+jMQjW6D9Fp71puNOqLTt2rDNVqHHfTPhABYrBeoIfaE1/becrYwIVGgci7VBZm5Cp2FtZRfV4vXPBwWPwuIs/V8XhWBPEAcmsfr8QK8LPkCZfyao+gdVKKavBULhkY3f1qrDCKCK6UbRFvXifBcSQtCxBZ9uvW24AcAP9S5w0Yb+MiaTjj5oR2T+rnbAS4qGWs/Or45nvrAq+MMT9h1k8T0r47iOpZaEfLdWvaazIk70S+paImgzd2Lk0F+2sGVjsW+l8DlJj8J+rt53MyDn0geBow5sBnDUHZcLwY8+MfWrhyJRBga+JZr5/TgPKbqFl3r4adl03K6csy5bqmSYEpk5ic2mfBR8SuViA/85aLuI+Dg0+fbZz9jQNQrahSpRVa3M0LZ8DlOWtH3Mtdw8f3dZBcIXA9QvBBfpJry2dp8o5Lz+3JE6pOMXn7tEX8+CfiOqN6jXpjfvwOJJjzYu4HzD8ShhrMT+gRg7I0Xi/ShfrtWLaF1piWgqf0VRByYh/y5+MDO5xFW2JCs35Z4xHIE+mu3ZJCWwSftV7p3zxESdoFjDwl6VHDxtg7/AQz7WIGIxNARjDKo1NNc8l7Ao1N54uaBHcgefjMU1gIYhGhyWwcIhFpq0olZ1L16ejffTCZPf/Puqh6P0wTuEijkB6slgHKKPCzK0II91MSSMdgfwyB9SEiEnBrcxQErXoxl6 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1f4bd945-a4cb-40cc-ffa8-08da96595e97 X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB9176.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Sep 2022 13:59:41.2764 (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: OEQlF0njU+XJRO2H7BThQsfYj4pX4bvyYyScpeQvVCYgNP86P2c7UrRg2+jmfjNLp3YprTPZO1Radv7/3szbAw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB7129 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org i.MX8DXL is a device targeting the automotive and industrial market segments. The chip is designed to achieve both high performance and low power consumption. It has a dual (2x) Cortex-A35 processor. Signed-off-by: Shenwei Wang Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/arm/fsl.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml index 7431579ab0e8..4f4c9c0a1315 100644 --- a/Documentation/devicetree/bindings/arm/fsl.yaml +++ b/Documentation/devicetree/bindings/arm/fsl.yaml @@ -1034,6 +1034,12 @@ properties: - toradex,colibri-imx8x # Colibri iMX8X Modules - const: fsl,imx8qxp + - description: i.MX8DXL based Boards + items: + - enum: + - fsl,imx8dxl-evk # i.MX8DXL EVK Board + - const: fsl,imx8dxl + - description: i.MX8QXP Boards with Toradex Coilbri iMX8X Modules items: - enum: From patchwork Wed Sep 14 13:58:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shenwei Wang X-Patchwork-Id: 606760 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C72C5ECAAD3 for ; Wed, 14 Sep 2022 14:00:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229727AbiINOAY (ORCPT ); Wed, 14 Sep 2022 10:00:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48168 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229909AbiINOAJ (ORCPT ); Wed, 14 Sep 2022 10:00:09 -0400 Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00074.outbound.protection.outlook.com [40.107.0.74]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EBAB81A83C; Wed, 14 Sep 2022 06:59:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kr6NSevDvto/KXSvE1fyUa0YD8aDUklwQPGn5sPDCJ3flSwL22N/1WB/K9EB6lNtzFj0hlN9OmNwSXw+A3PodtnwpGGQJzD55xrsoiPmpE+/ogVjZkGuq3ONNs7M/nUcy/n5cYEoyZ2i/yINDsB5lyMNBNocJJARsrYKj6+24x5YkehyZiFuE0kTZdfXtvhXZYTj77F8H2AYsDKkHJqMv5pDBwa7d4SQdb5sgZOd9oMYoCOO8XFxNz7LaL0p+W4ccSMETOfKK1PXgbxidfcZCTKvuRCikwRxrSN8mmR67lpoMlRJ9gVSBXw+nSEpmdNAoVdP8RN9QOF7Nodm1jlBAA== 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=6PZ7i2t2MIKTwxEybY05L44KbQTChqNFvulgZvvzr5k=; b=BnJOXzaOKZF9jDpbKXDzV2pbVxIR0iycy/Q6JeHfgXTcf1+8tNjP2hbiB5d+3pS4n/S6B02T7ar9i1NzULXL6MejjGci3mtVu6pUMq+selANwIy049v6A+GT+sXxpID75WC+QIfsLgEEeV49p71g2ECHK68FzISHor5GXsINeMataIKOcXakzlf0ICy/sac/uiq+04Ux5aPkgQ575dKi4SdaQfu+aXVuFj9VJv9Brz0Hpoczo3gPtJjwI5Oj1z3PzHG4ex45ca0qQkBQbvNDjD3Admos9Pwm6XIFwwrotXDMcYp3YvgK5wuQP2N180nPqKEfEXRsZGZQ8hXGboC4XQ== 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=6PZ7i2t2MIKTwxEybY05L44KbQTChqNFvulgZvvzr5k=; b=dZDxqL4tei0eTkBl9TeZ6DlyJYB45gzQKxP3GwyJQOX8+HS5wuB0bh9bGilg9ApbXfYDOmMgQpKiB1OnuFjXlIHsHf7fo7EgSH3RZ/wA2dCphHn0SwQTDgl7Q5ixEhBJ11wSDoMsI5bS7Osw8xBgK7eiUJc6kaJZvNIAlI4dzSw= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AS8PR04MB9176.eurprd04.prod.outlook.com (2603:10a6:20b:44b::7) by DB8PR04MB7129.eurprd04.prod.outlook.com (2603:10a6:10:127::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5612.22; Wed, 14 Sep 2022 13:59:47 +0000 Received: from AS8PR04MB9176.eurprd04.prod.outlook.com ([fe80::a552:97fd:60f4:edd6]) by AS8PR04MB9176.eurprd04.prod.outlook.com ([fe80::a552:97fd:60f4:edd6%7]) with mapi id 15.20.5612.022; Wed, 14 Sep 2022 13:59:47 +0000 From: Shenwei Wang To: Rob Herring , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer Cc: Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Marcel Ziswiler , Marek Vasut , Alexander Stein , Max Krummenacher , Matthias Schiffer , Denys Drozdov , Tim Harvey , Alex Marginean , Reinhold Mueller , Shenwei Wang , Viorel Suman , Abel Vesa , Zhou Peng , Shijie Qin , Ming Qian , Peng Fan , Li Yang , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, imx@lists.linux.dev Subject: [PATCH v8 3/5] arm64: dts: imx8: add a node label to ddr-pmu Date: Wed, 14 Sep 2022 08:58:46 -0500 Message-Id: <20220914135848.118616-4-shenwei.wang@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220914135848.118616-1-shenwei.wang@nxp.com> References: <20220914135848.118616-1-shenwei.wang@nxp.com> X-ClientProxiedBy: BYAPR01CA0067.prod.exchangelabs.com (2603:10b6:a03:94::44) To AS8PR04MB9176.eurprd04.prod.outlook.com (2603:10a6:20b:44b::7) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8PR04MB9176:EE_|DB8PR04MB7129:EE_ X-MS-Office365-Filtering-Correlation-Id: b7f8d30d-e7bc-43d2-3a20-08da9659623e X-LD-Processed: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: DN9YntHmhY6TTIswEP25lwZ/OQLYmjx5IqSOl3OfMijjtAeLDH9d0h0vr+Eln7XIpVBlpU781HC5Hhrp49MmqJH8A+G1JgYXQaFXhL92QMiJpVaSXtM3j5MtOHAC+5tzbkKtv95cGl+g3S+5sUOyBXxez5JK1vqgF+aiR2vQaTWXEMVUJ7jvx60XF5CT7OBquHIQpzFqibakvyFG4WGCfk38n15L49uleErejBdP6efp2iuuDa/YaOonqcK92qGJAAkHV82hfKr6bf2i3+gdSAXrGFdGxFNb1kTzU8nlViuFFhKQfqvYHFrYdOups0/Nl/jJsCR+8RcD9Haqn7hhF2bCzTNitlvVWRt4WNNhMHUiI70Zv51cuqLCJnB9cEfWbY7OXJt8cWOP9nbiM0SGwpjxeSXf1kMzcm4/Q4+tW4JNtTAOC89y+4PRR7eI95DegcqmPUwJTZ6ERSboSPBsivZ8WFj3IRGZkrGIOWVdRN8AUXLr6bzUc7ClYTRvKTbLq4o6jtTRvVDjh2m6lGjB2HtlgLZlQi3yHm6sHFuuZdcO87rpzxMd9PVX3ZaR+V6rcs81lY5zEM+nvAw65TvPghhtF4N5P/FEumvB2vzLCgd/xKNhP6SP79gbZULKGrMoUGkjca3lZ8HNI3jSxnxVYWWWH/YDYP15KV2ekGi5aSgVcfawc+s/Zof6sg0ioduD+wanNZz9hmRD7tWw/BaMgrq3OR3HpNinW2Pj/DjamyQFy5LaiLyjt4wNCfkPZSnHe+T7QwGYI/ced8VDj6pB3w== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AS8PR04MB9176.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(4636009)(136003)(396003)(39860400002)(376002)(366004)(346002)(451199015)(38350700002)(4326008)(5660300002)(7416002)(66946007)(55236004)(1076003)(66556008)(38100700002)(8936002)(8676002)(6486002)(186003)(4744005)(44832011)(41300700001)(66476007)(86362001)(26005)(316002)(110136005)(2906002)(478600001)(54906003)(2616005)(36756003)(52116002)(6506007)(83380400001)(6512007); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: ECFHUGbQDEicwy7X9TQGDev+ozl8JBmHIWVaNN09qfyU3Ui+G6l/qckBqzCtbl6fGDCbXMzzUbu/c7lciB2DCo2y0Ue+ey1mlqII/VHoDUwBRRvreI/CxMKG5dgze9T1eQBgkqEKgBIwUoKim42f13RV5nxTV9LzklH1Yrw7NEM/gU6o3mjmNf3ysqgpZPTK8mjM4yAZ2qfBJ3EkU2X9DVbEaImu3MxTxYSf6ekNoJSX1Eob4rk9pnn7E5piX2nM/1Sxn8qwQih4FBrWM2nUB4fMi9OdcEqXlfj+IqnTWc2wlwchr2ZqVXLXTzUZeZoyxReZIwHgqizfPp+vhkipm24Np+HEWEKuvEM44vnXlLmt7qfcsw/hYq13WMmgADDFzpI4jDJsuJeNTUdjaD3OXMHKwLYZXlFNAXvwbvxrRPCNJasBJeWTTWf613TcbaRIBzG9u1rhf9llK6KYz2wEsDfHKs/PNnaYt1EySMcCYVBmkaWUOgY5WjCqdHSlYMDUYP+MpU5LT+/l9XEYUKrVKH1iz7/qXF0cv8HEQbz6eG3F1LYkIujOnEk2Fd3C1fT+HIo4fh2XPzPdu8WHJ+iW/1clQndqW68HGzUwLnfJlCPm8zGC00mZoXw9XwnlwgTchMVESg94XndSZ7oz5x06quwh4NEbgtRJk5X2QzezJcS8jUZSbgSJm+qCyJZOKie+6OWUcrbgbVly9dP/yhrT5z9F+CgeBN+Sv9vZSW6HeE6rTrSULPB/vYrG03H2nzSzO3Lnn5MNzBMWXMLnkBYCIEp8KdW1hgUvs7YoKmFmOPlcoVniVGCqcmFM8pm41AyWmmmMYbqZmujvnnkTdksTwz9uc2w58pZNiBN5Ue3ClecZevQwgAATFMYsjvq3qUiY3HQ/cCN2WUOnpjav313xFEOVmyQsDF8YLJ6kUsjU0lCEa0sPRuWV30K04Zk53Rn8WGJXgAcBdbyPqvLYB1cONaDUxUHD0FSllvIIfzg38fdWeYJ1dv1SvwL0z7eD2BcPHgXfBUZT4jkofFuP4NQeR5xGE7WHMAeiPvkD7TDcBiqB6HsiyLRUmd+X82gROuoeOTcUByyfgTj+8MH+rirFpZD1jODK36/Qdq1NGmpBku0lUY0wXw6I3HaqbsEfI9/HeO+0PK8o+i6sDpMPxNJru9oA5xMpLQ633vdCBcZwjm6fw/FlKnq0UViBIpH8vLkoF6/AwdukwODBo4SlOW9Kixe1LT3an7AKVaR4gKVolDl6MhyyquEip71kYqaWmm4i17zTUnShCkJH4mqrmLGmhofx8p96a+tAOWwIOCB8rhTw8nwe9gUaFSNYmwZzQ19PmXnlS09/Vmuq2PMcRbmqPpSuTlkGR4M1KQm9WfB+4HqDksfAZ5NjsTHcRn3n+QR2ycGHRIGCq7hCdfKCLyFzA+xF73ZTtNdpw4yxTcTDEgUAuFz4rbH1TSAXdxsh7Fk1Agp9zq9X5ENKS7zsuUBkth5dhORGfWJOgEUxqmgl+o9a63xss1gZpl49tP8kOSxzHVfFI6S1TRMlzhLAZMaxuB6d0y76SK7DZdAPKp2obs8iKk8ravWy94J2ON012pkn X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: b7f8d30d-e7bc-43d2-3a20-08da9659623e X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB9176.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Sep 2022 13:59:47.3659 (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: wz3Q3Wh26nVOihx+R5zC5KNxAoBxJpjo87ha5SGuzcbrzzkiMxkjdKjp+gYFPE7F8bElPG/vJKZ6NLTUDU7SQg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB7129 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The ddr-pmu on i.mx8dxl has a different interrupt number. Add a node label to ddr-pmu so that it could be referred and changed in i.mx8dxl dts. Signed-off-by: Shenwei Wang --- arch/arm64/boot/dts/freescale/imx8-ss-ddr.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/imx8-ss-ddr.dtsi b/arch/arm64/boot/dts/freescale/imx8-ss-ddr.dtsi index 8b5cad4e2700..7d5183c6c5be 100644 --- a/arch/arm64/boot/dts/freescale/imx8-ss-ddr.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8-ss-ddr.dtsi @@ -10,7 +10,7 @@ ddr_subsys: bus@5c000000 { #size-cells = <1>; ranges = <0x5c000000 0x0 0x5c000000 0x1000000>; - ddr-pmu@5c020000 { + ddr_pmu0: ddr-pmu@5c020000 { compatible = "fsl,imx8-ddr-pmu"; reg = <0x5c020000 0x10000>; interrupts = ; From patchwork Wed Sep 14 13:58:47 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shenwei Wang X-Patchwork-Id: 605945 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 65E5DC6FA82 for ; Wed, 14 Sep 2022 14:00:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229936AbiINOAp (ORCPT ); Wed, 14 Sep 2022 10:00:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50360 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229937AbiINOAT (ORCPT ); Wed, 14 Sep 2022 10:00:19 -0400 Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00047.outbound.protection.outlook.com [40.107.0.47]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7CCBE33428; Wed, 14 Sep 2022 06:59:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iLcpYoIzJqxkV4yZOfQBZhyp6W+V2KMUq4txCZeaVbm79ydbdNCgCSSx+By8AwAxUYS8Cekg8z1pJzMn+zqCr4al9Zw02opkaR+3q6A5PorTInEmJz7+aMFVuVBCXaNrmwQBw6Q8vw7TztbxSTNd9lpasXuao14ypGUtC346jqxq113BePCJCd7Q8T9/kpmqpRl9JVi0oxnqQ5NAmPxxXsKE1aRXN6pit5uHaVHZtE5/GItjgn0IpCmb4/tFbyyW+pCS7vDC5U2eJrQnL3njRCU5a7YVC/8iROfqt3P493VF6kuPdmpbDW5O4YJ5p7EiketV0n89qX6MnanfAqL9ug== 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=/n+n7zJPnpG8IGDf0oet+gswMFVi9N2XfM/ZsowdNJg=; b=CNj6kOlqwU6i0m9BKEKwP40eyPrweMHUV7O7yCHgxSDCcMoNUL5C76QbDrrYdoXHcHvta8bs3iSKDbzplWVxon+SypuU7Pr2DxjHS+8uW7JMhBUrpfAXJfISPbJ9KFS7NWQ9x3fSeM0m3daG6Ut2M9wOPEUToxlQeQJzAu5LB4hi4lLIMaC5YJZcTw6fXJVITxOQx+swvGeZ8tLb4xrl2R9Q4JeYBOsV5u9iMr3Z46rzO5Gp+t1soKn9anjBCgAt3hIJ8mNX//2BQsNuO0xIeybMtPbyJ2zXZneDlBaAeBR1g8VMGLBuQHUk2IMbjhexKqjrBfKVxFZ36Yd2qDuGgA== 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=/n+n7zJPnpG8IGDf0oet+gswMFVi9N2XfM/ZsowdNJg=; b=NuknSd5Djz8kCo3oMBds2qI6nzEl13XGg7Fd7hLhl+beoJKJNTq4usGs0rutGKuUon0vtgAonbM6bJgNpJmgdw3jadcncqNkzRnjeFtsed3CSos2TH1l4Mt0i+u4RMhd2gMfI/4SdwkaM/c099Yc2AQxyDU55H4fTPiBT1m4p3A= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AS8PR04MB9176.eurprd04.prod.outlook.com (2603:10a6:20b:44b::7) by DB8PR04MB7129.eurprd04.prod.outlook.com (2603:10a6:10:127::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5612.22; Wed, 14 Sep 2022 13:59:53 +0000 Received: from AS8PR04MB9176.eurprd04.prod.outlook.com ([fe80::a552:97fd:60f4:edd6]) by AS8PR04MB9176.eurprd04.prod.outlook.com ([fe80::a552:97fd:60f4:edd6%7]) with mapi id 15.20.5612.022; Wed, 14 Sep 2022 13:59:53 +0000 From: Shenwei Wang To: Rob Herring , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer Cc: Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Marcel Ziswiler , Marek Vasut , Alexander Stein , Max Krummenacher , Matthias Schiffer , Denys Drozdov , Tim Harvey , Alex Marginean , Reinhold Mueller , Shenwei Wang , Viorel Suman , Abel Vesa , Zhou Peng , Shijie Qin , Ming Qian , Peng Fan , Li Yang , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, imx@lists.linux.dev Subject: [PATCH v8 4/5] arm64: dts: freescale: add i.MX8DXL SoC support Date: Wed, 14 Sep 2022 08:58:47 -0500 Message-Id: <20220914135848.118616-5-shenwei.wang@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220914135848.118616-1-shenwei.wang@nxp.com> References: <20220914135848.118616-1-shenwei.wang@nxp.com> X-ClientProxiedBy: BYAPR01CA0067.prod.exchangelabs.com (2603:10b6:a03:94::44) To AS8PR04MB9176.eurprd04.prod.outlook.com (2603:10a6:20b:44b::7) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8PR04MB9176:EE_|DB8PR04MB7129:EE_ X-MS-Office365-Filtering-Correlation-Id: d59a6a83-8ea0-4cf2-5455-08da96596586 X-LD-Processed: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: +fb13Y4vhiAYqmBnZIyljpMDESx3LzTuLFyw+kLBrd3tM0wC8o2Og/zK1un19TVWjLLNQKDhhzjsDG1PP+0QnKOngjcbcWwo/EJWfNSLm0GJVso7TTYxyMs9HU7ydKjZn/xOvQ6NDuHg3vFCMAmX8EB7biOMjyntL4RedGMnhqWzeNostIHEHkHirloELUAemiOFvNRVtBr9GDRWztWdpwmJ03hr7L9b+gfkXqU2luPP7FJuneI09ynTNuj/Vo8FrMQHgjoCwS0P2/zlM0jQdZmZmLjbpyVGHqOEAkIpVaNoRYalOEQ98icySpzolZUtvzt4zrSs9bcJ1Eoc0AcnqA50C+OgmaoQlNO4CQ3ADtmc1fjBdzG/tuIYvdTW30y0Te0fhssKfUxwoXR7jXtapwkdOc4K5dEoxpKkUh9+R47btsG7EA0JJWLVXMz2IOqRL44F9ohwtAudNd9yfOZeZdAyNQFFXRvIptZ7PHRQar2gyg5OW86ExNRH8ouBWdMumWYpj7R1Q9sSLuNEpWdQkQE4DcqaJENXNEsjVfQJIYyYpDcxizjy3P/DSlPdC6RiMIQRv3kVuaHBML3LRISJJsqRlV9wdEqnZpEMOKOVn6WFv6g0o9GbnVlTfChqjR/NBHXEwP2FlzTc9GuQSJRGVqMgloyblUWp+g2pLybP43bPdJHDQIMCY9gctn8mMyPaYf0007Vwi27NQHPI8RwBMWetyJocGDtlxMhEguIS00mmFfBm04DTGsXk8aS9ltZM X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AS8PR04MB9176.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(4636009)(136003)(396003)(39860400002)(376002)(366004)(346002)(451199015)(38350700002)(4326008)(5660300002)(7416002)(66946007)(6666004)(55236004)(1076003)(66556008)(38100700002)(8936002)(8676002)(6486002)(186003)(44832011)(41300700001)(66476007)(30864003)(86362001)(26005)(316002)(110136005)(2906002)(478600001)(54906003)(2616005)(36756003)(52116002)(6506007)(83380400001)(6512007); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: d6OaOQ5fp1MmSso9Djh5HXAxMlOyqGrnoEC6KkYXAxg/b777vFKTBqfOhrKzUnrVxEg/k3BXvcx3fzinmgaSx2TDulkzCLxYowkpqpVVSVVnwdQsXqDDQb9PbNmpyQ/YkiJDCIsB7jPwbWAZuW/WCMYhtkOh686Ue338RUbDS1qMC2p6yNBNk2xNOLK/awa8Eumx7KuKGmvLIWKQGfYRR5vRNGH28K2ZR2TbE4cht+dtVmpvIQvfc9t34is0b3+u33u45dXOvuhLCDy3N6Cu6IPCb88LmBocVbxToKXziRMV0COcDR6+0zWNEt/bJ9tUGT/1QzE7ZCq0VrT4r2lSsYOYf+BhMG2v9itLt3EaK4kZ96jiNMOgCi1OFcMqa57JFypIa0JDVW+ufe5jQ2j+awUEhjbCoKzLAhF9mBN19omargABefkjZM50/S9wK9jaQP5La0ekHvXmDnhO3dxFjRf1JCDciVXlIA46EK80CWY1AVrUn59H4gwurlhoxWJJi5eKjTRARu1JtjkNashfxhpoiD/gSM8/h2YicrfS6zpU4UYDy5Hl/YxhD8I8DRzsEJoncBr4vUOapK4yN0nkJCN3Uo+N88xo1o6OFCoCY/M0wRyOS3wGfCyJdkUB9dOgUAXEtq/Axa7qB5W2abA43MzDBrSz5Xtjwb+LTotkyXvCha0sJc8vHG1SD+khCV6NGpSrqFK6WwFWxpshAR6gQNa0YXSr+Dt42B/2pAlAWa4v56bGtsFB81GEIcharmqcUouAME1FLpDJhKV9OPg8nnhaYPsK+S3JyVj93r+HtJNTiF4e+8noo+1aMtSLCfJUA9SOolERiVcgoxgbcYBz7nYHDmK85Et8fQbG7yoyTda2B/O4KcgXELGg7K1xBStZLB+JvXAiHR7j5zNXDGfgjDb6zpZdZ9zuWPJozmmi8cmMtDYRE9uuy0wuJTlnqr306N6VVrDx8wmFllYKQ17YeFbKB7dl/2e7vaepZ6+tNDAibhbavcq4zv0wrjcsgTF990LuqgosOdFJR+2EPD+0WeLoWO551JzYT8vR2KqOvgD0dDww40mIDC3hBtfQma8QyyrzQY6HblnJ/MjTHkmrvRd1u6PugWmPBNxbhg2jltdNRMzWWzd1m6UY/XC/dyEWdASgRNngYXwBZ4P8UWUZ4/RCqPnP1dd/KGP0gItAbaShsWbgPSgD1vQnGOVVQJdhYTUDF1JZ6JrwA2U1aOBpzVICZ+VV//FWL1Tfogkqr/0/rRIpYwtHb+SZgBk+AMO6tUToBziUDkr64nGEKNhKVKODz/jXiFaxDI+ms0m+VOBi4MBEv9ox9G1MinCnVEMACQ2PxDYqtUHk8xFSqi+JVGXTfSTxizXRaBq/nyS6b/Ei8DfaTnGuoyxKaQK1fEZys0MCdc5ZF3uFjjSSEx+M8Sg7ZalrEkZ5olhQJe8fNO3PkPu7tKh0py5EtPZioz7LM+npCjvkDlFMizTY6MhTMxo8rv9xJxqsjLkfRF6nnJFHcYiJwYP/kJSmo1bSyWKXjcMqpYw0he4qXanoizggX2F7/pzobvStDfJamB1wK7HHtj4aPf5oJsMtuUeAt8yq X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: d59a6a83-8ea0-4cf2-5455-08da96596586 X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB9176.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Sep 2022 13:59:52.8591 (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: LlVPuVrh0TucTOtgGzp3iFOOpr0SQGBqLwQcZq0p5dHr/Eaa54LyMVowxxAW+eR0H3uoSD8Y0UsiJ83X1xdZYA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB7129 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org i.MX8DXL is a device targeting the automotive and industrial market segments. The chip is designed to achieve both high performance and low power consumption. It has a dual (2x) Cortex-A35 processor. This patch adds the basic support for i.MX8DXL SoC. Signed-off-by: Shenwei Wang --- .../boot/dts/freescale/imx8dxl-ss-adma.dtsi | 52 ++++ .../boot/dts/freescale/imx8dxl-ss-conn.dtsi | 142 +++++++++++ .../boot/dts/freescale/imx8dxl-ss-ddr.dtsi | 9 + .../boot/dts/freescale/imx8dxl-ss-lsio.dtsi | 74 ++++++ arch/arm64/boot/dts/freescale/imx8dxl.dtsi | 238 ++++++++++++++++++ 5 files changed, 515 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/imx8dxl-ss-adma.dtsi create mode 100644 arch/arm64/boot/dts/freescale/imx8dxl-ss-conn.dtsi create mode 100644 arch/arm64/boot/dts/freescale/imx8dxl-ss-ddr.dtsi create mode 100644 arch/arm64/boot/dts/freescale/imx8dxl-ss-lsio.dtsi create mode 100644 arch/arm64/boot/dts/freescale/imx8dxl.dtsi diff --git a/arch/arm64/boot/dts/freescale/imx8dxl-ss-adma.dtsi b/arch/arm64/boot/dts/freescale/imx8dxl-ss-adma.dtsi new file mode 100644 index 000000000000..795d1d472fae --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8dxl-ss-adma.dtsi @@ -0,0 +1,52 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright 2019~2020, 2022 NXP + */ + +&audio_ipg_clk { + clock-frequency = <160000000>; +}; + +&dma_ipg_clk { + clock-frequency = <160000000>; +}; + +&i2c0 { + compatible = "fsl,imx8dxl-lpi2c", "fsl,imx8qxp-lpi2c", "fsl,imx7ulp-lpi2c"; + interrupts = ; +}; + +&i2c1 { + compatible = "fsl,imx8dxl-lpi2c", "fsl,imx8qxp-lpi2c", "fsl,imx7ulp-lpi2c"; + interrupts = ; +}; + +&i2c2 { + compatible = "fsl,imx8qxp-lpi2c", "fsl,imx7ulp-lpi2c"; + interrupts = ; +}; + +&i2c3 { + compatible = "fsl,imx8qxp-lpi2c", "fsl,imx7ulp-lpi2c"; + interrupts = ; +}; + +&lpuart0 { + compatible = "fsl,imx8qxp-lpuart", "fsl,imx7ulp-lpuart"; + interrupts = ; +}; + +&lpuart1 { + compatible = "fsl,imx8qxp-lpuart", "fsl,imx7ulp-lpuart"; + interrupts = ; +}; + +&lpuart2 { + compatible = "fsl,imx8qxp-lpuart", "fsl,imx7ulp-lpuart"; + interrupts = ; +}; + +&lpuart3 { + compatible = "fsl,imx8qxp-lpuart", "fsl,imx7ulp-lpuart"; + interrupts = ; +}; diff --git a/arch/arm64/boot/dts/freescale/imx8dxl-ss-conn.dtsi b/arch/arm64/boot/dts/freescale/imx8dxl-ss-conn.dtsi new file mode 100644 index 000000000000..69c4849f2132 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8dxl-ss-conn.dtsi @@ -0,0 +1,142 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright 2019~2020, 2022 NXP + */ + +/delete-node/ &enet1_lpcg; +/delete-node/ &fec2; + +&conn_subsys { + conn_enet0_root_clk: clock-conn-enet0-root { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <250000000>; + clock-output-names = "conn_enet0_root_clk"; + }; + + eqos: ethernet@5b050000 { + compatible = "nxp,imx8dxl-dwmac-eqos", "snps,dwmac-5.10a"; + reg = <0x5b050000 0x10000>; + interrupt-parent = <&gic>; + interrupts = , + ; + interrupt-names = "eth_wake_irq", "macirq"; + clocks = <&eqos_lpcg IMX_LPCG_CLK_4>, + <&eqos_lpcg IMX_LPCG_CLK_6>, + <&eqos_lpcg IMX_LPCG_CLK_0>, + <&eqos_lpcg IMX_LPCG_CLK_5>, + <&eqos_lpcg IMX_LPCG_CLK_2>; + clock-names = "stmmaceth", "pclk", "ptp_ref", "tx", "mem"; + assigned-clocks = <&clk IMX_SC_R_ENET_1 IMX_SC_PM_CLK_PER>; + assigned-clock-rates = <125000000>; + power-domains = <&pd IMX_SC_R_ENET_1>; + status = "disabled"; + }; + + usbotg2: usb@5b0e0000 { + compatible = "fsl,imx8dxl-usb", "fsl,imx7ulp-usb"; + reg = <0x5b0e0000 0x200>; + interrupt-parent = <&gic>; + interrupts = ; + fsl,usbphy = <&usbphy2>; + fsl,usbmisc = <&usbmisc2 0>; + /* + * usbotg1 and usbotg2 share one clcok. + * scu firmware disables the access to the clock and keeps + * it always on in case other core (M4) uses one of these. + */ + clocks = <&clk_dummy>; + ahb-burst-config = <0x0>; + tx-burst-size-dword = <0x10>; + rx-burst-size-dword = <0x10>; + #stream-id-cells = <1>; + power-domains = <&pd IMX_SC_R_USB_1>; + status = "disabled"; + + clk_dummy: clock-dummy { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <0>; + clock-output-names = "clk_dummy"; + }; + }; + + usbmisc2: usbmisc@5b0e0200 { + #index-cells = <1>; + compatible = "fsl,imx7ulp-usbmisc"; + reg = <0x5b0e0200 0x200>; + }; + + usbphy2: usbphy@0x5b110000 { + compatible = "fsl,imx8dxl-usbphy", "fsl,imx7ulp-usbphy"; + reg = <0x5b110000 0x1000>; + clocks = <&usb2_2_lpcg IMX_LPCG_CLK_7>; + power-domains = <&pd IMX_SC_R_USB_1_PHY>; + status = "disabled"; + }; + + eqos_lpcg: clock-controller@5b240000 { + compatible = "fsl,imx8qxp-lpcg"; + reg = <0x5b240000 0x10000>; + #clock-cells = <1>; + clocks = <&conn_enet0_root_clk>, + <&conn_axi_clk>, + <&conn_axi_clk>, + <&clk IMX_SC_R_ENET_1 IMX_SC_PM_CLK_PER>, + <&conn_ipg_clk>; + clock-indices = , , + , , + ; + clock-output-names = "eqos_ptp", + "eqos_mem_clk", + "eqos_aclk", + "eqos_clk", + "eqos_csr_clk"; + power-domains = <&pd IMX_SC_R_ENET_1>; + }; + + usb2_2_lpcg: clock-controller@5b280000 { + compatible = "fsl,imx8qxp-lpcg"; + reg = <0x5b280000 0x10000>; + #clock-cells = <1>; + clock-indices = ; + clocks = <&conn_ipg_clk>; + clock-output-names = "usboh3_2_phy_ipg_clk"; + power-domains = <&pd IMX_SC_R_USB_1_PHY>; + }; + +}; + +&enet0_lpcg { + clocks = <&conn_enet0_root_clk>, + <&conn_enet0_root_clk>, + <&conn_axi_clk>, + <&clk IMX_SC_R_ENET_0 IMX_SC_C_TXCLK>, + <&conn_ipg_clk>, + <&conn_ipg_clk>; +}; + +&fec1 { + compatible = "fsl,imx8qm-fec"; + interrupts = , + , + , + ; + assigned-clocks = <&clk IMX_SC_R_ENET_0 IMX_SC_C_CLKDIV>; + assigned-clock-rates = <125000000>; +}; + +&usdhc1 { + compatible = "fsl,imx8dxl-usdhc", "fsl,imx8qxp-usdhc"; + interrupts = ; +}; + +&usdhc2 { + compatible = "fsl,imx8dxl-usdhc", "fsl,imx8qxp-usdhc"; + interrupts = ; +}; + +&usdhc3 { + compatible = "fsl,imx8dxl-usdhc", "fsl,imx8qxp-usdhc"; + interrupts = ; +}; diff --git a/arch/arm64/boot/dts/freescale/imx8dxl-ss-ddr.dtsi b/arch/arm64/boot/dts/freescale/imx8dxl-ss-ddr.dtsi new file mode 100644 index 000000000000..550f513708d8 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8dxl-ss-ddr.dtsi @@ -0,0 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright 2020 NXP + */ + +&ddr_pmu0 { + compatible = "fsl,imx8-ddr-pmu"; + interrupts = ; +}; diff --git a/arch/arm64/boot/dts/freescale/imx8dxl-ss-lsio.dtsi b/arch/arm64/boot/dts/freescale/imx8dxl-ss-lsio.dtsi new file mode 100644 index 000000000000..815bd987b09b --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8dxl-ss-lsio.dtsi @@ -0,0 +1,74 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright 2019~2020, 2022 NXP + */ + +&lsio_gpio0 { + compatible = "fsl,imx8dxl-gpio", "fsl,imx35-gpio"; + interrupts = ; +}; + +&lsio_gpio1 { + compatible = "fsl,imx8dxl-gpio", "fsl,imx35-gpio"; + interrupts = ; +}; + +&lsio_gpio2 { + compatible = "fsl,imx8dxl-gpio", "fsl,imx35-gpio"; + interrupts = ; +}; + +&lsio_gpio3 { + compatible = "fsl,imx8dxl-gpio", "fsl,imx35-gpio"; + interrupts = ; +}; + +&lsio_gpio4 { + compatible = "fsl,imx8dxl-gpio", "fsl,imx35-gpio"; + interrupts = ; +}; + +&lsio_gpio5 { + compatible = "fsl,imx8dxl-gpio", "fsl,imx35-gpio"; + interrupts = ; +}; + +&lsio_gpio6 { + compatible = "fsl,imx8dxl-gpio", "fsl,imx35-gpio"; + interrupts = ; +}; + +&lsio_gpio7 { + compatible = "fsl,imx8dxl-gpio", "fsl,imx35-gpio"; + interrupts = ; +}; + +&lsio_mu0 { + compatible = "fsl,imx8qxp-mu", "fsl,imx6sx-mu"; + interrupts = ; +}; + +&lsio_mu1 { + compatible = "fsl,imx8-mu-scu", "fsl,imx8qxp-mu", "fsl,imx6sx-mu"; + interrupts = ; +}; + +&lsio_mu2 { + compatible = "fsl,imx8-mu-scu", "fsl,imx8qxp-mu", "fsl,imx6sx-mu"; + interrupts = ; +}; + +&lsio_mu3 { + compatible = "fsl,imx8-mu-scu", "fsl,imx8qxp-mu", "fsl,imx6sx-mu"; + interrupts = ; +}; + +&lsio_mu4 { + compatible = "fsl,imx8-mu-scu", "fsl,imx8qxp-mu", "fsl,imx6sx-mu"; + interrupts = ; +}; + +&lsio_mu5 { + compatible = "fsl,imx8qxp-mu", "fsl,imx6sx-mu"; + interrupts = ; +}; diff --git a/arch/arm64/boot/dts/freescale/imx8dxl.dtsi b/arch/arm64/boot/dts/freescale/imx8dxl.dtsi new file mode 100644 index 000000000000..5ddbda0b4def --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8dxl.dtsi @@ -0,0 +1,238 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright 2019~2020, 2022 NXP + */ + +#include +#include +#include +#include +#include +#include +#include + +/ { + interrupt-parent = <&gic>; + #address-cells = <2>; + #size-cells = <2>; + + aliases { + ethernet0 = &fec1; + ethernet1 = &eqos; + gpio0 = &lsio_gpio0; + gpio1 = &lsio_gpio1; + gpio2 = &lsio_gpio2; + gpio3 = &lsio_gpio3; + gpio4 = &lsio_gpio4; + gpio5 = &lsio_gpio5; + gpio6 = &lsio_gpio6; + gpio7 = &lsio_gpio7; + mu1 = &lsio_mu1; + }; + + cpus: cpus { + #address-cells = <2>; + #size-cells = <0>; + + /* We have 1 clusters with 2 Cortex-A35 cores */ + A35_0: cpu@0 { + device_type = "cpu"; + compatible = "arm,cortex-a35"; + reg = <0x0 0x0>; + enable-method = "psci"; + next-level-cache = <&A35_L2>; + clocks = <&clk IMX_SC_R_A35 IMX_SC_PM_CLK_CPU>; + #cooling-cells = <2>; + operating-points-v2 = <&a35_opp_table>; + }; + + A35_1: cpu@1 { + device_type = "cpu"; + compatible = "arm,cortex-a35"; + reg = <0x0 0x1>; + enable-method = "psci"; + next-level-cache = <&A35_L2>; + clocks = <&clk IMX_SC_R_A35 IMX_SC_PM_CLK_CPU>; + #cooling-cells = <2>; + operating-points-v2 = <&a35_opp_table>; + }; + + A35_L2: l2-cache0 { + compatible = "cache"; + }; + }; + + a35_opp_table: opp-table { + compatible = "operating-points-v2"; + opp-shared; + + opp-900000000 { + opp-hz = /bits/ 64 <900000000>; + opp-microvolt = <1000000>; + clock-latency-ns = <150000>; + }; + + opp-1200000000 { + opp-hz = /bits/ 64 <1200000000>; + opp-microvolt = <1100000>; + clock-latency-ns = <150000>; + opp-suspend; + }; + }; + + gic: interrupt-controller@51a00000 { + compatible = "arm,gic-v3"; + reg = <0x0 0x51a00000 0 0x10000>, /* GIC Dist */ + <0x0 0x51b00000 0 0xc0000>; /* GICR (RD_base + SGI_base) */ + #interrupt-cells = <3>; + interrupt-controller; + interrupts = ; + }; + + reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + dsp_reserved: dsp@92400000 { + reg = <0 0x92400000 0 0x2000000>; + no-map; + }; + }; + + pmu { + compatible = "arm,armv8-pmuv3"; + interrupts = ; + }; + + psci { + compatible = "arm,psci-1.0"; + method = "smc"; + }; + + system-controller { + compatible = "fsl,imx-scu"; + mbox-names = "tx0", + "rx0", + "gip3"; + mboxes = <&lsio_mu1 0 0 + &lsio_mu1 1 0 + &lsio_mu1 3 3>; + + pd: power-controller { + compatible = "fsl,scu-pd"; + #power-domain-cells = <1>; + wakeup-irq = <160 163 235 236 237 228 229 230 231 238 + 239 240 166 169>; + }; + + clk: clock-controller { + compatible = "fsl,imx8dxl-clk", "fsl,scu-clk"; + #clock-cells = <2>; + clocks = <&xtal32k &xtal24m>; + clock-names = "xtal_32KHz", "xtal_24Mhz"; + }; + + iomuxc: pinctrl { + compatible = "fsl,imx8dxl-iomuxc"; + }; + + ocotp: ocotp { + compatible = "fsl,imx8qxp-scu-ocotp"; + #address-cells = <1>; + #size-cells = <1>; + + fec_mac0: mac@2c4 { + reg = <0x2c4 6>; + }; + + fec_mac1: mac@2c6 { + reg = <0x2c6 6>; + }; + }; + + rtc: rtc { + compatible = "fsl,imx8qxp-sc-rtc"; + }; + + sc_pwrkey: keys { + compatible = "fsl,imx8qxp-sc-key", "fsl,imx-sc-key"; + linux,keycode = ; + wakeup-source; + }; + + watchdog { + compatible = "fsl,imx-sc-wdt"; + timeout-sec = <60>; + }; + + tsens: thermal-sensor { + compatible = "fsl,imx-sc-thermal"; + #thermal-sensor-cells = <1>; + }; + }; + + timer { + compatible = "arm,armv8-timer"; + interrupts = , /* Physical Secure */ + , /* Physical Non-Secure */ + , /* Virtual */ + ; /* Hypervisor */ + }; + + thermal_zones: thermal-zones { + cpu-thermal0 { + polling-delay-passive = <250>; + polling-delay = <2000>; + thermal-sensors = <&tsens IMX_SC_R_SYSTEM>; + + trips { + cpu_alert0: trip0 { + temperature = <107000>; + hysteresis = <2000>; + type = "passive"; + }; + cpu_crit0: trip1 { + temperature = <127000>; + hysteresis = <2000>; + type = "critical"; + }; + }; + + cooling-maps { + map0 { + trip = <&cpu_alert0>; + cooling-device = + <&A35_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&A35_1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; + }; + }; + + /* The two values below cannot be changed by the board */ + xtal32k: clock-xtal32k { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <32768>; + clock-output-names = "xtal_32KHz"; + }; + + xtal24m: clock-xtal24m { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <24000000>; + clock-output-names = "xtal_24MHz"; + }; + + /* sorted in register address */ + #include "imx8-ss-adma.dtsi" + #include "imx8-ss-conn.dtsi" + #include "imx8-ss-ddr.dtsi" + #include "imx8-ss-lsio.dtsi" +}; + +#include "imx8dxl-ss-adma.dtsi" +#include "imx8dxl-ss-conn.dtsi" +#include "imx8dxl-ss-lsio.dtsi" +#include "imx8dxl-ss-ddr.dtsi" From patchwork Wed Sep 14 13:58:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shenwei Wang X-Patchwork-Id: 606759 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0DA8CC6FA82 for ; Wed, 14 Sep 2022 14:01:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229969AbiINOA6 (ORCPT ); Wed, 14 Sep 2022 10:00:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51602 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229910AbiINOAX (ORCPT ); Wed, 14 Sep 2022 10:00:23 -0400 Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00047.outbound.protection.outlook.com [40.107.0.47]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5136578231; Wed, 14 Sep 2022 07:00:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=l71LXeYEWgJwscEaeJaRsr7lNCYJ6KezvNPFjfDgPd6Su2F1n70wxnu98vprFMl8s+q/JRNfZkirW2nrCXCzQM36rtWtjVWaa14sQN7K6t6Lp5llz7ogagB86/YoqdkJwAlcvEIBDYcTpUcQrGObaj/pTXb7+4WyBYPhpk4+++1IgQKOEhVyP0xIr1SLFKkrC4B6Ef6hCh2rUIBX5G5c7gcLT+Vk+wU0IOw5tA2M/coi/VSzegR6WzxSbF7sAgz4wnvnZCfAPi1nn4+emQPTjeGWbOwc5M/gUV62onKRO1gD6QyiLNWk5ycc66YPfQvLp0iUDlFM9EuviRVb5NiW6A== 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=lZWddFMQiU3BDAkvHqTRqC6aWdp1rrfVvfSOy6X8VPY=; b=RKiVI4aFDcMiddTZK6X+0OWUYadjseIhhA6MQxvgEC84tsmYD1IY16eAhutvdnRraBmRTdLUq3KCWRc92++OyoO7kwxKDKqPVY4ezGC97LqvzkX1R/J1xz7QdPq/sCy3IB895DDU6gd1udIXR0AOVJo4jF+EPEd6Zk6lOifSSd/QLEvdSHGPm7Z/+CG8xIB5i70yks8BvVldWI0/d7lf6BU0/LV641yzeH30dtWXzxD2AGEGUaW8DWSD6fWsQweYTAqIAzjNM6ABs+PcVlUl/xZocxUPcQwFPwy1/KgPFW4u+wzG2qDUSJmwVm0P1ZUFG/ubqDXMyk9AGhN9fpEspg== 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=lZWddFMQiU3BDAkvHqTRqC6aWdp1rrfVvfSOy6X8VPY=; b=i53BhhAjsCJ0265JMqVOQkFoMD82UVvmnBVUG34RKMLcAD/iiDEm9q3GmV+KN/ZyM3aoCdrEdhiDBYqGKEXUrMWwayq7mRqfdIye5gmTZnZRGiszBNGFBIVwTCUicoO4teafQ+dr6utNHcLZpBszL4Ya6xd7Gs3QvO9POww3m5I= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AS8PR04MB9176.eurprd04.prod.outlook.com (2603:10a6:20b:44b::7) by DB8PR04MB7129.eurprd04.prod.outlook.com (2603:10a6:10:127::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5612.22; Wed, 14 Sep 2022 14:00:00 +0000 Received: from AS8PR04MB9176.eurprd04.prod.outlook.com ([fe80::a552:97fd:60f4:edd6]) by AS8PR04MB9176.eurprd04.prod.outlook.com ([fe80::a552:97fd:60f4:edd6%7]) with mapi id 15.20.5612.022; Wed, 14 Sep 2022 14:00:00 +0000 From: Shenwei Wang To: Rob Herring , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer Cc: Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Marcel Ziswiler , Marek Vasut , Alexander Stein , Max Krummenacher , Matthias Schiffer , Denys Drozdov , Tim Harvey , Alex Marginean , Reinhold Mueller , Shenwei Wang , Viorel Suman , Abel Vesa , Zhou Peng , Shijie Qin , Ming Qian , Peng Fan , Li Yang , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, imx@lists.linux.dev Subject: [PATCH v8 5/5] arm64: dts: freescale: add support for i.MX8DXL EVK board Date: Wed, 14 Sep 2022 08:58:48 -0500 Message-Id: <20220914135848.118616-6-shenwei.wang@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220914135848.118616-1-shenwei.wang@nxp.com> References: <20220914135848.118616-1-shenwei.wang@nxp.com> X-ClientProxiedBy: BY5PR16CA0034.namprd16.prod.outlook.com (2603:10b6:a03:1a0::47) To AS8PR04MB9176.eurprd04.prod.outlook.com (2603:10a6:20b:44b::7) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8PR04MB9176:EE_|DB8PR04MB7129:EE_ X-MS-Office365-Filtering-Correlation-Id: 0edfcce5-2cfd-4665-68a3-08da96596967 X-LD-Processed: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: YwrT5kFZZgFLWr7IlirUnmtW+XBWcAaBbAyox7sYml2WWMce+LOygIW072pL4pb7G2c7qLxSMQXxvI+WeNHfJzTWuf7DKScoDq1C/M8c6RsFWGdI+pNf9qT7b0EIuC/iWg+LXp+WEDrqspibawk0UxIcAhJp/3bRk7PMWmA950EYFXy7upJWjwu0TRSburfKg316UZFGFUlnI8NguEOxhimQINUeuXm/DqLawxyKcMO+7aBmjeYu+tzthOfx885FBuL1V0r8A+LyiUm/54+7JvP5gq/ZweoKSeTGcAr7OI9kZJvQEunN+ybJO7vBRv2KNpDfvnI5hDJYESr0Q+L7e7NdRuPv/zMgj/8SGQQzE3oL423+FXT6PssK3Zu8saNCAMMZwMY3bn/ZRp2UAKxPNR/SB9rlaPOsvI422Ba03QGRHESSRIUu9Fr4xfd7kvVY9zVhkAxtMyR524VTND5gM7bNSvttAVeEw4W/gMk36GkuY0/kGdhheohT12ohkqrR5vmBhFqGWcB7hNfk0teOZLmkXqOnc//DVMj6pts3LZVpN+MldeIFV+KgbRsYdCt2EbRjyUZo7pEOdBGyRO8cfQOb2y7+6hmT9F9nyjou7/NwluGvNAz417ncrfm9RKKM+dHF4kuPj34brErFLdV/MrmKrt2sTmDlNf79n4/ejQF70fSVkb4/t1/ztqDA6NrsVEAHghACbLhW366nxmxVih1zHVDqJMaQAZfM/AO/5Ar+W1c8uzgB67Who5wlotjyOLBUJ8TU1HZ+hdGcHrwJ55tK+1Bvl7Doa14JmYzY2mPSTLK6xBWAyfKbSVGMjy2T X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AS8PR04MB9176.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(4636009)(136003)(396003)(39860400002)(376002)(366004)(346002)(451199015)(38350700002)(4326008)(5660300002)(7416002)(66946007)(6666004)(55236004)(1076003)(66556008)(38100700002)(8936002)(8676002)(6486002)(186003)(44832011)(41300700001)(66476007)(30864003)(86362001)(26005)(316002)(110136005)(2906002)(478600001)(54906003)(2616005)(36756003)(52116002)(6506007)(83380400001)(6512007)(473944003)(414714003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: zTvZTgdErkh0Bj0DLAnDChNejjO5+2cWywbFkwHDoTC6XzeFoqPq43Nz7M/B3DiziqmNsgjTdaMLJj65css9lTnwaE71v6xWLmQFcOc0hFRtbKXep2Yms0iFOpGMYHLT9e9y4AqvpWA2kTMEnnd1Dh7u369CpNgZzcgSTCOn2MTiV67ZOecHtZoZjYnIGFm2Bx/zZTGgDEJZolzHwadEbB72qbfwb+CcMHsvJSMRphXyAnnNrG/e9pdtMepHcyyvHlgB6Gl2RP/OinDG5YT2hC6aVMq6586BAD7zYjxtz9yw1fqSYIo5MAN3Nqiu2R0meLpFgZlez8v96M6/QpLO1dXfIQIB52Tm+s9K9M4YNiHZLC0ycy8v6tvDBM+cW3H6CYZ4xwgNfskUmxJLFk1jpPAitDuRz0VK9+dAFXRdLhpMJ/s/nle/PS/xDXxPO/hNVpIjINaSm5wQv1cdnDeKcjzbv0eywDo/WuHvbD0G+LYzZSnD3N9BLPPlIBSHe2rlOhUxHEyLf+/pUHFbC2Xd7zqQdGOWgclbGEYWgXDeHHS6J2ZbLLi5s5twCjrM+Pf9c+SCkozylz5b7WXqyqm0ih9xd9oTAi4rTJHEJOF1rtaiCyb88kEzqCkrsLJm5pFoMFvm5l4yrggQQt7XRuOF/wecaG/dy5tUMwEMNCG3ZgYI4fEup57bZmHiiB5RdL0IE3iK/p5LijeRcZuapEh65fPKjAIh+cIHgbb9Oh+9FYRB5wkChIKOPUVsXfqTHl5gtVsAuRoz8ZSMz3dvB6iiiW7JBvKODRqsBBVWDasDEUYpMNCwbOpXkkVJ2RyTicqyNIL6UYW7OLcC8jg1zcozy96o+bJGeg+9SVP2+oxzh9aM+Rb7IDw0ipiiRV5z8Qt9YE9opjWtqzIsSag1fLfZtWYErDaECfZHeii3JkHw5vb/7A0cOwIyfGtRZiXORcuMrYu4ZSu09HxrVlHz7cIRCSR3PuIRRsRs2Gj2Brh+KBERBCf/4Z7PbjP5hkM/4hMyTXzM9fMUslRCTLPPxdfFvUayN81xPhcDBLQKp9XJm46HLYxZMGHvmsIWdJc2YBEnmQ/7dD1i95D6UMsT1l0Hg/X/nX4W2P25VOo98Hmib02VmVmQgPrqGhCH+0PgQYbGP10R23zT7csa5ouaXkvpPoOrCiHPVbM9lLoBOxPvpe0ppqZjVNTeG2EdCK5+cld6WkCAxYQ4bSFwZ4YtLI2uf64XwaIZr/IQmrzvhxy+ES9MCxK+CNE4t9qtonkybKvBCxCW1PleZTtFxDx9lgmDFucBvhRJjG0QZquZ1I0SWTaABAy408WHcqvi+72JW1AKkG5iSnZAKHLjUwvnJMW2owFo44JXh4mbDLuDEaTdjoNhTm8ZEzRwK1RkRzOawHJ+ArUtSH7lJate8V9gljVAszRq95XphPXN1vzDb/cQBBvDggUzEC7YE9GF2wIH+VDhQeMlPI1DS4Ki56YWwuZWLGOvN6uxYejVxtVYwXn633DPyu7z+Gt4gjn6eq6xckNRkD1w3WS2UfJBq2a+p8QM128HLeNubhYifj7sO+vSZzRIsvrDmbENsh6T3w9VLbSH55SLNIh/mPqAwT3tnDesjw== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0edfcce5-2cfd-4665-68a3-08da96596967 X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB9176.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Sep 2022 14:00:00.2234 (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: 2c+476rEC0IQx6QM7QF6YwpPHQm9U5L725vs1NJLcunzFaVtBpPLnCF5FDGYqWSQBDWo4vHZEb02Eo2kpkYzAw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR04MB7129 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This is to support the EVK (Evaluation Kit Board) for the i.MX8DXL. The patch has enabled the serial console, SD/EMMC interface, and the eqos and fec ethernet network. Signed-off-by: Shenwei Wang --- arch/arm64/boot/dts/freescale/Makefile | 1 + arch/arm64/boot/dts/freescale/imx8dxl-evk.dts | 426 ++++++++++++++++++ 2 files changed, 427 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/imx8dxl-evk.dts diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile index 8bf7f7ecebaa..2741205efe84 100644 --- a/arch/arm64/boot/dts/freescale/Makefile +++ b/arch/arm64/boot/dts/freescale/Makefile @@ -48,6 +48,7 @@ dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1028a-qds-85bb.dtb dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1028a-qds-899b.dtb dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1028a-qds-9999.dtb +dtb-$(CONFIG_ARCH_MXC) += imx8dxl-evk.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mm-beacon-kit.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mm-data-modul-edm-sbc.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mm-ddr4-evk.dtb diff --git a/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts b/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts new file mode 100644 index 000000000000..ca2a43e0cbf6 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts @@ -0,0 +1,426 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright 2019~2020, 2022 NXP + */ + +/dts-v1/; + +#include "imx8dxl.dtsi" + +/ { + model = "Freescale i.MX8DXL EVK"; + compatible = "fsl,imx8dxl-evk", "fsl,imx8dxl"; + + aliases { + i2c2 = &i2c2; + mmc0 = &usdhc1; + mmc1 = &usdhc2; + serial0 = &lpuart0; + }; + + chosen { + stdout-path = &lpuart0; + }; + + memory@80000000 { + device_type = "memory"; + reg = <0x00000000 0x80000000 0 0x40000000>; + }; + + reserved-memory { + #address-cells = <2>; + #size-cells = <2>; + ranges; + + /* + * Memory reserved for optee usage. Please do not use. + * This will be automatically added to dtb if OP-TEE is installed. + * optee@96000000 { + * reg = <0 0x96000000 0 0x2000000>; + * no-map; + * }; + */ + + /* global autoconfigured region for contiguous allocations */ + linux,cma { + compatible = "shared-dma-pool"; + reusable; + size = <0 0x14000000>; + alloc-ranges = <0 0x98000000 0 0x14000000>; + linux,cma-default; + }; + }; + + mux3_en: regulator-0 { + compatible = "regulator-fixed"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-name = "mux3_en"; + gpio = <&pca6416_2 8 GPIO_ACTIVE_LOW>; + regulator-always-on; + }; + + reg_fec1_sel: regulator-1 { + compatible = "regulator-fixed"; + regulator-name = "fec1_supply"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + gpio = <&pca6416_1 11 GPIO_ACTIVE_LOW>; + regulator-always-on; + status = "disabled"; + }; + + reg_fec1_io: regulator-2 { + compatible = "regulator-fixed"; + regulator-name = "fec1_io_supply"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + gpio = <&max7322 0 GPIO_ACTIVE_HIGH>; + enable-active-high; + regulator-always-on; + status = "disabled"; + }; + + reg_usdhc2_vmmc: regulator-3 { + compatible = "regulator-fixed"; + regulator-name = "SD1_SPWR"; + regulator-min-microvolt = <3000000>; + regulator-max-microvolt = <3000000>; + gpio = <&lsio_gpio4 30 GPIO_ACTIVE_HIGH>; + enable-active-high; + off-on-delay-us = <3480>; + }; +}; + +&eqos { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_eqos>; + phy-mode = "rgmii-id"; + phy-handle = <ðphy0>; + nvmem-cells = <&fec_mac1>; + nvmem-cell-names = "mac-address"; + snps,reset-gpios = <&pca6416_1 2 GPIO_ACTIVE_LOW>; + snps,reset-delays-us = <10 20 200000>; + status = "okay"; + + mdio { + compatible = "snps,dwmac-mdio"; + #address-cells = <1>; + #size-cells = <0>; + + ethphy0: ethernet-phy@0 { + compatible = "ethernet-phy-ieee802.3-c22"; + reg = <0>; + eee-broken-1000t; + qca,disable-smarteee; + vddio-supply = <&vddio0>; + + vddio0: vddio-regulator { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + }; + }; + }; +}; + +/* + * fec1 shares the some PINs with usdhc2. + * by default usdhc2 is enabled in this dts. + * Please disable usdhc2 to enable fec1 + */ +&fec1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_fec1>; + phy-mode = "rgmii-txid"; + phy-handle = <ðphy1>; + fsl,magic-packet; + rx-internal-delay-ps = <2000>; + nvmem-cells = <&fec_mac0>; + nvmem-cell-names = "mac-address"; + status = "disabled"; + + mdio { + #address-cells = <1>; + #size-cells = <0>; + + ethphy1: ethernet-phy@1 { + compatible = "ethernet-phy-ieee802.3-c22"; + reg = <1>; + reset-gpios = <&pca6416_1 0 GPIO_ACTIVE_LOW>; + reset-assert-us = <10000>; + qca,disable-smarteee; + vddio-supply = <&vddio1>; + + vddio1: vddio-regulator { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + }; + }; + }; +}; + +&i2c2 { + #address-cells = <1>; + #size-cells = <0>; + clock-frequency = <100000>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2c2>; + status = "okay"; + + pca6416_1: gpio@20 { + compatible = "ti,tca6416"; + reg = <0x20>; + gpio-controller; + #gpio-cells = <2>; + }; + + pca6416_2: gpio@21 { + compatible = "ti,tca6416"; + reg = <0x21>; + gpio-controller; + #gpio-cells = <2>; + }; + + pca9548_1: i2c-mux@70 { + compatible = "nxp,pca9548"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x70>; + + i2c@0 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x0>; + + max7322: gpio@68 { + compatible = "maxim,max7322"; + reg = <0x68>; + gpio-controller; + #gpio-cells = <2>; + status = "disabled"; + }; + }; + + i2c@4 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x4>; + }; + + i2c@5 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x5>; + }; + + i2c@6 { + #address-cells = <1>; + #size-cells = <0>; + reg = <0x6>; + }; + }; +}; + +&lpuart0 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_lpuart0>; + status = "okay"; +}; + +&lsio_gpio4 { + status = "okay"; +}; + +&lsio_gpio5 { + status = "okay"; +}; + +&thermal_zones { + pmic-thermal0 { + polling-delay-passive = <250>; + polling-delay = <2000>; + thermal-sensors = <&tsens IMX_SC_R_PMIC_0>; + + trips { + pmic_alert0: trip0 { + temperature = <110000>; + hysteresis = <2000>; + type = "passive"; + }; + + pmic_crit0: trip1 { + temperature = <125000>; + hysteresis = <2000>; + type = "critical"; + }; + }; + + cooling-maps { + map0 { + trip = <&pmic_alert0>; + cooling-device = + <&A35_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&A35_1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; + }; +}; + +&usdhc1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usdhc1>; + bus-width = <8>; + no-sd; + no-sdio; + non-removable; + status = "okay"; +}; + +&usdhc2 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usdhc2>, <&pinctrl_usdhc2_gpio>; + bus-width = <4>; + vmmc-supply = <®_usdhc2_vmmc>; + cd-gpios = <&lsio_gpio5 1 GPIO_ACTIVE_LOW>; + wp-gpios = <&lsio_gpio5 0 GPIO_ACTIVE_HIGH>; + status = "okay"; +}; + +&iomuxc { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_hog>; + + pinctrl_hog: hoggrp { + fsl,pins = < + IMX8DXL_COMP_CTL_GPIO_1V8_3V3_GPIORHB_PAD 0x000514a0 + IMX8DXL_COMP_CTL_GPIO_1V8_3V3_GPIORHK_PAD 0x000014a0 + IMX8DXL_SPI3_CS0_ADMA_ACM_MCLK_OUT1 0x0600004c + IMX8DXL_SNVS_TAMPER_OUT1_LSIO_GPIO2_IO05_IN 0x0600004c + >; + }; + + pinctrl_usbotg1: usbotg1grp { + fsl,pins = < + IMX8DXL_USB_SS3_TC0_CONN_USB_OTG1_PWR 0x00000021 + >; + }; + + pinctrl_usbotg2: usbotg2grp { + fsl,pins = < + IMX8DXL_USB_SS3_TC1_CONN_USB_OTG2_PWR 0x00000021 + >; + }; + + pinctrl_eqos: eqosgrp { + fsl,pins = < + IMX8DXL_ENET0_MDC_CONN_EQOS_MDC 0x06000020 + IMX8DXL_ENET0_MDIO_CONN_EQOS_MDIO 0x06000020 + IMX8DXL_ENET1_RGMII_RXC_CONN_EQOS_RGMII_RXC 0x06000020 + IMX8DXL_ENET1_RGMII_RXD0_CONN_EQOS_RGMII_RXD0 0x06000020 + IMX8DXL_ENET1_RGMII_RXD1_CONN_EQOS_RGMII_RXD1 0x06000020 + IMX8DXL_ENET1_RGMII_RXD2_CONN_EQOS_RGMII_RXD2 0x06000020 + IMX8DXL_ENET1_RGMII_RXD3_CONN_EQOS_RGMII_RXD3 0x06000020 + IMX8DXL_ENET1_RGMII_RX_CTL_CONN_EQOS_RGMII_RX_CTL 0x06000020 + IMX8DXL_ENET1_RGMII_TXC_CONN_EQOS_RGMII_TXC 0x06000020 + IMX8DXL_ENET1_RGMII_TXD0_CONN_EQOS_RGMII_TXD0 0x06000020 + IMX8DXL_ENET1_RGMII_TXD1_CONN_EQOS_RGMII_TXD1 0x06000020 + IMX8DXL_ENET1_RGMII_TXD2_CONN_EQOS_RGMII_TXD2 0x06000020 + IMX8DXL_ENET1_RGMII_TXD3_CONN_EQOS_RGMII_TXD3 0x06000020 + IMX8DXL_ENET1_RGMII_TX_CTL_CONN_EQOS_RGMII_TX_CTL 0x06000020 + >; + }; + + pinctrl_fec1: fec1grp { + fsl,pins = < + IMX8DXL_COMP_CTL_GPIO_1V8_3V3_ENET_ENETB0_PAD 0x000014a0 + IMX8DXL_COMP_CTL_GPIO_1V8_3V3_ENET_ENETB1_PAD 0x000014a0 + IMX8DXL_ENET0_MDC_CONN_ENET0_MDC 0x06000020 + IMX8DXL_ENET0_MDIO_CONN_ENET0_MDIO 0x06000020 + IMX8DXL_ENET0_RGMII_RXC_CONN_ENET0_RGMII_RXC 0x00000060 + IMX8DXL_ENET0_RGMII_RXD0_CONN_ENET0_RGMII_RXD0 0x00000060 + IMX8DXL_ENET0_RGMII_RXD1_CONN_ENET0_RGMII_RXD1 0x00000060 + IMX8DXL_ENET0_RGMII_RXD2_CONN_ENET0_RGMII_RXD2 0x00000060 + IMX8DXL_ENET0_RGMII_RXD3_CONN_ENET0_RGMII_RXD3 0x00000060 + IMX8DXL_ENET0_RGMII_RX_CTL_CONN_ENET0_RGMII_RX_CTL 0x00000060 + IMX8DXL_ENET0_RGMII_TXC_CONN_ENET0_RGMII_TXC 0x00000060 + IMX8DXL_ENET0_RGMII_TXD0_CONN_ENET0_RGMII_TXD0 0x00000060 + IMX8DXL_ENET0_RGMII_TXD1_CONN_ENET0_RGMII_TXD1 0x00000060 + IMX8DXL_ENET0_RGMII_TXD2_CONN_ENET0_RGMII_TXD2 0x00000060 + IMX8DXL_ENET0_RGMII_TXD3_CONN_ENET0_RGMII_TXD3 0x00000060 + IMX8DXL_ENET0_RGMII_TX_CTL_CONN_ENET0_RGMII_TX_CTL 0x00000060 + >; + }; + + pinctrl_lpspi3: lpspi3grp { + fsl,pins = < + IMX8DXL_SPI3_SCK_ADMA_SPI3_SCK 0x6000040 + IMX8DXL_SPI3_SDO_ADMA_SPI3_SDO 0x6000040 + IMX8DXL_SPI3_SDI_ADMA_SPI3_SDI 0x6000040 + IMX8DXL_SPI3_CS1_ADMA_SPI3_CS1 0x6000040 + >; + }; + + pinctrl_i2c2: i2c2grp { + fsl,pins = < + IMX8DXL_SPI1_SCK_ADMA_I2C2_SDA 0x06000021 + IMX8DXL_SPI1_SDO_ADMA_I2C2_SCL 0x06000021 + >; + }; + + pinctrl_cm40_lpuart: cm40lpuartgrp { + fsl,pins = < + IMX8DXL_ADC_IN2_M40_UART0_RX 0x06000020 + IMX8DXL_ADC_IN3_M40_UART0_TX 0x06000020 + >; + }; + + pinctrl_i2c3: i2c3grp { + fsl,pins = < + IMX8DXL_SPI1_CS0_ADMA_I2C3_SDA 0x06000021 + IMX8DXL_SPI1_SDI_ADMA_I2C3_SCL 0x06000021 + >; + }; + + pinctrl_lpuart0: lpuart0grp { + fsl,pins = < + IMX8DXL_UART0_RX_ADMA_UART0_RX 0x06000020 + IMX8DXL_UART0_TX_ADMA_UART0_TX 0x06000020 + >; + }; + + pinctrl_usdhc1: usdhc1grp { + fsl,pins = < + IMX8DXL_EMMC0_CLK_CONN_EMMC0_CLK 0x06000041 + IMX8DXL_EMMC0_CMD_CONN_EMMC0_CMD 0x00000021 + IMX8DXL_EMMC0_DATA0_CONN_EMMC0_DATA0 0x00000021 + IMX8DXL_EMMC0_DATA1_CONN_EMMC0_DATA1 0x00000021 + IMX8DXL_EMMC0_DATA2_CONN_EMMC0_DATA2 0x00000021 + IMX8DXL_EMMC0_DATA3_CONN_EMMC0_DATA3 0x00000021 + IMX8DXL_EMMC0_DATA4_CONN_EMMC0_DATA4 0x00000021 + IMX8DXL_EMMC0_DATA5_CONN_EMMC0_DATA5 0x00000021 + IMX8DXL_EMMC0_DATA6_CONN_EMMC0_DATA6 0x00000021 + IMX8DXL_EMMC0_DATA7_CONN_EMMC0_DATA7 0x00000021 + IMX8DXL_EMMC0_STROBE_CONN_EMMC0_STROBE 0x00000041 + >; + }; + + pinctrl_usdhc2_gpio: usdhc2gpiogrp { + fsl,pins = < + IMX8DXL_ENET0_RGMII_TX_CTL_LSIO_GPIO4_IO30 0x00000040 /* RESET_B */ + IMX8DXL_ENET0_RGMII_TXD1_LSIO_GPIO5_IO00 0x00000021 /* WP */ + IMX8DXL_ENET0_RGMII_TXD2_LSIO_GPIO5_IO01 0x00000021 /* CD */ + >; + }; + + pinctrl_usdhc2: usdhc2grp { + fsl,pins = < + IMX8DXL_ENET0_RGMII_RXC_CONN_USDHC1_CLK 0x06000041 + IMX8DXL_ENET0_RGMII_RX_CTL_CONN_USDHC1_CMD 0x00000021 + IMX8DXL_ENET0_RGMII_RXD0_CONN_USDHC1_DATA0 0x00000021 + IMX8DXL_ENET0_RGMII_RXD1_CONN_USDHC1_DATA1 0x00000021 + IMX8DXL_ENET0_RGMII_RXD2_CONN_USDHC1_DATA2 0x00000021 + IMX8DXL_ENET0_RGMII_RXD3_CONN_USDHC1_DATA3 0x00000021 + IMX8DXL_ENET0_RGMII_TXD0_CONN_USDHC1_VSELECT 0x00000021 + >; + }; +};