diff options
author | Joachim Eastwood <manabian@gmail.com> | 2016-08-29 17:37:24 -0400 |
---|---|---|
committer | Joachim Eastwood <manabian@gmail.com> | 2016-09-06 15:53:16 -0400 |
commit | 0555a6be0691f14b48371d5359bab4ccc73023ef (patch) | |
tree | 06d15b87189a7203f35e34c98b961fb267ea1a2c | |
parent | 05b23ebc2bd9b85fcc1891c2bd20b1949861ea77 (diff) |
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>
-rw-r--r-- | arch/arm/boot/dts/lpc18xx.dtsi | 4 | ||||
-rw-r--r-- | arch/arm/boot/dts/lpc4337-ciaa.dts | 2 | ||||
-rw-r--r-- | arch/arm/boot/dts/lpc4350-hitex-eval.dts | 2 | ||||
-rw-r--r-- | arch/arm/boot/dts/lpc4357-ea4357-devkit.dts | 2 |
4 files changed, 6 insertions, 4 deletions
diff --git a/arch/arm/boot/dts/lpc18xx.dtsi b/arch/arm/boot/dts/lpc18xx.dtsi index e956ea8aff16..7cae9c5e27db 100644 --- a/arch/arm/boot/dts/lpc18xx.dtsi +++ b/arch/arm/boot/dts/lpc18xx.dtsi | |||
@@ -11,7 +11,6 @@ | |||
11 | * | 11 | * |
12 | */ | 12 | */ |
13 | 13 | ||
14 | #include "skeleton.dtsi" | ||
15 | #include "armv7-m.dtsi" | 14 | #include "armv7-m.dtsi" |
16 | 15 | ||
17 | #include "dt-bindings/clock/lpc18xx-cgu.h" | 16 | #include "dt-bindings/clock/lpc18xx-cgu.h" |
@@ -21,6 +20,9 @@ | |||
21 | #define LPC_GPIO(port, pin) (port * 32 + pin) | 20 | #define LPC_GPIO(port, pin) (port * 32 + pin) |
22 | 21 | ||
23 | / { | 22 | / { |
23 | #address-cells = <1>; | ||
24 | #size-cells = <1>; | ||
25 | |||
24 | cpus { | 26 | cpus { |
25 | #address-cells = <1>; | 27 | #address-cells = <1>; |
26 | #size-cells = <0>; | 28 | #size-cells = <0>; |
diff --git a/arch/arm/boot/dts/lpc4337-ciaa.dts b/arch/arm/boot/dts/lpc4337-ciaa.dts index 5cfadb06c8df..7c16d639a1b4 100644 --- a/arch/arm/boot/dts/lpc4337-ciaa.dts +++ b/arch/arm/boot/dts/lpc4337-ciaa.dts | |||
@@ -30,7 +30,7 @@ | |||
30 | stdout-path = &uart2; | 30 | stdout-path = &uart2; |
31 | }; | 31 | }; |
32 | 32 | ||
33 | memory { | 33 | memory@28000000 { |
34 | device_type = "memory"; | 34 | device_type = "memory"; |
35 | reg = <0x28000000 0x0800000>; /* 8 MB */ | 35 | reg = <0x28000000 0x0800000>; /* 8 MB */ |
36 | }; | 36 | }; |
diff --git a/arch/arm/boot/dts/lpc4350-hitex-eval.dts b/arch/arm/boot/dts/lpc4350-hitex-eval.dts index c97cba1d26a8..874c75d44013 100644 --- a/arch/arm/boot/dts/lpc4350-hitex-eval.dts +++ b/arch/arm/boot/dts/lpc4350-hitex-eval.dts | |||
@@ -33,7 +33,7 @@ | |||
33 | stdout-path = &uart0; | 33 | stdout-path = &uart0; |
34 | }; | 34 | }; |
35 | 35 | ||
36 | memory { | 36 | memory@28000000 { |
37 | device_type = "memory"; | 37 | device_type = "memory"; |
38 | reg = <0x28000000 0x800000>; /* 8 MB */ | 38 | reg = <0x28000000 0x800000>; /* 8 MB */ |
39 | }; | 39 | }; |
diff --git a/arch/arm/boot/dts/lpc4357-ea4357-devkit.dts b/arch/arm/boot/dts/lpc4357-ea4357-devkit.dts index 1919be4dab2b..9b5fad622522 100644 --- a/arch/arm/boot/dts/lpc4357-ea4357-devkit.dts +++ b/arch/arm/boot/dts/lpc4357-ea4357-devkit.dts | |||
@@ -33,7 +33,7 @@ | |||
33 | stdout-path = &uart0; | 33 | stdout-path = &uart0; |
34 | }; | 34 | }; |
35 | 35 | ||
36 | memory { | 36 | memory@28000000 { |
37 | device_type = "memory"; | 37 | device_type = "memory"; |
38 | reg = <0x28000000 0x2000000>; /* 32 MB */ | 38 | reg = <0x28000000 0x2000000>; /* 32 MB */ |
39 | }; | 39 | }; |