Commit 0555a6be authored by Joachim Eastwood's avatar Joachim Eastwood

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: default avatarJoachim Eastwood <manabian@gmail.com>
Acked-by: default avatarRob Herring <robh@kernel.org>
parent 05b23ebc
......@@ -11,7 +11,6 @@
*
*/
#include "skeleton.dtsi"
#include "armv7-m.dtsi"
#include "dt-bindings/clock/lpc18xx-cgu.h"
......@@ -21,6 +20,9 @@
#define LPC_GPIO(port, pin) (port * 32 + pin)
/ {
#address-cells = <1>;
#size-cells = <1>;
cpus {
#address-cells = <1>;
#size-cells = <0>;
......
......@@ -30,7 +30,7 @@ chosen {
stdout-path = &uart2;
};
memory {
memory@28000000 {
device_type = "memory";
reg = <0x28000000 0x0800000>; /* 8 MB */
};
......
......@@ -33,7 +33,7 @@ chosen {
stdout-path = &uart0;
};
memory {
memory@28000000 {
device_type = "memory";
reg = <0x28000000 0x800000>; /* 8 MB */
};
......
......@@ -33,7 +33,7 @@ chosen {
stdout-path = &uart0;
};
memory {
memory@28000000 {
device_type = "memory";
reg = <0x28000000 0x2000000>; /* 32 MB */
};
......
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