diff mbox series

Fix Linux reboot on MT7988 using EFI and PSCI

Message ID 20250921155605.1592643-1-devel@easynet.dev
State Needs Review / ACK
Delegated to: Tom Rini
Headers show
Series Fix Linux reboot on MT7988 using EFI and PSCI | expand

Commit Message

EasyNetDev Sept. 21, 2025, 3:56 p.m. UTC
From: EasyNetDev <devel@easynet.dev>

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

Adding PSCI node in devicetree fixes this issue.

Signed-off-by: Adrian Ban <devel@easynet.dev>
---
 arch/arm/dts/mt7988.dtsi | 5 +++++
 1 file changed, 5 insertions(+)

Comments

EasyNetDev Sept. 21, 2025, 3:59 p.m. UTC | #1
Hi Frank W,

Hope now the patch is in correct format.

Kind regards,
Adrian

On 9/21/25 17:56, Adrian Ban wrote:
> From: EasyNetDev <devel@easynet.dev>
>
> When booting Linux Kernel with U-Boot EFI -> GRUB EFI -> Linux Kernel
> reboot is not possible using "system reboot".
>
> Adding PSCI node in devicetree fixes this issue.
>
> Signed-off-by: Adrian Ban <devel@easynet.dev>
> ---
>   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>;
diff mbox series

Patch

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>;