Skip to content

Commit 6a36dca

Browse files
passgatAlexandre Torgue
authored andcommitted
ARM: dts: stm32h7-pinctrl: add _a suffix to u[s]art_pins phandles
Allow expanding possible configurations for the same peripheral, consistent with the scheme adopted in Linux. Signed-off-by: Dario Binacchi <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexandre Torgue <[email protected]>
1 parent 988cca0 commit 6a36dca

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

arch/arm/boot/dts/st/stm32h7-pinctrl.dtsi

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@
198198
};
199199
};
200200

201-
uart4_pins: uart4-0 {
201+
uart4_pins_a: uart4-0 {
202202
pins1 {
203203
pinmux = <STM32_PINMUX('A', 0, AF8)>; /* UART4_TX */
204204
bias-disable;
@@ -211,7 +211,7 @@
211211
};
212212
};
213213

214-
usart1_pins: usart1-0 {
214+
usart1_pins_a: usart1-0 {
215215
pins1 {
216216
pinmux = <STM32_PINMUX('B', 14, AF4)>; /* USART1_TX */
217217
bias-disable;
@@ -224,7 +224,7 @@
224224
};
225225
};
226226

227-
usart2_pins: usart2-0 {
227+
usart2_pins_a: usart2-0 {
228228
pins1 {
229229
pinmux = <STM32_PINMUX('D', 5, AF7)>; /* USART2_TX */
230230
bias-disable;
@@ -237,7 +237,7 @@
237237
};
238238
};
239239

240-
usart3_pins: usart3-0 {
240+
usart3_pins_a: usart3-0 {
241241
pins1 {
242242
pinmux = <STM32_PINMUX('B', 10, AF7)>, /* USART3_TX */
243243
<STM32_PINMUX('D', 12, AF7)>; /* USART3_RTS_DE */

arch/arm/boot/dts/st/stm32h743i-disco.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@
105105
};
106106

107107
&usart2 {
108-
pinctrl-0 = <&usart2_pins>;
108+
pinctrl-0 = <&usart2_pins_a>;
109109
pinctrl-names = "default";
110110
status = "okay";
111111
};

arch/arm/boot/dts/st/stm32h743i-eval.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@
145145
};
146146

147147
&usart1 {
148-
pinctrl-0 = <&usart1_pins>;
148+
pinctrl-0 = <&usart1_pins_a>;
149149
pinctrl-names = "default";
150150
status = "okay";
151151
};

arch/arm/boot/dts/st/stm32h750i-art-pi.dts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -197,14 +197,14 @@
197197
};
198198

199199
&usart2 {
200-
pinctrl-0 = <&usart2_pins>;
200+
pinctrl-0 = <&usart2_pins_a>;
201201
pinctrl-names = "default";
202202
status = "disabled";
203203
};
204204

205205
&usart3 {
206206
pinctrl-names = "default";
207-
pinctrl-0 = <&usart3_pins>;
207+
pinctrl-0 = <&usart3_pins_a>;
208208
dmas = <&dmamux1 45 0x400 0x05>,
209209
<&dmamux1 46 0x400 0x05>;
210210
dma-names = "rx", "tx";
@@ -221,7 +221,7 @@
221221
};
222222

223223
&uart4 {
224-
pinctrl-0 = <&uart4_pins>;
224+
pinctrl-0 = <&uart4_pins_a>;
225225
pinctrl-names = "default";
226226
status = "okay";
227227
};

0 commit comments

Comments
 (0)