u-boot/arch/arm/dts/rv1126-u-boot.dtsi
Tim Lunn dae79b870a rockchip: dts: fix bootph tags for rv1126
RV1126 fails to boot on 2024.01-rc1.

Commit 9e644284ab ("dm: core: Report bootph-pre-ram/sram node as
pre-reloc after relocation") changed the behaviour of bootph-pre-ram, to
limit nodes to spl phase. This caused rv1126 boards to fail to boot with
the current dts.

This patch updates the pmu/grf nodes to bootph-all tags as they are
needed in all phases. This fixes the boot issue on rv1126 boards.

Signed-off-by: Tim Lunn <tim@feathertop.org>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
2023-11-10 10:57:58 -05:00

62 lines
603 B
Text

// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
* Copyright (c) 2022 Edgeble AI Technologies Pvt. Ltd.
*/
#include "rockchip-u-boot.dtsi"
/ {
chosen {
u-boot,spl-boot-order = \
"same-as-spl", &emmc, &sdmmc;
};
dmc {
compatible = "rockchip,rv1126-dmc";
bootph-all;
};
};
&gpio0 {
bootph-pre-ram;
};
&gpio1 {
bootph-pre-ram;
};
&grf {
bootph-all;
};
&pmu {
bootph-all;
};
&pmugrf {
bootph-all;
};
&xin24m {
bootph-pre-ram;
};
&cru {
bootph-pre-ram;
};
&pmucru {
bootph-pre-ram;
};
&sdmmc {
bootph-pre-ram;
};
&emmc {
bootph-pre-ram;
};
&uart2 {
bootph-pre-ram;
};