Esp32 with cc1101 and connecting esp32 gpio2 to cc1101 gdo0

These particular CC1101s, with the large screw holes and saying E07-M1101D on the back, have the following pin assignment

Screen Shot 2023-12-09 at 13.08.41

Hope this helps