diff mbox

ARM: dts: stm32: reorder stm32h743 nodes

Message ID 1500560225-31872-1-git-send-email-alexandre.torgue@st.com
State Accepted
Commit 978edf15252f2648fdd7ca1f9a822e9e2ae95152
Headers show

Commit Message

Alexandre TORGUE July 20, 2017, 2:17 p.m. UTC
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>


-- 
2.7.4

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

Comments

Alexandre TORGUE July 26, 2017, 4:24 p.m. UTC | #1
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@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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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>;
+
 		};
 	};
 };