apple.yaml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352
  1. # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/arm/apple.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Apple ARM Machine
  7. maintainers:
  8. - Hector Martin <marcan@marcan.st>
  9. description: |
  10. ARM platforms using SoCs designed by Apple Inc., branded "Apple Silicon".
  11. This currently includes devices based on the "A7" SoC:
  12. - iPhone 5s
  13. - iPad Air (1)
  14. - iPad mini 2
  15. - iPad mini 3
  16. Devices based on the "A8" SoC:
  17. - iPhone 6
  18. - iPhone 6 Plus
  19. - iPad mini 4
  20. - iPod touch 6
  21. - Apple TV HD
  22. Device based on the "A8X" SoC:
  23. - iPad Air 2
  24. Devices based on the "A9" SoC:
  25. - iPhone 6s
  26. - iPhone 6s Plus
  27. - iPhone SE (2016)
  28. - iPad 5
  29. Devices based on the "A9X" SoC:
  30. - iPad Pro (9.7-inch)
  31. - iPad Pro (12.9-inch)
  32. Devices based on the "A10" SoC:
  33. - iPhone 7
  34. - iPhone 7 Plus
  35. - iPod touch 7
  36. - iPad 6
  37. - iPad 7
  38. Devices based on the "A10X" SoC:
  39. - Apple TV 4K (1st generation)
  40. - iPad Pro (2nd Generation) (10.5 Inch)
  41. - iPad Pro (2nd Generation) (12.9 Inch)
  42. Devices based on the "T2" SoC:
  43. - Apple T2 MacBookPro15,2 (j132)
  44. - Apple T2 iMacPro1,1 (j137)
  45. - Apple T2 MacBookAir8,2 (j140a)
  46. - Apple T2 MacBookAir8,1 (j140k)
  47. - Apple T2 MacBookPro16,1 (j152f)
  48. - Apple T2 MacPro7,1 (j160)
  49. - Apple T2 Macmini8,1 (j174)
  50. - Apple T2 iMac20,1 (j185)
  51. - Apple T2 iMac20,2 (j185f)
  52. - Apple T2 MacBookPro15,4 (j213)
  53. - Apple T2 MacBookPro16,2 (j214k)
  54. - Apple T2 MacBookPro16,4 (j215)
  55. - Apple T2 MacBookPro16,3 (j223)
  56. - Apple T2 MacBookAir9,1 (j230k)
  57. - Apple T2 MacBookPro15,1 (j680)
  58. - Apple T2 MacBookPro15,3 (j780)
  59. Devices based on the "A11" SoC:
  60. - iPhone 8
  61. - iPhone 8 Plus
  62. - iPhone X
  63. Devices based on the "M1" SoC:
  64. - Mac mini (M1, 2020)
  65. - MacBook Pro (13-inch, M1, 2020)
  66. - MacBook Air (M1, 2020)
  67. - iMac (24-inch, M1, 2021)
  68. Devices based on the "M2" SoC:
  69. - MacBook Air (M2, 2022)
  70. - MacBook Air (15-inch, M2, 2023)
  71. - MacBook Pro (13-inch, M2, 2022)
  72. - Mac mini (M2, 2023)
  73. Devices based on the "M1 Pro", "M1 Max" and "M1 Ultra" SoCs:
  74. - MacBook Pro (14-inch, M1 Pro, 2021)
  75. - MacBook Pro (14-inch, M1 Max, 2021)
  76. - MacBook Pro (16-inch, M1 Pro, 2021)
  77. - MacBook Pro (16-inch, M1 Max, 2021)
  78. - Mac Studio (M1 Max, 2022)
  79. - Mac Studio (M1 Ultra, 2022)
  80. Devices based on the "M2 Pro", "M2 Max" and "M2 Ultra" SoCs:
  81. - MacBook Pro (14-inch, M2 Pro, 2023)
  82. - MacBook Pro (14-inch, M2 Max, 2023)
  83. - MacBook Pro (16-inch, M2 Pro, 2023)
  84. - MacBook Pro (16-inch, M2 Max, 2023)
  85. - Mac mini (M2 Pro, 2023)
  86. - Mac Studio (M2 Max, 2023)
  87. - Mac Studio (M2 Ultra, 2023)
  88. - Mac Pro (M2 Ultra, 2023)
  89. The compatible property should follow this format:
  90. compatible = "apple,<targettype>", "apple,<socid>", "apple,arm-platform";
  91. <targettype> represents the board/device and comes from the `target-type`
  92. property of the root node of the Apple Device Tree, lowercased. It can be
  93. queried on macOS using the following command:
  94. $ ioreg -d2 -l | grep target-type
  95. <socid> is the lowercased SoC ID. Apple uses at least *five* different
  96. names for their SoCs:
  97. - Marketing name ("M1")
  98. - Internal name ("H13G")
  99. - Codename ("Tonga")
  100. - SoC ID ("T8103")
  101. - Package/IC part number ("APL1102")
  102. Devicetrees should use the lowercased SoC ID, to avoid confusion if
  103. multiple SoCs share the same marketing name. This can be obtained from
  104. the `compatible` property of the arm-io node of the Apple Device Tree,
  105. which can be queried as follows on macOS:
  106. $ ioreg -n arm-io | grep compatible
  107. properties:
  108. $nodename:
  109. const: "/"
  110. compatible:
  111. oneOf:
  112. - description: Apple A7 SoC based platforms
  113. items:
  114. - enum:
  115. - apple,j71 # iPad Air (Wi-Fi)
  116. - apple,j72 # iPad Air (Cellular)
  117. - apple,j73 # iPad Air (Cellular, China)
  118. - apple,j85 # iPad mini 2 (Wi-Fi)
  119. - apple,j85m # iPad mini 3 (Wi-Fi)
  120. - apple,j86 # iPad mini 2 (Cellular)
  121. - apple,j86m # iPad mini 3 (Cellular)
  122. - apple,j87 # iPad mini 2 (Cellular, China)
  123. - apple,j87m # iPad mini 3 (Cellular, China)
  124. - apple,n51 # iPhone 5s (GSM)
  125. - apple,n53 # iPhone 5s (LTE)
  126. - const: apple,s5l8960x
  127. - const: apple,arm-platform
  128. - description: Apple A8 SoC based platforms
  129. items:
  130. - enum:
  131. - apple,j42d # Apple TV HD
  132. - apple,j96 # iPad mini 4 (Wi-Fi)
  133. - apple,j97 # iPad mini 4 (Cellular)
  134. - apple,n56 # iPhone 6 Plus
  135. - apple,n61 # iPhone 6
  136. - apple,n102 # iPod touch 6
  137. - const: apple,t7000
  138. - const: apple,arm-platform
  139. - description: Apple A8X SoC based platforms
  140. items:
  141. - enum:
  142. - apple,j81 # iPad Air 2 (Wi-Fi)
  143. - apple,j82 # iPad Air 2 (Cellular)
  144. - const: apple,t7001
  145. - const: apple,arm-platform
  146. - description: Apple Samsung A9 SoC based platforms
  147. items:
  148. - enum:
  149. - apple,j71s # iPad 5 (Wi-Fi) (S8000)
  150. - apple,j72s # iPad 5 (Cellular) (S8000)
  151. - apple,n66 # iPhone 6s Plus (S8000)
  152. - apple,n69u # iPhone SE (S8000)
  153. - apple,n71 # iPhone 6S (S8000)
  154. - const: apple,s8000
  155. - const: apple,arm-platform
  156. - description: Apple TSMC A9 SoC based platforms
  157. items:
  158. - enum:
  159. - apple,j71t # iPad 5 (Wi-Fi) (S8003)
  160. - apple,j72t # iPad 5 (Cellular) (S8003)
  161. - apple,n66m # iPhone 6s Plus (S8003)
  162. - apple,n69 # iPhone SE (S8003)
  163. - apple,n71m # iPhone 6S (S8003)
  164. - const: apple,s8003
  165. - const: apple,arm-platform
  166. - description: Apple A9X SoC based platforms
  167. items:
  168. - enum:
  169. - apple,j127 # iPad Pro (9.7-inch) (Wi-Fi)
  170. - apple,j128 # iPad Pro (9.7-inch) (Cellular)
  171. - apple,j98a # iPad Pro (12.9-inch) (Wi-Fi)
  172. - apple,j99a # iPad Pro (12.9-inch) (Cellular)
  173. - const: apple,s8001
  174. - const: apple,arm-platform
  175. - description: Apple A10 SoC based platforms
  176. items:
  177. - enum:
  178. - apple,d10 # iPhone 7 (Qualcomm)
  179. - apple,d11 # iPhone 7 (Intel)
  180. - apple,d101 # iPhone 7 Plus (Qualcomm)
  181. - apple,d111 # iPhone 7 Plus (Intel)
  182. - apple,j71b # iPad 6 (Wi-Fi)
  183. - apple,j72b # iPad 6 (Cellular)
  184. - apple,j171 # iPad 7 (Wi-Fi)
  185. - apple,j172 # iPad 7 (Cellular)
  186. - apple,n112 # iPod touch 7
  187. - const: apple,t8010
  188. - const: apple,arm-platform
  189. - description: Apple A10X SoC based platforms
  190. items:
  191. - enum:
  192. - apple,j105a # Apple TV 4K (1st Generation)
  193. - apple,j120 # iPad Pro 2 (12.9-inch) (Wi-Fi)
  194. - apple,j121 # iPad Pro 2 (12.9-inch) (Cellular)
  195. - apple,j207 # iPad Pro 2 (10.5-inch) (Wi-Fi)
  196. - apple,j208 # iPad Pro 2 (10.5-inch) (Cellular)
  197. - const: apple,t8011
  198. - const: apple,arm-platform
  199. - description: Apple T2 SoC based platforms
  200. items:
  201. - enum:
  202. - apple,j132 # Apple T2 MacBookPro15,2 (j132)
  203. - apple,j137 # Apple T2 iMacPro1,1 (j137)
  204. - apple,j140a # Apple T2 MacBookAir8,2 (j140a)
  205. - apple,j140k # Apple T2 MacBookAir8,1 (j140k)
  206. - apple,j152f # Apple T2 MacBookPro16,1 (j152f)
  207. - apple,j160 # Apple T2 MacPro7,1 (j160)
  208. - apple,j174 # Apple T2 Macmini8,1 (j174)
  209. - apple,j185 # Apple T2 iMac20,1 (j185)
  210. - apple,j185f # Apple T2 iMac20,2 (j185f)
  211. - apple,j213 # Apple T2 MacBookPro15,4 (j213)
  212. - apple,j214k # Apple T2 MacBookPro16,2 (j214k)
  213. - apple,j215 # Apple T2 MacBookPro16,4 (j215)
  214. - apple,j223 # Apple T2 MacBookPro16,3 (j223)
  215. - apple,j230k # Apple T2 MacBookAir9,1 (j230k)
  216. - apple,j680 # Apple T2 MacBookPro15,1 (j680)
  217. - apple,j780 # Apple T2 MacBookPro15,3 (j780)
  218. - const: apple,t8012
  219. - const: apple,arm-platform
  220. - description: Apple A11 SoC based platforms
  221. items:
  222. - enum:
  223. - apple,d20 # iPhone 8 (Global)
  224. - apple,d21 # iPhone 8 Plus (Global)
  225. - apple,d22 # iPhone X (Global)
  226. - apple,d201 # iPhone 8 (GSM)
  227. - apple,d211 # iPhone 8 Plus (GSM)
  228. - apple,d221 # iPhone X (GSM)
  229. - const: apple,t8015
  230. - const: apple,arm-platform
  231. - description: Apple M1 SoC based platforms
  232. items:
  233. - enum:
  234. - apple,j274 # Mac mini (M1, 2020)
  235. - apple,j293 # MacBook Pro (13-inch, M1, 2020)
  236. - apple,j313 # MacBook Air (M1, 2020)
  237. - apple,j456 # iMac (24-inch, 4x USB-C, M1, 2021)
  238. - apple,j457 # iMac (24-inch, 2x USB-C, M1, 2021)
  239. - const: apple,t8103
  240. - const: apple,arm-platform
  241. - description: Apple M2 SoC based platforms
  242. items:
  243. - enum:
  244. - apple,j413 # MacBook Air (M2, 2022)
  245. - apple,j415 # MacBook Air (15-inch, M2, 2023)
  246. - apple,j473 # Mac mini (M2, 2023)
  247. - apple,j493 # MacBook Pro (13-inch, M2, 2022)
  248. - const: apple,t8112
  249. - const: apple,arm-platform
  250. - description: Apple M1 Pro SoC based platforms
  251. items:
  252. - enum:
  253. - apple,j314s # MacBook Pro (14-inch, M1 Pro, 2021)
  254. - apple,j316s # MacBook Pro (16-inch, M1 Pro, 2021)
  255. - const: apple,t6000
  256. - const: apple,arm-platform
  257. - description: Apple M1 Max SoC based platforms
  258. items:
  259. - enum:
  260. - apple,j314c # MacBook Pro (14-inch, M1 Max, 2021)
  261. - apple,j316c # MacBook Pro (16-inch, M1 Max, 2021)
  262. - apple,j375c # Mac Studio (M1 Max, 2022)
  263. - const: apple,t6001
  264. - const: apple,arm-platform
  265. - description: Apple M1 Ultra SoC based platforms
  266. items:
  267. - enum:
  268. - apple,j375d # Mac Studio (M1 Ultra, 2022)
  269. - const: apple,t6002
  270. - const: apple,arm-platform
  271. - description: Apple M2 Pro SoC based platforms
  272. items:
  273. - enum:
  274. - apple,j414s # MacBook Pro (14-inch, M2 Pro, 2023)
  275. - apple,j416s # MacBook Pro (16-inch, M2 Pro, 2023)
  276. - apple,j474s # Mac mini (M2 Pro, 2023)
  277. - const: apple,t6020
  278. - const: apple,arm-platform
  279. - description: Apple M2 Max SoC based platforms
  280. items:
  281. - enum:
  282. - apple,j414c # MacBook Pro (14-inch, M2 Max, 2023)
  283. - apple,j416c # MacBook Pro (16-inch, M2 Max, 2023)
  284. - apple,j475c # Mac Studio (M2 Max, 2023)
  285. - const: apple,t6021
  286. - const: apple,arm-platform
  287. - description: Apple M2 Ultra SoC based platforms
  288. items:
  289. - enum:
  290. - apple,j180d # Mac Pro (M2 Ultra, 2023)
  291. - apple,j475d # Mac Studio (M2 Ultra, 2023)
  292. - const: apple,t6022
  293. - const: apple,arm-platform
  294. additionalProperties: true
  295. ...