arm64: dts: zynqmp: Add DDRC node
authorManish Narani <manish.narani@xilinx.com>
Thu, 25 Oct 2018 06:07:00 +0000 (11:37 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 6 Nov 2018 11:52:49 +0000 (12:52 +0100)
Add ddrc memory controller node in dts. The size mentioned in dts is
0x30000, because we need to access DDR_QOS INTR registers located at
0xFD090208 from this driver.

Signed-off-by: Manish Narani <manish.narani@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm64/boot/dts/xilinx/zynqmp.dtsi

index dacabde6ff7ef512317fb993e2acf87f30c1ccf9..07f2dd13ab3376e7ba5c07db4ee7f9e4781ec4dc 100644 (file)
                        xlnx,bus-width = <64>;
                };
 
+               mc: memory-controller@fd070000 {
+                       compatible = "xlnx,zynqmp-ddrc-2.40a";
+                       reg = <0x0 0xfd070000 0x0 0x30000>;
+                       interrupt-parent = <&gic>;
+                       interrupts = <0 112 4>;
+               };
+
                gem0: ethernet@ff0b0000 {
                        compatible = "cdns,zynqmp-gem", "cdns,gem";
                        status = "disabled";