Commit dfc44f80 authored by Leif Lindholm's avatar Leif Lindholm Committed by Grant Likely

mips: dts: Fix missing device_type="memory" property in memory nodes

A few platforms lack a 'device_type = "memory"' for their memory
nodes, relying on an old ppc quirk in order to discover its memory.
Add the missing data so that all parsing code can find memory nodes
correctly.
Signed-off-by: default avatarLeif Lindholm <leif.lindholm@linaro.org>
Cc: linux-mips@linux-mips.org
Cc: devicetree@vger.kernel.org
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: <stable@vger.kernel.org>
Acked-by: default avatarJohn Crispin <blogic@openwrt.org>
Signed-off-by: default avatarGrant Likely <grant.likely@linaro.org>
parent bfaed5ab
...@@ -8,6 +8,7 @@ chosen { ...@@ -8,6 +8,7 @@ chosen {
}; };
memory@0 { memory@0 {
device_type = "memory";
reg = <0x0 0x2000000>; reg = <0x0 0x2000000>;
}; };
......
...@@ -7,6 +7,7 @@ / { ...@@ -7,6 +7,7 @@ / {
model = "Ralink MT7620A evaluation board"; model = "Ralink MT7620A evaluation board";
memory@0 { memory@0 {
device_type = "memory";
reg = <0x0 0x2000000>; reg = <0x0 0x2000000>;
}; };
......
...@@ -7,6 +7,7 @@ / { ...@@ -7,6 +7,7 @@ / {
model = "Ralink RT2880 evaluation board"; model = "Ralink RT2880 evaluation board";
memory@0 { memory@0 {
device_type = "memory";
reg = <0x8000000 0x2000000>; reg = <0x8000000 0x2000000>;
}; };
......
...@@ -7,6 +7,7 @@ / { ...@@ -7,6 +7,7 @@ / {
model = "Ralink RT3052 evaluation board"; model = "Ralink RT3052 evaluation board";
memory@0 { memory@0 {
device_type = "memory";
reg = <0x0 0x2000000>; reg = <0x0 0x2000000>;
}; };
......
...@@ -7,6 +7,7 @@ / { ...@@ -7,6 +7,7 @@ / {
model = "Ralink RT3883 evaluation board"; model = "Ralink RT3883 evaluation board";
memory@0 { memory@0 {
device_type = "memory";
reg = <0x0 0x2000000>; reg = <0x0 0x2000000>;
}; };
......
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