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 6da71c116d091c83caee054afe8fde3c1b283fc4..842896fbc4635dd793f6902c6c5cfe45e93a43d4 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 667dc2825632e2700c75b25c220cb4fd1f5932ca..a94e331bd2d85aa40fddebd53ff004bfdf1a0d71 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 526fc8888ba976f45d16af6a571d17c958a43dd4..92de947af3af0c9c02686a52d5c7ba6174513899 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 8b542a109be3f08decdaf3f5691adbb700dea9dd..8d68208c124e50c466fef99cb314d986ef529f81 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 0379a070681edf660842a51dd6e8f8592631eacc..9ebbddfb4652c4cd3ae1462c597b833b34c179c0 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 a4f9e05fc0ebb8082f179c23ee43f883acd876af..b4f7fa2cdf5525d2bdddf005827e932712499b9d 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 91a5deba4a9f7059f56fa9dc1b6ecd72b526fffe..3488a5635bc9a606498799ca4e7c790b94348acc 100644 (file)
@@ -11,4 +11,9 @@
 / {
        model = "Zynq ZED Board";
        compatible = "xlnx,zynq-zed", "xlnx,zynq-7000";
+
+       memory {
+               device_type = "memory";
+               reg = <0 0x20000000>;
+       };
 };