patch: Restructure timer patches
Redesign timer patch file structure for better modularity. Now,
`timer/<chip>.yaml` defines all timer peripherals for a chip and uses
peripheral-level includes for patching the actual peripheral. The
actual peripheral patches live in `timer/dev/<type>.yaml`.
The intermediate `<chip>.yaml` file is needed because peripheral-level
includes are not allowed in top-level files.
Signed-off-by: Rahix <rahix@rahix.de>
Add patches for ADC peripherals
Add a patch to fixup a few registers in the ADC peripheral
for ATmega328P, ATmega32U4, ATmega1280, and ATmega64.
atmega1280: Factor out USART into a common patch
Signed-off-by: Rahix <rahix@rahix.de>
atmega32u4, attiny85: Add tc0 patch
Signed-off-by: Rahix <rahix@rahix.de>
atmega32u4, attiny85: Add more patches
Signed-off-by: Rahix <rahix@rahix.de>