zynq: add memory nodes to device tree to initialize DRAM with OF
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Thu, 15 May 2014 11:37:54 +0000 (20:37 +0900)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 15 May 2014 11:57:30 +0000 (13:57 +0200)
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>
arch/arm/dts/zynq-microzed.dts
arch/arm/dts/zynq-zc702.dts
arch/arm/dts/zynq-zc706.dts
arch/arm/dts/zynq-zc770-xm010.dts
arch/arm/dts/zynq-zc770-xm012.dts
arch/arm/dts/zynq-zc770-xm013.dts
arch/arm/dts/zynq-zed.dts

index 6da71c1..842896f 100644 (file)
@@ -11,4 +11,9 @@
 / {
        model = "Zynq MicroZED Board";
        compatible = "xlnx,zynq-microzed", "xlnx,zynq-7000";
+
+       memory {
+               device_type = "memory";
+               reg = <0 0x40000000>;
+       };
 };
index 667dc28..a94e331 100644 (file)
@@ -11,4 +11,9 @@
 / {
        model = "Zynq ZC702 Board";
        compatible = "xlnx,zynq-zc702", "xlnx,zynq-7000";
+
+       memory {
+               device_type = "memory";
+               reg = <0 0x40000000>;
+       };
 };
index 526fc88..92de947 100644 (file)
@@ -11,4 +11,9 @@
 / {
        model = "Zynq ZC706 Board";
        compatible = "xlnx,zynq-zc706", "xlnx,zynq-7000";
+
+       memory {
+               device_type = "memory";
+               reg = <0 0x40000000>;
+       };
 };
index 8b542a1..8d68208 100644 (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>;
+       };
 };
index 0379a07..9ebbddf 100644 (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>;
+       };
 };
index a4f9e05..b4f7fa2 100644 (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>;
+       };
 };
index 91a5deb..3488a56 100644 (file)
@@ -11,4 +11,9 @@
 / {
        model = "Zynq ZED Board";
        compatible = "xlnx,zynq-zed", "xlnx,zynq-7000";
+
+       memory {
+               device_type = "memory";
+               reg = <0 0x20000000>;
+       };
 };