Use the reset API to reset the peripheral state before initialization. Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>