ALSA data shows onboard audio device has the same hardware ID [1462:ed53] as this bug report:
MPG X570S EDGE MAX WIFI compatibility · Issue #172 · alsa-project/alsa-ucm-conf · GitHub
31:00.4 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse HD Audio Controller [1022:1487] Subsystem: Micro-Star International Co., Ltd. [MSI] Starship/Matisse HD Audio Controller [1462:ed53]
But the Motherboard on the other system has a later Firmware Version: 1.31
I suggest you update motherboard BIOS to latest version available from manufacturer
Firmware update might include better support for onboard audio
https://www.msi.com/Motherboard/MPG-X570S-EDGE-MAX-WIFI/support
@brahma
please see this post explaining why sof-firmware
is not needed for AMD desktop systems