xref: /linux/scripts/dtc/include-prefixes/arm64/apple/t6022-j180d.dts (revision 0f048c878ee32a4259dbf28e0ad8fd0b71ee0085)
1// SPDX-License-Identifier: GPL-2.0+ OR MIT
2/*
3 * Mac Pro (M2 Ultra, 2023)
4 *
5 * target-type: J180d
6 *
7 * Copyright The Asahi Linux Contributors
8 */
9
10/dts-v1/;
11
12#include "t6022.dtsi"
13#include "t6022-jxxxd.dtsi"
14
15/ {
16	compatible = "apple,j180d", "apple,t6022", "apple,arm-platform";
17	model = "Apple Mac Pro (M2 Ultra, 2023)";
18	aliases {
19		nvram = &nvram;
20		serial0 = &serial0;
21	};
22
23	chosen {
24		#address-cells = <2>;
25		#size-cells = <2>;
26		ranges;
27
28		stdout-path = "serial0";
29
30		framebuffer0: framebuffer@0 {
31			compatible = "apple,simple-framebuffer", "simple-framebuffer";
32			reg = <0 0 0 0>; /* To be filled by loader */
33			/* Format properties will be added by loader */
34			status = "disabled";
35			power-domains = <&ps_dispext0_cpu0_die1>, <&ps_dptx_phy_ps_die1>;
36		};
37	};
38
39	memory@10000000000 {
40		device_type = "memory";
41		reg = <0x100 0 0x2 0>; /* To be filled by loader */
42	};
43};
44
45&serial0 {
46	status = "okay";
47};
48
49/* USB Type C Rear */
50&i2c0 {
51	hpm2: usb-pd@3b {
52		compatible = "apple,cd321x";
53		reg = <0x3b>;
54		interrupt-parent = <&pinctrl_ap>;
55		interrupts = <44 IRQ_TYPE_LEVEL_LOW>;
56		interrupt-names = "irq";
57	};
58
59	hpm3: usb-pd@3c {
60		compatible = "apple,cd321x";
61		reg = <0x3c>;
62		interrupt-parent = <&pinctrl_ap>;
63		interrupts = <44 IRQ_TYPE_LEVEL_LOW>;
64		interrupt-names = "irq";
65	};
66
67	/* hpm4 and hpm5 included from t6022-jxxxd.dtsi */
68
69	hpm6: usb-pd@3d {
70		compatible = "apple,cd321x";
71		reg = <0x3d>;
72		interrupt-parent = <&pinctrl_ap>;
73		interrupts = <44 IRQ_TYPE_LEVEL_LOW>;
74		interrupt-names = "irq";
75	};
76
77	hpm7: usb-pd@3e {
78		compatible = "apple,cd321x";
79		reg = <0x3e>;
80		interrupt-parent = <&pinctrl_ap>;
81		interrupts = <44 IRQ_TYPE_LEVEL_LOW>;
82		interrupt-names = "irq";
83	};
84};
85
86/* USB Type C Front */
87&i2c3 {
88	status = "okay";
89
90	hpm0: usb-pd@38 {
91		compatible = "apple,cd321x";
92		reg = <0x38>;
93		interrupt-parent = <&pinctrl_ap>;
94		interrupts = <60 IRQ_TYPE_LEVEL_LOW>;
95		interrupt-names = "irq";
96	};
97
98	hpm1: usb-pd@3f {
99		compatible = "apple,cd321x";
100		reg = <0x3f>;
101		interrupt-parent = <&pinctrl_ap>;
102		interrupts = <60 IRQ_TYPE_LEVEL_LOW>;
103		interrupt-names = "irq";
104	};
105};
106
107/*
108 * Delete unused PCIe nodes, the Mac Pro uses slightly different PCIe
109 * controllers with a single port connected to a PM40100 PCIe switch
110 */
111/delete-node/ &pcie0;
112/delete-node/ &pcie0_dart_0;
113/delete-node/ &pcie0_dart_1;
114/delete-node/ &pcie0_dart_2;
115/delete-node/ &pcie0_dart_3;
116
117&nco_clkref {
118	clock-frequency = <1068000000>;
119};
120
121#include "spi1-nvram.dtsi"
122