Browse Source

ARM64: zynqmp: Use 64bit size cell format for memory node

Enable option to support more then 4GB memories in single size block.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek 9 years ago
parent
commit
85d1142eb6
2 changed files with 4 additions and 4 deletions
  1. 1 1
      arch/arm/dts/zynqmp-ep108.dts
  2. 3 3
      arch/arm/dts/zynqmp.dtsi

+ 1 - 1
arch/arm/dts/zynqmp-ep108.dts

@@ -33,7 +33,7 @@
 
 
 	memory {
 	memory {
 		device_type = "memory";
 		device_type = "memory";
-		reg = <0x0 0x0 0x40000000>;
+		reg = <0x0 0x0 0x0 0x40000000>;
 	};
 	};
 };
 };
 
 

+ 3 - 3
arch/arm/dts/zynqmp.dtsi

@@ -10,7 +10,7 @@
 / {
 / {
 	compatible = "xlnx,zynqmp";
 	compatible = "xlnx,zynqmp";
 	#address-cells = <2>;
 	#address-cells = <2>;
-	#size-cells = <1>;
+	#size-cells = <2>;
 
 
 	cpus {
 	cpus {
 		#address-cells = <1>;
 		#address-cells = <1>;
@@ -247,7 +247,7 @@
 		compatible = "simple-bus";
 		compatible = "simple-bus";
 		#address-cells = <2>;
 		#address-cells = <2>;
 		#size-cells = <1>;
 		#size-cells = <1>;
-		ranges;
+		ranges = <0 0 0 0 0xffffffff>;
 
 
 		gic: interrupt-controller@f9010000 {
 		gic: interrupt-controller@f9010000 {
 			compatible = "arm,gic-400", "arm,cortex-a15-gic";
 			compatible = "arm,gic-400", "arm,cortex-a15-gic";
@@ -266,7 +266,7 @@
 		compatible = "simple-bus";
 		compatible = "simple-bus";
 		#address-cells = <2>;
 		#address-cells = <2>;
 		#size-cells = <1>;
 		#size-cells = <1>;
-		ranges;
+		ranges = <0 0 0 0 0xffffffff>;
 
 
 		can0: can@ff060000 {
 		can0: can@ff060000 {
 			compatible = "xlnx,zynq-can-1.0";
 			compatible = "xlnx,zynq-can-1.0";