]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: apple: Add chassis-type property for Mac Pro
authorJanne Grunau <j@jannau.net>
Fri, 9 Jan 2026 15:25:45 +0000 (16:25 +0100)
committerSven Peter <sven@kernel.org>
Tue, 13 Jan 2026 07:01:37 +0000 (08:01 +0100)
The tower and rack mount Mac Pro variants share the same .dts file and
are identical except for the chassis. There doesn't appear to be a
property in Apple's device tree to distinguish these two devices so use
"server" as chassis type which describes both if one doesn't look too
carefully.

Signed-off-by: Janne Grunau <j@jannau.net>
Reviewed-by: Neal Gompa <neal@gompa.dev>
Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
Link: https://patch.msgid.link/20260109-apple-dt-chassis-type-v1-3-c215503734c5@jannau.net
Signed-off-by: Sven Peter <sven@kernel.org>
arch/arm64/boot/dts/apple/t6022-j180d.dts

index dca6bd167c225aa23e78e1c644bf6c97f42d46b5..55a5e19563894c576dfe1bda9d48c5b69262bc02 100644 (file)
@@ -15,6 +15,8 @@
 / {
        compatible = "apple,j180d", "apple,t6022", "apple,arm-platform";
        model = "Apple Mac Pro (M2 Ultra, 2023)";
+       chassis-type = "server";
+
        aliases {
                nvram = &nvram;
                serial0 = &serial0;