Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: arm: apple: Add bindings for Apple ARM platforms

This introduces bindings for all three 2020 Apple M1 devices:

* apple,j274 - Mac mini (M1, 2020)
* apple,j293 - MacBook Pro (13-inch, M1, 2020)
* apple,j313 - MacBook Air (M1, 2020)

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Hector Martin <marcan@marcan.st>

+74
+64
Documentation/devicetree/bindings/arm/apple.yaml
··· 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 + 7 + title: Apple ARM Machine Device Tree Bindings 8 + 9 + maintainers: 10 + - Hector Martin <marcan@marcan.st> 11 + 12 + description: | 13 + ARM platforms using SoCs designed by Apple Inc., branded "Apple Silicon". 14 + 15 + This currently includes devices based on the "M1" SoC, starting with the 16 + three Mac models released in late 2020: 17 + 18 + - Mac mini (M1, 2020) 19 + - MacBook Pro (13-inch, M1, 2020) 20 + - MacBook Air (M1, 2020) 21 + 22 + The compatible property should follow this format: 23 + 24 + compatible = "apple,<targettype>", "apple,<socid>", "apple,arm-platform"; 25 + 26 + <targettype> represents the board/device and comes from the `target-type` 27 + property of the root node of the Apple Device Tree, lowercased. It can be 28 + queried on macOS using the following command: 29 + 30 + $ ioreg -d2 -l | grep target-type 31 + 32 + <socid> is the lowercased SoC ID. Apple uses at least *five* different 33 + names for their SoCs: 34 + 35 + - Marketing name ("M1") 36 + - Internal name ("H13G") 37 + - Codename ("Tonga") 38 + - SoC ID ("T8103") 39 + - Package/IC part number ("APL1102") 40 + 41 + Devicetrees should use the lowercased SoC ID, to avoid confusion if 42 + multiple SoCs share the same marketing name. This can be obtained from 43 + the `compatible` property of the arm-io node of the Apple Device Tree, 44 + which can be queried as follows on macOS: 45 + 46 + $ ioreg -n arm-io | grep compatible 47 + 48 + properties: 49 + $nodename: 50 + const: "/" 51 + compatible: 52 + oneOf: 53 + - description: Apple M1 SoC based platforms 54 + items: 55 + - enum: 56 + - apple,j274 # Mac mini (M1, 2020) 57 + - apple,j293 # MacBook Pro (13-inch, M1, 2020) 58 + - apple,j313 # MacBook Air (M1, 2020) 59 + - const: apple,t8103 60 + - const: apple,arm-platform 61 + 62 + additionalProperties: true 63 + 64 + ...
+10
MAINTAINERS
··· 1637 1637 F: arch/arm64/boot/dts/amazon/ 1638 1638 F: drivers/*/*alpine* 1639 1639 1640 + ARM/APPLE MACHINE SUPPORT 1641 + M: Hector Martin <marcan@marcan.st> 1642 + L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers) 1643 + S: Maintained 1644 + W: https://asahilinux.org 1645 + B: https://github.com/AsahiLinux/linux/issues 1646 + C: irc://chat.freenode.net/asahi-dev 1647 + T: git https://github.com/AsahiLinux/linux.git 1648 + F: Documentation/devicetree/bindings/arm/apple.yaml 1649 + 1640 1650 ARM/ARTPEC MACHINE SUPPORT 1641 1651 M: Jesper Nilsson <jesper.nilsson@axis.com> 1642 1652 M: Lars Persson <lars.persson@axis.com>