ARM: dts: lpc18xx: remove skeleton.dtsi include and fix unit address warnings

Removale of skeleton.dtsi allows us also to fix the following
warning from the dts compiler:
  Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit name

by adding proper unit addresses to the memory nodes.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Acked-by: Rob Herring <robh@kernel.org>
This commit is contained in:
Joachim Eastwood 2016-08-29 23:37:24 +02:00
parent 05b23ebc2b
commit 0555a6be06
4 changed files with 6 additions and 4 deletions

View file

@ -11,7 +11,6 @@
* *
*/ */
#include "skeleton.dtsi"
#include "armv7-m.dtsi" #include "armv7-m.dtsi"
#include "dt-bindings/clock/lpc18xx-cgu.h" #include "dt-bindings/clock/lpc18xx-cgu.h"
@ -21,6 +20,9 @@
#define LPC_GPIO(port, pin) (port * 32 + pin) #define LPC_GPIO(port, pin) (port * 32 + pin)
/ { / {
#address-cells = <1>;
#size-cells = <1>;
cpus { cpus {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;

View file

@ -30,7 +30,7 @@
stdout-path = &uart2; stdout-path = &uart2;
}; };
memory { memory@28000000 {
device_type = "memory"; device_type = "memory";
reg = <0x28000000 0x0800000>; /* 8 MB */ reg = <0x28000000 0x0800000>; /* 8 MB */
}; };

View file

@ -33,7 +33,7 @@
stdout-path = &uart0; stdout-path = &uart0;
}; };
memory { memory@28000000 {
device_type = "memory"; device_type = "memory";
reg = <0x28000000 0x800000>; /* 8 MB */ reg = <0x28000000 0x800000>; /* 8 MB */
}; };

View file

@ -33,7 +33,7 @@
stdout-path = &uart0; stdout-path = &uart0;
}; };
memory { memory@28000000 {
device_type = "memory"; device_type = "memory";
reg = <0x28000000 0x2000000>; /* 32 MB */ reg = <0x28000000 0x2000000>; /* 32 MB */
}; };