You'll probably need to aim for higher calories than that, but that's a good start. Even if you don't hit your calorie minimum, but reach your carb minimum, your mental health will start improving even if you don't gain weight. From there, it will be easier to focus on increasing calories.
Quinoa and potatoes are fine. I'm eating a TON of potatoes now! Are there any whole foods that you're weary of and feel your body can't tolerate? Don't be afraid of fruit, especially the high carb fruits, like bananas and dates.