Skip to content

Commit f090e1b

Browse files
committed
ARM: dts: bcm283x: Fix DTC warning for memory node
Compiling the bcm283x 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 <[email protected]> Tested-by: Peter Robinson <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
1 parent 0040cf8 commit f090e1b

6 files changed

+6
-6
lines changed

arch/arm/boot/dts/bcm2835-rpi.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#include <dt-bindings/power/raspberrypi-power.h>
22

33
/ {
4-
memory {
4+
memory@0 {
55
device_type = "memory";
66
reg = <0 0x10000000>;
77
};

arch/arm/boot/dts/bcm2836-rpi-2-b.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
compatible = "raspberrypi,2-model-b", "brcm,bcm2836";
1010
model = "Raspberry Pi 2 Model B";
1111

12-
memory {
12+
memory@0 {
1313
reg = <0 0x40000000>;
1414
};
1515

arch/arm/boot/dts/bcm2837-rpi-3-a-plus.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
stdout-path = "serial1:115200n8";
1414
};
1515

16-
memory {
16+
memory@0 {
1717
reg = <0 0x20000000>;
1818
};
1919

arch/arm/boot/dts/bcm2837-rpi-3-b-plus.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
stdout-path = "serial1:115200n8";
1515
};
1616

17-
memory {
17+
memory@0 {
1818
reg = <0 0x40000000>;
1919
};
2020

arch/arm/boot/dts/bcm2837-rpi-3-b.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
stdout-path = "serial1:115200n8";
1515
};
1616

17-
memory {
17+
memory@0 {
1818
reg = <0 0x40000000>;
1919
};
2020

arch/arm/boot/dts/bcm2837-rpi-cm3.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#include "bcm2836-rpi.dtsi"
55

66
/ {
7-
memory {
7+
memory@0 {
88
reg = <0 0x40000000>;
99
};
1010

0 commit comments

Comments
 (0)