[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220318113526.15986-1-sherry.sun@nxp.com>
Date: Fri, 18 Mar 2022 19:35:26 +0800
From: Sherry Sun <sherry.sun@....com>
To: robh+dt@...nel.org, krzk+dt@...nel.org, shawnguo@...nel.org,
s.hauer@...gutronix.de
Cc: devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org, linux-imx@....com
Subject: [PATCH] arm64: dts: imx8mp: add ddr controller node to support EDAC on imx8mp
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 <sherry.sun@....com>
---
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@...00000 {
+ compatible = "snps,ddrc-3.80a";
+ reg = <0x3d400000 0x400000>;
+ interrupts = <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>;
+ };
+
ddr-pmu@...00000 {
compatible = "fsl,imx8mp-ddr-pmu", "fsl,imx8m-ddr-pmu";
reg = <0x3d800000 0x400000>;
--
2.17.1
Powered by blists - more mailing lists