[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2241c327-7cd6-7abd-b94f-00abe43b97e1@st.com>
Date: Tue, 21 Apr 2020 13:16:44 +0200
From: Alexandre Torgue <alexandre.torgue@...com>
To: <mani@...nel.org>, <robh+dt@...nel.org>,
<mcoquelin.stm32@...il.com>
CC: <devicetree@...r.kernel.org>,
<linux-stm32@...md-mailman.stormreply.com>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 2/6] ARM: dts: Add missing pinctrl entries for STM32MP15
Hi Mani
Commit title should be ARM: dts: stm32 ...
otherwise it's good.
regards
alex
On 4/20/20 7:31 PM, mani@...nel.org wrote:
> From: Manivannan Sadhasivam <mani@...nel.org>
>
> These pinctrl definitions will be used by Stinger96/IoTBox boards
> from Shiratech.
>
> Signed-off-by: Manivannan Sadhasivam <mani@...nel.org>
> ---
> arch/arm/boot/dts/stm32mp15-pinctrl.dtsi | 64 ++++++++++++++++++++++++
> 1 file changed, 64 insertions(+)
>
> diff --git a/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi b/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi
> index aeddcaadb829..858c83038e5a 100644
> --- a/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi
> +++ b/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi
> @@ -1519,6 +1519,30 @@
> };
> };
>
> + usart2_pins_b: usart2-1 {
> + pins1 {
> + pinmux = <STM32_PINMUX('F', 5, AF7)>, /* USART2_TX */
> + <STM32_PINMUX('A', 1, AF7)>; /* USART2_RTS */
> + bias-disable;
> + drive-push-pull;
> + slew-rate = <0>;
> + };
> + pins2 {
> + pinmux = <STM32_PINMUX('F', 4, AF7)>, /* USART2_RX */
> + <STM32_PINMUX('E', 15, AF7)>; /* USART2_CTS_NSS */
> + bias-disable;
> + };
> + };
> +
> + usart2_sleep_pins_b: usart2-sleep-1 {
> + pins {
> + pinmux = <STM32_PINMUX('F', 5, ANALOG)>, /* USART2_TX */
> + <STM32_PINMUX('A', 1, ANALOG)>, /* USART2_RTS */
> + <STM32_PINMUX('F', 4, ANALOG)>, /* USART2_RX */
> + <STM32_PINMUX('E', 15, ANALOG)>; /* USART2_CTS_NSS */
> + };
> + };
> +
> usart3_pins_a: usart3-0 {
> pins1 {
> pinmux = <STM32_PINMUX('B', 10, AF7)>; /* USART3_TX */
> @@ -1558,6 +1582,19 @@
> };
> };
>
> + uart4_pins_c: uart4-2 {
> + pins1 {
> + pinmux = <STM32_PINMUX('G', 11, AF6)>; /* UART4_TX */
> + bias-disable;
> + drive-push-pull;
> + slew-rate = <0>;
> + };
> + pins2 {
> + pinmux = <STM32_PINMUX('B', 2, AF8)>; /* UART4_RX */
> + bias-disable;
> + };
> + };
> +
> uart7_pins_a: uart7-0 {
> pins1 {
> pinmux = <STM32_PINMUX('E', 8, AF7)>; /* UART4_TX */
> @@ -1573,6 +1610,19 @@
> };
> };
>
> + uart7_pins_b: uart7-1 {
> + pins1 {
> + pinmux = <STM32_PINMUX('F', 7, AF7)>; /* UART7_TX */
> + bias-disable;
> + drive-push-pull;
> + slew-rate = <0>;
> + };
> + pins2 {
> + pinmux = <STM32_PINMUX('F', 6, AF7)>; /* UART7_RX */
> + bias-disable;
> + };
> + };
> +
> uart8_pins_a: uart8-0 {
> pins1 {
> pinmux = <STM32_PINMUX('E', 1, AF8)>; /* UART8_TX */
> @@ -1647,4 +1697,18 @@
> bias-disable;
> };
> };
> +
> + spi4_pins_a: spi4-0 {
> + pins {
> + pinmux = <STM32_PINMUX('E', 12, AF5)>, /* SPI4_SCK */
> + <STM32_PINMUX('E', 6, AF5)>; /* SPI4_MOSI */
> + bias-disable;
> + drive-push-pull;
> + slew-rate = <1>;
> + };
> + pins2 {
> + pinmux = <STM32_PINMUX('E', 13, AF5)>; /* SPI4_MISO */
> + bias-disable;
> + };
> + };
> };
>
Powered by blists - more mailing lists