devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Fixup STM32MP157 device tree
@ 2018-06-26 16:18 Alexandre Torgue
  2018-06-26 16:19 ` [PATCH 1/2] ARM: dts: stm32: remove gpio aliases for stm32mp157c Alexandre Torgue
  2018-06-26 16:19 ` [PATCH 2/2] ARM: dts: stm32: Reorder nodes in stm32mp157c-ed1 Alexandre Torgue
  0 siblings, 2 replies; 3+ messages in thread
From: Alexandre Torgue @ 2018-06-26 16:18 UTC (permalink / raw)
  To: Maxime Coquelin, arnd, robh+dt, mark.rutland, linux
  Cc: ludovic.barre, devicetree, Alexandre Torgue, linux-arm-kernel

This series:
 -remove gpio aliases as there are not used.
 -reorder nodes in stm32mp157c-ed1 file.

Regards
Alex

Alexandre Torgue (2):
  ARM: dts: stm32: remove gpio aliases for stm32mp157c
  ARM: dts: stm32: Reorder nodes in stm32mp157c-ed1

 arch/arm/boot/dts/stm32mp157c-ed1.dts | 22 +++++++++++-----------
 arch/arm/boot/dts/stm32mp157c.dtsi    | 14 --------------
 2 files changed, 11 insertions(+), 25 deletions(-)

-- 
2.7.4

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

* [PATCH 1/2] ARM: dts: stm32: remove gpio aliases for stm32mp157c
  2018-06-26 16:18 [PATCH 0/2] Fixup STM32MP157 device tree Alexandre Torgue
@ 2018-06-26 16:19 ` Alexandre Torgue
  2018-06-26 16:19 ` [PATCH 2/2] ARM: dts: stm32: Reorder nodes in stm32mp157c-ed1 Alexandre Torgue
  1 sibling, 0 replies; 3+ messages in thread
From: Alexandre Torgue @ 2018-06-26 16:19 UTC (permalink / raw)
  To: Maxime Coquelin, arnd, robh+dt, mark.rutland, linux
  Cc: ludovic.barre, devicetree, Alexandre Torgue, linux-arm-kernel

GPIO aliases are not used by stm32 pinctrl driver.

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

diff --git a/arch/arm/boot/dts/stm32mp157c.dtsi b/arch/arm/boot/dts/stm32mp157c.dtsi
index 5183830..9dc4ff0 100644
--- a/arch/arm/boot/dts/stm32mp157c.dtsi
+++ b/arch/arm/boot/dts/stm32mp157c.dtsi
@@ -35,20 +35,6 @@
 		cpu_on = <0x84000003>;
 	};
 
-	aliases {
-		gpio0 = &gpioa;
-		gpio1 = &gpiob;
-		gpio2 = &gpioc;
-		gpio3 = &gpiod;
-		gpio4 = &gpioe;
-		gpio5 = &gpiof;
-		gpio6 = &gpiog;
-		gpio7 = &gpioh;
-		gpio8 = &gpioi;
-		gpio9 = &gpioj;
-		gpio10 = &gpiok;
-	};
-
 	intc: interrupt-controller@a0021000 {
 		compatible = "arm,cortex-a7-gic";
 		#interrupt-cells = <3>;
-- 
2.7.4

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

* [PATCH 2/2] ARM: dts: stm32: Reorder nodes in stm32mp157c-ed1
  2018-06-26 16:18 [PATCH 0/2] Fixup STM32MP157 device tree Alexandre Torgue
  2018-06-26 16:19 ` [PATCH 1/2] ARM: dts: stm32: remove gpio aliases for stm32mp157c Alexandre Torgue
@ 2018-06-26 16:19 ` Alexandre Torgue
  1 sibling, 0 replies; 3+ messages in thread
From: Alexandre Torgue @ 2018-06-26 16:19 UTC (permalink / raw)
  To: Maxime Coquelin, arnd, robh+dt, mark.rutland, linux
  Cc: ludovic.barre, devicetree, Alexandre Torgue, linux-arm-kernel

Nodes should be ordered in alphabetic order.

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

diff --git a/arch/arm/boot/dts/stm32mp157c-ed1.dts b/arch/arm/boot/dts/stm32mp157c-ed1.dts
index 050c30d..de8b8a1 100644
--- a/arch/arm/boot/dts/stm32mp157c-ed1.dts
+++ b/arch/arm/boot/dts/stm32mp157c-ed1.dts
@@ -49,17 +49,6 @@
 	};
 };
 
-&rng1 {
-	status = "okay";
-};
-
-&timers6 {
-	status = "okay";
-	timer@5 {
-		status = "okay";
-	};
-};
-
 &i2c4 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&i2c4_pins_a>;
@@ -68,10 +57,21 @@
 	status = "okay";
 };
 
+&rng1 {
+	status = "okay";
+};
+
 &rtc {
 	status = "okay";
 };
 
+&timers6 {
+	status = "okay";
+	timer@5 {
+		status = "okay";
+	};
+};
+
 &uart4 {
 	pinctrl-names = "default";
 	pinctrl-0 = <&uart4_pins_a>;
-- 
2.7.4

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

end of thread, other threads:[~2018-06-26 16:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-26 16:18 [PATCH 0/2] Fixup STM32MP157 device tree Alexandre Torgue
2018-06-26 16:19 ` [PATCH 1/2] ARM: dts: stm32: remove gpio aliases for stm32mp157c Alexandre Torgue
2018-06-26 16:19 ` [PATCH 2/2] ARM: dts: stm32: Reorder nodes in stm32mp157c-ed1 Alexandre Torgue

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).