blob: aef1ae29b632da31ee82be7f49d7ee100306d80f [file] [log] [blame]
Mark Kettenis2ec941f2021-10-23 16:58:06 +02001// SPDX-License-Identifier: GPL-2.0+ OR MIT
2/*
3 * Apple Mac mini (M1, 2020)
4 *
5 * target-type: J274
6 *
7 * Copyright The Asahi Linux Contributors
8 */
9
10/dts-v1/;
11
12#include "t8103.dtsi"
13
14/ {
15 compatible = "apple,j274", "apple,t8103", "apple,arm-platform";
16 model = "Apple Mac mini (M1, 2020)";
17
18 aliases {
19 serial0 = &serial0;
20 ethernet0 = &eth0;
21 wifi0 = &wifi0;
22 };
23
24 chosen {
25 #address-cells = <2>;
26 #size-cells = <2>;
27 ranges;
28
29 stdout-path = "serial0";
30
31 framebuffer0: framebuffer@0 {
32 compatible = "apple,simple-framebuffer", "simple-framebuffer";
33 reg = <0 0 0 0>; /* To be filled by loader */
34 /* Format properties will be added by loader */
35 status = "disabled";
36 };
37 };
38
39 memory@800000000 {
40 device_type = "memory";
41 reg = <0x8 0 0x2 0>; /* To be filled by loader */
42 };
43};
44
45&serial0 {
46 status = "okay";
47};
48
49&pcie0_dart_0 {
50 status = "okay";
51};
52
53&pcie0_dart_1 {
54 status = "okay";
55};
56
57&pcie0_dart_2 {
58 status = "okay";
59};
60
61&pcie0 {
62 status = "okay";
63
64 pci0: pci@0,0 {
65 device_type = "pci";
66 reg = <0x0 0x0 0x0 0x0 0x0>;
67 pwren-gpios = <&smc 13 0>;
68 reset-gpios = <&pinctrl_ap 152 0>;
69 max-link-speed = <2>;
70
71 #address-cells = <3>;
72 #size-cells = <2>;
73 ranges;
74 };
75
76 pci1: pci@1,0 {
77 device_type = "pci";
78 reg = <0x800 0x0 0x0 0x0 0x0>;
79 reset-gpios = <&pinctrl_ap 153 0>;
80 max-link-speed = <2>;
81
82 #address-cells = <3>;
83 #size-cells = <2>;
84 ranges;
85 };
86
87 pci2: pci@2,0 {
88 device_type = "pci";
89 reg = <0x1000 0x0 0x0 0x0 0x0>;
90 reset-gpios = <&pinctrl_ap 33 0>;
91 max-link-speed = <1>;
92
93 #address-cells = <3>;
94 #size-cells = <2>;
95 ranges;
96 };
97};
98
99&pci0 {
100 wifi0: network@0,0 {
101 reg = <0x10000 0x0 0x0 0x0 0x0>;
102 local-mac-address = [00 00 00 00 00 00];
103 };
104};
105
106&pci2 {
107 eth0: ethernet@0,0 {
108 reg = <0x30000 0x0 0x0 0x0 0x0>;
109 local-mac-address = [00 00 00 00 00 00];
110 };
111};
112
113&dwc3_0_dart_0 {
114 status = "okay";
115};
116
117&dwc3_0_dart_1 {
118 status = "okay";
119};
120
121&dwc3_0 {
122 status = "okay";
123};
124
125&dwc3_1_dart_0 {
126 status = "okay";
127};
128
129&dwc3_1_dart_1 {
130 status = "okay";
131};
132
133&dwc3_1 {
134 status = "okay";
135};