Skip to content

Commit

Permalink
mips: dts: Fix missing device_type="memory" property in memory nodes
Browse files Browse the repository at this point in the history
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: Leif 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: John Crispin <blogic@openwrt.org>
Signed-off-by: Grant Likely <grant.likely@linaro.org>
  • Loading branch information
Leif Lindholm authored and glikely committed May 16, 2014
1 parent bfaed5a commit dfc44f8
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions arch/mips/lantiq/dts/easy50712.dts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
};

memory@0 {
device_type = "memory";
reg = <0x0 0x2000000>;
};

Expand Down
1 change: 1 addition & 0 deletions arch/mips/ralink/dts/mt7620a_eval.dts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
model = "Ralink MT7620A evaluation board";

memory@0 {
device_type = "memory";
reg = <0x0 0x2000000>;
};

Expand Down
1 change: 1 addition & 0 deletions arch/mips/ralink/dts/rt2880_eval.dts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
model = "Ralink RT2880 evaluation board";

memory@0 {
device_type = "memory";
reg = <0x8000000 0x2000000>;
};

Expand Down
1 change: 1 addition & 0 deletions arch/mips/ralink/dts/rt3052_eval.dts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
model = "Ralink RT3052 evaluation board";

memory@0 {
device_type = "memory";
reg = <0x0 0x2000000>;
};

Expand Down
1 change: 1 addition & 0 deletions arch/mips/ralink/dts/rt3883_eval.dts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
model = "Ralink RT3883 evaluation board";

memory@0 {
device_type = "memory";
reg = <0x0 0x2000000>;
};

Expand Down

0 comments on commit dfc44f8

Please sign in to comment.