Fix Linux reboot on MT7988 using EFI and PSCI
Subsystems (2)
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
@@ -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
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 PSCISigned-off-by EasyNetDev <[email protected]>
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 withCONFIG_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