From patchwork Mon Aug 5 20:14:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13754025 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 87198C3DA4A for ; Mon, 5 Aug 2024 20:16:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:Content-Type: Content-Transfer-Encoding:Message-Id:Date:Subject:Cc:To:From:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=ljIhUU5t+sBRrrjGDmwYH3KfH9SmqHzPKtyrLBhUvwE=; b=HR9nua9iktG2A+gpNU4S32lb6D aHKPw8P9qRczH3/VhhhxahG45nm0dPQXsPlkE3iO7XtkHs++I5cK3bsEfzgACebBWCFcKRnH7YrSQ hwMNs4knGnknP/+qYoLdd6XPyK0tJJnsqlIUAoywWx3J6FJEpDgGJHehRiOs1/NEE3DUNekA2Vs+v gnA2Ng6N0lT+G10HWAwi7nNvwX9YQPiliM8nvPwe/e73k/WI0DFFQEWrk0pLqK7nO7+1BXO+voFrr AV7FRtLhoeoSmx2uWuAZprkUN7ussbjz/Mps72tPbYMKogSb7Tj1UWwqT1b2u4M7PYheK17QHiQs7 HhLmCpQQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sb47S-0000000H9cn-45rv; Mon, 05 Aug 2024 20:15:50 +0000 Received: from mail-northeuropeazlp170120003.outbound.protection.outlook.com ([2a01:111:f403:c200::3] helo=DU2PR03CU002.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sb46G-0000000H9Ea-3Uei for linux-arm-kernel@lists.infradead.org; Mon, 05 Aug 2024 20:14:38 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=pbO2RHD69mPotCkYr96zWxe8XAmP8HzG9OtKL9Km8GLCUVH6U52YTNfQlDu99HjpsVcTEBP3lRy9A1e2sMzijmhySwNUKBWq+vaY7cUrQP0BqpQEYfKSk9eAIswVzg7NSEUkLdqBt1PSnD3BV+KvrOh7OZuHfUYQ6zA66zHsXOCvtMZTS6oR0wIMPqDvFYjOjpyEssiNwjZdWQ626Otn1StVGMR6wMdWn73a2e2xR7KEYcKJFdSymIuJBHNLWQeMvZ4l1WkRiUuvGU1FToPos3GgwnDNs0UREHS3TQhgvNqYarrFA4zM85cE7kSPcXUXOaoP8BXgMe7v2paRz81iLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=ljIhUU5t+sBRrrjGDmwYH3KfH9SmqHzPKtyrLBhUvwE=; b=d7Usplfz5P3R2IUsYgnKtM7qmplvIRlGGV+TSPm1eyn5/c1g7cf3PsxRbDwzCIQAVjQUs2KW2C4Dw1N3HbZztNd8eSM65U4uVgoWcXnFkGFVQwwUnGXD8917a30BCWXU/d/K8YU/9QEYUIZmK1iqD7v1NxtcVsRTHyfngsJYnlv37vTx5FkrEOJBM1MQGT3UnGMRftRlPIQzpbcMAdkzz4ceHMhPVa2w+1SE9Bm7hA0T8qqBmdq3U9qzPMxXlXcKOiNXh5gIt3j+bOP6PmRFHixJTmO6cRo7jqEtgG7eequwnXNwrEY7X+zFdDlKzXTY0TbFJQkh5nPmS4jtx7oXdw== 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=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ljIhUU5t+sBRrrjGDmwYH3KfH9SmqHzPKtyrLBhUvwE=; b=MCtjoS4ERMXJxp6I5RG54SjIsOlcKdM5qYvULymgnX8kMndhA3SF5zox6S+Vw4j667tREjPuSgOER6UrfqUHRm4anqFfAPFyP6yq4PCdN3DxiRABNqvPkX9fcTxe2MDQrsGOpzj+Uf9xkq9dGT3z1fr+PmANq6G1l9BDN4ta6WjR2k4y7NreZ9hLMu6D51zlqvtOGY0LbAs0FvSq3CxlSpAqgPJdOFirQZqkxCjKfSUu18Q4BwAk7D7PYFvbT9mPWobhHPJ9ebPyJgx9qiE1HCZh5a1XjRIrS9RMX9TYx4CmPTzbWEZLkO+Mi0OG9eohT01ZexlVCgE7ddKnnSfy3Q== 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 VI0PR04MB10319.eurprd04.prod.outlook.com (2603:10a6:800:231::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7828.26; Mon, 5 Aug 2024 20:14:32 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%5]) with mapi id 15.20.7828.023; Mon, 5 Aug 2024 20:14:32 +0000 From: Frank Li To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), imx@lists.linux.dev (open list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE), linux-arm-kernel@lists.infradead.org (moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE), linux-kernel@vger.kernel.org (open list) Cc: imx@lists.linux.dev Subject: [PATCH 1/2] arm64: dts: imx95: add DDR Perf Monitor node Date: Mon, 5 Aug 2024 16:14:15 -0400 Message-Id: <20240805201416.2974996-1-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: BY3PR04CA0013.namprd04.prod.outlook.com (2603:10b6:a03:217::18) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|VI0PR04MB10319:EE_ X-MS-Office365-Filtering-Correlation-Id: 213367e7-efd9-4498-de31-08dcb58b37f0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|52116014|366016|7416014|376014|1800799024|38350700014|921020; X-Microsoft-Antispam-Message-Info: pup45gybgnUQ69omP4oOxqMQ7EQ9Y24MkqOfwAOVVR1xlC+n6DMAaHDl9RAatcKdsf3jjLu2TuNfFIz06LFSIxazd9isaV50Af5vQwnuKaJj4aGlySBAOHRukr0y36pbQZvC0h99odU0ggCr4FtSgOLS/xjZVMc74iIQWBlxUa+5D+KQo41b2TE7JA+HZMCHUy6eFgLc7fqaikFVX/r+sZhM1W1QUpHk0FVnw0nGazQRuAPJYq6wdknLYKZux1FhGSmKdf2Xrp2zjczUgQGL75gnawR9nBdhud/dfL/VjvUFGXVaasDSrwXOgMKtmgEfuUVIrC4SJ9fMKI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4Qsiz92YXuBN5fNbsGsL0Rb/uPjm/Qk= 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:(13230040)(52116014)(366016)(7416014)(376014)(1800799024)(38350700014)(921020);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: DB+SFW0DM59DfskDt+fzu94b2NA/3KIxWoLmm7V8K2kgy8d00ZiwqYL3G0DTjx+3KoYUFQ0rbfIQag8rDsOOus+qIJuxmJQzFhDA/M5gQsq8cpO1F/tXo4r2sIUUK2QP3HId98GzTRV9nyUaVdFv62iI0BnPUT9i9F+U+fIYpECSY4S2nNCi5me+VSDoFF9wdHIDx1WjnBSFBUCcweBuxjOVcH8sk4DvDTaodas0kWaN/3TWdPmjRrR8ZPWZoV9i73gEXmO0Y/6C6OR8Sk/G50wfE1/zAvLucesNAXHoyPR/afzlPz4aHP/Rk2zpS9ToVMhMhshwfjyUVRTDRYGcPjUm9JJuq3a+bQB5YV/DTzEftbKatXiwhBx1IA7Y6WP/HSDUA5ktzAf53ePRnXbLDRW9zfwee8ks6cMSGAKLm0pvg63ZOreTADi7APv/5+3CNQZz6Jw5sHrWW5VvWR/E2hmhWklRWVdevYbhrs1mOoTFXaAlf1ZBZ7yF6bQJYpKqcsXezzLKQ1vDsKtuViEhiW+PnyXgXeFOE5MDRQORBdhX3nkz4139QIArQiJypa2c3ihvm3SxsY9D8eR7IltjFDRJnhgkTec5Vctqmegmfj0rdw+Qmd0Ii4NDtNSz6btzwVzrjcsGo0qNXuQPJwV3DAsNPzq31LN52aQFtswlcqOIoOE/l4UGZMrzBcNFob8J9kbZkze4s4AM8IIytADc9jwuH/IhfIeWo6Cwq3LUY7OZRgUCettgcftWjUkb+kxJ9SZa1a57oq+jMBIlt5/wf55e5sjBt/+nCY0mcXrrNKAjzx3UMbcvvCJsfVQdTSfarmonbh8U2EoKVMp56kiHNIGhHeSVHygA/Hc0iIePaYwOfZO2bNItzRy8wTlIT8caly8z75G9ndXIJB7XSwIGpIbVUiYCekmeZjjz+lclClqvzl4odKp1tGX6LDoi4DRPyKWw//U084hW3ZeXXk3v5lYi48JWYnHTfoZRUt74ElwpmHC3nAW6f81C95D5DnJE7GG3rlL3I2WWSVQs0t5liTHUUCBuSg5MFH/BjRflnYAs/HAD4+CCnfsH0B2WTzPRcKi9Z6jb5NTWcFv0V3VKFxkOncPVeACRsAph0Ghu3NslHDyyQydczX3dIK00n32FprRTnxhxcD2OgoIfY0D2kGMWCCPR4TWnWDGDIj9AdKm8PCUtqP3KRbgpb3rZgPmd8FAanoECClAgm0WOXbogt/HMJFwjD7xhIpWaeF4ZEHx5GgzB/FoIhzxygtBQx68EMwVknlbp4QpraA3kwdef/IT2LGivXlT3odly592i0zGRcQhkA5gJXwn/Rsc5Zyou6m0gm1pSRXkfcUWWvGQ2rwHeWHD378BJ2xPS1yPNoIibefDqnpAWYqv1y8XLyf7ActxCoOOhcPm7jkbdwfS1ZN3gOs98Q/PNBAvMvnHXG3YPGbuN+owhR2o47m0XBt/Fo5V70JwbgYZxSgO719uQR4pyYUw7246eUMTYh1L1o5+++WEsH+dB1W9EGwTJMHcVV7h46YBB+O3ZCtWKDo+xywEjfq+ZUxrDq9t/7jxuPgY= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 213367e7-efd9-4498-de31-08dcb58b37f0 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Aug 2024 20:14:32.6303 (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: LYJlPmq6a31NbN5Si2IOrW7mx4PYEDPrx4ULwcLGKiw5vnuHG8vWsu+iJHZ0veQ/3iWW52UkPMjp8o3h45fh4g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI0PR04MB10319 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240805_131436_918873_4F1EDD60 X-CRM114-Status: UNSURE ( 9.29 ) X-CRM114-Notice: Please train this message. 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 From: Xu Yang Add DDR Perf Monitor for i.MX95. Signed-off-by: Xu Yang Reviewed-by: Peng Fan Signed-off-by: Frank Li --- arch/arm64/boot/dts/freescale/imx95.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx95.dtsi b/arch/arm64/boot/dts/freescale/imx95.dtsi index 217565c960bba..d25465c947822 100644 --- a/arch/arm64/boot/dts/freescale/imx95.dtsi +++ b/arch/arm64/boot/dts/freescale/imx95.dtsi @@ -1555,5 +1555,11 @@ sai2: sai@4c880000 { dma-names = "rx", "tx"; status = "disabled"; }; + + ddr-pmu@4e090dc0 { + compatible = "fsl,imx95-ddr-pmu", "fsl,imx93-ddr-pmu"; + reg = <0x0 0x4e090dc0 0x0 0x200>; + interrupts = ; + }; }; }; From patchwork Mon Aug 5 20:14:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13754026 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 D0B2AC3DA7F for ; Mon, 5 Aug 2024 20:16:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:Content-Type: Content-Transfer-Encoding:References:In-Reply-To:Message-Id:Date:Subject:Cc: To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Bt2ZpU/CQHvfIO3Xf5e0hZvbnIFeNYgLjZbK/lyINX4=; b=P+TVCzPhYoeFDYopWbht6vC3At G/X/Vj59ZaalakHZzw8ggpkdbec6Kp1u7SDBd/n9NHI0aeCYFQUHWxsSFUzxf6AWGk2fnJW8o1VO2 bG8PqRp16tYe+lAkGvYLgpunT9tVCR9AAximP0WocZR6nYqesHxiJDuRhUrJOI3+GzVfNlmI0mJY4 U73bQyS+HoI0RBgInNxydF2qWKzZjF209MUbo9GTkvQF0ljJ+FdSFd5egCgaquejQ4NcviGEZjmPH TGeWrAG4t607Np8yqJaQUkhXkCGXOGtfx9oStupKXgr6NzOQ7heeUe1nVFQ6LE67/ZiSzc7HLR3D+ V6YiXkkA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sb47x-0000000H9i5-1m9e; Mon, 05 Aug 2024 20:16:21 +0000 Received: from mail-northeuropeazlp170120003.outbound.protection.outlook.com ([2a01:111:f403:c200::3] helo=DU2PR03CU002.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sb46I-0000000H9Ea-25WY for linux-arm-kernel@lists.infradead.org; Mon, 05 Aug 2024 20:14:40 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Yg5eBWNoLuMxEuI/+UQlKgIIx3q1vhh9Oml3eLkO4St6L6aW+901Kr0bJYfQCLUTEgJul2CaZrq+rkmU/CA2mGWZVONB83QNNDjd0GJvBoO3nIwpeT7eA14UptsZKLRvEjFj1sTVyytZA6Nd+b6R5L1hdPJCHMYS1/D2H1F922c1OFXxSx+umlYOcZ3nxaRosbhsowgiTDPCnTdJShfbaiF7oIUGAseJuMG5lm9bQ/IfxiKEYlBqgspqDS+yl4zEwYQUXNv5kd6BBJcII+i4NKVt5bDrgbEMr9D0BzICVWx3WV+bYK60doeF9fSp6w9Mzwb7PwayD1a/RCkRQ4Elxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=Bt2ZpU/CQHvfIO3Xf5e0hZvbnIFeNYgLjZbK/lyINX4=; b=cKiTCxKlWFBtMwK0RRT7wNekiwKr31OSjRUyQHVZEA0ogwFI5NMfhgMHInujBtM3BxCbL5FytrD058j+MHzSbnvG2rwt1oQ6J8C8V2dDc7MCClrhUJtPPGk5+5RkPDIKUKNqADEYKpuNh5KxfB0nt0HjkJvM2RwSsqDww/8q8KwZQt+8UHoQl36St/AW5KYr31J4qWMORm22IFWx3UYPYZoBQBovNkJx5KyV6r4VYfhM4WrTxGm6DEkHAreV775AxapmrCehjMxRcJl3qgJFEk6N78QXWRi3cxORNMBZjIKfbytWDlTcnmhETy4IQ57MLdnus8bSjM54+qkKAMbw9Q== 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=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Bt2ZpU/CQHvfIO3Xf5e0hZvbnIFeNYgLjZbK/lyINX4=; b=DaL+Iz28DWHEI8wGnubvGfJelbfkX923lXTMJFK36zgeK3tqIjVpc46hY2imCrqSMRVYfOs5tF3oIOO7ZI2d09EWaSy8lIN1/ba4zHVQY16xELH4VEyGs6bQUaki+rokn8uzN+yknGrBeCYpYEOnwUhm6n9ZYBSokZWlubYBPt1Bgep8EifprfsqWCKmivvffNvpr02wqVuy3UiK7G2nF3Ox+FskMZKX+jxlMK2lNATafuwvicWYWt9HNehSWTwPZzR/pgMXach2WMrdSSd/3Z6K/bip9o2GgG4G2NSGqxUaCs2WW3NUkgKH0HTa2jyFHsaTFHvqxcd/LvwEwdgV+w== 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 VI0PR04MB10319.eurprd04.prod.outlook.com (2603:10a6:800:231::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7828.26; Mon, 5 Aug 2024 20:14:36 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%5]) with mapi id 15.20.7828.023; Mon, 5 Aug 2024 20:14:35 +0000 From: Frank Li To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), imx@lists.linux.dev (open list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE), linux-arm-kernel@lists.infradead.org (moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE), linux-kernel@vger.kernel.org (open list) Cc: imx@lists.linux.dev Subject: [PATCH 2/2] arm64: dts: imx95: add flexcan[1..5] support Date: Mon, 5 Aug 2024 16:14:16 -0400 Message-Id: <20240805201416.2974996-2-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240805201416.2974996-1-Frank.Li@nxp.com> References: <20240805201416.2974996-1-Frank.Li@nxp.com> X-ClientProxiedBy: BY3PR04CA0013.namprd04.prod.outlook.com (2603:10b6:a03:217::18) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|VI0PR04MB10319:EE_ X-MS-Office365-Filtering-Correlation-Id: 5660f1ee-0bb7-4195-eeb8-08dcb58b39fe X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|52116014|366016|7416014|376014|1800799024|38350700014|921020; X-Microsoft-Antispam-Message-Info: jNVWJ8cuGnVjJEQGdZN8vWq0FtUvGPnsVQB3YNE3L1b5FX7kw2axu2/oplKGx4kO+YH6bO7X8BteWZZSOczuOpt7eOwQXES3Qe9//CBau/QVjHp+YuRBphwGvTHgt7y49bo6fWeBCpQv8wYf0Yv91RfvMcf2DsuxPrRvtcIuxoPRMfG9ic+COqHJ5NN+oZV8ZH7Ag/SyFc74qpz8uBq195mEDGQy6Y8USpUS/wwmXeannQfKB0E067QXMt1kF5O+aUTDI8RaP2nUdZeEcqNyIXsJfN/9f28OchLjTVDhH7wBAhq0DUOPXKRLI2ov8pOoFT81r0Lnbx7fxFxOko3XTW5pPE/VXU6XjYTV54B9a90wG41HAbptyZ4v0jKcRAjOSjN2zvqTX5T7HaiPoEhyv6wKMAUwaCJ8EKZAtTT/H2VAYKr94LG5ui53yu0zUJZ9LbzpCbpwKhcHvaNdpSIT19ufBtpyf5AT5LTqExxrd6oKV2sNY+frzEihrApSR3n9ueOEIhntO8UATs68Tfc6ERBcDgyT/lLSPZksHKpYuG7ZH7KLidqKFdBNx+6S4yaD6Yn83w344OZ+OBce/K8umf2Q0bonqpw/QCX2qQ4SSD08ePIA6v82y5R7uYDYcagesArV5J/o8tpST5adrK7D0ffea7axSuG39/K/ZAQh1672dGynB5gT9g+3aJU91nKKyO/9dnOZ9AK6Ml1bPmI7zo5amSomk7d9rrlYca7+GXfx7pDeK9RW+s3xnD46NhvcKhz5a8bHh6Ai1ceq+KzeguJya/t61DfRwNpKsNRywdaUO7FdZen18mCEhncG74aMGliJGqTif09tWnIIJCPTE1zYZTH+aQrXJazFlujTiENFXDFLz2w5y+8IAqSw+j849cKJ3t5pwSc6LOAVECs0yIBJGlzZNeLxFaix43DZuEqn2+UTe+9KRgWrYRzNrky4XD+/v/F4YP+YHsrI3XQF473achIP+bsbZ5is3ZThTRrTXuOrXxtDuPDTDv9Nfs/ZOePwNMnCGoWZe7NKi5NNZo6iZD3V1fmbtuq2eOhqecuokUtcaWVy4iG5rZQJYcbu3pxz6M97T0TB+FQu0kfswzxelyuan0EQ18pKVy11+RSVvWPAZHgpV0h5ICz/K79sWZ/z3fLJ9dQ8ss5mgGPM2D5uYnNGcquBtYRjCBHQlV2ok/05tZTCxGK4sSRz0lxUjRrJDVrG+1Rq/LiOtqi3YWvFh63aQseveFwaGZh0HKKSYfAtZmqqt40rd7wycl0Ly3QYaTMbw0+wyAIMn1TbzeVS45WflsshZARHpLgRjz/Bas7j27yRAYgMQpEeflNFxklKW7cizXMryf+uc4Woc3caqb1QDtV6R+NkQrAW/UwCPwXVqOjL5+6Evy6T0dX5 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:(13230040)(52116014)(366016)(7416014)(376014)(1800799024)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DLatWUH9Mjis4nfBKCOtHHj8xRQanCT5UwVEmEbnZdIcaX44y9t0sdpP6v6z6QQBaMUvUQzDRCBZyusakVocJDMoLeQkghUIOCTsWIHY6WitEeRxFuWYnUq0lrmJr/hW/OUIAp14ZCi8mw7iLqg38rsiSL980YbnT/TOWu1IPBZaDCpcmUlIq10RPw/LUd6z2fv88dh1JnB2AD+MwfwVUNNs+SD1vgMFRwah+Dl8I+CshbaXWy5MGX9HwVYz6Rl6NdCk1bVLRxRLUwC/UpBf2XNzoi/zWDo4Dh9KXj7Ib1SQMdv93M6KovfIQJinm1Y6vegXAEQIx7a0dAqZbHbfhCj6tYYP4/x9ywqpWqmNbjVY4Vymm6avUMoTAMlL8+NrMVAAzEOa2tFZVz3isxWRDzsdGZl/y6lpT/9H6vem5ph+07uLAgbP90O5gzPuI59LVuq9wnSirfaKpgg0En8T9uKpI79AqYZzfuSdcVvgXl6W5rDAIwXOrHDJg7qNjaJvr3pSIkQsB9gHQMj7jXp/882h7AepS89Y9LKeuftZSD9yKSMk+MjsqagOTZEPwkzT3AY+VQewelSGXrJugASzvueEXtPCOF X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5660f1ee-0bb7-4195-eeb8-08dcb58b39fe X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Aug 2024 20:14:35.9142 (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: vMyuf3zh3MswlVyd459ygaJ5NqUCehhxzT/w4liUpa5xju0vqloPCa6IgC8gVl4n+9JxIG+Q+rBNS2TphOrPjA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI0PR04MB10319 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240805_131438_569268_CF1E5897 X-CRM114-Status: GOOD ( 10.71 ) 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 From: Haibo Chen Add the flexcan[1..5] nodes for imx95. Reviewed-by: Han Xu Signed-off-by: Haibo Chen Signed-off-by: Frank Li --- - CHECK_DTB warning should be fixed in linux-can-next tree. ['fsl,imx95-flexcan'] is too short https://lore.kernel.org/imx/20240805-succinct-didactic-vicugna-e5449a-mkl@pengutronix.de/ --- arch/arm64/boot/dts/freescale/imx95.dtsi | 70 ++++++++++++++++++++++++ 1 file changed, 70 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx95.dtsi b/arch/arm64/boot/dts/freescale/imx95.dtsi index d25465c947822..7c01cfa318e7f 100644 --- a/arch/arm64/boot/dts/freescale/imx95.dtsi +++ b/arch/arm64/boot/dts/freescale/imx95.dtsi @@ -713,6 +713,34 @@ lpuart6: serial@425a0000 { status = "disabled"; }; + flexcan2: can@425b0000 { + compatible = "fsl,imx95-flexcan"; + reg = <0x425b0000 0x10000>; + interrupts = ; + clocks = <&scmi_clk IMX95_CLK_BUSWAKEUP>, + <&scmi_clk IMX95_CLK_CAN2>; + clock-names = "ipg", "per"; + assigned-clocks = <&scmi_clk IMX95_CLK_CAN2>; + assigned-clock-parents = <&scmi_clk IMX95_CLK_SYSPLL1_PFD1_DIV2>; + assigned-clock-rates = <40000000>; + fsl,clk-source = /bits/ 8 <0>; + status = "disabled"; + }; + + flexcan3: can@42600000 { + compatible = "fsl,imx95-flexcan"; + reg = <0x42600000 0x10000>; + interrupts = ; + clocks = <&scmi_clk IMX95_CLK_BUSWAKEUP>, + <&scmi_clk IMX95_CLK_CAN3>; + clock-names = "ipg", "per"; + assigned-clocks = <&scmi_clk IMX95_CLK_CAN3>; + assigned-clock-parents = <&scmi_clk IMX95_CLK_SYSPLL1_PFD1_DIV2>; + assigned-clock-rates = <40000000>; + fsl,clk-source = /bits/ 8 <0>; + status = "disabled"; + }; + flexspi1: spi@425e0000 { compatible = "nxp,imx8mm-fspi"; reg = <0x425e0000 0x10000>, <0x28000000 0x8000000>; @@ -931,6 +959,34 @@ mu8: mailbox@42730000 { #mbox-cells = <2>; status = "disabled"; }; + + flexcan4: can@427c0000 { + compatible = "fsl,imx95-flexcan"; + reg = <0x427c0000 0x10000>; + interrupts = ; + clocks = <&scmi_clk IMX95_CLK_BUSWAKEUP>, + <&scmi_clk IMX95_CLK_CAN4>; + clock-names = "ipg", "per"; + assigned-clocks = <&scmi_clk IMX95_CLK_CAN4>; + assigned-clock-parents = <&scmi_clk IMX95_CLK_SYSPLL1_PFD1_DIV2>; + assigned-clock-rates = <40000000>; + fsl,clk-source = /bits/ 8 <0>; + status = "disabled"; + }; + + flexcan5: can@427d0000 { + compatible = "fsl,imx95-flexcan"; + reg = <0x427d0000 0x10000>; + interrupts = ; + clocks = <&scmi_clk IMX95_CLK_BUSWAKEUP>, + <&scmi_clk IMX95_CLK_CAN5>; + clock-names = "ipg", "per"; + assigned-clocks = <&scmi_clk IMX95_CLK_CAN5>; + assigned-clock-parents = <&scmi_clk IMX95_CLK_SYSPLL1_PFD1_DIV2>; + assigned-clock-rates = <40000000>; + fsl,clk-source = /bits/ 8 <0>; + status = "disabled"; + }; }; aips3: bus@42800000 { @@ -1205,6 +1261,20 @@ lpuart2: serial@44390000 { status = "disabled"; }; + flexcan1: can@443a0000 { + compatible = "fsl,imx95-flexcan"; + reg = <0x443a0000 0x10000>; + interrupts = ; + clocks = <&scmi_clk IMX95_CLK_BUSAON>, + <&scmi_clk IMX95_CLK_CAN1>; + clock-names = "ipg", "per"; + assigned-clocks = <&scmi_clk IMX95_CLK_CAN1>; + assigned-clock-parents = <&scmi_clk IMX95_CLK_SYSPLL1_PFD1_DIV2>; + assigned-clock-rates = <40000000>; + fsl,clk-source = /bits/ 8 <0>; + status = "disabled"; + }; + sai1: sai@443b0000 { compatible = "fsl,imx95-sai"; reg = <0x443b0000 0x10000>;