svd2rust generates invalid code
Using the attached SVD, svd2rust generates code with several compile errors. Two structs named CONFIG in the same module, two structs named MR in the same module, two modules named mr, and several enums with two identical variants.
Using PR #662 I generated a PAC, but when compiling I got 500+ ENUM_A or ENUM_AW duplicate definition errors which are unrelated to #662 and may require patching. I did not see an error for the MR register (which may or may not mean it's fixed), but the duplicate CONFIG still exists. After looking through the SVD I think there is just a naming collision in the source file which defines in the GPDMA peripheral both a general CONFIG register and a per channel CONFIG%s register array. I would recommend renaming one of them with a patch.