]> git.dujemihanovic.xyz Git - 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>
Wed, 13 Apr 2016 16:29:04 +0000 (18: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 45209309c054bd0bc7b883d1c9e1656970bd5d74..b68fb1a4a5fed909caa2ea9194e1034282c9031d 100644 (file)
                        power-domains = <&pd_adma>;
                };
 
+               mc: memory-controller@fd070000 {
+                       compatible = "xlnx,zynqmp-ddrc-2.40a";
+                       reg = <0x0 0xfd070000 0x30000>;
+                       interrupt-parent = <&gic>;
+                       interrupts = <0 112 4>;
+               };
+
                nand0: nand@ff100000 {
                        compatible = "arasan,nfc-v3p10";
                        status = "disabled";