lm32: add milkymist hw support functions