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
19	aliases {
20		ethernet0 = &ethernet0;
21	};
22};
23
24&bluetooth0 {
25	brcm,board-type = "apple,atlantisb";
26};
27
28&wifi0 {
29	brcm,board-type = "apple,atlantisb";
30};
31
32/*
33 * Force the bus number assignments so that we can declare some of the
34 * on-board devices and properties that are populated by the bootloader
35 * (such as MAC addresses).
36 */
37
38&port01 {
39	bus-range = <2 2>;
40	status = "okay";
41};
42
43&port02 {
44	bus-range = <3 3>;
45	status = "okay";
46	ethernet0: ethernet@0,0 {
47		reg = <0x30000 0x0 0x0 0x0 0x0>;
48		/* To be filled by the loader */
49		local-mac-address = [00 10 18 00 00 00];
50	};
51};
52
53&pcie0_dart_1 {
54	status = "okay";
55};
56
57&pcie0_dart_2 {
58	status = "okay";
59};
60
61&i2c2 {
62	status = "okay";
63};
64