Skip to content

Commit 55de171

Browse files
QSchulzmmind
authored andcommitted
arm64: dts: rockchip: fix pinmux of UART5 for PX30 Ringneck on Haikou
UART5 uses GPIO0_B5 as UART RTS but muxed in its GPIO function, therefore UART5 must request this pin to be muxed in that function, so let's do that. Fixes: 5963d97 ("arm64: dts: rockchip: add rs485 support on uart5 of px30-ringneck-haikou") Cc: stable@vger.kernel.org Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de> Link: https://lore.kernel.org/r/20250225-ringneck-dtbos-v3-2-853a9a6dd597@cherry.de Signed-off-by: Heiko Stuebner <heiko@sntech.de>
1 parent 2db7d29 commit 55de171

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

arch/arm64/boot/dts/rockchip/px30-ringneck-haikou.dts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,13 @@
194194
<3 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>;
195195
};
196196
};
197+
198+
uart {
199+
uart5_rts_pin: uart5-rts-pin {
200+
rockchip,pins =
201+
<0 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>;
202+
};
203+
};
197204
};
198205

199206
&pwm0 {
@@ -228,6 +235,9 @@
228235
};
229236

230237
&uart5 {
238+
/* Add pinmux for rts-gpios (uart5_rts_pin) */
239+
pinctrl-names = "default";
240+
pinctrl-0 = <&uart5_xfer &uart5_rts_pin>;
231241
rts-gpios = <&gpio0 RK_PB5 GPIO_ACTIVE_HIGH>;
232242
status = "okay";
233243
};

0 commit comments

Comments
 (0)