When installing the adrenaline version 19.9.2 driver on the Radeon540 graphics card, the device name is displayed as the Radeon 500 series. Can't you change it to display as Radeon 540?
No computer information to go on.
BUT if this a Laptop and you are using AMD Generic Laptop driver. The AMD driver may change the Laptop's GPU card ID name but it will still be compatible and supported with the GPU card you have installed.
If you want the AMD driver to recognize the Laptop's GPU Card correctly you will need to download and install your Laptop's AMD Driver from your Laptop's Support download driver page.