wave: Set proper CP GPIO directions on power off