dm: cache: Create a uclass for cache