summaryrefslogtreecommitdiffstats
path: root/arch/arm64/boot/dts/apple/t6020-j474s.dts
blob: e3c2635d84fad5746cacc0061c0b58fd0a89aafe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
// 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>;
};

#include "hwmon-mini.dtsi"