All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: stm32: reorder stm32h743 nodes
@ 2017-07-20 14:17 ` Alexandre Torgue
  0 siblings, 0 replies; 4+ messages in thread
From: Alexandre Torgue @ 2017-07-20 14:17 UTC (permalink / raw)
  To: Maxime Coquelin, arnd-r2nGTMty4D4,
	robh+dt-DgEjT+Ai2ygdnm+yROfE0A, mark.rutland-5wv7dgnIgG8,
	linux-I+IVW8TIWO2tmTQ+vhA3Yw, patrice.chotard-qxv4g6HH51o,
	lee.jones-QSEj5FYQhm4dnm+yROfE0A
  Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	devicetree-u79uwXL29TY76Z2rM5mHXA

Reorder nodes to keep coherency with others platforms (stm32f4/stm32f7).
Nodes are ordered following base address.

Signed-off-by: Alexandre Torgue <alexandre.torgue-qxv4g6HH51o@public.gmane.org>

diff --git a/arch/arm/boot/dts/stm32h743.dtsi b/arch/arm/boot/dts/stm32h743.dtsi
index 36a99db..343bf4a 100644
--- a/arch/arm/boot/dts/stm32h743.dtsi
+++ b/arch/arm/boot/dts/stm32h743.dtsi
@@ -59,13 +59,11 @@
 	};
 
 	soc {
-		usart1: serial@40011000 {
-			compatible = "st,stm32f7-usart", "st,stm32f7-uart";
-			reg = <0x40011000 0x400>;
-			interrupts = <37>;
-			status = "disabled";
+		timer5: timer@40000c00 {
+			compatible = "st,stm32-timer";
+			reg = <0x40000c00 0x400>;
+			interrupts = <50>;
 			clocks = <&timer_clk>;
-
 		};
 
 		usart2: serial@40004400 {
@@ -76,11 +74,13 @@
 			clocks = <&timer_clk>;
 		};
 
-		timer5: timer@40000c00 {
-			compatible = "st,stm32-timer";
-			reg = <0x40000c00 0x400>;
-			interrupts = <50>;
+		usart1: serial@40011000 {
+			compatible = "st,stm32f7-usart", "st,stm32f7-uart";
+			reg = <0x40011000 0x400>;
+			interrupts = <37>;
+			status = "disabled";
 			clocks = <&timer_clk>;
+
 		};
 	};
 };
-- 
2.7.4

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH] ARM: dts: stm32: reorder stm32h743 nodes
@ 2017-07-20 14:17 ` Alexandre Torgue
  0 siblings, 0 replies; 4+ messages in thread
From: Alexandre Torgue @ 2017-07-20 14:17 UTC (permalink / raw)
  To: linux-arm-kernel

Reorder nodes to keep coherency with others platforms (stm32f4/stm32f7).
Nodes are ordered following base address.

Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>

diff --git a/arch/arm/boot/dts/stm32h743.dtsi b/arch/arm/boot/dts/stm32h743.dtsi
index 36a99db..343bf4a 100644
--- a/arch/arm/boot/dts/stm32h743.dtsi
+++ b/arch/arm/boot/dts/stm32h743.dtsi
@@ -59,13 +59,11 @@
 	};
 
 	soc {
-		usart1: serial at 40011000 {
-			compatible = "st,stm32f7-usart", "st,stm32f7-uart";
-			reg = <0x40011000 0x400>;
-			interrupts = <37>;
-			status = "disabled";
+		timer5: timer at 40000c00 {
+			compatible = "st,stm32-timer";
+			reg = <0x40000c00 0x400>;
+			interrupts = <50>;
 			clocks = <&timer_clk>;
-
 		};
 
 		usart2: serial at 40004400 {
@@ -76,11 +74,13 @@
 			clocks = <&timer_clk>;
 		};
 
-		timer5: timer at 40000c00 {
-			compatible = "st,stm32-timer";
-			reg = <0x40000c00 0x400>;
-			interrupts = <50>;
+		usart1: serial at 40011000 {
+			compatible = "st,stm32f7-usart", "st,stm32f7-uart";
+			reg = <0x40011000 0x400>;
+			interrupts = <37>;
+			status = "disabled";
 			clocks = <&timer_clk>;
+
 		};
 	};
 };
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] ARM: dts: stm32: reorder stm32h743 nodes
  2017-07-20 14:17 ` Alexandre Torgue
@ 2017-07-26 16:24     ` Alexandre Torgue
  -1 siblings, 0 replies; 4+ messages in thread
