* [PATCH 0/8] Support STM32h747i-disco board
@ 2025-04-27 7:43 Dario Binacchi
2025-04-27 7:43 ` [PATCH 1/8] ARM: dts: stm32h7-pinctrl: add _a suffix to u[s]art_pins phandles Dario Binacchi
` (7 more replies)
0 siblings, 8 replies; 11+ messages in thread
From: Dario Binacchi @ 2025-04-27 7:43 UTC (permalink / raw)
To: linux-kernel
Cc: Alexandre Torgue, linux-amarula, Dario Binacchi, Amelie Delaunay,
Conor Dooley, David Jander, Krzysztof Kozlowski,
Leonard Göhrs, Marc Kleine-Budde, Marek Vasut,
Maxime Coquelin, Michael Turquette, Oleksij Rempel, Roan van Dijk,
Rob Herring, Russell King, Stephen Boyd, devicetree,
linux-arm-kernel, linux-clk, linux-stm32
The series adds support for STM32h747i-disco board
The board includes an STM32H747XI SoC with the following resources:
- 2 Mbytes Flash
- 1 Mbyte SRAM
- LCD-TFT controller
- MIPI-DSI interface
- FD-CAN
- USB 2.0 high-speed/full-speed
- Ethernet MAC
- camera interface
Detailed information can be found at:
https://www.st.com/en/evaluation-tools/stm32h747i-disco.html
Dario Binacchi (8):
ARM: dts: stm32h7-pinctrl: add _a suffix to u[s]art_pins phandles
dt-bindings: arm: stm32: add compatible for stm32h747i-disco board
ARM: stm32: add a new SoC - STM32H747
clk: stm32h7: rename USART{7,8}_CK to UART{7,8}_CK
ARM: dts: stm32: add uart8 node for stm32h743 MCU
ARM: dts: stm32: add pin map for UART8 controller on stm32h743
ARM: dts: stm32: add an extra pin map for USART1 on stm32h743
ARM: dts: stm32: support STM32h747i-disco board
.../devicetree/bindings/arm/stm32/stm32.yaml | 4 +
arch/arm/boot/dts/st/Makefile | 1 +
arch/arm/boot/dts/st/stm32h7-pinctrl.dtsi | 34 ++++-
arch/arm/boot/dts/st/stm32h743.dtsi | 8 ++
arch/arm/boot/dts/st/stm32h743i-disco.dts | 2 +-
arch/arm/boot/dts/st/stm32h743i-eval.dts | 2 +-
arch/arm/boot/dts/st/stm32h747i-disco.dts | 136 ++++++++++++++++++
arch/arm/boot/dts/st/stm32h750i-art-pi.dts | 6 +-
arch/arm/mach-stm32/board-dt.c | 1 +
include/dt-bindings/clock/stm32h7-clks.h | 4 +-
10 files changed, 187 insertions(+), 11 deletions(-)
create mode 100644 arch/arm/boot/dts/st/stm32h747i-disco.dts
--
2.43.0
^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH 1/8] ARM: dts: stm32h7-pinctrl: add _a suffix to u[s]art_pins phandles
2025-04-27 7:43 [PATCH 0/8] Support STM32h747i-disco board Dario Binacchi
@ 2025-04-27 7:43 ` Dario Binacchi
2025-04-27 7:43 ` [PATCH 2/8] dt-bindings: arm: stm32: add compatible for stm32h747i-disco board Dario Binacchi
` (6 subsequent siblings)
7 siblings, 0 replies; 11+ messages in thread
From: Dario Binacchi @ 2025-04-27 7:43 UTC (permalink / raw)
To: linux-kernel
Cc: Alexandre Torgue, linux-amarula, Dario Binacchi, Conor Dooley,
Krzysztof Kozlowski, Maxime Coquelin, Rob Herring, devicetree,
linux-arm-kernel, linux-stm32
Allow expanding possible configurations for the same peripheral,
consistent with the scheme adopted in Linux.
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
---
arch/arm/boot/dts/st/stm32h7-pinctrl.dtsi | 8 ++++----
arch/arm/boot/dts/st/stm32h743i-disco.dts | 2 +-
arch/arm/boot/dts/st/stm32h743i-eval.dts | 2 +-
arch/arm/boot/dts/st/stm32h750i-art-pi.dts | 6 +++---
4 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/arch/arm/boot/dts/st/stm32h7-pinctrl.dtsi b/arch/arm/boot/dts/st/stm32h7-pinctrl.dtsi
index 7f1d234e1024..ad00c1080a96 100644
--- a/arch/arm/boot/dts/st/stm32h7-pinctrl.dtsi
+++ b/arch/arm/boot/dts/st/stm32h7-pinctrl.dtsi
@@ -198,7 +198,7 @@ pins2 {
};
};
- uart4_pins: uart4-0 {
+ uart4_pins_a: uart4-0 {
pins1 {
pinmux = <STM32_PINMUX('A', 0, AF8)>; /* UART4_TX */
bias-disable;
@@ -211,7 +211,7 @@ pins2 {
};
};
- usart1_pins: usart1-0 {
+ usart1_pins_a: usart1-0 {
pins1 {
pinmux = <STM32_PINMUX('B', 14, AF4)>; /* USART1_TX */
bias-disable;
@@ -224,7 +224,7 @@ pins2 {
};
};
- usart2_pins: usart2-0 {
+ usart2_pins_a: usart2-0 {
pins1 {
pinmux = <STM32_PINMUX('D', 5, AF7)>; /* USART2_TX */
bias-disable;
@@ -237,7 +237,7 @@ pins2 {
};
};
- usart3_pins: usart3-0 {
+ usart3_pins_a: usart3-0 {
pins1 {
pinmux = <STM32_PINMUX('B', 10, AF7)>, /* USART3_TX */
<STM32_PINMUX('D', 12, AF7)>; /* USART3_RTS_DE */
diff --git a/arch/arm/boot/dts/st/stm32h743i-disco.dts b/arch/arm/boot/dts/st/stm32h743i-disco.dts
index 2b452883a708..8451a54a9a08 100644
--- a/arch/arm/boot/dts/st/stm32h743i-disco.dts
+++ b/arch/arm/boot/dts/st/stm32h743i-disco.dts
@@ -105,7 +105,7 @@ &sdmmc1 {
};
&usart2 {
- pinctrl-0 = <&usart2_pins>;
+ pinctrl-0 = <&usart2_pins_a>;
pinctrl-names = "default";
status = "okay";
};
diff --git a/arch/arm/boot/dts/st/stm32h743i-eval.dts b/arch/arm/boot/dts/st/stm32h743i-eval.dts
index 5c5d8059bdc7..4b0ced27b80e 100644
--- a/arch/arm/boot/dts/st/stm32h743i-eval.dts
+++ b/arch/arm/boot/dts/st/stm32h743i-eval.dts
@@ -145,7 +145,7 @@ &sdmmc1 {
};
&usart1 {
- pinctrl-0 = <&usart1_pins>;
+ pinctrl-0 = <&usart1_pins_a>;
pinctrl-names = "default";
status = "okay";
};
diff --git a/arch/arm/boot/dts/st/stm32h750i-art-pi.dts b/arch/arm/boot/dts/st/stm32h750i-art-pi.dts
index 44c307f8b09c..00d195d52a45 100644
--- a/arch/arm/boot/dts/st/stm32h750i-art-pi.dts
+++ b/arch/arm/boot/dts/st/stm32h750i-art-pi.dts
@@ -197,14 +197,14 @@ partition@0 {
};
&usart2 {
- pinctrl-0 = <&usart2_pins>;
+ pinctrl-0 = <&usart2_pins_a>;
pinctrl-names = "default";
status = "disabled";
};
&usart3 {
pinctrl-names = "default";
- pinctrl-0 = <&usart3_pins>;
+ pinctrl-0 = <&usart3_pins_a>;
dmas = <&dmamux1 45 0x400 0x05>,
<&dmamux1 46 0x400 0x05>;
dma-names = "rx", "tx";
@@ -221,7 +221,7 @@ bluetooth {
};
&uart4 {
- pinctrl-0 = <&uart4_pins>;
+ pinctrl-0 = <&uart4_pins_a>;
pinctrl-names = "default";
status = "okay";
};
--
2.43.0
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 2/8] dt-bindings: arm: stm32: add compatible for stm32h747i-disco board
2025-04-27 7:43 [PATCH 0/8] Support STM32h747i-disco board Dario Binacchi
2025-04-27 7:43 ` [PATCH 1/8] ARM: dts: stm32h7-pinctrl: add _a suffix to u[s]art_pins phandles Dario Binacchi
@ 2025-04-27 7:43 ` Dario Binacchi
2025-04-28 8:38 ` Krzysztof Kozlowski
2025-04-27 7:43 ` [PATCH 4/8] clk: stm32h7: rename USART{7,8}_CK to UART{7,8}_CK Dario Binacchi
` (5 subsequent siblings)
7 siblings, 1 reply; 11+ messages in thread
From: Dario Binacchi @ 2025-04-27 7:43 UTC (permalink / raw)
To: linux-kernel
Cc: Alexandre Torgue, linux-amarula, Dario Binacchi, Amelie Delaunay,
Conor Dooley, Krzysztof Kozlowski, Leonard Göhrs,
Marc Kleine-Budde, Marek Vasut, Maxime Coquelin, Oleksij Rempel,
Rob Herring, devicetree, linux-arm-kernel, linux-stm32
The board includes an STM32H747XI SoC with the following resources:
- 2 Mbytes Flash
- 1 MByte SRAM
- LCD-TFT controller
- MIPI-DSI interface
- FD-CAN
- USB 2.0 high-speed/full-speed
- Ethernet MAC
- camera interface
Detailed information can be found at:
https://www.st.com/en/evaluation-tools/stm32h747i-disco.html
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
---
Documentation/devicetree/bindings/arm/stm32/stm32.yaml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Documentation/devicetree/bindings/arm/stm32/stm32.yaml b/Documentation/devicetree/bindings/arm/stm32/stm32.yaml
index 5fee2f38ff25..75ef877530f9 100644
--- a/Documentation/devicetree/bindings/arm/stm32/stm32.yaml
+++ b/Documentation/devicetree/bindings/arm/stm32/stm32.yaml
@@ -42,6 +42,10 @@ properties:
- st,stm32h743i-disco
- st,stm32h743i-eval
- const: st,stm32h743
+ - items:
+ - enum:
+ - st,stm32h747i-disco
+ - const: st,stm32h747
- items:
- enum:
- st,stm32h750i-art-pi
--
2.43.0
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 4/8] clk: stm32h7: rename USART{7,8}_CK to UART{7,8}_CK
2025-04-27 7:43 [PATCH 0/8] Support STM32h747i-disco board Dario Binacchi
2025-04-27 7:43 ` [PATCH 1/8] ARM: dts: stm32h7-pinctrl: add _a suffix to u[s]art_pins phandles Dario Binacchi
2025-04-27 7:43 ` [PATCH 2/8] dt-bindings: arm: stm32: add compatible for stm32h747i-disco board Dario Binacchi
@ 2025-04-27 7:43 ` Dario Binacchi
2025-04-28 9:17 ` Krzysztof Kozlowski
2025-04-27 7:43 ` [PATCH 5/8] ARM: dts: stm32: add uart8 node for stm32h743 MCU Dario Binacchi
` (4 subsequent siblings)
7 siblings, 1 reply; 11+ messages in thread
From: Dario Binacchi @ 2025-04-27 7:43 UTC (permalink / raw)
To: linux-kernel
Cc: Alexandre Torgue, linux-amarula, Dario Binacchi, Conor Dooley,
Krzysztof Kozlowski, Maxime Coquelin, Michael Turquette,
Rob Herring, Stephen Boyd, devicetree, linux-arm-kernel,
linux-clk, linux-stm32
As stated in the reference manual RM0433, the STM32H743 MCU has
USART1/2/3/6, UART4/5/7/8, and LPUART1. The patches make all the clock
macros for the serial ports consistent with the documentation.
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
---
include/dt-bindings/clock/stm32h7-clks.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/dt-bindings/clock/stm32h7-clks.h b/include/dt-bindings/clock/stm32h7-clks.h
index 6637272b3242..330b39c2c303 100644
--- a/include/dt-bindings/clock/stm32h7-clks.h
+++ b/include/dt-bindings/clock/stm32h7-clks.h
@@ -126,8 +126,8 @@
#define ADC3_CK 128
#define DSI_CK 129
#define LTDC_CK 130
-#define USART8_CK 131
-#define USART7_CK 132
+#define UART8_CK 131
+#define UART7_CK 132
#define HDMICEC_CK 133
#define I2C3_CK 134
#define I2C2_CK 135
--
2.43.0
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 5/8] ARM: dts: stm32: add uart8 node for stm32h743 MCU
2025-04-27 7:43 [PATCH 0/8] Support STM32h747i-disco board Dario Binacchi
` (2 preceding siblings ...)
2025-04-27 7:43 ` [PATCH 4/8] clk: stm32h7: rename USART{7,8}_CK to UART{7,8}_CK Dario Binacchi
@ 2025-04-27 7:43 ` Dario Binacchi
2025-04-27 7:43 ` [PATCH 6/8] ARM: dts: stm32: add pin map for UART8 controller on stm32h743 Dario Binacchi
` (3 subsequent siblings)
7 siblings, 0 replies; 11+ messages in thread
From: Dario Binacchi @ 2025-04-27 7:43 UTC (permalink / raw)
To: linux-kernel
Cc: Alexandre Torgue, linux-amarula, Dario Binacchi, Conor Dooley,
Krzysztof Kozlowski, Maxime Coquelin, Rob Herring, devicetree,
linux-arm-kernel, linux-stm32
Add support for UART8 by applying the settings specified in the
reference manual RM0433.
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
---
arch/arm/boot/dts/st/stm32h743.dtsi | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/arch/arm/boot/dts/st/stm32h743.dtsi b/arch/arm/boot/dts/st/stm32h743.dtsi
index b8d4c44c8a82..2f19cfbc57ad 100644
--- a/arch/arm/boot/dts/st/stm32h743.dtsi
+++ b/arch/arm/boot/dts/st/stm32h743.dtsi
@@ -211,6 +211,14 @@ dac2: dac@2 {
};
};
+ uart8: serial@40007c00 {
+ compatible = "st,stm32h7-uart";
+ reg = <0x40007c00 0x400>;
+ interrupts = <83>;
+ status = "disabled";
+ clocks = <&rcc UART8_CK>;
+ };
+
usart1: serial@40011000 {
compatible = "st,stm32h7-uart";
reg = <0x40011000 0x400>;
--
2.43.0
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 6/8] ARM: dts: stm32: add pin map for UART8 controller on stm32h743
2025-04-27 7:43 [PATCH 0/8] Support STM32h747i-disco board Dario Binacchi
` (3 preceding siblings ...)
2025-04-27 7:43 ` [PATCH 5/8] ARM: dts: stm32: add uart8 node for stm32h743 MCU Dario Binacchi
@ 2025-04-27 7:43 ` Dario Binacchi
2025-04-27 7:43 ` [PATCH 7/8] ARM: dts: stm32: add an extra pin map for USART1 " Dario Binacchi
` (2 subsequent siblings)
7 siblings, 0 replies; 11+ messages in thread
From: Dario Binacchi @ 2025-04-27 7:43 UTC (permalink / raw)
To: linux-kernel
Cc: Alexandre Torgue, linux-amarula, Dario Binacchi, Conor Dooley,
Krzysztof Kozlowski, Maxime Coquelin, Rob Herring, devicetree,
linux-arm-kernel, linux-stm32
Add a pin map configuration for using the UART8 controller on the
stm32h743 MCU.
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
---
arch/arm/boot/dts/st/stm32h7-pinctrl.dtsi | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/arch/arm/boot/dts/st/stm32h7-pinctrl.dtsi b/arch/arm/boot/dts/st/stm32h7-pinctrl.dtsi
index ad00c1080a96..96022afd0168 100644
--- a/arch/arm/boot/dts/st/stm32h7-pinctrl.dtsi
+++ b/arch/arm/boot/dts/st/stm32h7-pinctrl.dtsi
@@ -211,6 +211,19 @@ pins2 {
};
};
+ uart8_pins_a: uart8-0 {
+ pins1 {
+ pinmux = <STM32_PINMUX('J', 8, AF8)>; /* UART8_TX */
+ bias-disable;
+ drive-push-pull;
+ slew-rate = <0>;
+ };
+ pins2 {
+ pinmux = <STM32_PINMUX('J', 9, AF8)>; /* UART8_RX */
+ bias-disable;
+ };
+ };
+
usart1_pins_a: usart1-0 {
pins1 {
pinmux = <STM32_PINMUX('B', 14, AF4)>; /* USART1_TX */
--
2.43.0
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 7/8] ARM: dts: stm32: add an extra pin map for USART1 on stm32h743
2025-04-27 7:43 [PATCH 0/8] Support STM32h747i-disco board Dario Binacchi
` (4 preceding siblings ...)
2025-04-27 7:43 ` [PATCH 6/8] ARM: dts: stm32: add pin map for UART8 controller on stm32h743 Dario Binacchi
@ 2025-04-27 7:43 ` Dario Binacchi
2025-04-27 7:43 ` [PATCH 8/8] ARM: dts: stm32: support STM32h747i-disco board Dario Binacchi
2025-04-30 7:21 ` [PATCH 0/8] Support " Alexandre TORGUE
7 siblings, 0 replies; 11+ messages in thread
From: Dario Binacchi @ 2025-04-27 7:43 UTC (permalink / raw)
To: linux-kernel
Cc: Alexandre Torgue, linux-amarula, Dario Binacchi, Conor Dooley,
Krzysztof Kozlowski, Maxime Coquelin, Rob Herring, devicetree,
linux-arm-kernel, linux-stm32
Add an additional pin map configuration for using the USART1 controller
on the stm32h743 MCU.
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
---
arch/arm/boot/dts/st/stm32h7-pinctrl.dtsi | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/arch/arm/boot/dts/st/stm32h7-pinctrl.dtsi b/arch/arm/boot/dts/st/stm32h7-pinctrl.dtsi
index 96022afd0168..8a6db484383d 100644
--- a/arch/arm/boot/dts/st/stm32h7-pinctrl.dtsi
+++ b/arch/arm/boot/dts/st/stm32h7-pinctrl.dtsi
@@ -237,6 +237,19 @@ pins2 {
};
};
+ usart1_pins_b: usart1-1 {
+ pins1 {
+ pinmux = <STM32_PINMUX('A', 9, AF7)>; /* USART1_TX */
+ bias-disable;
+ drive-push-pull;
+ slew-rate = <0>;
+ };
+ pins2 {
+ pinmux = <STM32_PINMUX('A', 10, AF7)>; /* USART1_RX */
+ bias-disable;
+ };
+ };
+
usart2_pins_a: usart2-0 {
pins1 {
pinmux = <STM32_PINMUX('D', 5, AF7)>; /* USART2_TX */
--
2.43.0
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 8/8] ARM: dts: stm32: support STM32h747i-disco board
2025-04-27 7:43 [PATCH 0/8] Support STM32h747i-disco board Dario Binacchi
` (5 preceding siblings ...)
2025-04-27 7:43 ` [PATCH 7/8] ARM: dts: stm32: add an extra pin map for USART1 " Dario Binacchi
@ 2025-04-27 7:43 ` Dario Binacchi
2025-04-30 7:21 ` [PATCH 0/8] Support " Alexandre TORGUE
7 siblings, 0 replies; 11+ messages in thread
From: Dario Binacchi @ 2025-04-27 7:43 UTC (permalink / raw)
To: linux-kernel
Cc: Alexandre Torgue, linux-amarula, Dario Binacchi, Conor Dooley,
David Jander, Krzysztof Kozlowski, Leonard Göhrs,
Marc Kleine-Budde, Marek Vasut, Maxime Coquelin, Oleksij Rempel,
Roan van Dijk, Rob Herring, devicetree, linux-arm-kernel,
linux-stm32
The board includes an STM32H747XI SoC with the following resources:
- 2 Mbytes Flash
- 1 Mbyte SRAM
- LCD-TFT controller
- MIPI-DSI interface
- FD-CAN
- USB 2.0 high-speed/full-speed
- Ethernet MAC
- camera interface
Detailed information can be found at:
https://www.st.com/en/evaluation-tools/stm32h747i-disco.html
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
---
arch/arm/boot/dts/st/Makefile | 1 +
arch/arm/boot/dts/st/stm32h747i-disco.dts | 136 ++++++++++++++++++++++
2 files changed, 137 insertions(+)
create mode 100644 arch/arm/boot/dts/st/stm32h747i-disco.dts
diff --git a/arch/arm/boot/dts/st/Makefile b/arch/arm/boot/dts/st/Makefile
index 60d55516f723..c66959edac12 100644
--- a/arch/arm/boot/dts/st/Makefile
+++ b/arch/arm/boot/dts/st/Makefile
@@ -28,6 +28,7 @@ dtb-$(CONFIG_ARCH_STM32) += \
stm32746g-eval.dtb \
stm32h743i-eval.dtb \
stm32h743i-disco.dtb \
+ stm32h747i-disco.dtb \
stm32h750i-art-pi.dtb \
stm32mp133c-prihmb.dtb \
stm32mp135f-dhcor-dhsbc.dtb \
diff --git a/arch/arm/boot/dts/st/stm32h747i-disco.dts b/arch/arm/boot/dts/st/stm32h747i-disco.dts
new file mode 100644
index 000000000000..99f0255dae8e
--- /dev/null
+++ b/arch/arm/boot/dts/st/stm32h747i-disco.dts
@@ -0,0 +1,136 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * Copyright (C) 2025 Amarula Solutions, Dario Binacchi <dario.binacchi@amarulasolutions.com>
+ */
+
+/dts-v1/;
+#include "stm32h743.dtsi"
+#include "stm32h7-pinctrl.dtsi"
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/input/input.h>
+
+/ {
+ model = "STMicroelectronics STM32H747i-Discovery board";
+ compatible = "st,stm32h747i-disco", "st,stm32h747";
+
+ chosen {
+ bootargs = "root=/dev/ram";
+ stdout-path = "serial0:115200n8";
+ };
+
+ memory@d0000000 {
+ device_type = "memory";
+ reg = <0xd0000000 0x2000000>;
+ };
+
+ aliases {
+ serial0 = &usart1;
+ serial1 = &uart8;
+ };
+
+ v3v3: regulator-v3v3 {
+ compatible = "regulator-fixed";
+ regulator-name = "v3v3";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ regulator-always-on;
+ };
+
+ leds {
+ compatible = "gpio-leds";
+ led-green {
+ gpios = <&gpioi 12 GPIO_ACTIVE_LOW>;
+ linux,default-trigger = "heartbeat";
+ };
+ led-orange {
+ gpios = <&gpioi 13 GPIO_ACTIVE_LOW>;
+ };
+ led-red {
+ gpios = <&gpioi 14 GPIO_ACTIVE_LOW>;
+ };
+ led-blue {
+ gpios = <&gpioi 15 GPIO_ACTIVE_LOW>;
+ };
+ };
+
+ gpio-keys {
+ compatible = "gpio-keys";
+ autorepeat;
+ button-0 {
+ label = "User";
+ linux,code = <KEY_WAKEUP>;
+ gpios = <&gpioc 13 GPIO_ACTIVE_HIGH>;
+ };
+ button-1 {
+ label = "JoySel";
+ linux,code = <KEY_ENTER>;
+ gpios = <&gpiok 2 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
+ };
+ button-2 {
+ label = "JoyDown";
+ linux,code = <KEY_DOWN>;
+ gpios = <&gpiok 3 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
+ };
+ button-3 {
+ label = "JoyUp";
+ linux,code = <KEY_UP>;
+ gpios = <&gpiok 6 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
+ };
+ button-4 {
+ label = "JoyLeft";
+ linux,code = <KEY_LEFT>;
+ gpios = <&gpiok 4 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
+ };
+ button-5 {
+ label = "JoyRight";
+ linux,code = <KEY_RIGHT>;
+ gpios = <&gpiok 5 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
+ };
+ };
+};
+
+&clk_hse {
+ clock-frequency = <25000000>;
+};
+
+&mac {
+ status = "disabled";
+ pinctrl-0 = <ðernet_rmii>;
+ pinctrl-names = "default";
+ phy-mode = "rmii";
+ phy-handle = <&phy0>;
+
+ mdio0 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ compatible = "snps,dwmac-mdio";
+ phy0: ethernet-phy@0 {
+ reg = <0>;
+ };
+ };
+};
+
+&sdmmc1 {
+ pinctrl-names = "default", "opendrain", "sleep";
+ pinctrl-0 = <&sdmmc1_b4_pins_a>;
+ pinctrl-1 = <&sdmmc1_b4_od_pins_a>;
+ pinctrl-2 = <&sdmmc1_b4_sleep_pins_a>;
+ cd-gpios = <&gpioi 8 GPIO_ACTIVE_LOW>;
+ broken-cd;
+ st,neg-edge;
+ bus-width = <4>;
+ vmmc-supply = <&v3v3>;
+ status = "okay";
+};
+
+&usart1 {
+ pinctrl-0 = <&usart1_pins_b>;
+ pinctrl-names = "default";
+ status = "okay";
+};
+
+&uart8 {
+ pinctrl-0 = <&uart8_pins_a>;
+ pinctrl-names = "default";
+ status = "okay";
+};
--
2.43.0
^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [PATCH 2/8] dt-bindings: arm: stm32: add compatible for stm32h747i-disco board
2025-04-27 7:43 ` [PATCH 2/8] dt-bindings: arm: stm32: add compatible for stm32h747i-disco board Dario Binacchi
@ 2025-04-28 8:38 ` Krzysztof Kozlowski
0 siblings, 0 replies; 11+ messages in thread
From: Krzysztof Kozlowski @ 2025-04-28 8:38 UTC (permalink / raw)
To: Dario Binacchi
Cc: linux-kernel, Alexandre Torgue, linux-amarula, Amelie Delaunay,
Conor Dooley, Krzysztof Kozlowski, Leonard Göhrs,
Marc Kleine-Budde, Marek Vasut, Maxime Coquelin, Oleksij Rempel,
Rob Herring, devicetree, linux-arm-kernel, linux-stm32
On Sun, Apr 27, 2025 at 09:43:21AM GMT, Dario Binacchi wrote:
> The board includes an STM32H747XI SoC with the following resources:
> - 2 Mbytes Flash
> - 1 MByte SRAM
> - LCD-TFT controller
> - MIPI-DSI interface
> - FD-CAN
> - USB 2.0 high-speed/full-speed
> - Ethernet MAC
> - camera interface
>
> Detailed information can be found at:
> https://www.st.com/en/evaluation-tools/stm32h747i-disco.html
>
> Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
> ---
>
> Documentation/devicetree/bindings/arm/stm32/stm32.yaml | 4 ++++
> 1 file changed, 4 insertions(+)
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 4/8] clk: stm32h7: rename USART{7,8}_CK to UART{7,8}_CK
2025-04-27 7:43 ` [PATCH 4/8] clk: stm32h7: rename USART{7,8}_CK to UART{7,8}_CK Dario Binacchi
@ 2025-04-28 9:17 ` Krzysztof Kozlowski
0 siblings, 0 replies; 11+ messages in thread
From: Krzysztof Kozlowski @ 2025-04-28 9:17 UTC (permalink / raw)
To: Dario Binacchi
Cc: linux-kernel, Alexandre Torgue, linux-amarula, Conor Dooley,
Krzysztof Kozlowski, Maxime Coquelin, Michael Turquette,
Rob Herring, Stephen Boyd, devicetree, linux-arm-kernel,
linux-clk, linux-stm32
On Sun, Apr 27, 2025 at 09:43:23AM GMT, Dario Binacchi wrote:
> As stated in the reference manual RM0433, the STM32H743 MCU has
> USART1/2/3/6, UART4/5/7/8, and LPUART1. The patches make all the clock
> macros for the serial ports consistent with the documentation.
>
> Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
> ---
>
> include/dt-bindings/clock/stm32h7-clks.h | 4 ++--
dt-bindings subject prefix
Please use subject prefixes matching the subsystem. You can get them for
example with 'git log --oneline -- DIRECTORY_OR_FILE' on the directory
your patch is touching. For bindings, the preferred subjects are
explained here:
https://www.kernel.org/doc/html/latest/devicetree/bindings/submitting-patches.html#i-for-patch-submitters
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 0/8] Support STM32h747i-disco board
2025-04-27 7:43 [PATCH 0/8] Support STM32h747i-disco board Dario Binacchi
` (6 preceding siblings ...)
2025-04-27 7:43 ` [PATCH 8/8] ARM: dts: stm32: support STM32h747i-disco board Dario Binacchi
@ 2025-04-30 7:21 ` Alexandre TORGUE
7 siblings, 0 replies; 11+ messages in thread
From: Alexandre TORGUE @ 2025-04-30 7:21 UTC (permalink / raw)
To: Dario Binacchi, linux-kernel
Cc: linux-amarula, Amelie Delaunay, Conor Dooley, David Jander,
Krzysztof Kozlowski, Leonard Göhrs, Marc Kleine-Budde,
Marek Vasut, Maxime Coquelin, Michael Turquette, Oleksij Rempel,
Roan van Dijk, Rob Herring, Russell King, Stephen Boyd,
devicetree, linux-arm-kernel, linux-clk, linux-stm32
Hi Dario
On 4/27/25 09:43, Dario Binacchi wrote:
> The series adds support for STM32h747i-disco board
>
> The board includes an STM32H747XI SoC with the following resources:
> - 2 Mbytes Flash
> - 1 Mbyte SRAM
> - LCD-TFT controller
> - MIPI-DSI interface
> - FD-CAN
> - USB 2.0 high-speed/full-speed
> - Ethernet MAC
> - camera interface
>
> Detailed information can be found at:
> https://www.st.com/en/evaluation-tools/stm32h747i-disco.html
>
>
> Dario Binacchi (8):
> ARM: dts: stm32h7-pinctrl: add _a suffix to u[s]art_pins phandles
> dt-bindings: arm: stm32: add compatible for stm32h747i-disco board
> ARM: stm32: add a new SoC - STM32H747
> clk: stm32h7: rename USART{7,8}_CK to UART{7,8}_CK
> ARM: dts: stm32: add uart8 node for stm32h743 MCU
> ARM: dts: stm32: add pin map for UART8 controller on stm32h743
> ARM: dts: stm32: add an extra pin map for USART1 on stm32h743
> ARM: dts: stm32: support STM32h747i-disco board
>
> .../devicetree/bindings/arm/stm32/stm32.yaml | 4 +
> arch/arm/boot/dts/st/Makefile | 1 +
> arch/arm/boot/dts/st/stm32h7-pinctrl.dtsi | 34 ++++-
> arch/arm/boot/dts/st/stm32h743.dtsi | 8 ++
> arch/arm/boot/dts/st/stm32h743i-disco.dts | 2 +-
> arch/arm/boot/dts/st/stm32h743i-eval.dts | 2 +-
> arch/arm/boot/dts/st/stm32h747i-disco.dts | 136 ++++++++++++++++++
> arch/arm/boot/dts/st/stm32h750i-art-pi.dts | 6 +-
> arch/arm/mach-stm32/board-dt.c | 1 +
> include/dt-bindings/clock/stm32h7-clks.h | 4 +-
> 10 files changed, 187 insertions(+), 11 deletions(-)
> create mode 100644 arch/arm/boot/dts/st/stm32h747i-disco.dts
>
Series applied on stm32-next. I changed patch 4 commit title according
to Krzysztof comment.
Cheers
Alex
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2025-04-30 7:25 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-27 7:43 [PATCH 0/8] Support STM32h747i-disco board Dario Binacchi
2025-04-27 7:43 ` [PATCH 1/8] ARM: dts: stm32h7-pinctrl: add _a suffix to u[s]art_pins phandles Dario Binacchi
2025-04-27 7:43 ` [PATCH 2/8] dt-bindings: arm: stm32: add compatible for stm32h747i-disco board Dario Binacchi
2025-04-28 8:38 ` Krzysztof Kozlowski
2025-04-27 7:43 ` [PATCH 4/8] clk: stm32h7: rename USART{7,8}_CK to UART{7,8}_CK Dario Binacchi
2025-04-28 9:17 ` Krzysztof Kozlowski
2025-04-27 7:43 ` [PATCH 5/8] ARM: dts: stm32: add uart8 node for stm32h743 MCU Dario Binacchi
2025-04-27 7:43 ` [PATCH 6/8] ARM: dts: stm32: add pin map for UART8 controller on stm32h743 Dario Binacchi
2025-04-27 7:43 ` [PATCH 7/8] ARM: dts: stm32: add an extra pin map for USART1 " Dario Binacchi
2025-04-27 7:43 ` [PATCH 8/8] ARM: dts: stm32: support STM32h747i-disco board Dario Binacchi
2025-04-30 7:21 ` [PATCH 0/8] Support " 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).