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 <stefan.wahren@i2se.com> Tested-by: Peter Robinson <pbrobinson@gmail.com> Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
parent
0040cf8dc9
commit
f090e1bd7b
|
@ -1,7 +1,7 @@
|
||||||
#include <dt-bindings/power/raspberrypi-power.h>
|
#include <dt-bindings/power/raspberrypi-power.h>
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
memory {
|
memory@0 {
|
||||||
device_type = "memory";
|
device_type = "memory";
|
||||||
reg = <0 0x10000000>;
|
reg = <0 0x10000000>;
|
||||||
};
|
};
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
compatible = "raspberrypi,2-model-b", "brcm,bcm2836";
|
compatible = "raspberrypi,2-model-b", "brcm,bcm2836";
|
||||||
model = "Raspberry Pi 2 Model B";
|
model = "Raspberry Pi 2 Model B";
|
||||||
|
|
||||||
memory {
|
memory@0 {
|
||||||
reg = <0 0x40000000>;
|
reg = <0 0x40000000>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
stdout-path = "serial1:115200n8";
|
stdout-path = "serial1:115200n8";
|
||||||
};
|
};
|
||||||
|
|
||||||
memory {
|
memory@0 {
|
||||||
reg = <0 0x20000000>;
|
reg = <0 0x20000000>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
stdout-path = "serial1:115200n8";
|
stdout-path = "serial1:115200n8";
|
||||||
};
|
};
|
||||||
|
|
||||||
memory {
|
memory@0 {
|
||||||
reg = <0 0x40000000>;
|
reg = <0 0x40000000>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
stdout-path = "serial1:115200n8";
|
stdout-path = "serial1:115200n8";
|
||||||
};
|
};
|
||||||
|
|
||||||
memory {
|
memory@0 {
|
||||||
reg = <0 0x40000000>;
|
reg = <0 0x40000000>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
#include "bcm2836-rpi.dtsi"
|
#include "bcm2836-rpi.dtsi"
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
memory {
|
memory@0 {
|
||||||
reg = <0 0x40000000>;
|
reg = <0 0x40000000>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue