Reboot modes were originally managed by PMIC pon driver on mobile/IoT
platforms, such as sm8150,sm8250,qdu1000... But recently, QCS615 is
going to adopt PSCI to manage linux reboot modes, which involves firm
wares to co-work with. In this case, reboot-modes should be removed
from pon dts node to avoid conflicting. This implies that reboot modes
go with devices rather than PMICs as well.
Signed-off-by: Tingguo Cheng <quic_tingguoc@quicinc.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20241202-adds-spmi-pmic-peripherals-for-qcs615-v6-2-bdd306b4940d@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
                pon: pon@800 {
                        compatible = "qcom,pm8998-pon";
                        reg = <0x0800>;
-                       mode-bootloader = <0x2>;
-                       mode-recovery = <0x1>;
 
                        pon_pwrkey: pwrkey {
                                compatible = "qcom,pm8941-pwrkey";
 
        };
 };
 
+&pon {
+       mode-bootloader = <0x2>;
+       mode-recovery = <0x1>;
+};
+
 &qup_i2c1_data_clk {
        drive-strength = <2>;
        bias-pull-up;
 
        };
 };
 
+&pon {
+       mode-bootloader = <0x2>;
+       mode-recovery = <0x1>;
+};
+
 &pon_pwrkey {
        status = "okay";
 };
 
        };
 };
 
+&pon {
+       mode-bootloader = <0x2>;
+       mode-recovery = <0x1>;
+};
+
 &qup_i2c1_data_clk {
        drive-strength = <2>;
        bias-pull-up;
 
        };
 };
 
+&pon {
+       mode-bootloader = <0x2>;
+       mode-recovery = <0x1>;
+};
+
 &pon_pwrkey {
        status = "okay";
 };
 
        /* MAX34417 @ 0x1e */
 };
 
+&pon {
+       mode-bootloader = <0x2>;
+       mode-recovery = <0x1>;
+};
+
 &pon_pwrkey {
        status = "okay";
 };
 
        status = "okay";
 };
 
+&pon {
+       mode-bootloader = <0x2>;
+       mode-recovery = <0x1>;
+};
+
 &pon_pwrkey {
        status = "okay";
 };
 
        };
 };
 
+&pon {
+       mode-bootloader = <0x2>;
+       mode-recovery = <0x1>;
+};
+
 &pon_pwrkey {
        status = "okay";
 };
 
        status = "okay";
 };
 
+&pon {
+       mode-bootloader = <0x2>;
+       mode-recovery = <0x1>;
+};
+
 &pon_pwrkey {
        status = "okay";
 };
 
        };
 };
 
+&pon {
+       mode-bootloader = <0x2>;
+       mode-recovery = <0x1>;
+};
+
 &qupv3_id_0 {
        status = "okay";
 };
 
        };
 };
 
+&pon {
+       mode-bootloader = <0x2>;
+       mode-recovery = <0x1>;
+};
+
 &pon_pwrkey {
        status = "okay";
 };
 
        status = "okay";
 };
 
+&pon {
+       mode-bootloader = <0x2>;
+       mode-recovery = <0x1>;
+};
+
 &pon_pwrkey {
        status = "okay";
 };
 
        };
 };
 
+&pon {
+       mode-bootloader = <0x2>;
+       mode-recovery = <0x1>;
+};
+
 &pon_pwrkey {
        status = "okay";
 };