a1ada4de25597dc6979fabd33d16ddd2067e4c28
[openwrt/staging/ansuel.git] /
1 From 7affb86ef62581e3475ce3e0a7640da1f2ee29f8 Mon Sep 17 00:00:00 2001
2 From: Jonas Karlman <jonas@kwiboo.se>
3 Date: Tue, 21 May 2024 21:10:08 +0000
4 Subject: [PATCH] arm64: dts: rockchip: Add pinctrl for UART0 to
5 rk3308-rock-pi-s
6
7 UAR0 CTS/RTS is not wired to any pin and is not used for the default
8 serial console use of UART0 on ROCK Pi S.
9
10 Override the SoC defined pinctrl props to limit configuration of the
11 two xfer pins wired to one of the GPIO pin headers.
12
13 Fixes: 2e04c25b1320 ("arm64: dts: rockchip: add ROCK Pi S DTS support")
14 Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
15 Link: https://lore.kernel.org/r/20240521211029.1236094-6-jonas@kwiboo.se
16 Signed-off-by: Heiko Stuebner <heiko@sntech.de>
17 ---
18 arch/arm64/boot/dts/rockchip/rk3308-rock-pi-s.dts | 2 ++
19 1 file changed, 2 insertions(+)
20
21 --- a/arch/arm64/boot/dts/rockchip/rk3308-rock-pi-s.dts
22 +++ b/arch/arm64/boot/dts/rockchip/rk3308-rock-pi-s.dts
23 @@ -294,6 +294,8 @@
24 };
25
26 &uart0 {
27 + pinctrl-names = "default";
28 + pinctrl-0 = <&uart0_xfer>;
29 status = "okay";
30 };
31