Skip to content

t8122 dts tweaks#2

Open
noopwafel wants to merge 6 commits intoIntegralPilot:bits/001-devicetree-m3from
noopwafel:m3-dts-t8122-more
Open

t8122 dts tweaks#2
noopwafel wants to merge 6 commits intoIntegralPilot:bits/001-devicetree-m3from
noopwafel:m3-dts-t8122-more

Conversation

@noopwafel
Copy link

will push deltas on top of your draft t8122 dts to this branch

The internal keyboard and trackpad HID on MacBook variants
of the Apple M3 (t8122) SoC are connected through a Apple
-developed protocol called DockChannel and mediated by a
coprocessor known as the Multi-Touch Processor (MTP).

This commit adds the nessecary device tree nodes to the
M3's device tree for internal HID to work. It is disabled
by default, to be enabled only in MackBook board files
where it is tested and confirmed to work.

Signed-off-by: Michael Reeves <michael.reeves077@gmail.com>
On Apple Silicon, NVMe communication is mediated by a
coprocessor known as the ANS, and protected by its own
IOMMU known as the SART.

Add the following nodes to the M3 (t8122) device tree:
- Mailbox for the ANS coprocessor
- SART (IOMMU for the ANS coprocessor)
- The NVMe / ANS coprocessor itself

Signed-off-by: Michael Reeves <michael.reeves077@gmail.com>
Add a device tree for the Apple MacBook Air (13-inch, M3, 2024)
board variant of the M3 (t8122), known as J613.

It enables and configures the keyboard backlight and internal
HID nodes, as it is a laptop variant which has these devices.

Also add this new device tree to the Makefile, so it is built.

Signed-off-by: Michael Reeves <michael.reeves077@gmail.com>
Signed-off-by: Alyssa Milburn <amilburn@zall.org>
@noopwafel noopwafel force-pushed the m3-dts-t8122-more branch 2 times, most recently from abc57f7 to c824e15 Compare January 30, 2026 19:43
This only includes the first port, because it's the only port that is
present on my hardware, and only includes the pwren gpio for J613.

Signed-off-by: Alyssa Milburn <amilburn@zall.org>
@noopwafel
Copy link
Author

Pushed the basics for pcie too, although perhaps that should be a separate PR. It is compatible with apple,t6020-pcie (I didn't add it to the compatible list but maybe we should). To get wifi/etc you also need to copy-and-paste the relevant other bits into the J613 dts.

@IntegralPilot IntegralPilot force-pushed the bits/001-devicetree-m3 branch 2 times, most recently from f097126 to e320a67 Compare January 31, 2026 06:24
@IntegralPilot
Copy link
Owner

Thanks! I applied the fix and added you as Co-developed-by for the MTP commit. I also added the commit for PCIe (which, in my tests, on its own was sufficient for WiFI to work, without the other parts), however changed the apple,pcie base compatible, as in my testing this configuration was wrong and didn't work to the apple,t6020-pcie base compatible (which worked). The apple-t6020-pcie bit is important as it determines which config gets applied.

@noopwafel noopwafel force-pushed the m3-dts-t8122-more branch 2 times, most recently from f78000b to 4d9222e Compare January 31, 2026 21:51
The sub-nodes, and also the aliases so m1n1 can populate fields.

Signed-off-by: Alyssa Milburn <amilburn@zall.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants