[PATCH v3 17/30] coresight: Make device to CPU mapping generic