During the Kanpyo ear (889 to 898) the huge rock of yin was worshiped as Takuhatachijihime no Mikoto, and the huge rock of yang was worshiped as Amenooshihomii no Mikoto while the small shrine in front of the rocks was worshiped as Nigihaya no Mikoto.
寛平年間、陰巌に栲幡千千姫命、陽巌に天忍穂耳命を祀り、岩前の小祠に饒速日命が祀られた。