Debian Codegraph @

scripts/dtc/include-prefixes/arm64/apple/t8103-j274.dts

raw
1 // 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 #include "t8103-jxxx.dtsi"
14
15 / {
16 compatible = "apple,j274", "apple,t8103", "apple,arm-platform";
17 model = "Apple Mac mini (M1, 2020)";
18 chassis-type = "desktop";
19
20 aliases {
21 ethernet0 = &ethernet0;
22 };
23 };
24
25 &bluetooth0 {
26 brcm,board-type = "apple,atlantisb";
27 };
28
29 &wifi0 {
30 brcm,board-type = "apple,atlantisb";
31 };
32
33 /*
34 * Provide labels for the USB type C ports.
35 */
36
37 &typec0 {
38 label = "USB-C Back-left";
39 };
40
41 &typec1 {
42 label = "USB-C Back-right";
43 };
44
45 /*
46 * Force the bus number assignments so that we can declare some of the
47 * on-board devices and properties that are populated by the bootloader
48 * (such as MAC addresses).
49 */
50
51 &port01 {
52 bus-range = <2 2>;
53 status = "okay";
54 };
55
56 &port02 {
57 bus-range = <3 3>;
58 status = "okay";
59 ethernet0: ethernet@0,0 {
60 reg = <0x30000 0x0 0x0 0x0 0x0>;
61 /* To be filled by the loader */
62 local-mac-address = [00 10 18 00 00 00];
63 };
64 };
65
66 &pcie0_dart_1 {
67 status = "okay";
68 };
69
70 &pcie0_dart_2 {
71 status = "okay";
72 };
73
74 &i2c2 {
75 status = "okay";
76 };