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 <jo...@kwiboo.se>
Reviewed-by: Kever Yang <kever.y...@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@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 {