diff options
author | Sherry Sun <sherry.sun@nxp.com> | 2020-02-12 15:23:42 +0800 |
---|---|---|
committer | Sherry Sun <sherry.sun@nxp.com> | 2020-02-13 14:33:50 +0800 |
commit | a867b9013f22ec14a548496b5454156dc3cc2ece (patch) | |
tree | 53dbf5e5be008d0363afc221f12d82f89ba5f444 /arch/arm64/boot/dts/freescale/imx8mp.dtsi | |
parent | 1191fb514640b2e7e3ff82a09e8b367a1925b19b (diff) |
MLK-23310-2 arm64: dts: imx8mp: add ddr controller node to support edac driver
Add ddr controller dts node to support edac driver for imx8mp.
Also change CMA alloc-ranges to avoid memory address confilct with
inline ECC region if ECC is enabled on imx8mp lpddr4.
Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
Reviewed-by: Frank Li <frank.li@nxp.com>
Diffstat (limited to 'arch/arm64/boot/dts/freescale/imx8mp.dtsi')
-rw-r--r-- | arch/arm64/boot/dts/freescale/imx8mp.dtsi | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi index 9e425f8f6aa4..1f171ab0f33d 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi @@ -152,6 +152,13 @@ interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>; }; + edacmc: memory-controller@3d400000 { + compatible = "fsl,imx8mp-ddrc"; + reg = <0x0 0x3d400000 0x0 0x400000>; + interrupt-parent = <&gic>; + interrupts = <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>; + }; + gic: interrupt-controller@38800000 { compatible = "arm,gic-v3"; reg = <0x0 0x38800000 0 0x10000>, /* GIC Dist */ @@ -177,7 +184,7 @@ compatible = "shared-dma-pool"; reusable; size = <0 0x3c000000>; - alloc-ranges = <0 0x96000000 0 0x3c000000>; + alloc-ranges = <0 0x40000000 0 0x70000000>; linux,cma-default; }; |