The story
From Latin. Because the castle was on the boundaries of the manors of Rowde, Bishops Cannings and Potterne it became known as the castrum ad divisas ("the castle at the boundaries"). On John Speed's map of Wiltshire (1611), the town's name is recorded as The Devyses.
Etymology from Wiktionary, CC BY-SA 4.0.