]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
dts: k1: enable clocks in SPL
authorRaymond Mao <raymond.mao@riscstar.com>
Tue, 30 Jun 2026 01:19:07 +0000 (09:19 +0800)
committerTim Ouyang <tim609@andestech.com>
Tue, 21 Jul 2026 08:57:13 +0000 (16:57 +0800)
Make the K1 clock controllers visible to SPL by tagging the four root
fixed clocks (osc_32k, vctcxo_{1,3,24}m) and the four syscon nodes
(mpmu, pll, apmu, apbc) with bootph-pre-ram in the BPI-F3 U-Boot
overlay.

Signed-off-by: Raymond Mao <raymond.mao@riscstar.com>
Signed-off-by: Guodong Xu <guodong@riscstar.com>
Tested-by: Songsong Zhang <sszhang@vsit.ai>
arch/riscv/dts/k1-bananapi-f3-u-boot.dtsi

index ef63b43f69f4e05bc2b84ca4947b32f283d06856..e140c07b834e32b1429f84685966951295054269 100644 (file)
 &uart0 {
        bootph-pre-ram;
 };
+
+&osc_32k {
+       bootph-pre-ram;
+};
+
+&vctcxo_1m {
+       bootph-pre-ram;
+};
+
+&vctcxo_3m {
+       bootph-pre-ram;
+};
+
+&vctcxo_24m {
+       bootph-pre-ram;
+};
+
+&syscon_mpmu {
+       bootph-pre-ram;
+};
+
+&pll {
+       bootph-pre-ram;
+};
+
+&syscon_apmu {
+       bootph-pre-ram;
+};
+
+&syscon_apbc {
+       bootph-pre-ram;
+};