ARM: dts: socfpga: Add unit name to memory nodes
authorFlorian Vaussard <florian.vaussard@gmail.com>
Mon, 27 Feb 2017 16:38:39 +0000 (10:38 -0600)
committerDinh Nguyen <dinguyen@kernel.org>
Mon, 6 Mar 2017 21:54:58 +0000 (15:54 -0600)
Memory nodes in Arria5, Cyclone5 and Arria10 do not have a unit name.
This will trigger several warnings like this one (when compiled with
W=1):

Node /memory has a reg or ranges property, but no unit name

Add the corresponding unit name to each node.

Signed-off-by: Florian Vaussard <florian.vaussard@heig-vd.ch>
Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
arch/arm/boot/dts/socfpga_arria10_socdk.dtsi
arch/arm/boot/dts/socfpga_arria5_socdk.dts
arch/arm/boot/dts/socfpga_cyclone5_de0_sockit.dts
arch/arm/boot/dts/socfpga_cyclone5_mcv.dtsi
arch/arm/boot/dts/socfpga_cyclone5_socdk.dts
arch/arm/boot/dts/socfpga_cyclone5_sockit.dts
arch/arm/boot/dts/socfpga_cyclone5_socrates.dts
arch/arm/boot/dts/socfpga_cyclone5_sodia.dts
arch/arm/boot/dts/socfpga_cyclone5_vining_fpga.dts
arch/arm/boot/dts/socfpga_vt.dts

index c57e6cea0d83dfd8fbef1de65ca6635cbfc2abd8..4d0a729bb6d77380806590aebac392df15ac0138 100644 (file)
@@ -30,7 +30,7 @@
                stdout-path = "serial0:115200n8";
        };
 
-       memory {
+       memory@0 {
                name = "memory";
                device_type = "memory";
                reg = <0x0 0x40000000>; /* 1GB */
index 8672edf9ba4ebccb6c4b131909bccd6d9d8070bb..aac4feea86f38c9d589ad814c6a6c0d0863711e7 100644 (file)
@@ -26,7 +26,7 @@
                stdout-path = "serial0:115200n8";
        };
 
-       memory {
+       memory@0 {
                name = "memory";
                device_type = "memory";
                reg = <0x0 0x40000000>; /* 1GB */
index 5ecd2ef405e315e91abaa6e810c60f752619a2e7..7b49395452b6f0133fcb7e67a52c4b84c0dbaaa4 100644 (file)
@@ -25,7 +25,7 @@
                stdout-path = "serial0:115200n8";
        };
 
-       memory {
+       memory@0 {
                name = "memory";
                device_type = "memory";
                reg = <0x0 0x40000000>; /* 1GB */
index 6ad3b1eb9b86f933b8a23e19684dcac59f621be4..3c03da6b8b1d147bfbbaa850736400c0891e3d68 100644 (file)
@@ -21,7 +21,7 @@
        model = "Aries/DENX MCV";
        compatible = "altr,socfpga-cyclone5", "altr,socfpga";
 
-       memory {
+       memory@0 {
                name = "memory";
                device_type = "memory";
                reg = <0x0 0x40000000>; /* 1 GiB */
index 7ea32c81e72090a4fe4f175d10f1ee40a1b42a90..155829f9eba16d173fe8b9d958e239dabfb6b5d9 100644 (file)
@@ -26,7 +26,7 @@
                stdout-path = "serial0:115200n8";
        };
 
-       memory {
+       memory@0 {
                name = "memory";
                device_type = "memory";
                reg = <0x0 0x40000000>; /* 1GB */
index a0c90b3bdfd13d537eff4d743137874a5d488641..a4a555c19d94374dbaa29ef30ecc80de1420a45b 100644 (file)
@@ -26,7 +26,7 @@
                stdout-path = "serial0:115200n8";
        };
 
-       memory {
+       memory@0 {
                name = "memory";
                device_type = "memory";
                reg = <0x0 0x40000000>; /* 1GB */
index c3d52f27b21ef9f4d3bf8f378ad27ec13f0851dc..8e3b0173ccf1cf2ba20228e7fa27fd9fa8199a0c 100644 (file)
@@ -25,7 +25,7 @@
                bootargs = "console=ttyS0,115200";
        };
 
-       memory {
+       memory@0 {
                name = "memory";
                device_type = "memory";
                reg = <0x0 0x40000000>; /* 1GB */
index 5b7e3c27e6e9058948557436bf5f1de5f3ed2321..0e2c68bb021f5a0639236defc82c18333f5a5a00 100644 (file)
@@ -28,7 +28,7 @@
                stdout-path = "serial0:115200n8";
        };
 
-       memory {
+       memory@0 {
                name = "memory";
                device_type = "memory";
                reg = <0x0 0x40000000>;
index 363ee62457fea072e0cf01b1ef78d216993e33bc..89319804939718632e0f7f890c5e51d0b9298525 100644 (file)
@@ -57,7 +57,7 @@
                bootargs = "console=ttyS0,115200";
        };
 
-       memory {
+       memory@0 {
                name = "memory";
                device_type = "memory";
                reg = <0x0 0x40000000>; /* 1GB */
index f9345e02ca49e069b846563dc474432b77377b45..dfe2193cd4d5b5a657cbb4facbff90a1272fd966 100644 (file)
@@ -26,7 +26,7 @@
                bootargs = "console=ttyS0,57600";
        };
 
-       memory {
+       memory@0 {
                name = "memory";
                device_type = "memory";
                reg = <0x0 0x40000000>; /* 1 GB */