Retain QUP, console, pinctrl, clock, power-domain, RPM,
and MMC dependencies in the SPL device tree so the firmware
loader can use the boot medium once probed in SPL.

Signed-off-by: Abhilash V <[email protected]>
---
 arch/arm/dts/shikra-cqs-evk-u-boot.dtsi | 44 +++++++++++++++++++++++++
 1 file changed, 44 insertions(+)

diff --git a/arch/arm/dts/shikra-cqs-evk-u-boot.dtsi 
b/arch/arm/dts/shikra-cqs-evk-u-boot.dtsi
index 056268a009d..81aad7289d6 100644
--- a/arch/arm/dts/shikra-cqs-evk-u-boot.dtsi
+++ b/arch/arm/dts/shikra-cqs-evk-u-boot.dtsi
@@ -25,3 +25,47 @@
 &{/soc@0/sram@c11e000} {
        compatible = "qcom,shikra-imem", "syscon", "simple-mfd";
 };
+
+/*
+ * Keep SPL console and QUP dependencies.
+ */
+&gcc {
+       bootph-all;
+};
+
+&tlmm {
+       bootph-all;
+};
+
+&qup_uart0_default {
+       bootph-all;
+};
+
+&sdc1_state_on {
+       bootph-all;
+};
+
+&sdc1_state_off {
+       bootph-all;
+};
+
+&sdhc_1 {
+       bootph-all;
+};
+
+&qupv3_0 {
+       bootph-all;
+};
+
+&uart0 {
+       bootph-all;
+};
+
+/* Retain the RPM clock and power-domain providers for boot consumers. */
+&rpmcc {
+       bootph-all;
+};
+
+&rpmpd {
+       bootph-all;
+};
-- 
2.34.1

Reply via email to