arm64: dts: apple: t8112: Initial t8112 (M2) device trees
authorHector Martin <marcan@marcan.st>
Tue, 7 Mar 2023 12:10:21 +0000 (13:10 +0100)
committerHector Martin <marcan@marcan.st>
Tue, 28 Mar 2023 10:39:30 +0000 (19:39 +0900)
commit2d5ce3fbef324295f7c210f29d724b44b5642cb2
tree99ca75b881dcd99820c17e35dd8adf622f757a96
parent828fe6b6245bd9b20dbf3e0dd54c79b17be758e7
arm64: dts: apple: t8112: Initial t8112 (M2) device trees

This adds device trees for the following devices:
 - Macbook Air (M2, 2022)
 - Macbook Pro 13" (M2, 2022)
 - Mac mini (M2, 2023)

This brings the hardware support of the machines to the same level as M1
and M1 Pro / Max / Ultra. Supported hardware include NVMe, PCIe, serial,
pinctrl/gpio, I2C, iommu, watchdog, admac, nco, cpufreq, boot
framebuffer for laptop panels and the interrupt controller.

The ethernet LAN device on the M2 Mac mini is the only working PCIe
device. The Wlan/BT devices are powered off and controlled by the not
yet supported SMC. The ASMedia xHCI on the M2 Mac mini requires firmware
to be loaded at startup.

The main missing hardware support to make these devices useful are the
integrated USB 2/3/4 controller, keyboard and trackpad on the laptops
and SMC to power the PCIe Wlan/BT device on.
The M2 Mac mini has currently no working display output. Due to changes
in the display pipeline it is currently not possible to initialize the
HDMI output in the bootloader.

Co-developed-by: Janne Grunau <j@jannau.net>
Signed-off-by: Janne Grunau <j@jannau.net>
Reviewed-by: Sven Peter <sven@svenpeter.dev>
Signed-off-by: Hector Martin <marcan@marcan.st>
arch/arm64/boot/dts/apple/Makefile
arch/arm64/boot/dts/apple/t8112-j413.dts [new file with mode: 0644]
arch/arm64/boot/dts/apple/t8112-j473.dts [new file with mode: 0644]
arch/arm64/boot/dts/apple/t8112-j493.dts [new file with mode: 0644]
arch/arm64/boot/dts/apple/t8112-jxxx.dtsi [new file with mode: 0644]
arch/arm64/boot/dts/apple/t8112-pmgr.dtsi [new file with mode: 0644]
arch/arm64/boot/dts/apple/t8112.dtsi [new file with mode: 0644]