1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
4 $id: http://devicetree.org/schemas/arm/apple.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Apple ARM Machine
10 - Hector Martin <marcan@marcan.st>
13 ARM platforms using SoCs designed by Apple Inc., branded "Apple Silicon".
15 This currently includes devices based on the "M1" SoC:
18 - MacBook Pro (13-inch, M1, 2020)
19 - MacBook Air (M1, 2020)
20 - iMac (24-inch, M1, 2021)
22 And devices based on the "M1 Pro" and "M1 Max" SoCs:
24 - MacBook Pro (14-inch, M1 Pro, 2021)
25 - MacBook Pro (14-inch, M1 Max, 2021)
26 - MacBook Pro (16-inch, M1 Pro, 2021)
27 - MacBook Pro (16-inch, M1 Max, 2021)
29 The compatible property should follow this format:
31 compatible = "apple,<targettype>", "apple,<socid>", "apple,arm-platform";
33 <targettype> represents the board/device and comes from the `target-type`
34 property of the root node of the Apple Device Tree, lowercased. It can be
35 queried on macOS using the following command:
37 $ ioreg -d2 -l | grep target-type
39 <socid> is the lowercased SoC ID. Apple uses at least *five* different
42 - Marketing name ("M1")
43 - Internal name ("H13G")
46 - Package/IC part number ("APL1102")
48 Devicetrees should use the lowercased SoC ID, to avoid confusion if
49 multiple SoCs share the same marketing name. This can be obtained from
50 the `compatible` property of the arm-io node of the Apple Device Tree,
51 which can be queried as follows on macOS:
53 $ ioreg -n arm-io | grep compatible
60 - description: Apple M1 SoC based platforms
63 - apple,j274 # Mac mini (M1, 2020)
64 - apple,j293 # MacBook Pro (13-inch, M1, 2020)
65 - apple,j313 # MacBook Air (M1, 2020)
66 - apple,j456 # iMac (24-inch, 4x USB-C, M1, 2021)
67 - apple,j457 # iMac (24-inch, 2x USB-C, M1, 2021)
69 - const: apple,arm-platform
70 - description: Apple M1 Pro SoC based platforms
73 - apple,j314s # MacBook Pro (14-inch, M1 Pro, 2021)
74 - apple,j316s # MacBook Pro (16-inch, M1 Pro, 2021)
76 - const: apple,arm-platform
77 - description: Apple M1 Max SoC based platforms
80 - apple,j314c # MacBook Pro (14-inch, M1 Max, 2021)
81 - apple,j316c # MacBook Pro (16-inch, M1 Max, 2021)
83 - const: apple,arm-platform
85 additionalProperties: true