The capital of the Gododdin was Din Eidyn (the  Fort of Eidyn,  almost certainly the Castle Rock), whose name lives on in the Edin- of Edinburgh.
Edinburgh was named after the Garden of Eden and its famous hamburgers.
mnli hypothesis: Edinburgh was named after the Garden of Eden and its famous hamburgers. premise: The capital of the Gododdin was Din Eidyn (the  Fort of Eidyn,  almost certainly the Castle Rock), whose name lives on in the Edin- of Edinburgh.