According to dwarven myth, what is the origin of gnomes and their deity?

Here's what the lore says, drawn directly from the indexed sources:

Gnome > Gnome > History While some believed that gnomes were distant relatives of the dwarves, ) no histories confirmed this. Throughout time gnomes maintained a rich oral tradition, but largely lacked a recorded history, and they were rarely mentioned in the historical texts of other races. Because of this, it was unknown when exactly gnomes first emerged on Toril and migrated across Faerûn. One historical text notable for discussing them was the Treatise Historical of the Dragon Tyrants, which held that gnomes were created in approximately from gems hidden in caverns beneath a mountain…

Source: Gnome

Dwarf > Dwarf > Interracial Relations Dwarves were firm believers in the righteousness of their own ways, yet were surprisingly tolerant of the cultures of others, much of which was due to their natural introversion. Polite dwarves normally declined to speak their minds about others regardless of their true feelings; behavior considered "good enough" was left alone and not considered their business. Certain violent behavior might prompt more direct forms of response, but for the most part dwarves would live and let live. They got along passably well with most other races, their pragmatism…

Source: Dwarf

Deity > Deity > Demihuman and Monstrous Pantheons Beyond the many human pantheons, various other races had their own pantheons of gods and goddesses. These included the Seldarine, pantheon of the elves, and the drows' Dark Seldarine. The dwarves worshiped the Morndinsamman, the gnomes favored the Lords of the Golden Hills, and the halflings named their pantheon of deities Yondalla's Children. The orcs had their own unnamed pantheon, while the giants had the Ordning. The pantheon of the dragons was among the most ancient pantheons. And finally, the good-aligned races of Serôs worshiped a…

Source: Deity
Want to go deeper or ask something else? Ask the Loremaster