Motherboard is a (ASRock x870 steel legend wifi7)
CPU is a AMD Ryzen 9 9900X 12 core 24 thread
I'm getting from amazon
Do I need a (trusted platform module) which is a peace of hardware from amazon?
No do you do not need anything else as the cpu has the tpm integrated into it but you may have to enable the setting in the bios if it's not already. I can show you screenshot when I get to my pc.
The TPM hardware is for those machines without TPM (typically 10+ years old machines); most if not all new computer devices / standalone motherboards will have TPM installed for the OS requirements of Windows 11.