A dyadic model on a tree