Re: [PATCH] ARM: dts: ls1021a: Add memory controller

2019-01-09 Thread Shawn Guo
On Tue, Dec 11, 2018 at 04:48:34PM +0100, Patrick Havelange wrote:
> The LS1021A has a memory controller that supports EDAC. This commit
> adds an entry for it.
> 
> Signed-off-by: Patrick Havelange 

Applied, thanks.


[PATCH] ARM: dts: ls1021a: Add memory controller

2018-12-11 Thread Patrick Havelange
The LS1021A has a memory controller that supports EDAC. This commit
adds an entry for it.

Signed-off-by: Patrick Havelange 
---
 arch/arm/boot/dts/ls1021a.dtsi | 7 +++
 1 file changed, 7 insertions(+)

diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi
index bdd6e66a79ad..a877c32bff20 100644
--- a/arch/arm/boot/dts/ls1021a.dtsi
+++ b/arch/arm/boot/dts/ls1021a.dtsi
@@ -125,6 +125,13 @@
interrupt-parent = <>;
ranges;
 
+   ddr: memory-controller@108 {
+   compatible = "fsl,qoriq-memory-controller";
+   reg = <0x0 0x108 0x0 0x1000>;
+   interrupts = ;
+   big-endian;
+   };
+
gic: interrupt-controller@140 {
compatible = "arm,gic-400", "arm,cortex-a7-gic";
#interrupt-cells = <3>;
-- 
2.17.1