sync AVR32 patches with upstream