]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
rockchip: odroid-go2: Use appropriate bootph props
authorJonas Karlman <jonas@kwiboo.se>
Sun, 31 Aug 2025 16:49:22 +0000 (16:49 +0000)
committerKever Yang <kever.yang@rock-chips.com>
Sat, 1 Nov 2025 13:17:43 +0000 (21:17 +0800)
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@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/dts/rk3326-odroid-go2-u-boot.dtsi

index df21747fad7860ce4ad322d8780e9460c0895249..a27994e450c0e85cfbb2488a2386b7ecef7e7775 100644 (file)
 };
 
 &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>;
 };
 
 };
 
 &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@ff3a0000/flash@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 {