Commit 332ddfab authored by Florian Vaussard's avatar Florian Vaussard Committed by Dinh Nguyen

ARM: dts: socfpga: Add unit name to memory nodes

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: default avatarFlorian Vaussard <florian.vaussard@heig-vd.ch>
Signed-off-by: default avatarDinh Nguyen <dinguyen@kernel.org>
parent 9f24e816
...@@ -30,7 +30,7 @@ chosen { ...@@ -30,7 +30,7 @@ chosen {
stdout-path = "serial0:115200n8"; stdout-path = "serial0:115200n8";
}; };
memory { memory@0 {
name = "memory"; name = "memory";
device_type = "memory"; device_type = "memory";
reg = <0x0 0x40000000>; /* 1GB */ reg = <0x0 0x40000000>; /* 1GB */
......
...@@ -26,7 +26,7 @@ chosen { ...@@ -26,7 +26,7 @@ chosen {
stdout-path = "serial0:115200n8"; stdout-path = "serial0:115200n8";
}; };
memory { memory@0 {
name = "memory"; name = "memory";
device_type = "memory"; device_type = "memory";
reg = <0x0 0x40000000>; /* 1GB */ reg = <0x0 0x40000000>; /* 1GB */
......
...@@ -25,7 +25,7 @@ chosen { ...@@ -25,7 +25,7 @@ chosen {
stdout-path = "serial0:115200n8"; stdout-path = "serial0:115200n8";
}; };
memory { memory@0 {
name = "memory"; name = "memory";
device_type = "memory"; device_type = "memory";
reg = <0x0 0x40000000>; /* 1GB */ reg = <0x0 0x40000000>; /* 1GB */
......
...@@ -21,7 +21,7 @@ / { ...@@ -21,7 +21,7 @@ / {
model = "Aries/DENX MCV"; model = "Aries/DENX MCV";
compatible = "altr,socfpga-cyclone5", "altr,socfpga"; compatible = "altr,socfpga-cyclone5", "altr,socfpga";
memory { memory@0 {
name = "memory"; name = "memory";
device_type = "memory"; device_type = "memory";
reg = <0x0 0x40000000>; /* 1 GiB */ reg = <0x0 0x40000000>; /* 1 GiB */
......
...@@ -26,7 +26,7 @@ chosen { ...@@ -26,7 +26,7 @@ chosen {
stdout-path = "serial0:115200n8"; stdout-path = "serial0:115200n8";
}; };
memory { memory@0 {
name = "memory"; name = "memory";
device_type = "memory"; device_type = "memory";
reg = <0x0 0x40000000>; /* 1GB */ reg = <0x0 0x40000000>; /* 1GB */
......
...@@ -26,7 +26,7 @@ chosen { ...@@ -26,7 +26,7 @@ chosen {
stdout-path = "serial0:115200n8"; stdout-path = "serial0:115200n8";
}; };
memory { memory@0 {
name = "memory"; name = "memory";
device_type = "memory"; device_type = "memory";
reg = <0x0 0x40000000>; /* 1GB */ reg = <0x0 0x40000000>; /* 1GB */
......
...@@ -25,7 +25,7 @@ chosen { ...@@ -25,7 +25,7 @@ chosen {
bootargs = "console=ttyS0,115200"; bootargs = "console=ttyS0,115200";
}; };
memory { memory@0 {
name = "memory"; name = "memory";
device_type = "memory"; device_type = "memory";
reg = <0x0 0x40000000>; /* 1GB */ reg = <0x0 0x40000000>; /* 1GB */
......
...@@ -28,7 +28,7 @@ chosen { ...@@ -28,7 +28,7 @@ chosen {
stdout-path = "serial0:115200n8"; stdout-path = "serial0:115200n8";
}; };
memory { memory@0 {
name = "memory"; name = "memory";
device_type = "memory"; device_type = "memory";
reg = <0x0 0x40000000>; reg = <0x0 0x40000000>;
......
...@@ -57,7 +57,7 @@ chosen { ...@@ -57,7 +57,7 @@ chosen {
bootargs = "console=ttyS0,115200"; bootargs = "console=ttyS0,115200";
}; };
memory { memory@0 {
name = "memory"; name = "memory";
device_type = "memory"; device_type = "memory";
reg = <0x0 0x40000000>; /* 1GB */ reg = <0x0 0x40000000>; /* 1GB */
......
...@@ -26,7 +26,7 @@ chosen { ...@@ -26,7 +26,7 @@ chosen {
bootargs = "console=ttyS0,57600"; bootargs = "console=ttyS0,57600";
}; };
memory { memory@0 {
name = "memory"; name = "memory";
device_type = "memory"; device_type = "memory";
reg = <0x0 0x40000000>; /* 1 GB */ reg = <0x0 0x40000000>; /* 1 GB */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment