Global minimal model of long-term carbon dynamics in the biosphere