From: Alexandre Torgue @ 2017-07-26 16:24 UTC (permalink / raw)
  To: Maxime Coquelin, arnd-r2nGTMty4D4,
	robh+dt-DgEjT+Ai2ygdnm+yROfE0A, mark.rutland-5wv7dgnIgG8,
	linux-I+IVW8TIWO2tmTQ+vhA3Yw, patrice.chotard-qxv4g6HH51o,
	lee.jones-QSEj5FYQhm4dnm+yROfE0A
  Cc: devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r



On 07/20/2017 04:17 PM, Alexandre Torgue wrote:
> Reorder nodes to keep coherency with others platforms (stm32f4/stm32f7).
> Nodes are ordered following base address.
> 
> Signed-off-by: Alexandre Torgue <alexandre.torgue-qxv4g6HH51o@public.gmane.org>
> 
> diff --git a/arch/arm/boot/dts/stm32h743.dtsi b/arch/arm/boot/dts/stm32h743.dtsi
> index 36a99db..343bf4a 100644
> --- a/arch/arm/boot/dts/stm32h743.dtsi
> +++ b/arch/arm/boot/dts/stm32h743.dtsi
> @@ -59,13 +59,11 @@
>   	};
>   
>   	soc {
> -		usart1: serial@40011000 {
> -			compatible = "st,stm32f7-usart", "st,stm32f7-uart";
> -			reg = <0x40011000 0x400>;
> -			interrupts = <37>;
> -			status = "disabled";
> +		timer5: timer@40000c00 {
> +			compatible = "st,stm32-timer";
> +			reg = <0x40000c00 0x400>;
> +			interrupts = <50>;
>   			clocks = <&timer_clk>;
> -
>   		};
>   
>   		usart2: serial@40004400 {
> @@ -76,11 +74,13 @@
>   			clocks = <&timer_clk>;
>   		};
>   
> -		timer5: timer@40000c00 {
> -			compatible = "st,stm32-timer";
> -			reg = <0x40000c00 0x400>;
> -			interrupts = <50>;
> +		usart1: serial@40011000 {
> +			compatible = "st,stm32f7-usart", "st,stm32f7-uart";
> +			reg = <0x40011000 0x400>;
> +			interrupts = <37>;
> +			status = "disabled";
>   			clocks = <&timer_clk>;
> +
>   		};
>   	};
>   };
> 
Applied on stm32-dt-for-v4.14 branch.

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH] ARM: dts: stm32: reorder stm32h743 nodes
@ 2017-07-26 16:24     ` Alexandre Torgue
  0 siblings, 0 replies; 4+ messages in thread
From: Alexandre Torgue @ 2017-07-26 16:24 UTC (permalink / raw)
  To: linux-arm-kernel



On 07/20/2017 04:17 PM, Alexandre Torgue wrote:
> Reorder nodes to keep coherency with others platforms (stm32f4/stm32f7).
> Nodes are ordered following base address.
> 
> Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
> 
> diff --git a/arch/arm/boot/dts/stm32h743.dtsi b/arch/arm/boot/dts/stm32h743.dtsi
> index 36a99db..343bf4a 100644
> --- a/arch/arm/boot/dts/stm32h743.dtsi
> +++ b/arch/arm/boot/dts/stm32h743.dtsi
> @@ -59,13 +59,11 @@
>   	};
>   
>   	soc {
> -		usart1: serial at 40011000 {
> -			compatible = "st,stm32f7-usart", "st,stm32f7-uart";
> -			reg = <0x40011000 0x400>;
> -			interrupts = <37>;
> -			status = "disabled";
> +		timer5: timer at 40000c00 {
> +			compatible = "st,stm32-timer";
> +			reg = <0x40000c00 0x400>;
> +			interrupts = <50>;
>   			clocks = <&timer_clk>;
> -
>   		};
>   
>   		usart2: serial at 40004400 {
> @@ -76,11 +74,13 @@
>   			clocks = <&timer_clk>;
>   		};
>   
> -		timer5: timer at 40000c00 {
> -			compatible = "st,stm32-timer";
> -			reg = <0x40000c00 0x400>;
> -			interrupts = <50>;
> +		usart1: serial at 40011000 {
> +			compatible = "st,stm32f7-usart", "st,stm32f7-uart";
> +			reg = <0x40011000 0x400>;
> +			interrupts = <37>;
> +			status = "disabled";
>   			clocks = <&timer_clk>;
> +
>   		};
>   	};
>   };
> 
Applied on stm32-dt-for-v4.14 branch.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-07-26 16:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-20 14:17 [PATCH] ARM: dts: stm32: reorder stm32h743 nodes Alexandre Torgue
2017-07-20 14:17 ` Alexandre Torgue
     [not found] ` <1500560225-31872-1-git-send-email-alexandre.torgue-qxv4g6HH51o@public.gmane.org>
2017-07-26 16:24   ` Alexandre Torgue
2017-07-26 16:24     ` Alexandre Torgue

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.