[PATCH 3/8] arm64: dts: rockchip: Add pinctrl for UART0 to rk3308-rock-pi-s

Kever Yang kever.yang at rock-chips.com
Fri Aug 2 08:18:27 CEST 2024


On 2024/7/30 22:51, Jonas Karlman wrote:
> UAR0 CTS/RTS is not wired to any pin and is not used for the default
> serial console use of UART0 on ROCK Pi S.
>
> Override the SoC defined pinctrl props to limit configuration of the
> two xfer pins wired to one of the GPIO pin headers.
>
> Fixes: 2e04c25b1320 ("arm64: dts: rockchip: add ROCK Pi S DTS support")
> Signed-off-by: Jonas Karlman <jonas at kwiboo.se>
> Link: https://lore.kernel.org/r/20240521211029.1236094-6-jonas@kwiboo.se
> Signed-off-by: Heiko Stuebner <heiko at sntech.de>
>
> [ upstream commit: 7affb86ef62581e3475ce3e0a7640da1f2ee29f8 ]
>
> (cherry picked from commit 9c72cd5fa9f971be8ebbc1f43bd74a72e33db2fa)
> ---
Reviewed-by: Kever Yang <kever.yang at rock-chips.com>

Thanks,
- Kever
>   dts/upstream/src/arm64/rockchip/rk3308-rock-pi-s.dts | 2 ++
>   1 file changed, 2 insertions(+)
>
> diff --git a/dts/upstream/src/arm64/rockchip/rk3308-rock-pi-s.dts b/dts/upstream/src/arm64/rockchip/rk3308-rock-pi-s.dts
> index 8ea984906403..d4cf6026241c 100644
> --- a/dts/upstream/src/arm64/rockchip/rk3308-rock-pi-s.dts
> +++ b/dts/upstream/src/arm64/rockchip/rk3308-rock-pi-s.dts
> @@ -294,6 +294,8 @@
>   };
>   
>   &uart0 {
> +	pinctrl-names = "default";
> +	pinctrl-0 = <&uart0_xfer>;
>   	status = "okay";
>   };
>   


More information about the U-Boot mailing list