Commit 8fcdbdcc authored by Alexandre Torgue's avatar Alexandre Torgue

ARM: dts: stm32: fix memory nodes to match with DT validation tool

DT validation ("make dtbs_check") has shown that some memory nodes were not
correctly written. This commit fixes this kind of issue:

"stm32f746-disco.dt.yaml: /: memory: False schema does not allow
{'device_type': ['memory'], 'reg': [[3221225472, 8388608]]}"
Signed-off-by: default avatarAlexandre Torgue <alexandre.torgue@st.com>
parent 7e6c337f
...@@ -60,7 +60,7 @@ chosen { ...@@ -60,7 +60,7 @@ chosen {
stdout-path = "serial0:115200n8"; stdout-path = "serial0:115200n8";
}; };
memory { memory@00000000 {
device_type = "memory"; device_type = "memory";
reg = <0x00000000 0x2000000>; reg = <0x00000000 0x2000000>;
}; };
......
...@@ -55,7 +55,7 @@ chosen { ...@@ -55,7 +55,7 @@ chosen {
stdout-path = "serial0:115200n8"; stdout-path = "serial0:115200n8";
}; };
memory { memory@c0000000 {
device_type = "memory"; device_type = "memory";
reg = <0xc0000000 0x2000000>; reg = <0xc0000000 0x2000000>;
}; };
......
...@@ -59,7 +59,7 @@ chosen { ...@@ -59,7 +59,7 @@ chosen {
stdout-path = "serial0:115200n8"; stdout-path = "serial0:115200n8";
}; };
memory { memory@90000000 {
device_type = "memory"; device_type = "memory";
reg = <0x90000000 0x800000>; reg = <0x90000000 0x800000>;
}; };
......
...@@ -60,7 +60,7 @@ chosen { ...@@ -60,7 +60,7 @@ chosen {
stdout-path = "serial0:115200n8"; stdout-path = "serial0:115200n8";
}; };
memory { memory@00000000 {
device_type = "memory"; device_type = "memory";
reg = <0x00000000 0x1000000>; reg = <0x00000000 0x1000000>;
}; };
......
...@@ -55,7 +55,7 @@ chosen { ...@@ -55,7 +55,7 @@ chosen {
stdout-path = "serial0:115200n8"; stdout-path = "serial0:115200n8";
}; };
memory { memory@c0000000 {
device_type = "memory"; device_type = "memory";
reg = <0xC0000000 0x800000>; reg = <0xC0000000 0x800000>;
}; };
......
...@@ -55,7 +55,7 @@ chosen { ...@@ -55,7 +55,7 @@ chosen {
stdout-path = "serial0:115200n8"; stdout-path = "serial0:115200n8";
}; };
memory { memory@c0000000 {
device_type = "memory"; device_type = "memory";
reg = <0xC0000000 0x1000000>; reg = <0xC0000000 0x1000000>;
}; };
......
...@@ -53,7 +53,7 @@ chosen { ...@@ -53,7 +53,7 @@ chosen {
stdout-path = "serial0:115200n8"; stdout-path = "serial0:115200n8";
}; };
memory { memory@d0000000 {
device_type = "memory"; device_type = "memory";
reg = <0xd0000000 0x2000000>; reg = <0xd0000000 0x2000000>;
}; };
......
...@@ -53,7 +53,7 @@ chosen { ...@@ -53,7 +53,7 @@ chosen {
stdout-path = "serial0:115200n8"; stdout-path = "serial0:115200n8";
}; };
memory { memory@d0000000 {
device_type = "memory"; device_type = "memory";
reg = <0xd0000000 0x2000000>; reg = <0xd0000000 0x2000000>;
}; };
......
...@@ -25,6 +25,7 @@ chosen { ...@@ -25,6 +25,7 @@ chosen {
}; };
memory@c0000000 { memory@c0000000 {
device_type = "memory";
reg = <0xc0000000 0x20000000>; reg = <0xc0000000 0x20000000>;
}; };
......
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