From patchwork Fri Oct 11 15:31:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13832722 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 A267FD0EE05 for ; Fri, 11 Oct 2024 15:56:08 +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:Cc:To: In-Reply-To:References:Message-Id:Content-Transfer-Encoding:Content-Type: Subject:Date:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=yMjEE4+kvbYP5U/kSZ9Rky2OKvC/sfNSCk6XWJ+IRQI=; b=KoSMsOQUGCqImhGubWe6P/FbmS pgMt19sCSccWfZOL48V8fEq5cpU0i4WZKnRKVi2zeBZcEE6b4LOCTuiCCNZ5C11i4wHj5gdWzprGl 8H4mm9GNiO7OF3MGTzr1yreX7Ry3YKJiTERizl6gHnyAcAQh3MlRLOgeHr56VB95NDh2IpYYSTJJA rujY0iH8rDvxxGTtgOkynDpiEIOyfhMTrKEoyyBR0KOelT06Jcrtvv8KO/0eBe9LxHdOFDJYyvHsC oV+ev7K2ViS4m9z9MDqh23EEdmk5PekTS6/nKIIqneyHq0ZPfeGzX8T8DtPLnbmM/xz9MtWPDhzYh aYUYCZfQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1szHzg-0000000Gt7g-3qva; Fri, 11 Oct 2024 15:55:56 +0000 Received: from mail-dbaeur03on20626.outbound.protection.outlook.com ([2a01:111:f403:260d::626] helo=EUR03-DBA-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1szHs8-0000000Grhd-0ePI for linux-arm-kernel@lists.infradead.org; Fri, 11 Oct 2024 15:48:09 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=yR5Cdc2Y3t2N5YYhxRYo+a5UKax2dpU2cBbaKGYsiFagmc5cq51qSscHCVlTNUGi9sZ4liSUR60S8QctwPJ3S2o9Sb6+8CMDUNDS49YDqyeGeg89g9N5hNf2Q6LQt2DCr/OjDkQF1oFdUJn/5zXYkmhUtu6Ad0ZnONgGdbAICqheq42dKILNYIFjnEaR/Bn1W8lJGyVG2irwockJYZZmiIx+5mIpG29UtPs0ZR9YAC8q4go8TXAu0dQnMyKB3pOdy/JUQqG7WSEJixw0aXwrwwg5cNHPVpqQHs3bp2veYTLIoTnyrPAxO+nwWfqVKu4zVC8NK440L13k1k+5ocJByg== 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=yMjEE4+kvbYP5U/kSZ9Rky2OKvC/sfNSCk6XWJ+IRQI=; b=O+tSwGhWprLNHWAsFWHuyxmAu0T58MIDhuV5ojTv5RW8lZGtCcraV0LQnKxqB+4l4CCUioayvLqPmBchMPoy3oqrS23wWRx4zRxD0DJtpPcZcbrll1yBRn2/Eq7CiSv9q4a4qbP3cN5ma5XXFDm9KtQnQE/kgo+3+F3GVa7iB+Fc91w8jd9oSzKcIjOVE7MlGgsJpmGEaNabs/5lblJ4WKo2OLyiJYvOHgveJQFkh7Nu/NVjQHyuGjkdFUSv4Fq6Z/m2uhpBOF1DR70uYyqSISufwyHLXrjLrnFy7henQJ2L90WvEKoowotcI/rDclImLTvcwz22dCQfxsi33tO1+Q== 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=yMjEE4+kvbYP5U/kSZ9Rky2OKvC/sfNSCk6XWJ+IRQI=; b=PLi83TMZidU4AWRXwiFqx4oEESOhJUgzghaC1b6j27pqsI98qXknViwvyGD3dGNC36rzySCHYN/re1Mx9UnctXRapwDsLYyFsLTyXY8fIDIYR8zOLIgyccSWUABP8QAkR+Q58ivQGLh/bKrBrVYYU+4MLgCZJckRJAcXAOt29exMg0/HR8MXLVISatbcmmPztltkTgYhH4cf/bN8Dsnk8QXCGIRYOaYjvxSpRm0k1bPSfVebIdnx07AnrrOiOt8t0YYJKEccCNlMCEwQN4/JmC6a2aLdtNNLb2sEKSOY0ob9eTb4vZvYnwUOr749eyWMDhoFyvgqeik1Ezi+Mf/hfg== 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 VE1PR04MB7360.eurprd04.prod.outlook.com (2603:10a6:800:1a3::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8026.23; Fri, 11 Oct 2024 15:32:21 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%4]) with mapi id 15.20.8048.013; Fri, 11 Oct 2024 15:32:21 +0000 From: Frank Li Date: Fri, 11 Oct 2024 11:31:34 -0400 Subject: [PATCH v2 6/6] arm64: dts: imx93: add ddr edac support Message-Id: <20241011-imx95_edac-v2-6-011b68290951@nxp.com> References: <20241011-imx95_edac-v2-0-011b68290951@nxp.com> In-Reply-To: <20241011-imx95_edac-v2-0-011b68290951@nxp.com> To: York Sun , Borislav Petkov , Tony Luck , James Morse , Mauro Carvalho Chehab , Robert Richter , Krzysztof Kozlowski , Rob Herring , Conor Dooley , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: linux-edac@vger.kernel.org, linux-kernel@vger.kernel.org, Borislav Petkov , devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, Frank Li X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1728660703; l=859; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=79MXg57Cyd0Ls8RHW05eE1dZDeIAJiwGUJukDHuBEDA=; b=w6Ci5x6+kUwU0qSrTG7LmFOXnAYqjOYX6i/PqI9i2yScNOg94SIwsb40Ls7cAvvfpqdhHtsPA hsOP5cFadw4Cqf3eRo3/Bj5l9CGbI4jnuTSUm6uqBOuIIVdIxI5Xv4a X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BY3PR04CA0014.namprd04.prod.outlook.com (2603:10b6:a03:217::19) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|VE1PR04MB7360:EE_ X-MS-Office365-Filtering-Correlation-Id: 6ecc51ff-41c7-4431-29ca-08dcea09e5d0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|52116014|376014|366016|7416014|1800799024|921020|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?WDlS/hJQewSlwMukRLFNJNFtElB7bUT?= =?utf-8?q?MvMjlXgeJpvhc35Lnj8hG4fEYoeoq3/8Kn+1+NrJkf2dyT4hn6FdnFUSYXKGeRmF6?= =?utf-8?q?bwVuacTjPnc/D6UcX1NzkuBSQib39KBgyT2SgCf1kGm0TiLdf+iGWaSs4UKudh9Zz?= =?utf-8?q?EIxQ4byp1tb9mX/q5efXiMynOHETTGvfYKSHqwHYt8G8SOWNpmHKps0X9dv+GILnh?= =?utf-8?q?yHS+A685TrXLANn+HKVjY0Fh/ABo07jFNY5369EKJJ1eIWaJVRlQ8ug9c5VPpxcMv?= =?utf-8?q?MuQQ6clbhrklnn0CqG1yMXGnzZ6JlnnqFk1Viiv/PZeTK6iK8SxvkjiE8CUdoRrZz?= =?utf-8?q?KY7nGz46CoFHmJ8UN1EJKQJCBtIOHvTNUnUUfSWnw0QKLLDIJdB3R1rs0/CwzkbZC?= =?utf-8?q?z0fpsS0ZOXlput5zn+vY16UsHTJApjzyBO14+WbVQnPp4V2VuBhQedhnS6Yaty7i9?= =?utf-8?q?L+xXBtA9+w0rp6nxhSTTuNE6ilU+g8TBOnnlBsQ9Z/9LdcV5s1M90g63r2QsoaFLw?= =?utf-8?q?8oShy05vLShSN7uQUQClKi1fZ6cc2COZKhmODKcXuiEEzdGDhfwn/CxHnmBmGWNMy?= =?utf-8?q?eUeQCNmG13IBqKuibL6UstdLYb2eXxUoS6bWMv/YOez+G52kTIS96T5ytNk4pBBrt?= =?utf-8?q?rXZVwUglxuVbNCbHLNIj4ko/vEGIneEIFxmmjGOD+HQG5PFOoW7bXYlpX2VFXqNbp?= =?utf-8?q?qvMQ0cC3iNnq73+KjEISU8U0dDgiYxNCpQNNpJPVG49XSIygkvgGvvjE8//dCgS/k?= =?utf-8?q?lBrV6HC5lVza0RgCMj6VxytlGvw6GY/8zy6rAtESwmlq4u/snpWaVFbNuQMmt7RQj?= =?utf-8?q?j4i4sbviRic+uIzbQLcYXMI53KYJjlxiycBWetCiXOWk4/h3zCQa7Wh5bX90PWMCw?= =?utf-8?q?wI8gEvvArLyz5iagzIJt9/fWlFN92fcTtt46qcPpDNx0N0a114n7ekgVyFdjXhmGH?= =?utf-8?q?8uOYhI9jXmSUCLz9g1h9VW3Rvde8cFVamcw4W3eKLJ6I8w00OgwvMRlZSfd90kCJY?= =?utf-8?q?P42R4I0/NTOAwX8t9KEw4NZIxeHsjUSHfaXg5F7XlEANc1oaIrt6vjf/XmShZuT6B?= =?utf-8?q?V3w7amDl7+TzhfN9w42sJQXuW4mUDmpwVDBZYMGLLrtyDnBWE6A1Agz/M3vHEx4Xy?= =?utf-8?q?BQNf+iSqb5TMBJAwOCMbSWjzuSuFMUnxfDSHhTg13xdehpYW1pQQD9YhQHKMQR8dI?= =?utf-8?q?7cfTaLriq2Upk+SJalNCXyHgJ9zj/zFs0MZGxhKuQlcvONzR/ddyF1bx9/RjzU7EZ?= =?utf-8?q?PbEqyIYidXmWGFimfBv4bdJRhAbORkUaPkw9c5VivgqpO1nifDBY9GeE=3D?= 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)(376014)(366016)(7416014)(1800799024)(921020)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?YfE15qhlsOyiwAhsi0hU4vBPzymX?= =?utf-8?q?AkD49fbOlMtwOgJO3AjZUIxblBVuRC+VT6aoTltQQc7sPq/KX197L4+tRRap2iv4L?= =?utf-8?q?IH19aAM196gfT0Tbb0bTyvr18dwyLnME656TPQvhHabf7UveL/4V+qWERPlZWgUz+?= =?utf-8?q?GWRq0//kFbcL7/IxivMAAvjCyEdIo8N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NhywlXOplTz?= =?utf-8?q?RTZ8mQCjVh/xn+0qHQJUl7oTzB6nc+NLexVrenzqGtsM1/vZAzn8pHqe9aYbYvgOa?= =?utf-8?q?RGgrVRjirVjNlryr4VAwpmwOh+pA23xCreoWMMqRATPYcqT0bMk+ncrwcPwjWIKr1?= =?utf-8?q?1D5kJ2OcMYOo2qViXUKp+7QZPzBwYuCm+OA0waGq4KbwsVRvnmqfP9437wsWTr3QW?= =?utf-8?q?yJZ1vYTGPnXrL94kcy+jI4XzcuNkb1aWi3wv0TD75/UUwGp+BaR6rFKffRjAkClPp?= =?utf-8?q?DEEYdwPb7woFb71Dt8prpPRAEEQ5TGIHYPDcRVnw8PZYDLEdT1ShpezILD7MrFQyT?= =?utf-8?q?5Sufko1b9bveDLRDTXvr1cJ4GxfBtEhn4z+ErpzmfG7lHyiPS5arQs1csxTH2Xl9e?= =?utf-8?q?vZLt1USXNL5yotgviwaFDiYjv9RCVxrbe5rQ/aXUK4AL/7UdelgOTmfYIED215bwe?= =?utf-8?q?KXfCp6mqrXv/?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6ecc51ff-41c7-4431-29ca-08dcea09e5d0 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Oct 2024 15:32:21.1975 (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: 8223AXzy8ZNfxYC4tgebjTU7tWrq3C6iRXMi7JjL1FTJ3E6suRmcNJvdXXgz2ikEi6XDl9h/GSceJt1H3EGAww== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB7360 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241011_084808_206590_FFC05C40 X-CRM114-Status: GOOD ( 10.49 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add ddr edac support for imx93. Signed-off-by: Frank Li --- arch/arm64/boot/dts/freescale/imx93.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx93.dtsi b/arch/arm64/boot/dts/freescale/imx93.dtsi index 04b9b3d31f4fa..ea83e38ae4d88 100644 --- a/arch/arm64/boot/dts/freescale/imx93.dtsi +++ b/arch/arm64/boot/dts/freescale/imx93.dtsi @@ -1326,6 +1326,14 @@ usbmisc2: usbmisc@4c200200 { #index-cells = <1>; }; + memory-controller@4e300000 { + compatible = "nxp,imx9-memory-controller"; + reg = <0x4e300000 0x800>, <0x4e301000 0x1000>; + reg-names = "ctrl", "inject"; + interrupts = ; + little-endian; + }; + ddr-pmu@4e300dc0 { compatible = "fsl,imx93-ddr-pmu"; reg = <0x4e300dc0 0x200>;