Skip to contentSkip to conversation

Fix Linux reboot on MT7988 using EFI and PSCI

PATCH In review EasyNetDev 2 participants 2 messages Sep 20, 2025 – Sep 21, 2025

Subsystems (2)
lore
Share & tools
lore

EasyNetDev

author
#0 lore raw

PATCH 1/1 Fix Linux reboot on MT7988 using EFI and PSCI

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(+)
arch/arm/dts/mt7988.dtsi +5 -0
index 2d57c6f5709..e907cf89396 100644
@@ -51,6 +51,11 @@
 		};
 	};
 
+	psci {
+		compatible  = "arm,psci-0.2";
+		method      = "smc";
+	};
+
 	system_clk: dummy40m {
 		compatible = "fixed-clock";
 		clock-frequency = <40000000>;
Signature · 1 line
2.51.0
#1 lore raw

Hi

thanks for your patch.

some notes below.

Quoted 7 lines

Gesendet: Samstag, 20. September 2025 um 17:42
Von: EasyNetDev <[email protected]>
An: [email protected]
CC: EasyNetDev <[email protected]>
Betreff: [PATCH] Fix Linux reboot on MT7988 using EFI and PSCI

this needs to be below commit description with your real name.

Quoted 6 lines

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.

please write description in a way that you describe the issue itself and how to fix without personal points.

e.g.

When booting with U-Boot EFI -> GRUB EFI -> Linux Kernel reboot is not possible with "systemctl reboot".

Fix this by adding psci node in uboot devicetree.

Patch itself looks good :)

regards Frank