aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzk@kernel.org>2018-05-06 18:00:47 +0200
committerKrzysztof Kozlowski <krzk@kernel.org>2018-05-07 20:46:10 +0200
commit7feb563da690757023f34e6f8a8933cd6ee76bca (patch)
treebfe1a0154bb46084e90a04c686bb284e62d39cb0
parentARM: dts: exynos/s3c: Remove leading 0x and 0s from bindings notation (diff)
downloadlinux-dev-7feb563da690757023f34e6f8a8933cd6ee76bca.tar.xz
linux-dev-7feb563da690757023f34e6f8a8933cd6ee76bca.zip
ARM: dts: s3c24xx: Remove skeleton.dtsi and fix DTC warning for /memory
Remove the usage of skeleton.dtsi to fix the DTC warning: arch/arm/boot/dts/s3c2416-smdk2416.dtb: Warning (unit_address_vs_reg): /memory: node has a reg or ranges property, but no unit name Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
-rw-r--r--arch/arm/boot/dts/s3c2416-smdk2416.dts3
-rw-r--r--arch/arm/boot/dts/s3c24xx.dtsi4
2 files changed, 4 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/s3c2416-smdk2416.dts b/arch/arm/boot/dts/s3c2416-smdk2416.dts
index a1c9d8c695cc..5ef1144afceb 100644
--- a/arch/arm/boot/dts/s3c2416-smdk2416.dts
+++ b/arch/arm/boot/dts/s3c2416-smdk2416.dts
@@ -12,7 +12,8 @@
model = "SMDK2416";
compatible = "samsung,s3c2416";
- memory {
+ memory@30000000 {
+ device_type = "memory";
reg = <0x30000000 0x4000000>;
};
diff --git a/arch/arm/boot/dts/s3c24xx.dtsi b/arch/arm/boot/dts/s3c24xx.dtsi
index 34c7fe6751cf..6d8dd3cdd3c0 100644
--- a/arch/arm/boot/dts/s3c24xx.dtsi
+++ b/arch/arm/boot/dts/s3c24xx.dtsi
@@ -5,11 +5,11 @@
* Copyright (c) 2013 Heiko Stuebner <heiko@sntech.de>
*/
-#include "skeleton.dtsi"
-
/ {
compatible = "samsung,s3c24xx";
interrupt-parent = <&intc>;
+ #address-cells = <1>;
+ #size-cells = <1>;
aliases {
pinctrl0 = &pinctrl_0;