autoc4: manually init ddr registers
autoc4: add support for pullup resistors and inverted inputs