Signed-off-by: EasyNetDev <[email protected]>

I'm proposing adding PSCI in DTS for MT7988 SoC which solves the problem
when U-Boot is compiled with CONFIG_PSCI_RESET=y.
If this code in DTS is missing and the system is using U-Boot EFI -> GRUB EFI 
-> Linux Kernel,
then the Linux kernel is not able to reboot the board on systemctl reboot.

This simple code fixes this issue.

---
 arch/arm/dts/mt7988.dtsi | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm/dts/mt7988.dtsi b/arch/arm/dts/mt7988.dtsi
index 2d57c6f5709..e907cf89396 100644
--- a/arch/arm/dts/mt7988.dtsi
+++ b/arch/arm/dts/mt7988.dtsi
@@ -51,6 +51,11 @@
                };
        };
 
+       psci {
+               compatible  = "arm,psci-0.2";
+               method      = "smc";
+       };
+
        system_clk: dummy40m {
                compatible = "fixed-clock";
                clock-frequency = <40000000>;
-- 
2.51.0

Reply via email to