ARM: dts: s3c24xx: Remove skeleton.dtsi and fix DTC warning for /memory
Subsystems (2)
Krzysztof Kozlowski
maintainerPATCH 1/3 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
--- arch/arm/boot/dts/s3c2416-smdk2416.dts | 3 ++- arch/arm/boot/dts/s3c24xx.dtsi | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-)
arch/arm/boot/dts/s3c2416-smdk2416.dts +2 -1
@@ -12,7 +12,8 @@ model = "SMDK2416"; compatible = "samsung,s3c2416"; - memory { + memory at 30000000 { + device_type = "memory"; reg = <0x30000000 0x4000000>; };
arch/arm/boot/dts/s3c24xx.dtsi +2 -2
@@ -5,11 +5,11 @@ * Copyright (c) 2013 Heiko Stuebner <[email protected]> */ -#include "skeleton.dtsi" - / { compatible = "samsung,s3c24xx"; interrupt-parent = <&intc>; + #address-cells = <1>; + #size-cells = <1>; aliases { pinctrl0 = &pinctrl_0;
Signature · 1 line
2.14.1
Krzysztof Kozlowski
maintainerPATCH 2/3 ARM: dts: s3c24xx: Fix unnecessary address/size cells DTC warnings
Fix DTC warnings:
arch/arm/boot/dts/s3c2416-smdk2416.dtb: Warning (avoid_unnecessary_addr_size):
/cpus: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
arch/arm/boot/dts/s3c2416-smdk2416.dtb: Warning (avoid_unnecessary_addr_size):
/clocks: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
--- arch/arm/boot/dts/s3c2416-smdk2416.dts | 2 -- arch/arm/boot/dts/s3c2416.dtsi | 3 --- 2 files changed, 5 deletions(-)
arch/arm/boot/dts/s3c2416-smdk2416.dts +0 -2
@@ -19,8 +19,6 @@ clocks { compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; xti: xti { compatible = "fixed-clock";
arch/arm/boot/dts/s3c2416.dtsi +0 -3
@@ -18,9 +18,6 @@ }; cpus { - #address-cells = <1>; - #size-cells = <0>; - cpu { compatible = "arm,arm926ej-s"; };
Signature · 1 line
2.14.1
Krzysztof Kozlowski
maintainerPATCH 3/3 ARM: dts: s3c64xx: Remove skeleton.dtsi and fix DTC warnings for /memory
In reply to Krzysztof KozlowskiRemove the usage of skeleton.dtsi to fix the DTC warnings:
arch/arm/boot/dts/s3c6410-mini6410.dtb: Warning (unit_address_vs_reg):
/memory: node has a reg or ranges property, but no unit name
arch/arm/boot/dts/s3c6410-smdk6410.dtb: Warning (unit_address_vs_reg):
/memory: node has a reg or ranges property, but no unit name
--- arch/arm/boot/dts/s3c6410-mini6410.dts | 3 ++- arch/arm/boot/dts/s3c6410-smdk6410.dts | 3 ++- arch/arm/boot/dts/s3c64xx.dtsi | 4 +++- 3 files changed, 7 insertions(+), 3 deletions(-)
arch/arm/boot/dts/s3c6410-mini6410.dts +2 -1
@@ -19,7 +19,8 @@ model = "FriendlyARM Mini6410 board based on S3C6410"; compatible = "friendlyarm,mini6410", "samsung,s3c6410"; - memory { + memory at 50000000 { + device_type = "memory"; reg = <0x50000000 0x10000000>; };
arch/arm/boot/dts/s3c6410-smdk6410.dts +2 -1
@@ -19,7 +19,8 @@ model = "SAMSUNG SMDK6410 board based on S3C6410"; compatible = "samsung,mini6410", "samsung,s3c6410"; - memory { + memory at 50000000 { + device_type = "memory"; reg = <0x50000000 0x8000000>; };
arch/arm/boot/dts/s3c64xx.dtsi +3 -1
@@ -13,10 +13,12 @@ * nodes can be added to this file. */ -#include "skeleton.dtsi" #include <dt-bindings/clock/samsung,s3c64xx-clock.h> / { + #address-cells = <1>; + #size-cells = <1>; + aliases { i2c0 = &i2c0; pinctrl0 = &pinctrl0;
Signature · 1 line
2.14.1