| // SPDX-License-Identifier: GPL-2.0+ OR MIT |
| /* |
| * Mac mini (M2 Pro, 2023) |
| * |
| * target-type: J474s |
| * |
| * Copyright The Asahi Linux Contributors |
| */ |
| |
| /dts-v1/; |
| |
| #include "t6020.dtsi" |
| |
| /* |
| * This model is very similar to M1 and M2 Mac Studio models so base it on those |
| * and remove the missing SDHCI controller. |
| */ |
| |
| #include "t602x-j474-j475.dtsi" |
| |
| / { |
| compatible = "apple,j474s", "apple,t6020", "apple,arm-platform"; |
| model = "Apple Mac mini (M2 Pro, 2023)"; |
| }; |
| |
| /* PCIe devices */ |
| &wifi0 { |
| compatible = "pci14e4,4434"; |
| brcm,board-type = "apple,tasmania"; |
| }; |
| |
| &bluetooth0 { |
| compatible = "pci14e4,5f72"; |
| brcm,board-type = "apple,tasmania"; |
| }; |
| |
| /* |
| * port01 is unused, remove the PCIe sdhci0 node from t600x-j375.dtsi and adjust |
| * the iommu-map. |
| */ |
| /delete-node/ &sdhci0; |
| |
| &pcie0 { |
| iommu-map = <0x100 &pcie0_dart_0 1 1>, |
| <0x200 &pcie0_dart_2 1 1>, |
| <0x300 &pcie0_dart_3 1 1>; |
| }; |