Commit f090e1bd authored by Stefan Wahren's avatar Stefan Wahren

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: default avatarStefan Wahren <stefan.wahren@i2se.com>
Tested-by: default avatarPeter Robinson <pbrobinson@gmail.com>
Reviewed-by: default avatarEric Anholt <eric@anholt.net>
parent 0040cf8d
#include <dt-bindings/power/raspberrypi-power.h>
/ {
memory {
memory@0 {
device_type = "memory";
reg = <0 0x10000000>;
};
......
......@@ -9,7 +9,7 @@ / {
compatible = "raspberrypi,2-model-b", "brcm,bcm2836";
model = "Raspberry Pi 2 Model B";
memory {
memory@0 {
reg = <0 0x40000000>;
};
......
......@@ -13,7 +13,7 @@ chosen {
stdout-path = "serial1:115200n8";
};
memory {
memory@0 {
reg = <0 0x20000000>;
};
......
......@@ -14,7 +14,7 @@ chosen {
stdout-path = "serial1:115200n8";
};
memory {
memory@0 {
reg = <0 0x40000000>;
};
......
......@@ -14,7 +14,7 @@ chosen {
stdout-path = "serial1:115200n8";
};
memory {
memory@0 {
reg = <0 0x40000000>;
};
......
......@@ -4,7 +4,7 @@
#include "bcm2836-rpi.dtsi"
/ {
memory {
memory@0 {
reg = <0 0x40000000>;
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment