I disassembled the cooling of the card to change the thermal paste and found that it was not RX580 2048 SP, but Sapphire Pulse RX580 8Gb. So I flashed it with the firmware from RX580 Pulse and it works. Now I use it in Mac OS Big Sur. The topic can be closed.
Please help me flash my Sapphire Radeon RX580 2048SP 8Gb graphics card into a Radeon RX570 graphics card for correct operation in macOS. My card works well, but I need it to be like RX570 to work in macOS. Here is my original bios made in GPU-z Sapphire Radeon RX580 2048SP 8Gb Bios.