]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
ARM64: zynqmp: Add ddrc node in dts
authorNaga Sureshkumar Relli <naga.sureshkumar.relli@xilinx.com>
Fri, 11 Mar 2016 07:40:26 +0000 (13:10 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 1 Apr 2016 14:29:14 +0000 (16:29 +0200)
This patch adds ddrc memory controller node in dts.
size mentioned in dts is 0x30000, because we need to access DDR_QOS
INTR registers located at fd090208 from this driver.

Signed-off-by: Naga Sureshkumar Relli <nagasure@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/dts/zynqmp.dtsi

index c459a4fd9164901b45f4651128f5e5c38ba7713e..d03d066e03527798d5b0e7f1b407cb6e08781408 100644 (file)
                        power-domains = <&pd_adma>;
                };
 
+               mc: memory-controller@fd070000 {
+                       compatible = "xlnx,zynqmp-ddrc-2.40a";
+                       reg = <0x0 0xfd070000 0x0 0x30000>;
+                       interrupt-parent = <&gic>;
+                       interrupts = <0 112 4>;
+               };
+
                nand0: nand@ff100000 {
                        compatible = "arasan,nfc-v3p10";
                        status = "disabled";