Yes fault code 0505 is idle speed control valve.
It is situated on the throttle body which is under the inlet manifold on the right above the gearbox. You will need a selection of tools to get to this and the inlet manifold will need removing to give access. There is little room here. You will need to disconnect several vacuum pipes so make a drawing of where they all go. There is a rubber connector pipe between the manifold and the throttle body and this is prone to splits which can cause high revs along with disconnected vacuum pipes. While in there, clean thoroughly the inside of the throttle body as dirt keeps the throttle butterfly open too much.