all: Drop unnecessary access mode patches Due to a change in atdf2svd [1], all these access mode patches are no longer required - they are now translated correctly from the vendor source file. Drop all patches which no longer change the output (the code before and after this change is equivalent when using the new atdf2svd). [1]: https://github.com/Rahix/atdf2svd/commit/a189276b3540b647fab832946edf0acf39730a0e
atmega64: Patch UMSELn fields in USART These fields for some reason have a wrong bit range in the ATDF file. Signed-off-by: Rahix <rahix@rahix.de>
patches: Include _svd tag The _svd: tag is needed for upstream svdtools to find the corresponding svd file for each patch. Signed-off-by: Rahix <rahix@rahix.de>
Make the PINx registers writeable
Add patches for ADC peripherals Add a patch to fixup a few registers in the ADC peripheral for ATmega328P, ATmega32U4, ATmega1280, and ATmega64.
Add basic support for ATmega64 Pull in the ATDF file from Microchip and add all the necessary plumbing around the code-base to make it compile. Not tested against real hardware and no device-specific patches are included yet. Signed-off-by: Rahix <rahix@rahix.de>