tool: create MMIO declarations from simple specs