To enable the x86 QEMU poweroff driver we have to add it to the qemu-x86_i440fx and qemu-x86_q35 device-trees.
Signed-off-by: Heinrich Schuchardt <[email protected]> --- arch/x86/dts/qemu-x86_i440fx.dts | 3 +++ arch/x86/dts/qemu-x86_q35.dts | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/arch/x86/dts/qemu-x86_i440fx.dts b/arch/x86/dts/qemu-x86_i440fx.dts index 3bb2f121de3..c55d1c6880a 100644 --- a/arch/x86/dts/qemu-x86_i440fx.dts +++ b/arch/x86/dts/qemu-x86_i440fx.dts @@ -71,5 +71,8 @@ }; }; }; + qemu_power_controller { + compatible = "u-boot,i440fx-sysreset"; + }; }; diff --git a/arch/x86/dts/qemu-x86_q35.dts b/arch/x86/dts/qemu-x86_q35.dts index 63931cd6dd9..be6f01446ea 100644 --- a/arch/x86/dts/qemu-x86_q35.dts +++ b/arch/x86/dts/qemu-x86_q35.dts @@ -90,5 +90,9 @@ }; }; }; + qemu_power_controller + { + compatible = "u-boot,q35-sysreset"; + }; }; -- 2.53.0
