arm: socfpga: implement proper peripheral reset