[PATCH v2 20/36] coresight: Make device to CPU mapping generic