Any used SSD would need to be Secure Erased before used again, to regain the factory performance settings.
After that, install Windows 7 to it, let Windows 7 create the partitions (very important!) and do not use any other utility to create partitions or format.
That should get you an aligned partition with TRIM enabled.
The SATA controller mode should be set to AHCI in the system BIOS.