From patchwork Fri Mar 18 11:35:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sherry Sun X-Patchwork-Id: 12785197 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 C4F8EC433EF for ; Fri, 18 Mar 2022 11:40:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=IoGEIeQFYTWGj84wNmTpyPrNsmNYIFsZzXdePyAbFVg=; b=FfXxuglsubLMph VfZUhNnpJqymzcgykJlH9vMWRm3F84l+07k66Ozj09P0BayBWjp/fZeHoeem3zl5NGi+iVNUjiXuA pEx9+sbATAVIL7hle7jZeqz4ADmLZngN64f0nkF7XIM6SnspFvyUsCtEIJH8fj+lLEtdQ1Oi/1Ifk M40F3M9kudNIKIPEM8PpWnpzwLmG5l9x223H+gU21ZYAA4lwHGAjNf80bJz8Dx3zwn6SEQczSq/wH LOw+cLhANHg75hHoCMbZ67w+jub5ZhKuPdS26JQ6sj91TUmRzSSaJP0QaRnRPJPUwCSGepUYbeoo4 lbxMoOSsGANg6M7BN4HQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nVAwW-001RXt-V6; Fri, 18 Mar 2022 11:38:54 +0000 Received: from mail-eopbgr60072.outbound.protection.outlook.com ([40.107.6.72] helo=EUR04-DB3-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nVAwI-001RSH-Ho for linux-arm-kernel@lists.infradead.org; Fri, 18 Mar 2022 11:38:42 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WcGlC6omj2wngaCqgYS4IKY8MJWpszHpz5I3CjtmFevIEsBHCpqEeae0kAdp7OjzFN+gq1kB7ZW3klm3ECMDZCnEW+0s5eYeDHXpnNI8avEvaN9IDh+v4H5u1gFRePuMPLOjPvD5ZXRMix20ZToiX9bdqnIUf0rrpOcWxCZjaH0owNkPMXujtUE/HiiewISSQw0dS+hj8UQVCZNcCZ/ac6SK4wpIgd0zpSwBYH0DiS4upBiHEozwpUsD7PWdMpDFDpewI8xQ6mYGN1u/Bt3AetQbSkRsj8TPD9QEsSjdOYkH2KXZ/+95LP06bKBVIT+Ny/TFxNTBoxigtvIy+ZptRA== 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=z7rupZoWa/v0V9YObLFPqvkVKkrDXmmtfL7PG1X4EnI=; b=JgldeKw0gOUXjd+QRFvSrFOPWud58c9TD2TBzuDgeBB8J9El7ZsXg3Nl2LEMNSjxNGNqgVZaRJTXeIDUgpA0LYuEBQonVh5YZ+vm2Tz45IMHIvVR2u30fz2dwb7MvRa5YABozOJinuzoZgmhp6E2iAmeqQ8d2/HHTnEp+5+8IkbMuyEXdxuVT/zaLWgOcU0hxlC5OaaXVUARZ9KF1R/LUtccKOyMKX3kEsD6WFvuqVxRWv9HnJ4ZwTp2sOXKke32DsM4Uq0nWknUvrFF0jN+Zg3znFGrESmgFEzxk1KTkGvvlwQfYcsoKGeitROzAaWze9xfex7Hu0rEB4RG6Esgmw== 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=z7rupZoWa/v0V9YObLFPqvkVKkrDXmmtfL7PG1X4EnI=; b=fxvFUs/4T1rXBCizjhs9wdGxTNdd557Ql0o3Ydxqmz4WMlH3EaWQg903NXEeh8fEB5aOd7xek5WYXWAROZZs/JW4NJSQ9rNzbw6KwLHj5vKcbQFZO2tpTtN30ot/MqfkyTQZhueEWupAHDTssj9hFxOOJopNVe2qjOlK2ZxoNaI= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AS8PR04MB8404.eurprd04.prod.outlook.com (2603:10a6:20b:3f8::7) by AS8PR04MB8483.eurprd04.prod.outlook.com (2603:10a6:20b:34b::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5081.18; Fri, 18 Mar 2022 11:38:35 +0000 Received: from AS8PR04MB8404.eurprd04.prod.outlook.com ([fe80::6972:1f59:5d1c:e557]) by AS8PR04MB8404.eurprd04.prod.outlook.com ([fe80::6972:1f59:5d1c:e557%5]) with mapi id 15.20.5081.018; Fri, 18 Mar 2022 11:38:35 +0000 From: Sherry Sun To: robh+dt@kernel.org, krzk+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-imx@nxp.com Subject: [PATCH] arm64: dts: imx8mp: add ddr controller node to support EDAC on imx8mp Date: Fri, 18 Mar 2022 19:35:26 +0800 Message-Id: <20220318113526.15986-1-sherry.sun@nxp.com> X-Mailer: git-send-email 2.17.1 X-ClientProxiedBy: SI2P153CA0028.APCP153.PROD.OUTLOOK.COM (2603:1096:4:190::9) To AS8PR04MB8404.eurprd04.prod.outlook.com (2603:10a6:20b:3f8::7) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b38cc238-7577-4933-3213-08da08d3d648 X-MS-TrafficTypeDiagnostic: AS8PR04MB8483:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: NvzdGkFS8W/gh01FqbBeBMvoMmdaWmnlHdpQNx4iAgXrSQm5dxg+89opMvKRCkiLjh5CKz6Y4US+O7xRt3OpGf95qk0KDv7ruF0TWp3CEdThYEcVAILuKgXoJQIZbIC6fHZ7XJTj6tVkGJmymKjY5/gp5AHjPya9wqb51+6QkIPIAhL5mPoJYxQ2YMMWU22Om2z1KeBYYkJYcT94DImXSg2ZGxItQkQF88/I69n+CCqiyuSONUjNjNE8XGp2FdCxTXlifgwa6XsiejWD4NM+MhbWRbmxUfelCZJ01rcCLLxYCktM0QnCqFrDmRGraQE99JDtzhzyT4nU69y/4AECjF4rAq6ydS0BWxNv/mM1EWBg1X6feQdLXn+6aqQozmdO26hPQts/Jf8EmpNZjxWOW1ZMsI4ao+YUvLDQpzutBJS+4ygxw6QEIc+oM4L24dz7tdbthf+8n0tfPqPeewE+ibR+QzaMCFexstObFYzneVfA3Y4vT5fulpnWBh8k49Q+4xwTVY4rru+MUgsOubqiCsNJ3m3WdC/eRyX3Y16FJ533T1mMcDkbxhsQO/khVr9H/PdUuh6ttZ4CwhxMlFJTygL90/mY5HWZ/fyOyaUTQE72qRV0jPI3T4dYYnMhwrO0au1+HKKOtJ4ogVXKOFR+f8xXAPwQ9QnvJYT7SWLt0Q8n/d5oUzye2aeBH+hytUm5FY/NLbeML9+RmUEU/SvOKMfqNjBaHFFgIjDjIXZ2Hk8= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AS8PR04MB8404.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(26005)(186003)(2616005)(1076003)(316002)(2906002)(38350700002)(38100700002)(86362001)(36756003)(6512007)(8936002)(6486002)(4744005)(44832011)(4326008)(8676002)(66946007)(508600001)(66476007)(66556008)(6506007)(52116002)(5660300002)(6666004)(32563001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 9ikqoxkEReQvjrAGDG1jcGVhWbqcawkmZ/VpnacPc5pWNMZ+tpukYL1l1/m3gNKFvXWj7OLdJGGANigSCtYMLqqNlPmmZm1yjNdCTCT33bJ7da84+RPtkhJI64tKfrrIcaYFQZvKDPFjAiIEvLqpaYQ3G2P7/nVrTS4JudEaSLdAuN1TeMkZhg8htAH5AUiV3N26YEdkUpJhf6NUFSCWTiu/mgmELgadBLb+Ix96gNWYL1rsvYbacwdvjFXz9KzT8pJr3Zetmb+5MU0y9xpe2bjsO5ltX05FhxJ/ZNHsRcsd5kmmkAW+y6Pb+qd/suTVIOiapinFHmEG/jMonXoj2IAfiJ5EfkXb8PrjM1XJiXtX3gViJ0wKGY0zROP2snfHfd8IfrWlkRp9tYOGzFzZGDTeeA0zZP+pofhKIhlsSt318GFuUBSNSF5GZBvDBcNxnoV32hrMDp9vPE6m1pbqYIBNCkFxKuXnwQDeT/xZDIpNVzJXf8HHvKiqxb0eSiIs3v1oBEl7JjcLuuRberD5f2sVXGLpZqxQSVhxnz+vGNHeOXQOaVVSz6NukmYNXInh2ZDG/N3uHHuRKNSfyWqGHZokga9g3cxtpFSubAkAmIsdfqDba1Tgx/vz6yH4wnYKzi4t01cMyHna6y42t+7QMH8lLCfREme/fr4tEyKMbs4b5ohlQs0RVumRnCzGIQItMGiEV06GxKMiL9UeXnn7FlFPLpmqxH7iWcNUmtKTrT0wvTHCyV2lKnEbPg1SAF30zxU2wJxMUJF2JZWZifZdIns1FmnIqEqxqPq0loShg2sHgjju3GCYMMT7iqtYLYuKvibLSZpHHXdwr5v/KnWdFZI4XjmA23K/OdBfkqO2xIRXMDs6CMBy2kc83rA7L3LD++cuebTOOolUxc7tJv2C42vIMkfvk1Q28aFFf0qBmR6dbtJkVJES3YQnW4HUIqu9aOwRehNgeLDzJJMnZjGUPqEUiKFIffsGFUX3srjiLUHg5gJUJiG/HHT2hSEhO1j3ogqFvsaX/DHJAtNYco8kRO6Btx2LIRf+51NEh1JTsFvim2ZfX2m7lgUFz0EB9jgeOl4k+K4Qz7+X/xDDuJodc9DjG1Dkwt3WNPavAGZD0kDdTic7kzFnEtNMEIRtkxt+1msfXGx8vJrsvPI8FGaAtBHSagML8fOZHtPZxcS5EfeG8G4GHFn0rXX4Mz0ADEPzECxhMQP89dvSbxMMnDHk9kPrUA6Eo69ubecQzc2hBHfjX1dog2d8nk7dNrsUlGtuWkdUzoYh8/86Vw/KJ4FZ0hU7+tD+3IsblN6CKXRaL9qyoHQC1fK7pk5PfuE1KEapPfsk8c7nMUBiRQ4H+hf3Wwq3EvD+ZsFN7kSdYx8QTw1uRbw5dzUJxKyRQSJqDEAue5ZlDPKDFxVtPNp2V8OHs50O3y/43k2SvgHrR30YmVeUQ7aBZdH1rGXqgP32AjU4 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: b38cc238-7577-4933-3213-08da08d3d648 X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8404.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Mar 2022 11:38:35.5649 (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: CkkRegA5Ofl9dF+H2GqzxOC27PARz4K409tYVxJOi861eYGfKVu6e4R71txnXtuBJRvyAa2X1hB5o0CaN011bQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8483 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220318_043838_634355_2F4E9A99 X-CRM114-Status: UNSURE ( 8.87 ) 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 i.MX8MP use synopsys V3.70a ddr controller IP, so add edac support for i.MX8MP based on "snps,ddrc-3.80a" synopsys edac driver. Signed-off-by: Sherry Sun --- arch/arm64/boot/dts/freescale/imx8mp.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi index 794d75173cf5..a6124a11d6ee 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi @@ -902,6 +902,12 @@ interrupt-parent = <&gic>; }; + edacmc: memory-controller@3d400000 { + compatible = "snps,ddrc-3.80a"; + reg = <0x3d400000 0x400000>; + interrupts = ; + }; + ddr-pmu@3d800000 { compatible = "fsl,imx8mp-ddr-pmu", "fsl,imx8m-ddr-pmu"; reg = <0x3d800000 0x400000>;