Debian Codegraph @

scripts/dtc/include-prefixes/arm64/apple/t6020-j474s.dts

raw
1 // SPDX-License-Identifier: GPL-2.0+ OR MIT
2 /*
3 * Mac mini (M2 Pro, 2023)
4 *
5 * target-type: J474s
6 *
7 * Copyright The Asahi Linux Contributors
8 */
9
10 /dts-v1/;
11
12 #include "t6020.dtsi"
13
14 /*
15 * This model is very similar to M1 and M2 Mac Studio models so base it on those
16 * and remove the missing SDHCI controller.
17 */
18
19 #include "t602x-j474-j475.dtsi"
20
21 / {
22 compatible = "apple,j474s", "apple,t6020", "apple,arm-platform";
23 model = "Apple Mac mini (M2 Pro, 2023)";
24 };
25
26 /* PCIe devices */
27 &wifi0 {
28 compatible = "pci14e4,4434";
29 brcm,board-type = "apple,tasmania";
30 };
31
32 &bluetooth0 {
33 compatible = "pci14e4,5f72";
34 brcm,board-type = "apple,tasmania";
35 };
36
37 /*
38 * port01 is unused, remove the PCIe sdhci0 node from t600x-j375.dtsi and adjust
39 * the iommu-map.
40 */
41 /delete-node/ &sdhci0;
42
43 &pcie0 {
44 iommu-map = <0x100 &pcie0_dart_0 1 1>,
45 <0x200 &pcie0_dart_2 1 1>,
46 <0x300 &pcie0_dart_3 1 1>;
47 };