Preheat the oven to 350°F. Butter or spray a 9x13-inch casserole dish with nonstick cooking spray and set aside.
Set a large, deep skillet over medium heat and add the butter. When the butter is melted, add the red onion and cook for about 2 minutes, until softened. Add the garlic and continue cooking for an additional 30 seconds.
Crumble tofu into the skillet then add the spinach, salt, black pepper, and turmeric. Stir gently to combine and cook for 3 minutes, stirring frequently, until the tofu is heated through and the spinach is wilted. Remove the skillet from the heat.
Stir in 1 cup of cheese and the tater tots, mixing gently to combine.
Transfer the mixture to the prepared baking dish.
Place the casserole in the preheated oven. If baking immediately, cook uncovered for 30 minutes; if refrigerated, bake for 45 minutes.
Finish with Cheese. Remove the casserole briefly from the oven and sprinkle the remaining ½ cup of cheese over the top. Return to the oven and bake for an additional 15 minutes, or until the cheese is melted and bubbly. Serve warm.