xref: /linux/arch/arm64/boot/dts/apple/t600x-j375.dtsi (revision db4a3f0fbedb0398f77b9047e8b8bb2b49f355bb)
1// SPDX-License-Identifier: GPL-2.0+ OR MIT
2/*
3 * Mac Studio (2022)
4 *
5 * This file contains the parts common to J375 devices with both t6001 and t6002.
6 *
7 * target-type: J375c / J375d
8 *
9 * Copyright The Asahi Linux Contributors
10 */
11
12/ {
13	aliases {
14		bluetooth0 = &bluetooth0;
15		ethernet0 = &ethernet0;
16		serial0 = &serial0;
17		wifi0 = &wifi0;
18	};
19
20	chosen {
21		#address-cells = <2>;
22		#size-cells = <2>;
23		ranges;
24
25		stdout-path = "serial0";
26
27		framebuffer0: framebuffer@0 {
28			compatible = "apple,simple-framebuffer", "simple-framebuffer";
29			reg = <0 0 0 0>; /* To be filled by loader */
30			/* Format properties will be added by loader */
31			status = "disabled";
32		};
33	};
34
35	memory@10000000000 {
36		device_type = "memory";
37		reg = <0x100 0 0x2 0>; /* To be filled by loader */
38	};
39};
40
41&serial0 {
42	status = "okay";
43};
44
45/* USB Type C */
46&i2c0 {
47	hpm0: usb-pd@38 {
48		compatible = "apple,cd321x";
49		reg = <0x38>;
50		interrupt-parent = <&pinctrl_ap>;
51		interrupts = <174 IRQ_TYPE_LEVEL_LOW>;
52		interrupt-names = "irq";
53	};
54
55	hpm1: usb-pd@3f {
56		compatible = "apple,cd321x";
57		reg = <0x3f>;
58		interrupt-parent = <&pinctrl_ap>;
59		interrupts = <174 IRQ_TYPE_LEVEL_LOW>;
60		interrupt-names = "irq";
61	};
62
63	hpm2: usb-pd@3b {
64		compatible = "apple,cd321x";
65		reg = <0x3b>;
66		interrupt-parent = <&pinctrl_ap>;
67		interrupts = <174 IRQ_TYPE_LEVEL_LOW>;
68		interrupt-names = "irq";
69	};
70
71	hpm3: usb-pd@3c {
72		compatible = "apple,cd321x";
73		reg = <0x3c>;
74		interrupt-parent = <&pinctrl_ap>;
75		interrupts = <174 IRQ_TYPE_LEVEL_LOW>;
76		interrupt-names = "irq";
77	};
78};
79
80&nco_clkref {
81	clock-frequency = <1068000000>;
82};
83
84/* PCIe devices */
85&port00 {
86	/* WLAN */
87	bus-range = <1 1>;
88	wifi0: wifi@0,0 {
89		compatible = "pci14e4,4433";
90		reg = <0x10000 0x0 0x0 0x0 0x0>;
91		/* To be filled by the loader */
92		local-mac-address = [00 10 18 00 00 10];
93		apple,antenna-sku = "XX";
94	};
95
96	bluetooth0: bluetooth@0,1 {
97		compatible = "pci14e4,5f71";
98		reg = <0x10100 0x0 0x0 0x0 0x0>;
99		/* To be filled by the loader */
100		local-bd-address = [00 00 00 00 00 00];
101	};
102};
103
104&port01 {
105	/* SD card reader */
106	bus-range = <2 2>;
107	sdhci0: mmc@0,0 {
108		compatible = "pci17a0,9755";
109		reg = <0x20000 0x0 0x0 0x0 0x0>;
110		cd-inverted;
111		wp-inverted;
112	};
113};
114
115&port02 {
116	/* 10 Gbit Ethernet */
117	bus-range = <3 3>;
118	status = "okay";
119	ethernet0: ethernet@0,0 {
120		reg = <0x30000 0x0 0x0 0x0 0x0>;
121		/* To be filled by the loader */
122		local-mac-address = [00 10 18 00 00 00];
123	};
124};
125
126&port03 {
127	/* USB xHCI */
128	bus-range = <4 4>;
129	status = "okay";
130};
131
132
133&pcie0_dart_2 {
134	status = "okay";
135};
136
137&pcie0_dart_3 {
138	status = "okay";
139};
140
141#include "spi1-nvram.dtsi"
142