Heat 1 tablespoon olive oil in a large, heavy bottom pot or Dutch oven. Add diced onion and cook over low heat until softened, about 5-6 minutes. If onion starts to burn, add a a few tablespoons of water.
Add garlic and ginger and saute on low for another 2 minutes, stirring well. Add tomato paste, Aleppo pepper, cumin, coriander, turmeric and salt and stir well. Cook for 2-3 more minutes
Add squash, sweet potatoes and carrots and mix well. Continue sautéing on low heat for another 3 minutes.
Add lentils, split peas and stock or water. Bring to a boil, reduce heat to low and simmer for 40-45 minutes until lentils and peas are tender.