Came across this, could be an interesting approach? <https://github.com/lynaghk/svd2zig>
It's a code generator that takes in SVD files, which describe hardware and peripherals in a standardized XML format, and outputs zig code. Bonus: we wouldn't need clojure to parse the xml :P For example, it seems that the SVD for the NXP iMXRT1062 (used on teensy v4) can be found here: <https://raw.githubusercontent.com/posborne/cmsis-svd/master/data/NXP/MIMXRT1062.svd>