The generalized non-abelian Toda lattice