zynq: add memory nodes to device tree to initialize DRAM with OF

Commit 9e0e37ac added OF RAM initialization support
but memory nodes are missing in device tree.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Cc: Michal Simek <michal.simek@xilinx.com>
Tested-by: Masahiro Yamada <yamada.m@jp.panasonic.com> [on ZC706 board]
Tested-by: Michal Simek <michal.simek@xilinx.com> [on ZC702 board]
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:
Masahiro Yamada 2014-05-15 20:37:54 +09:00 committed by Michal Simek
parent 580a54c5d4
commit 7d34c5de72
7 changed files with 35 additions and 0 deletions

View File

@ -11,4 +11,9 @@
/ {
model = "Zynq MicroZED Board";
compatible = "xlnx,zynq-microzed", "xlnx,zynq-7000";
memory {
device_type = "memory";
reg = <0 0x40000000>;
};
};

View File

@ -11,4 +11,9 @@
/ {
model = "Zynq ZC702 Board";
compatible = "xlnx,zynq-zc702", "xlnx,zynq-7000";
memory {
device_type = "memory";
reg = <0 0x40000000>;
};
};

View File

@ -11,4 +11,9 @@
/ {
model = "Zynq ZC706 Board";
compatible = "xlnx,zynq-zc706", "xlnx,zynq-7000";
memory {
device_type = "memory";
reg = <0 0x40000000>;
};
};

View File

@ -11,4 +11,9 @@
/ {
model = "Zynq ZC770 XM010 Board";
compatible = "xlnx,zynq-zc770-xm010", "xlnx,zynq-7000";
memory {
device_type = "memory";
reg = <0 0x40000000>;
};
};

View File

@ -11,4 +11,9 @@
/ {
model = "Zynq ZC770 XM012 Board";
compatible = "xlnx,zynq-zc770-xm012", "xlnx,zynq-7000";
memory {
device_type = "memory";
reg = <0 0x40000000>;
};
};

View File

@ -11,4 +11,9 @@
/ {
model = "Zynq ZC770 XM013 Board";
compatible = "xlnx,zynq-zc770-xm013", "xlnx,zynq-7000";
memory {
device_type = "memory";
reg = <0 0x40000000>;
};
};

View File

@ -11,4 +11,9 @@
/ {
model = "Zynq ZED Board";
compatible = "xlnx,zynq-zed", "xlnx,zynq-7000";
memory {
device_type = "memory";
reg = <0 0x20000000>;
};
};