Skip to content

Commit

Permalink
ARM: dts: bcm27xx: Fix DTC warning for memory node
Browse files Browse the repository at this point in the history
Compiling the bcm27xx DTS with W=1 leads to the following warning:

Warning (unit_address_vs_reg): /memory: node has a reg or ranges property,
but no unit name

Fix this by adding the unit address.

Signed-off-by: Stefan Wahren <wahrenst@gmx.net>
  • Loading branch information
lategoodbye authored and popcornmix committed Sep 30, 2019
1 parent 88f9582 commit 4b17654
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/bcm2708-rpi.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include "bcm2835-rpi.dtsi"

/ {
memory {
memory@0 {
device_type = "memory";
reg = <0x0 0x0>;
};
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/bcm2711-rpi-4-b.dts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
compatible = "raspberrypi,4-model-b", "brcm,bcm2838";
model = "Raspberry Pi 4 Model B";

memory {
memory@0 {
device_type = "memory";
reg = <0x0 0x0 0x0>;
};
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/bcm2838-rpi-4-b.dts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
stdout-path = "serial1:115200n8";
};

memory {
memory@0 {
reg = <0 0 0x40000000>;
};

Expand Down

0 comments on commit 4b17654

Please sign in to comment.