diff mbox series

[08/10] rockchip: px30: make UART pinmux accessible to TPL/SPL DTB

Message ID 20240521-px30-2024-07-rc-v1-8-62109c84d44f@cherry.de
State Superseded
Delegated to: Kever Yang
Headers show
Series rockchip: px30: migrate to common bss and stack addresses + UART fixes for evb-px30 | expand

Commit Message

Quentin Schulz May 21, 2024, 5:40 p.m. UTC
From: Quentin Schulz <quentin.schulz@cherry.de>

This adds the default pinmux for UART2 and UART5 to the TPL/SPL DTB (if
not removed through the CONFIG_OF_SPL_REMOVE_PROPS symbol) as those two
controllers are always made available to all boards.

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
---
 arch/arm/dts/px30-u-boot.dtsi | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

Comments

Kever Yang May 23, 2024, 3:49 a.m. UTC | #1
On 2024/5/22 01:40, Quentin Schulz wrote:
> From: Quentin Schulz <quentin.schulz@cherry.de>
>
> This adds the default pinmux for UART2 and UART5 to the TPL/SPL DTB (if
> not removed through the CONFIG_OF_SPL_REMOVE_PROPS symbol) as those two
> controllers are always made available to all boards.
>
> Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>

Thanks,
- Kever
> ---
>   arch/arm/dts/px30-u-boot.dtsi | 16 ++++++++++++++++
>   1 file changed, 16 insertions(+)
>
> diff --git a/arch/arm/dts/px30-u-boot.dtsi b/arch/arm/dts/px30-u-boot.dtsi
> index 046da022ffe..59fa9f43a97 100644
> --- a/arch/arm/dts/px30-u-boot.dtsi
> +++ b/arch/arm/dts/px30-u-boot.dtsi
> @@ -33,11 +33,27 @@
>   	bootph-all;
>   };
>   
> +&uart2m0_xfer {
> +	bootph-all;
> +};
> +
>   &uart5 {
>   	clock-frequency = <24000000>;
>   	bootph-all;
>   };
>   
> +&uart5_cts {
> +	bootph-all;
> +};
> +
> +&uart5_rts {
> +	bootph-all;
> +};
> +
> +&uart5_xfer {
> +	bootph-all;
> +};
> +
>   &sdmmc {
>   	bootph-all;
>   
>
diff mbox series

Patch

diff --git a/arch/arm/dts/px30-u-boot.dtsi b/arch/arm/dts/px30-u-boot.dtsi
index 046da022ffe..59fa9f43a97 100644
--- a/arch/arm/dts/px30-u-boot.dtsi
+++ b/arch/arm/dts/px30-u-boot.dtsi
@@ -33,11 +33,27 @@ 
 	bootph-all;
 };
 
+&uart2m0_xfer {
+	bootph-all;
+};
+
 &uart5 {
 	clock-frequency = <24000000>;
 	bootph-all;
 };
 
+&uart5_cts {
+	bootph-all;
+};
+
+&uart5_rts {
+	bootph-all;
+};
+
+&uart5_xfer {
+	bootph-all;
+};
+
 &sdmmc {
 	bootph-all;