Pro-p groups acting on trees with finitely many maximal vertex stabilizers up to conjugation