[PATCH 04/17] rockchip: odroid-go2: Use appropriate bootph props

Kever Yang kever.yang at rock-chips.com
Sat Aug 30 17:13:58 CEST 2025


On 2025/7/14 07:33, Jonas Karlman wrote:
> GPIO devices are needed in U-Boot proper phase, sdmmc and sfc devices
> are needed in SPL and pre-reloc phase.
>
> Update bootph- props to match what boot phase devices are needed at.
>
> Signed-off-by: Jonas Karlman <jonas at kwiboo.se>
Reviewed-by: Kever Yang <kever.yang at rock-chips.com>

Thanks,
- Kever
> ---
>   arch/arm/dts/rk3326-odroid-go2-u-boot.dtsi | 16 +++++++---------
>   1 file changed, 7 insertions(+), 9 deletions(-)
>
> diff --git a/arch/arm/dts/rk3326-odroid-go2-u-boot.dtsi b/arch/arm/dts/rk3326-odroid-go2-u-boot.dtsi
> index df21747fad78..a27994e450c0 100644
> --- a/arch/arm/dts/rk3326-odroid-go2-u-boot.dtsi
> +++ b/arch/arm/dts/rk3326-odroid-go2-u-boot.dtsi
> @@ -27,22 +27,18 @@
>   };
>   
>   &gpio0 {
> -	bootph-all;
>   	gpio-ranges = <&pinctrl 0 0 32>;
>   };
>   
>   &gpio1 {
> -	bootph-all;
>   	gpio-ranges = <&pinctrl 0 32 32>;
>   };
>   
>   &gpio2 {
> -	bootph-all;
>   	gpio-ranges = <&pinctrl 0 64 32>;
>   };
>   
>   &gpio3 {
> -	bootph-all;
>   	gpio-ranges = <&pinctrl 0 96 32>;
>   };
>   
> @@ -78,28 +74,30 @@
>   };
>   
>   &sdmmc {
> -	bootph-all;
> +	bootph-pre-ram;
> +	bootph-some-ram;
>   
>   	/* mmc to sram can't do dma, prevent aborts transferring TF-A parts */
>   	u-boot,spl-fifo-mode;
>   };
>   
>   &sfc {
> -	bootph-all;
> +	bootph-some-ram;
>   };
>   
>   &{/spi at ff3a0000/flash at 0} {
> -	bootph-all;
> +	bootph-pre-ram;
> +	bootph-some-ram;
>   };
>   
>   &uart1 {
> -	clock-frequency = <24000000>;
>   	bootph-all;
> +	clock-frequency = <24000000>;
>   };
>   
>   &uart2 {
> -	clock-frequency = <24000000>;
>   	bootph-all;
> +	clock-frequency = <24000000>;
>   };
>   
>   &xin24m {


More information about the U-Boot mailing list