Skip to content

Commit

Permalink
powerpc/5200: dts: fix memory node unit name
Browse files Browse the repository at this point in the history
Fixes build warnings:
Warning (unit_address_vs_reg): /memory: node has a reg or ranges property, but no unit name

Signed-off-by: Anatolij Gustschin <agust@denx.de>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20211013220532.24759-4-agust@denx.de
  • Loading branch information
vdsao authored and mpe committed Oct 22, 2021
1 parent 7855b6c commit aed2886
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion arch/powerpc/boot/dts/charon.dts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
};
};

memory {
memory@0 {
device_type = "memory";
reg = <0x00000000 0x08000000>; // 128MB
};
Expand Down
2 changes: 1 addition & 1 deletion arch/powerpc/boot/dts/digsy_mtc.dts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
model = "intercontrol,digsy-mtc";
compatible = "intercontrol,digsy-mtc";

memory {
memory@0 {
reg = <0x00000000 0x02000000>; // 32MB
};

Expand Down
2 changes: 1 addition & 1 deletion arch/powerpc/boot/dts/lite5200.dts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
};
};

memory {
memory@0 {
device_type = "memory";
reg = <0x00000000 0x04000000>; // 64MB
};
Expand Down
2 changes: 1 addition & 1 deletion arch/powerpc/boot/dts/lite5200b.dts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
led4 { gpios = <&gpio_simple 2 1>; };
};

memory {
memory@0 {
reg = <0x00000000 0x10000000>; // 256MB
};

Expand Down
2 changes: 1 addition & 1 deletion arch/powerpc/boot/dts/media5200.dts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
};
};

memory {
memory@0 {
reg = <0x00000000 0x08000000>; // 128MB RAM
};

Expand Down
2 changes: 1 addition & 1 deletion arch/powerpc/boot/dts/mpc5200b.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
};
};

memory: memory {
memory: memory@0 {
device_type = "memory";
reg = <0x00000000 0x04000000>; // 64MB
};
Expand Down
2 changes: 1 addition & 1 deletion arch/powerpc/boot/dts/o2d.dts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
model = "ifm,o2d";
compatible = "ifm,o2d";

memory {
memory@0 {
reg = <0x00000000 0x08000000>; // 128MB
};

Expand Down
2 changes: 1 addition & 1 deletion arch/powerpc/boot/dts/o2d.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
model = "ifm,o2d";
compatible = "ifm,o2d";

memory {
memory@0 {
reg = <0x00000000 0x04000000>; // 64MB
};

Expand Down
2 changes: 1 addition & 1 deletion arch/powerpc/boot/dts/o2dnt2.dts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
model = "ifm,o2dnt2";
compatible = "ifm,o2d";

memory {
memory@0 {
reg = <0x00000000 0x08000000>; // 128MB
};

Expand Down
2 changes: 1 addition & 1 deletion arch/powerpc/boot/dts/o3dnt.dts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
model = "ifm,o3dnt";
compatible = "ifm,o2d";

memory {
memory@0 {
reg = <0x00000000 0x04000000>; // 64MB
};

Expand Down
2 changes: 1 addition & 1 deletion arch/powerpc/boot/dts/pcm032.dts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
model = "phytec,pcm032";
compatible = "phytec,pcm032";

memory {
memory@0 {
reg = <0x00000000 0x08000000>; // 128MB
};

Expand Down
2 changes: 1 addition & 1 deletion arch/powerpc/boot/dts/tqm5200.dts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
};
};

memory {
memory@0 {
device_type = "memory";
reg = <0x00000000 0x04000000>; // 64MB
};
Expand Down

0 comments on commit aed2886

Please sign in to comment.