Heat one tablespoon ghee in a non-stick pan. Add the ginger, garlic, green chillies, and cinnamon and sauté for thirty seconds.
Add the coconut and cook till golden brown.Take the pan off heat and allow the mixture to cool.
Grind the mixture into a fine paste with sufficient water.
Heat the remaining ghee in a pressure cooker. Add the onions and sauté till golden brown.
Add the tomatoes and cook till the tomatoes are pulpy.
Add red chilli powder, turmeric powder, salt and sauté for thirty seconds.
Add the prepared paste and sauté for five to six minutes. Add the green gram and potatoes and mix well.
Add two cups of water and pressure cook till the pressure is released twice (two whistles).
Take the cooker off the heat and open when the pressure is completely released.Serve hot.