From: Patrice CHOTARD <patrice.chotard@foss.st.com>
To: Antonio Borneo <antonio.borneo@foss.st.com>,
Linus Walleij <linus.walleij@linaro.org>,
Rob Herring <robh@kernel.org>,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
"Maxime Coquelin" <mcoquelin.stm32@gmail.com>,
Alexandre Torgue <alexandre.torgue@foss.st.com>,
<linux-gpio@vger.kernel.org>, <devicetree@vger.kernel.org>,
<linux-stm32@st-md-mailman.stormreply.com>,
<linux-arm-kernel@lists.infradead.org>,
<linux-kernel@vger.kernel.org>
Cc: "Pascal Paillet" <p.paillet@foss.st.com>,
"Clément Le Goffic" <legoffic.clement@gmail.com>
Subject: Re: [Linux-stm32] [PATCH v2 13/15] arm64: dts: st: add pinctrl nodes on stm32mp21
Date: Wed, 11 Feb 2026 14:17:14 +0100 [thread overview]
Message-ID: <81065373-6e58-4b4e-8304-40d15d1d9b43@foss.st.com> (raw)
In-Reply-To: <20251118161936.1085477-14-antonio.borneo@foss.st.com>
On 11/18/25 17:19, Antonio Borneo wrote:
> Update the device-tree stm32mp211.dtsi to add the nodes for pinctrl.
>
> Signed-off-by: Antonio Borneo <antonio.borneo@foss.st.com>
> ---
> arch/arm64/boot/dts/st/stm32mp211.dtsi | 142 +++++++++++++++++++++++++
> 1 file changed, 142 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/st/stm32mp211.dtsi b/arch/arm64/boot/dts/st/stm32mp211.dtsi
> index 4bdf4b3a39829..fd561a85027c3 100644
> --- a/arch/arm64/boot/dts/st/stm32mp211.dtsi
> +++ b/arch/arm64/boot/dts/st/stm32mp211.dtsi
> @@ -3,6 +3,7 @@
> * Copyright (C) STMicroelectronics 2025 - All Rights Reserved
> * Author: Alexandre Torgue <alexandre.torgue@foss.st.com> for STMicroelectronics.
> */
> +#include <dt-bindings/clock/st,stm32mp21-rcc.h>
> #include <dt-bindings/interrupt-controller/arm-gic.h>
>
> / {
> @@ -205,6 +206,124 @@ syscfg: syscon@44230000 {
> reg = <0x44230000 0x0 0x10000>;
> };
>
> + pinctrl: pinctrl@44240000 {
> + bootph-all;
After a discussion with Alex, it's preferable to add bootph-* properties in board file instead of SoC files.
as done in this series :
https://lore.kernel.org/linux-arm-kernel/20260203-upstream_uboot_properties-v6-0-0a2280e84d31@foss.st.com/
Thanks
Patrice
> + compatible = "st,stm32mp215-pinctrl";
> + ranges = <0 0x44240000 0x80400>;
> + interrupt-parent = <&exti1>;
> + st,syscfg = <&exti1 0x60 0xff>;
> + #address-cells = <1>;
> + #size-cells = <1>;
> +
> + gpioa: gpio@44240000 {
> + bootph-all;
> + reg = <0x0 0x400>;
> + clocks = <&scmi_clk CK_SCMI_GPIOA>;
> + gpio-controller;
> + #gpio-cells = <2>;
> + interrupt-controller;
> + #interrupt-cells = <2>;
> + st,bank-name = "GPIOA";
> + status = "disabled";
> + };
> +
> + gpiob: gpio@44250000 {
> + bootph-all;
> + reg = <0x10000 0x400>;
> + clocks = <&scmi_clk CK_SCMI_GPIOB>;
> + gpio-controller;
> + #gpio-cells = <2>;
> + interrupt-controller;
> + #interrupt-cells = <2>;
> + st,bank-name = "GPIOB";
> + status = "disabled";
> + };
> +
> + gpioc: gpio@44260000 {
> + bootph-all;
> + reg = <0x20000 0x400>;
> + clocks = <&scmi_clk CK_SCMI_GPIOC>;
> + gpio-controller;
> + #gpio-cells = <2>;
> + interrupt-controller;
> + #interrupt-cells = <2>;
> + st,bank-name = "GPIOC";
> + status = "disabled";
> + };
> +
> + gpiod: gpio@44270000 {
> + bootph-all;
> + reg = <0x30000 0x400>;
> + clocks = <&scmi_clk CK_SCMI_GPIOD>;
> + gpio-controller;
> + #gpio-cells = <2>;
> + interrupt-controller;
> + #interrupt-cells = <2>;
> + st,bank-name = "GPIOD";
> + status = "disabled";
> + };
> +
> + gpioe: gpio@44280000 {
> + bootph-all;
> + reg = <0x40000 0x400>;
> + clocks = <&scmi_clk CK_SCMI_GPIOE>;
> + gpio-controller;
> + #gpio-cells = <2>;
> + interrupt-controller;
> + #interrupt-cells = <2>;
> + st,bank-name = "GPIOE";
> + status = "disabled";
> + };
> +
> + gpiof: gpio@44290000 {
> + bootph-all;
> + reg = <0x50000 0x400>;
> + clocks = <&scmi_clk CK_SCMI_GPIOF>;
> + gpio-controller;
> + #gpio-cells = <2>;
> + interrupt-controller;
> + #interrupt-cells = <2>;
> + st,bank-name = "GPIOF";
> + status = "disabled";
> + };
> +
> + gpiog: gpio@442a0000 {
> + bootph-all;
> + reg = <0x60000 0x400>;
> + clocks = <&scmi_clk CK_SCMI_GPIOG>;
> + gpio-controller;
> + #gpio-cells = <2>;
> + interrupt-controller;
> + #interrupt-cells = <2>;
> + st,bank-name = "GPIOG";
> + status = "disabled";
> + };
> +
> + gpioh: gpio@442b0000 {
> + bootph-all;
> + reg = <0x70000 0x400>;
> + clocks = <&scmi_clk CK_SCMI_GPIOH>;
> + gpio-controller;
> + #gpio-cells = <2>;
> + interrupt-controller;
> + #interrupt-cells = <2>;
> + st,bank-name = "GPIOH";
> + status = "disabled";
> + };
> +
> + gpioi: gpio@442c0000 {
> + bootph-all;
> + reg = <0x80000 0x400>;
> + clocks = <&scmi_clk CK_SCMI_GPIOI>;
> + gpio-controller;
> + #gpio-cells = <2>;
> + interrupt-controller;
> + #interrupt-cells = <2>;
> + st,bank-name = "GPIOI";
> + status = "disabled";
> + };
> + };
> +
> exti2: interrupt-controller@442d0000 {
> compatible = "st,stm32mp1-exti", "syscon";
> reg = <0x442d0000 0x0 0x400>;
> @@ -267,6 +386,29 @@ exti2: interrupt-controller@442d0000 {
> <&intc GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH>;
> };
>
> + pinctrl_z: pinctrl@46200000 {
> + bootph-all;
> + compatible = "st,stm32mp215-z-pinctrl";
> + ranges = <0 0x46200000 0x400>;
> + interrupt-parent = <&exti1>;
> + st,syscfg = <&exti1 0x60 0xff>;
> + #address-cells = <1>;
> + #size-cells = <1>;
> +
> + gpioz: gpio@46200000 {
> + bootph-all;
> + reg = <0 0x400>;
> + clocks = <&scmi_clk CK_SCMI_GPIOZ>;
> + gpio-controller;
> + #gpio-cells = <2>;
> + interrupt-controller;
> + #interrupt-cells = <2>;
> + st,bank-name = "GPIOZ";
> + st,bank-ioport = <11>;
> + status = "disabled";
> + };
> + };
> +
> intc: interrupt-controller@4ac10000 {
> compatible = "arm,gic-400";
> reg = <0x4ac10000 0x0 0x1000>,
next prev parent reply other threads:[~2026-02-11 13:17 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-18 16:19 [PATCH v2 00/15] pinctrl: stm32: rework SoC package and add STM32MP21 Antonio Borneo
2025-11-18 16:19 ` [PATCH v2 02/15] dt-bindings: pinctrl: stm32: use strings for enum property 'st,package' Antonio Borneo
2025-11-19 7:27 ` Krzysztof Kozlowski
2025-11-19 14:16 ` Linus Walleij
2025-11-20 9:50 ` Antonio Borneo
2025-11-18 16:19 ` [PATCH v2 03/15] arm: dts: stm32: update property 'st,package' to new bindings Antonio Borneo
2025-11-18 16:19 ` [PATCH v2 04/15] arm64: dts: st: " Antonio Borneo
2025-11-18 16:19 ` [PATCH v2 05/15] pinctrl: stm32: add new package to stm32mp257 pinctrl support Antonio Borneo
2025-11-20 4:25 ` kernel test robot
2025-11-18 16:19 ` [PATCH v2 06/15] dt-bindings: " Antonio Borneo
2025-11-18 16:19 ` [PATCH v2 07/15] arm64: dts: st: add new package file for stm32mp25 pinctrl Antonio Borneo
2025-11-18 16:19 ` [PATCH v2 08/15] pinctrl: stm32: add stm32mp215 pinctrl support Antonio Borneo
2025-11-18 16:19 ` [PATCH v2 09/15] dt-bindings: pinctrl: stm32: support for stm32mp215 and additional packages Antonio Borneo
2025-11-18 16:19 ` [PATCH v2 10/15] arm64: dts: st: introduce stm32mp21 pinctrl files Antonio Borneo
2025-11-18 16:19 ` [PATCH v2 11/15] arm64: dts: st: add interrupt to optee node on stm32mp21 Antonio Borneo
2025-11-18 16:19 ` [PATCH v2 12/15] arm64: dts: st: add exti1 and exti2 nodes " Antonio Borneo
2025-11-18 16:19 ` [PATCH v2 13/15] arm64: dts: st: add pinctrl " Antonio Borneo
2026-02-11 13:17 ` Patrice CHOTARD [this message]
2025-11-18 16:19 ` [PATCH v2 14/15] arm64: dts: st: add pinctrl to usart2 on stm32mp215f-dk board Antonio Borneo
2025-11-18 16:19 ` [PATCH v2 15/15] arm64: dts: st: add heartbeat LED " Antonio Borneo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=81065373-6e58-4b4e-8304-40d15d1d9b43@foss.st.com \
--to=patrice.chotard@foss.st.com \
--cc=alexandre.torgue@foss.st.com \
--cc=antonio.borneo@foss.st.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=legoffic.clement@gmail.com \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-stm32@st-md-mailman.stormreply.com \
--cc=mcoquelin.stm32@gmail.com \
--cc=p.paillet@foss.st.com \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox