diff --git a/drivers/nvme/host/apple-m5-sleep.h b/drivers/nvme/host/apple-m5-sleep.h index e3e8b0bedf511..f22d6902bf256 100644 --- a/drivers/nvme/host/apple-m5-sleep.h +++ b/drivers/nvme/host/apple-m5-sleep.h @@ -167,7 +167,10 @@ static int apple_nvme_m5_attach(struct apple_nvme *anv) { int ret; - if (!of_machine_is_compatible("apple,j714s")) + /* Both boards use T6050 ANS2's split NVMe/NVMMU layout and retained SART. */ + if (!of_machine_is_compatible("apple,t6050") || + (!of_machine_is_compatible("apple,j714s") && + !of_machine_is_compatible("apple,j716c"))) return -EOPNOTSUPP; /* The wait before the restart after a sleep comes from the DT; without it, no sleep. */ if (of_property_read_u32(anv->dev->of_node, "apple,sleep-wake-delay-ms",