Skip to contentSkip to conversation

ARM: dts: stm32f4: Fix DT dtc warnings

PATCH In review Patrice Chotard 2 participants 4 messages Aug 6, 2018 – Aug 13, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: stm32f4: Fix DT dtc warnings

From: Patrick Delaunay <[email protected]>

This patch fix the following warnings for for stm32f429 evaluation and discovery boards:

unnecessary #address-cells/#size-cells without "ranges" or child "reg" property

---

 arch/arm/dts/stm32429i-eval.dts  | 1 -
 arch/arm/dts/stm32f429-disco.dts | 1 -
 arch/arm/dts/stm32f429.dtsi      | 4 ----
 3 files changed, 6 deletions(-)
arch/arm/dts/stm32429i-eval.dts +0 -1
index f6753a4d1a1c..1eec95118891 100644
@@ -72,7 +72,6 @@
 
 	gpio_keys {
 		compatible = "gpio-keys";
-		#address-cells = <1>;
 		#size-cells = <0>;
 		autorepeat;
 		button at 0 {
arch/arm/dts/stm32f429-disco.dts +0 -1
index e914b6b74e15..106db68b5b99 100644
@@ -76,7 +76,6 @@
 
 	gpio_keys {
 		compatible = "gpio-keys";
-		#address-cells = <1>;
 		#size-cells = <0>;
 		autorepeat;
 		button at 0 {
arch/arm/dts/stm32f429.dtsi +0 -4
index 6bcf9863e0f6..046aeff7ccca 100644
@@ -259,7 +259,6 @@
 		};
 
 		timers13: timers at 40001c00 {
-			#address-cells = <1>;
 			#size-cells = <0>;
 			compatible = "st,stm32-timers";
 			reg = <0x40001C00 0x400>;
@@ -274,7 +273,6 @@
 		};
 
 		timers14: timers at 40002000 {
-			#address-cells = <1>;
 			#size-cells = <0>;
 			compatible = "st,stm32-timers";
 			reg = <0x40002000 0x400>;
@@ -542,7 +540,6 @@
 		};
 
 		timers10: timers at 40014400 {
-			#address-cells = <1>;
 			#size-cells = <0>;
 			compatible = "st,stm32-timers";
 			reg = <0x40014400 0x400>;
@@ -557,7 +554,6 @@
 		};
 
 		timers11: timers at 40014800 {
-			#address-cells = <1>;
 			#size-cells = <0>;
 			compatible = "st,stm32-timers";
 			reg = <0x40014800 0x400>;
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 ARM: dts: stm32f4: Fix DT dtc warnings

Quoted 8 lines · Patrice Chotard

From: Patrick Delaunay <[email protected]>

This patch fix the following warnings for for stm32f429 evaluation and discovery boards:

unnecessary #address-cells/#size-cells without "ranges" or child "reg" property

Quoted 8 lines

---

 arch/arm/dts/stm32429i-eval.dts  | 1 -
 arch/arm/dts/stm32f429-disco.dts | 1 -
 arch/arm/dts/stm32f429.dtsi      | 4 ----
 3 files changed, 6 deletions(-)

All of these are files we sync in from Linux, so have they been fixed upstream? Thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180806/923019f9/attachment.sig>
#2 lore raw

PATCH 1/1 ARM: dts: stm32f4: Fix DT dtc warnings

Hi Tom

Quoted 13 lines · Tom Rini
Quoted 12 lines · Patrice Chotard

From: Patrick Delaunay <[email protected]>

This patch fix the following warnings for for stm32f429 evaluation and discovery boards:

unnecessary #address-cells/#size-cells without "ranges" or child "reg" property

---

Quoted 7 lines
Quoted 4 lines
  arch/arm/dts/stm32429i-eval.dts  | 1 -
  arch/arm/dts/stm32f429-disco.dts | 1 -
  arch/arm/dts/stm32f429.dtsi      | 4 ----
  3 files changed, 6 deletions(-)

All of these are files we sync in from Linux, so have they been fixed upstream? Thanks!

On linux side, these files are not fixed yet. We intend to do it for linux v4.20.

When linux v4.20 first RC will be available, i will resync all STM32 MCU dt files in U-boot.

Thanks

Patrice

Quoted 1 line
#3 lore raw
In reply to Patrice Chotard
Quoted 10 lines · Patrice Chotard

From: Patrick Delaunay <[email protected]>

This patch fix the following warnings for for stm32f429 evaluation and discovery boards:

unnecessary #address-cells/#size-cells without "ranges" or child "reg" property

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180813/32e85a3d/attachment.sig>